{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/3gppscout-com/json-schema/3gppscout-com-tdocs-batch-request-schema.json",
  "title": "TdocsBatchRequest",
  "description": "Request body for reading several TDocs in one call.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/3gppscout-com-tdocs-api-openapi.yml#/components/schemas/TdocsBatchRequest",
  "properties": {
    "tdoc_ids": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 10,
      "minItems": 1,
      "title": "Tdoc Ids",
      "description": "1 to 10 TDoc IDs, e.g. ['R1-2605951', 'R2-2604548']."
    },
    "include": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Include",
      "description": "Comma-separated extras for every TDoc, as for GET /tdocs/{tdoc_id}: units, text, revisions.",
      "default": "units"
    },
    "max_unit_chars": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 40000.0,
          "minimum": 1000.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Unit Chars",
      "description": "Character budget for each TDoc's unit quotes. Default 48,000 divided by the number of TDocs."
    },
    "max_text_chars": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 150000.0,
          "minimum": 1000.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Text Chars",
      "description": "Character budget for each TDoc's text blocks when include has 'text'. Default 16,000 divided by the number of TDocs."
    }
  },
  "type": "object",
  "required": [
    "tdoc_ids"
  ]
}