{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-includes-excludes-notes-schema.json",
  "title": "IncludesExcludesNotes",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-reference-code-api-openapi.yml#/components/schemas/IncludesExcludesNotes",
  "type": "object",
  "properties": {
    "includesNotes": {
      "$ref": "#/$defs/IncludesNotes"
    },
    "excludesNotes": {
      "$ref": "#/$defs/ExcludesNotes"
    },
    "excludesNotes1": {
      "$ref": "#/$defs/ExcludesNotes1"
    },
    "excludesNotes2": {
      "$ref": "#/$defs/ExcludesNotes2"
    }
  },
  "$defs": {
    "ExcludesNotes": {
      "required": [
        "note"
      ],
      "type": "object",
      "properties": {
        "excludesHeader": {
          "type": "string"
        },
        "note": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Note"
          }
        }
      }
    },
    "ExcludesNotes1": {
      "required": [
        "note"
      ],
      "type": "object",
      "properties": {
        "excludesHeader1": {
          "type": "string"
        },
        "note": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Note"
          }
        }
      }
    },
    "ExcludesNotes2": {
      "required": [
        "note"
      ],
      "type": "object",
      "properties": {
        "excludesHeader2": {
          "type": "string"
        },
        "note": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Note"
          }
        }
      }
    },
    "IncludesNotes": {
      "required": [
        "note"
      ],
      "type": "object",
      "properties": {
        "includesHeader": {
          "type": "string"
        },
        "note": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Note"
          }
        }
      }
    },
    "Note": {
      "type": "object",
      "properties": {
        "content": {
          "type": "string"
        },
        "indentation": {
          "type": "integer",
          "format": "int32"
        }
      }
    }
  }
}