Cosuno · Schema

DocumentResponse

ConstructionMarketplaceArtificial IntelligenceTenderingGermany

Properties

Name Type Description
id string ID of the document.
fileName string Original file name of the document (including extension).
fileSize number Size of the document in bytes.
uploadedAt string Timestamp at which the document was uploaded. The date-time notation as defined by [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6)
uploadedBy object User who uploaded the document, if known.
path array Path to the document expressed as an array of folder names from the root of the file tree down to (but not including) the document itself.
View JSON Schema on GitHub

JSON Schema

cosuno-document-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cosuno/json-schema/cosuno-document-response-schema.json",
  "title": "DocumentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cosuno-bids-api-openapi.yml#/components/schemas/DocumentResponse",
  "properties": {
    "id": {
      "type": "string",
      "description": "ID of the document."
    },
    "fileName": {
      "type": "string",
      "description": "Original file name of the document (including extension)."
    },
    "fileSize": {
      "type": "number",
      "format": "double",
      "description": "Size of the document in bytes."
    },
    "uploadedAt": {
      "type": "string",
      "description": "Timestamp at which the document was uploaded.\nThe date-time notation as defined by [RFC 3339, section 5.6](https://tools.ietf.org/html/rfc3339#section-5.6)",
      "format": "date-time"
    },
    "uploadedBy": {
      "$ref": "#/$defs/UserResponse",
      "description": "User who uploaded the document, if known."
    },
    "path": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "description": "Path to the document expressed as an array of folder names from the root of the file tree down to (but not including) the document itself."
    }
  },
  "required": [
    "id",
    "fileName",
    "fileSize",
    "uploadedAt",
    "path"
  ],
  "type": "object",
  "additionalProperties": false,
  "$defs": {
    "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-document-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.