{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-extended-claim-status-response-schema.json",
  "title": "ExtendedClaimStatusResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-claim-status-api-api-openapi.yml#/components/schemas/ExtendedClaimStatusResponse",
  "type": "object",
  "properties": {
    "x12": {
      "type": "string"
    },
    "extensions": {
      "$ref": "#/$defs/ResponseExtensions"
    }
  },
  "$defs": {
    "Extensions": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "description": "NOTE: Allowed Values are: 'CLAIM_STATUS' Request to include claim, check and cob extended claim status data in addition to the 277 response.",
          "enum": [
            "CLAIM_STATUS"
          ]
        }
      },
      "required": [
        "type"
      ]
    },
    "ResponseExtensions": {
      "type": "object",
      "properties": {
        "statusCode": {
          "type": "string",
          "description": "NOTE: Allowed Values are: '0' Success, '1' Not Authorized, '2' Internal Error,'3' Extension Not Applicable, '4' Extension Not Available At This time, '5'Invalid Request Extension Type",
          "enum": [
            "0",
            "1",
            "2",
            "3",
            "4",
            "5"
          ]
        },
        "statusDescription": {
          "type": "string"
        },
        "extensions": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/Extensions"
          }
        }
      }
    }
  }
}