{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-seal-document-schema.json",
  "title": "Seal a Document",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-sign-seal-v1-openapi.yml#/components/schemas/SealDocument",
  "type": "object",
  "properties": {
    "file": {
      "type": "string",
      "description": "The file to upload. Currently only supports PDF files up to 10MB.",
      "contentMediaType": "application/pdf"
    },
    "reason": {
      "type": "string",
      "description": "Optional reason that can be added to the seal certificate"
    }
  },
  "required": [
    "file"
  ]
}