{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/karmacheck/json-schema/karmacheck-document-type-schema.json",
  "title": "DocumentType",
  "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/DocumentType",
  "type": "array",
  "items": {
    "type": "object",
    "required": [
      "id",
      "secureDocumentType",
      "displayName"
    ],
    "properties": {
      "id": {
        "$ref": "#/$defs/DocumentTypeID",
        "description": "The unique identifier for the secure document type. See [Secure document type](docs/reference/secure-document-type.md) for details about each possible document type."
      },
      "secureDocumentType": {
        "type": "string",
        "enum": [
          "tin-check-result",
          "oig-verification-proof",
          "provider-html-report",
          "identification",
          "candidate-disclosures-and-authorizations",
          "cbsv-authorization",
          "international-report",
          "education-document",
          "employment-document",
          "ohs-breath-alcohol",
          "ohs-chain-of-custody",
          "ohs-occupational-health",
          "ohs-participant-passport",
          "ohs-result-certificate",
          "search-result"
        ],
        "description": "The name of the secure document type."
      },
      "displayName": {
        "type": "string",
        "description": "The name of the secure document type that's displayed to dashboard users."
      }
    }
  },
  "$defs": {
    "DocumentTypeID": {
      "title": "DocumentTypeID",
      "type": "string",
      "enum": [
        "06813017-94ef-4250-9083-375935ce9dc8",
        "4ad585b6-b087-11ec-9bf1-df77b62cb712",
        "7d25e1de-0b46-4a6c-bd06-d0b55526af08",
        "857d42f3-73b6-4588-8855-0ab49e376a84",
        "candidate-disclosures-and-authorizations",
        "cbsv-authorization",
        "da070d09-b52f-4423-9c94-eff458ea3aa0",
        "education-document",
        "employment-document",
        "ohs-breath-alcohol",
        "ohs-chain-of-custody",
        "ohs-occupational-health",
        "ohs-participant-passport",
        "ohs-result-certificate",
        "search-result"
      ],
      "description": "The ID of the document type that the secure document is categorized under. See [Secure document type](docs/reference/secure-document-type.md) for details about each possible document type."
    }
  }
}