{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-diagnosis-code-list-schema.json",
  "title": "DiagnosisCodeList",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-hcc-information-api-openapi.yml#/components/schemas/DiagnosisCodeList",
  "required": [
    "cmsHccEsrdPace",
    "cmsHccV12",
    "cmsHccV22",
    "cmsHccVx",
    "rxHcc",
    "rxHccV04"
  ],
  "type": "object",
  "properties": {
    "cmsHccV22": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CmsHccV22"
      }
    },
    "cmsHccVx": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CmsHccVx"
      }
    },
    "cmsHccV12": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CmsHccV12"
      }
    },
    "cmsHccEsrdPace": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CmsHccEsrdPace"
      }
    },
    "rxHccV04": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RxHccV04"
      }
    },
    "rxHcc": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/RxHcc"
      }
    }
  },
  "$defs": {
    "CmsHccEsrdPace": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    },
    "CmsHccV12": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    },
    "CmsHccV22": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    },
    "CmsHccVx": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    },
    "RxHcc": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    },
    "RxHccV04": {
      "type": "object",
      "properties": {
        "hccCode": {
          "type": "string"
        },
        "desc": {
          "type": "string"
        },
        "href": {
          "type": "string"
        }
      }
    }
  }
}