{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-optum-page-impl-color-codes-schema.json",
  "title": "OptumPageImplColorCodes",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-color-codes-apis-api-openapi.yml#/components/schemas/OptumPageImplColorCodes",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ColorCodes"
      }
    },
    "totalCount": {
      "type": "integer",
      "format": "int64"
    }
  },
  "$defs": {
    "ColorCodes": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "fullDescription": {
          "type": "string"
        },
        "effectiveDate": {
          "type": "string"
        },
        "cptAddOnType": {
          "type": "string"
        },
        "cptSource": {
          "$ref": "#/$defs/Link"
        },
        "crossReference": {
          "type": "string"
        },
        "categoryDescription": {
          "type": "string"
        },
        "sex": {
          "type": "string"
        },
        "hac": {
          "type": "string"
        },
        "hacDescription": {
          "type": "string"
        },
        "coverage": {
          "type": "string"
        }
      }
    },
    "Link": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        },
        "href": {
          "type": "string"
        },
        "iconName": {
          "type": "string"
        },
        "routerLink": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "tag": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "addonName": {
          "type": "string"
        },
        "addonId": {
          "type": "string"
        }
      }
    }
  }
}