Cosuno · Schema

ReviewResponse

A submitted review.

ConstructionMarketplaceArtificial IntelligenceTenderingGermany

Properties

Name Type Description
id string Unique identifier of the review.
submittedAt string Timestamp at which the reviewer submitted the review.
subcontractor object Subcontractor the review is about.
object object Object the review is about.
template object Review template (questionnaire) the reviewer filled in.
reviewer object User who submitted the review.
ratings array Per-category ratings the reviewer submitted.
View JSON Schema on GitHub

JSON Schema

cosuno-review-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cosuno/json-schema/cosuno-review-response-schema.json",
  "title": "ReviewResponse",
  "description": "A submitted review.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cosuno-subcontractor-reviews-api-openapi.yml#/components/schemas/ReviewResponse",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier of the review."
    },
    "submittedAt": {
      "type": "string",
      "description": "Timestamp at which the reviewer submitted the review."
    },
    "subcontractor": {
      "$ref": "#/$defs/ReviewSubcontractorResponse",
      "description": "Subcontractor the review is about."
    },
    "object": {
      "$ref": "#/$defs/ReviewObjectResponse",
      "description": "Object the review is about."
    },
    "template": {
      "$ref": "#/$defs/ReviewTemplateResponse",
      "description": "Review template (questionnaire) the reviewer filled in."
    },
    "reviewer": {
      "$ref": "#/$defs/UserResponse",
      "description": "User who submitted the review."
    },
    "ratings": {
      "items": {
        "$ref": "#/$defs/ReviewRatingResponse"
      },
      "type": "array",
      "description": "Per-category ratings the reviewer submitted."
    }
  },
  "required": [
    "id",
    "submittedAt",
    "subcontractor",
    "object",
    "template",
    "reviewer",
    "ratings"
  ],
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "BidPackageLinkedReviewObjectResponse": {
      "description": "Object under review, linked to a bid package in Cosuno.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "bidPackage"
          ],
          "description": "Discriminator. Always `bidPackage` for this variant."
        },
        "bidRequestId": {
          "type": "string",
          "description": "ID of the bid request (subcontractor + bid package pair) the review/request is linked to."
        },
        "bidPackageId": {
          "type": "string",
          "description": "ID of the bid package the bid request belongs to."
        },
        "projectId": {
          "type": "string",
          "description": "ID of the project the bid package belongs to."
        }
      },
      "required": [
        "type",
        "bidRequestId",
        "bidPackageId",
        "projectId"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "IndependentReviewObjectResponse": {
      "description": "Object under review, independent of any Cosuno bid package.",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "independent"
          ],
          "description": "Discriminator. Always `independent` for this variant."
        },
        "name": {
          "type": "string",
          "description": "Human-readable name of the object under review."
        },
        "externalId": {
          "type": "string",
          "description": "Identifier of the object in your external system, if any."
        }
      },
      "required": [
        "type",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "ReviewObjectResponse": {
      "anyOf": [
        {
          "$ref": "#/$defs/BidPackageLinkedReviewObjectResponse"
        },
        {
          "$ref": "#/$defs/IndependentReviewObjectResponse"
        }
      ],
      "description": "Object the review or request is about. Either tied to a Cosuno bid package, or an independent object identified by name (and optionally an external ID)."
    },
    "ReviewRatingResponse": {
      "description": "Score the reviewer gave for one category of a review.",
      "properties": {
        "categoryId": {
          "type": "string",
          "description": "Unique identifier of the rating category."
        },
        "categoryName": {
          "type": "string",
          "description": "Name of the rating category."
        },
        "rating": {
          "type": [
            "number",
            "null"
          ],
          "format": "double",
          "description": "Score from 1 (worst) to 5 (best). `null` when the reviewer marked the category as not applicable."
        },
        "comment": {
          "type": "string",
          "description": "Free-form comment left by the reviewer for this category, if any."
        }
      },
      "required": [
        "categoryId",
        "categoryName",
        "rating"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "ReviewSubcontractorResponse": {
      "description": "Subcontractor the review or request is about.",
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the subcontractor."
        },
        "name": {
          "type": "string",
          "description": "Name of the subcontractor."
        },
        "externalSource": {
          "type": "string",
          "description": "Identifier of the external system this subcontractor was imported from, if any."
        },
        "externalId": {
          "type": "string",
          "description": "Identifier of this subcontractor within the external system, if any."
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "ReviewTemplateResponse": {
      "description": "Review template (questionnaire) the review or request uses.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the review template."
        },
        "name": {
          "type": "string",
          "description": "Name of the review template."
        }
      },
      "required": [
        "id",
        "name"
      ],
      "type": "object",
      "additionalProperties": false
    },
    "USER_STATUS": {
      "type": "string",
      "enum": [
        "approvalPending",
        "adminApprovalPending",
        "invited",
        "inviteCanceled",
        "inviteFailed",
        "inviteRequested",
        "active",
        "inactive"
      ]
    },
    "USER_TYPE": {
      "type": "string",
      "enum": [
        "custom",
        "administrator",
        "employee",
        "guest",
        "collaborator",
        "manager"
      ]
    },
    "UserResponse": {
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of the user."
        },
        "email": {
          "type": "string",
          "description": "Email address of the user. Also used as their login identifier."
        },
        "status": {
          "$ref": "#/$defs/USER_STATUS",
          "description": "Current status of the user."
        },
        "firstName": {
          "type": "string",
          "description": "Given name of the user."
        },
        "lastName": {
          "type": "string",
          "description": "Family name of the user."
        },
        "type": {
          "$ref": "#/$defs/USER_TYPE",
          "description": "Account type of the user. Values starting with `custom` indicate a custom user role (see `customUserRoleId`)."
        },
        "customUserRoleId": {
          "type": "string",
          "description": "ID of the custom user role assigned to the user. Present only when `type` refers to a custom user role."
        }
      },
      "required": [
        "id",
        "email",
        "status",
        "type"
      ],
      "type": "object",
      "additionalProperties": false
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cosuno-review-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.