Optum · Schema

NcpdpFormatRequestData

CompanyHealthcareHealth InsuranceClaimsEligibilityFHIRInteroperabilityPharmacyEDIX12PaymentsPrior AuthorizationClearinghouseRevenue CycleDentalDa VinciPatient AccessAttachmentsPayer Directory

Properties

Name Type Description
chainID string
externalMessageId string
response object
sourceSystemId string
View JSON Schema on GitHub

JSON Schema

optum-ncpdp-format-request-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-ncpdp-format-request-data-schema.json",
  "title": "NcpdpFormatRequestData",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-telecom-format-api-openapi.yml#/components/schemas/NcpdpFormatRequestData",
  "properties": {
    "chainID": {
      "format": "ncpdp-alphanumeric",
      "maxLength": 30,
      "type": "string"
    },
    "externalMessageId": {
      "maxLength": 30,
      "pattern": "^[0-9]*$",
      "type": "string"
    },
    "response": {
      "$ref": "#/$defs/NcpdpResponse"
    },
    "sourceSystemId": {
      "maxLength": 30,
      "pattern": "^[0-9]*$",
      "type": "string"
    }
  },
  "type": "object",
  "$defs": {
    "AdditionalMessageInformationGrouping": {
      "properties": {
        "additionalMessageInformation": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "additionalMessageInformationContinuity": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "additionalMessageInformationQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "BenefitStageGrouping": {
      "properties": {
        "benefitStageAmount": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "benefitStageQualifier": {
          "$ref": "#/$defs/NcpdpCodeType",
          "deprecated": true
        },
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "ClaimSegment": {
      "properties": {
        "benefitTypeOpportunities": {
          "items": {
            "$ref": "#/$defs/NcpdpCodeType"
          },
          "type": "array"
        },
        "benefitTypeOpportunityCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "empty": {
          "type": "boolean"
        },
        "formularyAlternativeProductCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "formularyAlternativeProductGroupings": {
          "items": {
            "$ref": "#/$defs/FormularyAlternativeProductGrouping"
          },
          "type": "array"
        },
        "maximumAge": {
          "$ref": "#/$defs/NcpdpIntegerType"
        },
        "maximumAgeQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "maximumAmount": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "maximumAmountQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "maximumAmountTimePeriod": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "maximumAmountTimePeriodEndDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "maximumAmountTimePeriodStartDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "maximumAmountTimePeriodUnits": {
          "$ref": "#/$defs/NcpdpIntegerType"
        },
        "medicaidSubrogationIcnOrTcn": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "minimumAge": {
          "$ref": "#/$defs/NcpdpIntegerType"
        },
        "minimumAgeQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "minimumAmount": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "minimumAmountQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "planBenefitOverrideIndicator": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "planBenefitOverrideValueCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "planBenefitOverrideValues": {
          "items": {
            "$ref": "#/$defs/NcpdpAlphaNumericType"
          },
          "type": "array"
        },
        "preferredProductCount": {
          "$ref": "#/$defs/NcpdpCountType",
          "deprecated": true
        },
        "preferredProductGroupings": {
          "deprecated": true,
          "items": {
            "$ref": "#/$defs/FormularyAlternativeProductGrouping"
          },
          "type": "array"
        },
        "prescriptionOrServiceReferenceNumber": {
          "$ref": "#/$defs/NcpdpLongType"
        },
        "prescriptionOrServiceReferenceNumberQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        },
        "remainingAmount": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "remainingAmountQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "subrogationRequestorsReconciliationId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        }
      },
      "type": "object"
    },
    "DurOrPpsGrouping": {
      "properties": {
        "clinicalSignificanceCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "databaseIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "durAdditionalText": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "durFreeTextMessage": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "durOrDueCoAgentDescription": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "durOrDueCoAgentId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "durOrDueCoAgentIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "durOrDueCompoundProductId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "durOrDueCompoundProductIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "durOrDueFreeTextMessage": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "durOrDueMaximumDailyDoseQuantity": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "durOrDueMaximumDailyDoseUnitOfMeasure": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "durOrDueMinimumDailyDoseQuantity": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "durOrDueMinimumDailyDoseUnitOfMeasure": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "durOrPpsCodeCounter": {
          "$ref": "#/$defs/NcpdpCounterType"
        },
        "empty": {
          "type": "boolean"
        },
        "otherPharmacyId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPharmacyIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPharmacyIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPharmacyName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPharmacyTelephone": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "otherPrescriberId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPrescriberIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPrescriberIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPrescriberLastName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPrescriberTelephoneNumber": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "present": {
          "type": "boolean"
        },
        "previousDateOfFill": {
          "$ref": "#/$defs/NcpdpDateType",
          "deprecated": true
        },
        "previousDateOfService": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "quantityOfPreviousDispensing": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "quantityOfPreviousFill": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "reasonForServiceCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "unitOfMeasureForPreviousDispensedQuantity": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        }
      },
      "type": "object"
    },
    "DurOrPpsSegment": {
      "properties": {
        "durOrPpsGroupings": {
          "items": {
            "$ref": "#/$defs/DurOrPpsGrouping"
          },
          "type": "array"
        },
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "FormularyAlternativeProductGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "formularyAlternativeDescription": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "formularyAlternativeEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "formularyAlternativeEstimatedPatientCostShare": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "formularyAlternativeId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "formularyAlternativeIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "formularyAlternativeIncentive": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "formularyAlternativePlanBenefitTier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "formularyAlternativeReasonCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "formularyAlternativeRequiredTherapyIndicatorCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "formularyAlternativeRequiredTherapyIndicatorGroupings": {
          "items": {
            "$ref": "#/$defs/FormularyAlternativeRequiredTherapyIndicatorGrouping"
          },
          "type": "array"
        },
        "preferredProductCostShareIncentive": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "preferredProductDescription": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "preferredProductId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "preferredProductIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType",
          "deprecated": true
        },
        "preferredProductIncentive": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "FormularyAlternativeRequiredTherapyIndicatorGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "formularyAlternativeRequiredTherapyIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "formularyAlternativeRequiredTherapyTimePeriodDuration": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "formularyAlternativeRequiredTherapyTimePeriodEndDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "formularyAlternativeRequiredTherapyTimePeriodQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "formularyAlternativeRequiredTherapyTimePeriodStartDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "HeaderSegment": {
      "properties": {
        "dateOfService": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "empty": {
          "type": "boolean"
        },
        "headerResponseStatus": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        },
        "serviceProviderId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "serviceProviderIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "transactionCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "transactionCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "versionOrReleaseNumber": {
          "$ref": "#/$defs/NcpdpCodeType"
        }
      },
      "type": "object"
    },
    "HelpDeskBusinessUnitTypeGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "helpDeskBusinessUnitType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "helpDeskContactInformation": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "helpDeskContactInformationExtension": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "helpDeskContactInformationQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "HelpDeskSupportTypeGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "helpDeskBusinessUnitTypeCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "helpDeskBusinessUnitTypeGroupings": {
          "items": {
            "$ref": "#/$defs/HelpDeskBusinessUnitTypeGrouping"
          },
          "type": "array"
        },
        "helpDeskSupportType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "InsuranceAdditionalInformationSegment": {
      "properties": {
        "benefitId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "cmsLowIncomeCostSharingLevel": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "contractNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "empty": {
          "type": "boolean"
        },
        "formularyId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "medicarePartDCoverageCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "nextMedicarePartDEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "nextMedicarePartDTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "planName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "InsuranceSegment": {
      "properties": {
        "cardholderId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "empty": {
          "type": "boolean"
        },
        "groupId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "medicaidAgencyNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "medicaidIdNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "networkReimbursementId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "payerId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "payerIdQualifier": {
          "$ref": "#/$defs/NcpdpAlphaNumericType",
          "deprecated": true
        },
        "payerOrHealthPlanIdCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "payerOrHealthPlanIdGroupings": {
          "items": {
            "$ref": "#/$defs/PayerOrHealthPlanIdGrouping"
          },
          "type": "array"
        },
        "planId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IntermediaryHelpDeskBusinessUnitTypeGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "intermediaryHelpDeskBusinessUnitType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "intermediaryHelpDeskContactInformation": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "intermediaryHelpDeskContactInformationExtension": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "intermediaryHelpDeskContactInformationQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IntermediaryHelpDeskSupportTypeGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "intermediaryHelpDeskBusinessUnitTypeCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "intermediaryHelpDeskBusinessUnitTypeGroupings": {
          "items": {
            "$ref": "#/$defs/IntermediaryHelpDeskBusinessUnitTypeGrouping"
          },
          "type": "array"
        },
        "intermediaryHelpDeskSupportType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "IntermediarySegment": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "intermediaryHelpDeskSupportTypeCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "intermediaryHelpDeskSupportTypeGroupings": {
          "items": {
            "$ref": "#/$defs/IntermediaryHelpDeskSupportTypeGrouping"
          },
          "type": "array"
        },
        "present": {
          "type": "boolean"
        },
        "responseIntermediaryAuthorizationCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "responseIntermediaryAuthorizationGroupings": {
          "items": {
            "$ref": "#/$defs/ResponseIntermediaryAuthorizationGrouping"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "MessageSegment": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "message": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpAlphaNumericType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpCodeType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpCountType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpCounterType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpDateType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpDecimalType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpIntegerType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpLongType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpPhoneNumberType": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "present": {
          "type": "boolean"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "NcpdpResponse": {
      "properties": {
        "claim": {
          "$ref": "#/$defs/ClaimSegment"
        },
        "durOrPps": {
          "$ref": "#/$defs/DurOrPpsSegment"
        },
        "empty": {
          "type": "boolean"
        },
        "header": {
          "$ref": "#/$defs/HeaderSegment"
        },
        "insurance": {
          "$ref": "#/$defs/InsuranceSegment"
        },
        "insuranceAdditionalInformation": {
          "$ref": "#/$defs/InsuranceAdditionalInformationSegment"
        },
        "intermediary": {
          "$ref": "#/$defs/IntermediarySegment"
        },
        "message": {
          "$ref": "#/$defs/MessageSegment"
        },
        "otherPayers": {
          "$ref": "#/$defs/OtherPayersSegment"
        },
        "otherRelatedBenefitDetail": {
          "$ref": "#/$defs/OtherRelatedBenefitDetailSegment"
        },
        "patient": {
          "$ref": "#/$defs/PatientSegment"
        },
        "present": {
          "type": "boolean"
        },
        "pricing": {
          "$ref": "#/$defs/PricingSegment"
        },
        "priorAuthorization": {
          "$ref": "#/$defs/PriorAuthorizationSegment"
        },
        "provider": {
          "$ref": "#/$defs/ProviderSegment"
        },
        "raw": {
          "type": "string"
        },
        "rawEmpty": {
          "type": "boolean"
        },
        "rawPresent": {
          "type": "boolean"
        },
        "status": {
          "$ref": "#/$defs/StatusSegment"
        },
        "transactions": {
          "items": {
            "$ref": "#/$defs/ResponseTransaction"
          },
          "type": "array"
        }
      },
      "type": "object"
    },
    "OtherAmountPaidGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "otherAmountPaid": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "otherAmountPaidQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "OtherBenefitDetailInformationGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "otherBenefitDetailInformation": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherBenefitDetailInformationEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherBenefitDetailInformationFacilityName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherBenefitDetailInformationIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherBenefitDetailInformationProviderNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherBenefitDetailInformationTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherBenefitFacilityDetailInformationTelephoneNumber": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "OtherBenefitGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "otherBenefitDetailInformationCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "otherBenefitDetailInformationGroupings": {
          "items": {
            "$ref": "#/$defs/OtherBenefitDetailInformationGrouping"
          },
          "type": "array"
        },
        "otherBenefitEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherBenefitFacilityName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherBenefitFacilityTelephoneNumber": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "otherBenefitTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherBenefitTypeCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherBenefitTypeId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        },
        "stateOrProvinceAddress": {
          "$ref": "#/$defs/NcpdpCodeType"
        }
      },
      "type": "object"
    },
    "OtherPayerGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "otherPayerAdjudicatedProgramType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPayerBenefitClassification": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPayerBenefitEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherPayerBenefitTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherPayerCardholderId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerCoverageType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPayerGroupId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerHelpDeskTelephoneNumber": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "otherPayerHelpDeskTelephoneNumberExtension": {
          "$ref": "#/$defs/NcpdpIntegerType"
        },
        "otherPayerId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPayerName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerPatientRelationshipCode": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "otherPayerPersonCode": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerProcessorControlNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "otherPayerRelationshipType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "OtherPayersSegment": {
      "properties": {
        "cobOrOtherPayersCount": {
          "$ref": "#/$defs/NcpdpCountType",
          "deprecated": true
        },
        "cobOrOtherPayersGroupings": {
          "deprecated": true,
          "items": {
            "$ref": "#/$defs/OtherPayerGrouping"
          },
          "type": "array"
        },
        "empty": {
          "type": "boolean"
        },
        "otherPayerGroupings": {
          "items": {
            "$ref": "#/$defs/OtherPayerGrouping"
          },
          "type": "array"
        },
        "otherPayerIdCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "OtherRelatedBenefitDetailSegment": {
      "properties": {
        "disabilityEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "empty": {
          "type": "boolean"
        },
        "esrdEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "esrdIndicator": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "esrdTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "hospiceEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "hospiceFacilityName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "hospiceProviderNumber": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "hospiceTelephoneNumber": {
          "$ref": "#/$defs/NcpdpPhoneNumberType"
        },
        "hospiceTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "institutionalEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "institutionalIndicator": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "institutionalTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "lisEffectiveDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "lisLevel": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "lisTerminationDate": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "otherBenefitCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "otherBenefitGroupings": {
          "items": {
            "$ref": "#/$defs/OtherBenefitGrouping"
          },
          "type": "array"
        },
        "planType": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PatientIdGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "patientId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "patientIdQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PatientPayComponentGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "patientPayComponentAmount": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "patientPayComponentQualifier": {
          "$ref": "#/$defs/NcpdpCodeType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PatientSegment": {
      "properties": {
        "dateOfBirth": {
          "$ref": "#/$defs/NcpdpDateType"
        },
        "empty": {
          "type": "boolean"
        },
        "patientFirstName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "patientIdCount": {
          "$ref": "#/$defs/NcpdpCountType"
        },
        "patientIdGroupings": {
          "items": {
            "$ref": "#/$defs/PatientIdGrouping"
          },
          "type": "array"
        },
        "patientLastName": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PayerOrHealthPlanIdGrouping": {
      "properties": {
        "empty": {
          "type": "boolean"
        },
        "payerOrHealthPlanId": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "payerOrHealthPlanIdQualifier": {
          "$ref": "#/$defs/NcpdpAlphaNumericType"
        },
        "present": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "PricingSegment": {
      "properties": {
        "accumulatedDeductibleAmount": {
          "$ref": "#/$defs/NcpdpDecimalType"
        },
        "amountAppliedToPeriodicDeductible": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "amountAttributedToCoverageGap": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "amountAttributedToProcessorFee": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "amountAttributedToProductSelectionOrBrandDrug": {
          "$ref": "#/$defs/NcpdpDecimalType",
          "deprecated": true
        },
        "amountAttributedToProductSelectionOrBrandNo

# --- truncated at 32 KB (43 KB total) ---
# Full source: https://artifacts.apis.io/optum/json-schema/optum-ncpdp-format-request-data-schema.json

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/optum-ncpdp-format-request-data"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.