Assignar · Schema

Document

A document definition in the tenant's catalog. Attach one to an asset or a project by its `id`; the catalog itself is read-only.

ConstructionSoftwareCloudProject Management

Properties

Name Type Description
id integer
type integer The document type id, which determines what the definition requires (expiry date, attachment, or number and expiry).
name string
public boolean
attachment string Template or blank form held against the definition itself, if any.
attachment_url object Signed download URL, valid for two hours. Null when the definition has no attachment.
tags array Collection of tags applied to the document definition. Always present, and empty when the definition has no tags. Read-only here: the catalog does not accept writes, so there is no request-body counte
View JSON Schema on GitHub

JSON Schema

assignar-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assignar/json-schema/assignar-document-schema.json",
  "title": "Document",
  "description": "A document definition in the tenant's catalog. Attach one to an asset or a project by its `id`; the catalog itself is read-only.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assignar-documents-api-openapi.yml#/components/schemas/Document",
  "type": "object",
  "readOnly": true,
  "properties": {
    "id": {
      "type": "integer"
    },
    "type": {
      "type": "integer",
      "description": "The document type id, which determines what the definition requires (expiry date, attachment, or number and expiry)."
    },
    "name": {
      "type": "string"
    },
    "public": {
      "type": "boolean"
    },
    "attachment": {
      "type": "string",
      "description": "Template or blank form held against the definition itself, if any."
    },
    "attachment_url": {
      "allOf": [
        {
          "$ref": "#/$defs/UrlAttachment"
        }
      ],
      "description": "Signed download URL, valid for two hours. Null when the definition has no attachment."
    },
    "tags": {
      "type": "array",
      "description": "Collection of tags applied to the document definition. Always present, and empty when the definition has no tags. Read-only here: the catalog does not accept writes, so there is no request-body counterpart.",
      "items": {
        "$ref": "#/$defs/TagPart"
      }
    }
  },
  "$defs": {
    "TagPart": {
      "title": "TagPart",
      "x-stoplight": {
        "id": "epsk9hslhfq0q"
      },
      "type": "object",
      "description": "",
      "properties": {
        "tag_id": {
          "type": "integer",
          "description": "Identifier of the tag"
        },
        "name": {
          "type": "string",
          "description": "Name of the tag"
        },
        "description": {
          "type": [
            "string",
            "null"
          ],
          "description": "Description of the tag"
        },
        "color": {
          "type": [
            "string",
            "null"
          ],
          "description": "Color to render the tag formated as Hex color code. Ex #0000FF"
        }
      },
      "required": [
        "name"
      ]
    },
    "UrlAttachment": {
      "type": "object",
      "readOnly": true,
      "properties": {
        "url": {
          "type": "string",
          "format": "url",
          "description": "Download URL for the file."
        },
        "expiry": {
          "type": "integer",
          "description": "Expiry date of the download url in timestamp."
        }
      }
    }
  }
}

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/assignar-document"
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. See our Privacy Policy and Terms.

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