{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/superdocs-app/json-schema/superdocs-app-process-document-response-schema.json",
  "title": "ProcessDocumentResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/superdocs-app-uploads-api-openapi.yml#/components/schemas/ProcessDocumentResponse",
  "properties": {
    "document_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Document Id",
      "description": "parse_mode='document': the id of the open document the file was loaded as (use it with document_id on chat, focus and close)."
    },
    "html": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Html"
    },
    "session_id": {
      "type": "string",
      "title": "Session Id"
    },
    "filename": {
      "type": "string",
      "title": "Filename"
    },
    "chunks_count": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Chunks Count"
    },
    "version_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Version Id"
    },
    "job_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Job Id"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "parse_mode": {
      "type": "string",
      "title": "Parse Mode"
    },
    "page_setup": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Page Setup"
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings"
    }
  },
  "type": "object",
  "required": [
    "session_id",
    "filename",
    "status",
    "parse_mode"
  ]
}