{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-icd10-cm-color-codes-schema.json",
  "title": "Icd10CmColorCodes",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-code-specific-guidelines-api-openapi.yml#/components/schemas/Icd10CmColorCodes",
  "type": "object",
  "properties": {
    "newCode": {
      "type": "string"
    },
    "revisedCode": {
      "type": "string"
    },
    "characterRequired4Th": {
      "type": "string"
    },
    "characterRequired5Th": {
      "type": "string"
    },
    "characterRequired6Th": {
      "type": "string"
    },
    "characterRequired7Th": {
      "type": "string"
    },
    "characterRequiredX7Th": {
      "type": "string"
    },
    "maleDiagnosis": {
      "type": "string"
    },
    "femaleDiagnosis": {
      "type": "string"
    },
    "unspecifiedDiagnosisCode": {
      "type": "string"
    },
    "otherSpecifiedDiagnosisCode": {
      "type": "string"
    },
    "adultDiagnosis": {
      "type": "string"
    },
    "maternityDiagnosis": {
      "type": "string"
    },
    "newbornDiagnosis": {
      "type": "string"
    },
    "pediatricDiagnosis": {
      "type": "string"
    },
    "hivRelated": {
      "type": "string"
    },
    "unacceptablePrincipalDx": {
      "type": "string"
    },
    "manifestationCodeNotAPrimaryDx": {
      "type": "string"
    },
    "comorbidityOrComplication": {
      "type": "string"
    },
    "majorComplication": {
      "type": "string"
    },
    "questionablePdx": {
      "type": "string"
    },
    "hospitalAcquiredCondition": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "conditionalHospitalAcquiredCondition": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "zcodeIndicator": {
      "type": "string"
    }
  }
}