{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cm-com/main/json-schema/cm-com-api-document-metadata-schema.json",
  "title": "ApiDocumentMetadata",
  "description": "Metadata of a document containing information about the document, such as filename and content type.",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-voice-documents-v1-openapi.yml#/components/schemas/ApiDocumentMetadata",
  "type": "object",
  "properties": {
    "fileName": {
      "type": [
        "string",
        "null"
      ],
      "description": "File name of the document."
    },
    "fileType": {
      "type": [
        "string",
        "null"
      ],
      "description": "File type in IANA media type (or MIME type) format."
    },
    "uploadDate": {
      "type": "string",
      "description": "UTC date and time the document was uploaded.",
      "format": "date-time"
    }
  },
  "additionalProperties": false
}