{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karmacheck/json-schema/karmacheck-document-files-schema.json",
  "title": "DocumentFiles",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/karmacheck-secure-documents-api-openapi.yml#/components/schemas/DocumentFiles",
  "type": "object",
  "required": [
    "files"
  ],
  "properties": {
    "files": {
      "type": "array",
      "description": "An array that enables the generation of upload URLs for multiple files at once. Note that the order matters. Make sure to upload the first file to the first URL, and so on.",
      "items": {
        "type": "object",
        "required": [
          "documentTypeId",
          "mimeType"
        ],
        "properties": {
          "documentTypeId": {
            "type": "string",
            "description": "The ID for the type of document to be uploaded.\n\nAllowed value: `candidate-disclosures-and-authorizations`"
          },
          "mimeType": {
            "type": "string",
            "description": "The MIME type of the file to be uploaded. See [Get secure document MIME types](karma-api-openapi.yaml/paths/~1document~1secure~1mimetypes/get) for details."
          }
        }
      }
    }
  }
}