Terminal49 · Schema

Document

Container TrackingOcean FreightSupply ChainLogisticsShippingFreight

Properties

Name Type Description
id string
type string
attributes object
relationships object
links object
View JSON Schema on GitHub

JSON Schema

terminal49-document-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/terminal49/json-schema/terminal49-document-schema.json",
  "title": "Document",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/terminal49-openapi.json#/components/schemas/document",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "type": {
      "type": "string",
      "enum": [
        "document"
      ]
    },
    "attributes": {
      "type": "object",
      "properties": {
        "id": {
          "description": "Unique identifier for the document.",
          "type": "string",
          "format": "uuid"
        },
        "name": {
          "description": "Display name of the document.",
          "type": "string"
        },
        "document_type": {
          "description": "System-classified document type.",
          "type": "string"
        },
        "document_type_manual": {
          "description": "Document type set manually by a user, when available.",
          "type": [
            "string",
            "null"
          ]
        },
        "classification_notes": {
          "description": "Additional notes captured during document classification.",
          "type": [
            "string",
            "null"
          ]
        },
        "source": {
          "description": "How the document was created in Terminal49.",
          "type": "string",
          "enum": [
            "upload",
            "api",
            "email",
            "split_document"
          ]
        },
        "file_name": {
          "description": "Original file name of the uploaded or generated document.",
          "type": "string"
        },
        "file_content_type": {
          "description": "MIME type of the document file.",
          "type": [
            "string",
            "null"
          ]
        },
        "file_size_bytes": {
          "description": "File size in bytes.",
          "type": [
            "integer",
            "null"
          ]
        },
        "created_at": {
          "description": "Timestamp when the document was created.",
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "description": "Timestamp when the document was last updated.",
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "relationships": {
      "type": "object",
      "properties": {
        "account": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "account"
                  ]
                }
              }
            }
          }
        },
        "user": {
          "type": "object",
          "properties": {
            "data": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "user"
                  ]
                }
              }
            }
          }
        },
        "email_submission": {
          "type": "object",
          "properties": {
            "data": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "email_submission"
                  ]
                }
              }
            }
          }
        },
        "last_document_representation": {
          "type": "object",
          "properties": {
            "data": {
              "type": [
                "object",
                "null"
              ],
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid"
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "document_representation"
                  ]
                }
              }
            }
          }
        },
        "shipments": {
          "type": "object",
          "properties": {
            "data": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "shipment"
                    ]
                  }
                }
              }
            }
          }
        },
        "cargos": {
          "type": "object",
          "properties": {
            "data": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "container"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "self": {
          "type": "string"
        },
        "download": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "id",
    "type"
  ]
}

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/terminal49-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.