{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-telecom-request-v1-schema.json",
  "title": "TelecomRequestV1",
  "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/TelecomRequestV1",
  "properties": {
    "additionalDocumentation": {
      "$ref": "#/$defs/AdditionalDocumentationV1"
    },
    "coupon": {
      "$ref": "#/$defs/CouponV1"
    },
    "header": {
      "$ref": "#/$defs/HeaderRequestV1"
    },
    "patient": {
      "$ref": "#/$defs/PatientRequestV1"
    },
    "pharmacy": {
      "$ref": "#/$defs/PharmacyV1"
    },
    "prescription": {
      "$ref": "#/$defs/PrescriptionV1"
    },
    "priorAuthorization": {
      "$ref": "#/$defs/PriorAuthorizationV1"
    },
    "processor": {
      "$ref": "#/$defs/ProcessorV1"
    }
  },
  "type": "object",
  "$defs": {
    "AdditionalDocumentationV1": {
      "properties": {
        "additionalDocumentationTypeId": {
          "description": "006 - Medicare equals 04.04B Lymphedema Pumps, 007 - Medicare equals 04.05C Osteogenesis Stimulator, 008 - Medicare equals 06.03B Transcutaneous Electrical NerveStimulator (TENS), 009 - Medicare equals 07.03A Seat Lift Mechanisms, 012 - Medicare equals 09.02 Infusion Pump, 015 - Medicare equals 484.03 Oxygen, 016 - Medicare equals 10.03 Enteral and Parenteral Nutrition, 017 - Medicare equals 11.02 Section C Continuation Form",
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 9.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 9,
          "type": "string"
        },
        "lengthOfNeed": {
          "errorMessage": {
            "minProperties": "must have at least one property."
          },
          "minProperties": 1,
          "properties": {
            "days": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "hours": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "lifetime": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "months": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "weeks": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "years": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            }
          },
          "required": [
            "hours",
            "days",
            "weeks",
            "months",
            "years",
            "lifetime"
          ],
          "type": "object"
        },
        "prescriberOrSupplierDateSigned": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "question": {
          "items": {
            "errorMessage": {
              "required": {
                "alphanumericResponse": "alphanumericResponse is required.",
                "dateResponse": "dateResponse is required.",
                "dollarAmountResponse": "dollarAmountResponse is required.",
                "numberOrLetter": "numberOrLetter is required.",
                "numericResponse": "numericResponse is required.",
                "percentResponse": "percentResponse is required."
              }
            },
            "properties": {
              "alphanumericResponse": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 90.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 90,
                "type": "string"
              },
              "dateResponse": {
                "errorMessage": {
                  "format": "invalid date.",
                  "type": "invalid type, expected string."
                },
                "format": "rxn-date",
                "type": "string"
              },
              "dollarAmountResponse": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 16.",
                  "pattern": "not valid amount.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 16,
                "pattern": "^-?(\\d{1,9}(?:[.]\\d{1,6})?)?$",
                "type": "string"
              },
              "numberOrLetter": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 9.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 9,
                "type": "string"
              },
              "numericResponse": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 11.",
                  "pattern": "invalid value,only numeric expected.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 11,
                "pattern": "^[0-9]*$",
                "type": "string"
              },
              "percentResponse": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 5.",
                  "pattern": "not valid percent.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 5,
                "pattern": "^(\\d{1,3}(?:[.]\\d{1,2})?)?$",
                "type": "string"
              }
            },
            "required": [
              "numberOrLetter",
              "percentResponse",
              "dateResponse",
              "dollarAmountResponse",
              "numericResponse",
              "alphanumericResponse"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "requestPeriodBeginDate": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "requestPeriodRecertOrRevisedDate": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "requestStatus": {
          "description": "Code identifying type of request. 0 - Not Specified, 1 - Initial, 2 - Revision, 3 - Recertification",
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 3.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 3,
          "type": "string"
        },
        "supportingDocumentation": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 195.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 195,
          "type": "string"
        }
      },
      "type": "object"
    },
    "CouponV1": {
      "properties": {
        "number": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 45.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 45,
          "type": "string"
        },
        "type": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 2.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected number."
          },
          "maximum": 99,
          "minimum": 0,
          "type": "number"
        },
        "valueAmount": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 13.",
            "pattern": "not valid amount.",
            "type": "invalid type, expected string."
          },
          "maxLength": 13,
          "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
          "type": "string"
        }
      },
      "type": "object"
    },
    "HeaderRequestV1": {
      "properties": {
        "chainID": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 30.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 30,
          "type": "string"
        },
        "dateOfService": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "externalMessageId": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 30.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 30,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "sourceSystemId": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 30.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 30,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "standard": {
          "errorMessage": {
            "required": {
              "standardName": "standardName is required.",
              "transactionType": "transactionType is required.",
              "type": "type is required.",
              "versionOrReleaseNumber": "versionOrReleaseNumber is required."
            }
          },
          "properties": {
            "standardName": {
              "enum": [
                "TELECOM",
                ""
              ],
              "errorMessage": {
                "enum": "invalid value, only expected TELECOM.",
                "type": "invalid type, expected string."
              },
              "type": "string"
            },
            "transactionType": {
              "enum": [
                "B1",
                "B2",
                "B3",
                "C1",
                "C2",
                "C3",
                "D1",
                "E1",
                "N1",
                "N2",
                "N3",
                "P1",
                "P2",
                "P3",
                "P4",
                "S1",
                "S2",
                "S3",
                ""
              ],
              "errorMessage": {
                "enum": "invalid value, expected values are B1,B2,B3,C1,C2,C3,D1,E1,N1,N2,N3,P1,P2,P3,P4,S1,S2,S3.",
                "maxLength": "exceeds the maximum limit of 2.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "type": "string"
            },
            "type": {
              "enum": [
                "request",
                "response",
                ""
              ],
              "errorMessage": {
                "enum": "invalid value, expected values are request or response.",
                "type": "invalid type, expected string."
              },
              "type": "string"
            },
            "versionOrReleaseNumber": {
              "enum": [
                "D0",
                ""
              ],
              "errorMessage": {
                "enum": "invalid value, only expected D0.",
                "maxLength": "exceeds the maximum limit of 2.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "type": "string"
            }
          },
          "required": [
            "standardName",
            "versionOrReleaseNumber",
            "transactionType",
            "type"
          ],
          "type": "object"
        },
        "transactionCode": {
          "enum": [
            "B1",
            "B2",
            "B3",
            "C1",
            "C2",
            "C3",
            "D1",
            "E1",
            "N1",
            "N2",
            "N3",
            "P1",
            "P2",
            "P3",
            "P4",
            "S1",
            "S2",
            "S3",
            ""
          ],
          "errorMessage": {
            "enum": "invalid value, expected values are B1,B2,B3,C1,C2,C3,D1,E1,N1,N2,N3,P1,P2,P3,P4,S1,S2,S3.",
            "maxLength": "exceeds the maximum limit of 2.",
            "type": "invalid type, expected string."
          },
          "maxLength": 2,
          "type": "string"
        }
      },
      "type": "object"
    },
    "PatientRequestV1": {
      "properties": {
        "address": {
          "properties": {
            "cityName": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 60.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 60,
              "type": "string"
            },
            "postalCode": {
              "errorMessage": {
                "format": "invalid postal code.",
                "maxLength": "exceeds the maximum limit of 15.",
                "type": "invalid type, expected string."
              },
              "format": "zip-or-postal-code",
              "maxLength": 15,
              "type": "string"
            },
            "stateProvinceCode": {
              "enum": [
                "AL",
                "AK",
                "AZ",
                "AR",
                "CA",
                "CO",
                "CT",
                "DE",
                "DC",
                "FM",
                "FL",
                "GA",
                "GU",
                "HI",
                "ID",
                "IL",
                "IN",
                "IA",
                "KS",
                "KY",
                "LA",
                "ME",
                "MD",
                "MA",
                "MI",
                "MN",
                "MS",
                "MO",
                "MT",
                "NE",
                "NV",
                "NH",
                "NJ",
                "NM",
                "NY",
                "NC",
                "ND",
                "MP",
                "OH",
                "OK",
                "OR",
                "PW",
                "PA",
                "PR",
                "RI",
                "SC",
                "SD",
                "TN",
                "TX",
                "UT",
                "VT",
                "VI",
                "VA",
                "WA",
                "WV",
                "WI",
                "WY",
                "AB",
                "BC",
                "MB",
                "NB",
                "NF",
                "NL",
                "NS",
                "NT",
                "ON",
                "PE",
                "QC",
                "SK",
                "YT",
                "UM",
                ""
              ],
              "errorMessage": {
                "enum": "invalid state or province.",
                "maxLength": "maximum length must be 2.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "type": "string"
            },
            "streetLine1": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 90.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 90,
              "type": "string"
            }
          },
          "type": "object"
        },
        "clinical": {
          "properties": {
            "diagnosisCodes": {
              "errorMessage": {
                "minItems": "must have at least one item."
              },
              "items": {
                "properties": {
                  "code": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected number."
                    },
                    "maximum": 99,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 90.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 90,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            },
            "information": {
              "items": {
                "errorMessage": {
                  "minProperties": "must have at least one property."
                },
                "minProperties": 1,
                "properties": {
                  "date": {
                    "errorMessage": {
                      "format": "invalid date.",
                      "type": "invalid type, expected string."
                    },
                    "format": "rxn-date",
                    "type": "string"
                  },
                  "dimension": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected string."
                    },
                    "maxLength": 2,
                    "pattern": "^[0-9]*$",
                    "type": "string"
                  },
                  "time": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 4.",
                      "pattern": "invalid value, only valid 4 digit miliary time is allowed.",
                      "type": "invalid type, expected string."
                    },
                    "maxLength": 4,
                    "pattern": "^([0-2][0-3][0-5][0-9])|^([0-1][0-9][0-5][0-9])|2400$",
                    "type": "string"
                  },
                  "unit": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected string."
                    },
                    "maxLength": 2,
                    "pattern": "^[0-9]*$",
                    "type": "string"
                  },
                  "value": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 15.",
                      "pattern": "invalid value, only alphanumeric and special characters are allowed.",
                      "type": "invalid type, expected string."
                    },
                    "maxLength": 15,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            }
          },
          "type": "object"
        },
        "dateOfBirth": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "emailAddress": {
          "errorMessage": {
            "format": "invalid email address."
          },
          "format": "email"
        },
        "employerId": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 45.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 45,
          "type": "string"
        },
        "facility": {
          "properties": {
            "address": {
              "properties": {
                "cityName": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 60.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 60,
                  "type": "string"
                },
                "postalCode": {
                  "errorMessage": {
                    "format": "invalid postal code.",
                    "maxLength": "exceeds the maximum limit of 15.",
                    "type": "invalid type, expected string."
                  },
                  "format": "zip-or-postal-code",
                  "maxLength": 15,
                  "type": "string"
                },
                "stateProvinceCode": {
                  "enum": [
                    "AL",
                    "AK",
                    "AZ",
                    "AR",
                    "CA",
                    "CO",
                    "CT",
                    "DE",
                    "DC",
                    "FM",
                    "FL",
                    "GA",
                    "GU",
                    "HI",
                    "ID",
                    "IL",
                    "IN",
                    "IA",
                    "KS",
                    "KY",
                    "LA",
                    "ME",
                    "MD",
                    "MA",
                    "MI",
                    "MN",
                    "MS",
                    "MO",
                    "MT",
                    "NE",
                    "NV",
                    "NH",
                    "NJ",
                    "NM",
                    "NY",
                    "NC",
                    "ND",
                    "MP",
                    "OH",
                    "OK",
                    "OR",
                    "PW",
                    "PA",
                    "PR",
                    "RI",
                    "SC",
                    "SD",
                    "TN",
                    "TX",
                    "UT",
                    "VT",
                    "VI",
                    "VA",
                    "WA",
                    "WV",
                    "WI",
                    "WY",
                    "AB",
                    "BC",
                    "MB",
                    "NB",
                    "NF",
                    "NL",
                    "NS",
                    "NT",
                    "ON",
                    "PE",
                    "QC",
                    "SK",
                    "YT",
                    "UM",
                    ""
                  ],
                  "errorMessage": {
                    "enum": "invalid state or province.",
                    "maxLength": "maximum length must be 2.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 2,
                  "type": "string"
                },
                "streetLine1": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "identifier": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 30.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 30,
              "type": "string"
            },
            "name": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 90.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 90,
              "type": "string"
            }
          },
          "type": "object"
        },
        "genderCode": {
          "enum": [
            "0",
            "1",
            "2",
            "3",
            ""
          ],
          "errorMessage": {
            "enum": "invalid Value, expected values are 0,1,2,3.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        },
        "insurance": {
          "items": {
            "properties": {
              "binNumber": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 6.",
                  "pattern": "invalid value, only numeric characters are allowed.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 6,
                "pattern": "^[0-9]*$",
                "type": "string"
              },
              "cardholder": {
                "properties": {
                  "id": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 60.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 60,
                    "type": "string"
                  },
                  "name": {
                    "properties": {
                      "first": {
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 105.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 105,
                        "type": "string"
                      },
                      "last": {
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 105.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 105,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "cmsPartDDefinedQualifiedFacility": {
                "enum": [
                  "Y",
                  "N",
                  ""
                ],
                "errorMessage": {
                  "enum": "invalid value, expected values are Y,N.",
                  "maxLength": "exceeds the maximum limit of 1.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 1,
                "type": "string"
              },
              "eligibilityClarificationCode": {
                "description": "0 - Not Specified, 1 - No Override, 2 - Override, 3 - Full Time Student, 4 - Disabled Dependent, 5 - Dependent Parent, 6 - Significant Other, 7 - Non-human, 8 - Third Party Liability - Patient also eligible with federal/state funded program, coordination of benefit restrictions apply.",
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 1.",
                  "pattern": "invalid value, only 0 to 6 allowed.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 1,
                "pattern": "^[0-6]*$",
                "type": "string"
              },
              "groupCode": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 45.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 45,
                "type": "string"
              },
              "groupId": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 45."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 45,
                "type": "string"
              },
              "homePlan": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 9.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 9,
                "type": "string"
              },
              "medicaidAgencyNumber": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 45.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 45,
                "type": "string"
              },
              "medicaidIdNumber": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 60.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 60,
                "type": "string"
              },
              "medicaidIndicator": {
                "description": "Two character State Postal Code indicating the state where Medicaid coverage exists.",
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 6.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 6,
                "type": "string"
              },
              "medigapId": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 60.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 60,
                "type": "string"
              },
              "patientRelationshipCode": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 1.",
                  "pattern": "invalid value, only 0 to 4 allowed.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 1,
                "pattern": "^[0-4]*$",
                "type": "string"
              },
              "personCode": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 9.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 9,
                "type": "string"
              },
              "planId": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 24.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 24,
                "type": "string"
              },
              "processorControlNumber": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 30.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 30,
                "type": "string"
              },
              "providerAcceptAssignmentIndicator": {
                "description": "Code indicating whether the provider accepts assignment. Y - Assigned, N - Not Assigned",
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 3.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 3,
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "isPregnant": {
          "description": "Code indicating the patient as pregnant or non-pregnant. 1 - Not pregnant, 2 - Pregnant",
          "enum": [
            "Y",
            "N",
            ""
          ],
          "errorMessage": {
            "enum": "invalid value, expected values are Y,N.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        },
        "isSmoker": {
          "description": "Code indicating the patient as a smoker or non-smoker. 1 - Non Smoker, 2 - Smoker",
          "enum": [
            "Y",
            "N",
            ""
          ],
          "errorMessage": {
            "enum": "invalid value, expected values are Y,N.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        },
        "name": {
          "properties": {
            "first": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 105.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 105,
              "type": "string"
            },
            "last": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 105.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 105,
              "type": "string"
            }
          },
          "type": "object"
        },
        "patientId": {
          "errorMessage": {
            "minItems": "must have at least one item."
          },
          "items": {
            "properties": {
              "code": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 2.",
                  "pattern": "invalid value, only numeric characters are allowed.",
                  "type": "invalid type, expected number."
                },
                "maximum": 99,
                "minimum": 0,
                "type": "number"
              },
              "value": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 90.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 90,
                "type": "string"
              }
            },
            "type": "object"
          },
          "minItems": 1,
          "type": "array"
        },
        "primaryCareProvider": {
          "properties": {
            "name": {
              "properties": {
                "last": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 105.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 105,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "providerId": {
              "errorMessage": {
                "minItems": "must have at least one item."
              },
              "items": {
                "properties": {
                  "code": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected number."
                    },
                    "maximum": 99,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 90.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 90,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "type": "object"
        },
        "residence": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 2.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 2,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "sexCode": {
          "enum": [
            "0",
            "1",
            "2",
            ""
          ],
          "errorMessage": {
            "enum": "invalid Value, expected values are 0,1,2.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        },
        "telephoneNumber": {
          "errorMessage": {
            "format": "invalid phone number.",
            "type": "invalid type, expected string."
          },
          "format": "nanp-phone-number",
          "type": "string"
        },
        "workersCompensation": {
          "properties": {
            "billingEntityTypeIndicator": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 2.",
                "pattern": "invalid Value, only numeric are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "carrierId": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 30.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 30,
              "type": "string"
            },
            "claimOrReferenceId": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 90.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 90,
              "type": "string"
            },
            "dateOfInjury": {
              "errorMessage": {
                "format": "invalid date.",
                "type": "invalid type."
              },
              "format": "rxn-date",
              "type": "string"
            },
            "employer": {
              "properties": {
                "address": {
                  "properties": {
                    "cityName": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 60.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 60,
                      "type": "string"
                    },
                    "postalCode": {
                      "errorMessage": {
                        "format": "invalid postal code.",
                        "maxLength": "exceeds the maximum limit of 15",
                        "type": "invalid type, expected string."
                      },
                      "format": "zip-or-postal-code",
                      "maxLength": 15,
                      "type": "string"
                    },
                    "stateProvinceCode": {
                      "enum": [
                        "AL",
                        "AK",
                        "AZ",
                        "AR",
                        "CA",
                        "CO",
                        "CT",
                        "DE",
                        "DC",
                        "FM",
                        "FL",
                        "GA",
                        "GU",
                        "HI",
                        "ID",
                        "IL",
                        "IN",
                        "IA",
                        "KS",
                        "KY",
                        "LA",
                        "ME",
                        "MD",
                        "MA",
                        "MI",
                        "MN",
                        "MS",
                        "MO",
                        "MT",
                        "NE",
                        "NV",
                        "NH",
                        "NJ",
                        "NM",
                        "NY",
                        "NC",
                        "ND",
                        "MP",
                        "OH",
                        "OK",
                        "OR",
                        "PW",
                        "PA",
                        "PR",
                        "RI",
                        "SC",
                        "SD",
                        "TN",
                        "TX",
                        "UT",
                        "VT",
                        "VI",
                        "VA",
                        "WA",
                        "WV",
                        "WI",
                        "WY",
                        "AB",
                        "BC",
                        "MB",
                        "NB",
                        "NF",
                        "NL",
                        "NS",
                        "NT",
                        "ON",
                        "PE",
                        "QC",
                        "SK",
                        "YT",
                        "UM",
                        ""
                      ],
                      "errorMessage": {
                        "enum": "invalid state or province.",
                        "maxLength": "maximum length must be 2.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 2
                    },
                    "streetLine1": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 60.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 60,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "contact": {
                  "properties": {
                    "name": {
                      "properties": {
                        "first": {
                          "errorMessage": {
                            "format": "invalid value, only printable characters are allowed.",
                            "maxLength": "exceeds the maximum limit of 90.",
                            "type": "invalid type, expected string."
                          },
                          "format": "ncpdp-alphanumeric",
                          "maxLength": 90,
                          "type": "string"
                        },
                        "last": {
                          "errorMessage": {
                            "format": "invalid value, only printable characters are allowed.",
                            "maxLength": "exceeds the maximum limit of 90.",
                            "type": "invalid type, expected string."
                          },
                          "format": "ncpdp-alphanumeric",
                          "maxLength": 90,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "type": "object"
                },
                "name": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                },
                "telephoneNumber": {
                  "errorMessage": {
                    "format": "invalid phone number.",
                    "type": "invalid type, expected string."
                  },
                  "format": "nanp-phone-number",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "payTo": {
              "properties": {
                "address": {
                  "properties": {
                    "cityName": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 60.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 60,
                      "type": "string"
                    },
                    "postalCode": {
                      "errorMessage": {
                        "format": "invalid postal code.",
                        "maxLength": "maximum length must be 15.",
                        "type": "invalid type, expected string."
                      },
                      "format": "zip-or-postal-code",
                      "maxLength": 15,
                      "type": "string"
                    },
                    "stateProvinceCode": {
                      "enum": [
                        "AL",
                        "AK",
                        "AZ",
                        "AR",
                        "CA",
                        "CO",
                        "CT",
                        "DE",
                        "DC",
                        "FM",
                        "FL",
                        "GA",
                        "GU",
                        "HI",
                        "ID",
                        "IL",
                        "IN",
                        "IA",
                        "KS",
                        "KY",
                        "LA",
                        "ME",
                        "MD",
                        "MA",
                        "MI",
                        "MN",
                        "MS",
                        "MO",
                        "MT",
                        "NE",
                        "NV",
                        "NH",
                        "NJ",
                        "NM",
                        "NY",
                        "NC",
                        "ND",
                        "MP",
                        "OH",
                        "OK",
                        "OR",
                        "PW",
                        "PA",
                        "PR",
                        "RI",
                        "SC",
                        "SD",
                        "TN",
                        "TX",
                        "UT",
                        "VT",
                        "VI",
                        "VA",
                        "WA",
                        "WV",
                        "WI",
                        "WY",
                        "AB",
                        "BC",
                        "MB",
                        "NB",
                        "NF",
                        "NL",
                        "NS",
                        "NT",
                        "ON",
                        "PE",
                        "QC",
                        "SK",
                        "YT",
                        "UM",
                        ""
                      ],
                      "errorMessage": {
                        "enum": "invalid state or province.",
                        "maxLength": "maximum length must be 2.",
                        "type": "invalid type, expected string."
                      },
                      "type": "string"
                    },
                    "streetLine1": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 90.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 90,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "name": {
                  "properties": {
                    "first": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 210.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 210,
                      "type": "string"
                    },
                    "last": {
                      "errorMessage": {
                        "format": "invalid value, only printable characters are allowed.",
                        "maxLength": "exceeds the maximum limit of 210.",
                        "type": "invalid type, expected string."
                      },
                      "format": "ncpdp-alphanumeric",
                      "maxLength": 210,
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "serviceIdentifier": {
                  "errorMessage": {
                    "minItems": "must have at least one item.",
                    "type": "invalid type, expected array."
                  },
                  "items": {
                    "properties": {
                      "code": {
                        "errorMessage": {
                          "maxLength": "exceeds the maximum limit of 2.",
                          "pattern": "invalid value, only numeric characters are allowed.",
                          "type": "invalid type, expected number."
                        },
                        "maximum": 99,
                        "minimum": 0,
                        "type": "number"
                      },
                      "value": {
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 90.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 90,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "minItems": 1,
                  "type": "array"
                }
              },
              "type": "object"
            },
            "productId": {
              "errorMessage": {
                "minItems": "must have at least one item."
              },
              "items": {
                "properties": {
                  "code": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected number."
                    },
                    "maximum": 99,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 90.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 90,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    },
    "PharmacyV1": {
      "properties": {
        "professionalProvider": {
          "properties": {
            "providerId": {
              "errorMessage": {
                "minItems": "must have at least one item.",
                "type": "invalid type, expected array."
              },
              "items": {
                "properties": {
                  "code": {
                    "description": "1 - Drug Enforcement Administration (DEA), 2 - State License, 3 - Social Security Number (SSN), 4 - Name, 5 - National Provider Identifier (NPI), 6 - Health Industry Number (HIN), 7 - State Issued, 8 - Other",
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected number."
                    },
                    "maximum": 99,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 90.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 90,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            }
          },
          "type": "object"
        },
        "serviceProviderId": {
          "errorMessage": {
            "minItems": "must have at least one item.",
            "type": "invalid type, expected array."
          },
          "items": {
            "properties": {
              "code": {
                "description": "Code qualifying the service Provider. 1 - National Provider Identifier (NPI), 2 - Blue Cross, 3 - Blue Shield, 4 - Medicare, 5 - Medicaid, 6 - UPIN (Unique Physician/Practitioner Identification Number), 7 - NCPDP Provider Identification Number (National Council for Prescription Drug Programs Provider Identification Number), 8 - State License, 9 - TRICARE, 10 - Health Industry Number (HIN), 11 - Federal Tax ID, 12 - Drug Enforcement Administration (DEA) Number, 13 - State Issued, 14 - Plan Specific, 15 - HCIdea, 16 - Combat Methamphetamine Epidemic Act (CMEA) Certificate ID, 17 - Foreign Prescriber Identifier, 18 - No Prescriber Required, 99 - Other",
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 2.",
                  "pattern": "invalid value, only numeric characters are allowed.",
                  "type": "invalid type, expected number."
                },
                "maximum": 99,
                "minimum": 0,
                "type": "number"
              },
              "value": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 90.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 90,
                "type": "string"
              }
            },
            "type": "object"
          },
          "minItems": 1,
          "type": "array"
        }
      },
      "type": "object"
    },
    "PrescriptionV1": {
      "properties": {
        "compoundCode": {
          "description": "Code indicating whether or not the prescription is a compound. 0 - Not Specified, 1 - Not a Compound, 2 - Compound",
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 1.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "compoundType": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 6.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 6,
          "type": "string"
        },
        "datePrescriptionWritten": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "dispensedTransaction": {
          "properties": {
            "alternateId": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 60.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 60,
              "type": "string"
            },
            "associated": {
              "properties": {
                "prescriptionReferenceNumber": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 12.",
                    "pattern": "invalid value, only numeric characters are allowed.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 12,
                  "pattern": "^[0-9]*$",
                  "type": "string"
                },
                "referenceDate": {
                  "errorMessage": {
                    "format": "invalid date.",
                    "type": "invalid type, expected string."
                  },
                  "format": "rxn-date",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "authorization": {
              "properties": {
                "idSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 11.",
                    "pattern": "invalid value, only numeric characters are allowed.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 11,
                  "pattern": "^[0-9]*$",
                  "type": "string"
                },
                "intermediaryId": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 33.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 33,
                  "type": "string"
                },
                "intermediaryTypeId": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 2.",
                    "pattern": "invalid value, only numeric characters are allowed.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 2,
                  "pattern": "^[0-9]*$",
                  "type": "string"
                },
                "typeCode": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 2.",
                    "pattern": "invalid value, only numeric characters are allowed.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 2,
                  "pattern": "^[0-9]*$",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "daysSupply": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "daysSupplyIntendedToBeDispensed": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 3.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 3,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "delayReasonCode": {
              "description": "Code to specify the reason that submission of the transactions has been delayed. 1 - Proof of eligibility unknown or unavailable, 2 - Litigation, 3 - Authorization delays, 4 - Delay in certifying provider, 5 - Delay in supplying billing forms, 6 - Delay in delivery of custom-made appliances, 7 - Third party processing delay, 8 - Delay in eligibility determination, 9 - Original claims rejected or denied due to a reason unrelated to the billing limitation rules, 10 - Administration delay in the prior approval process, 11 - Other, 12 - Received late with no exceptions, 13 - Substantial damage by fire, etc. to provider records, 14 - Theft, sabotage/other willful acts by employee",
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 2.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "dispenseAsWrittenProductSelectionCode": {
              "description": "Code indicating product selection determination. 0 - No Product Selection Indicated, 1 - Substitution Not Allowed by Prescriber, 2 - Substitution Allowed - Patient Requested Product Dispensed, 3 - Substitution Allowed - Pharmacist Selected Product Dispensed, 4 - Substitution Allowed - Generic Drug or Interchangeable Biosimilar Not in Stock, 5 - Substitution Allowed - Brand Drug or Reference Product Dispensed as a Generic or interchangeable biosimilar, 6   Override, 7 - Substitution Not Allowed - Brand Drug or Reference Product Mandated by Law, 8 - Substitution Allowed - Generic Drug or Interchangeable Biosimilar Not Available in Marketplace, 9 - Substitution Allowed By Prescriber but Plan Requests Brand or Reference Product, 9 - Substitution Allowed By Prescriber but Plan Requests Brand or Reference Product, A - Multi-payer Brand/Reference Product Formulary Conflict",
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 3.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 3,
              "type": "string"
            },
            "dispensedItemDetail": {
              "properties": {
                "dosageFormDescription": {
                  "description": "Dosage form of the complete compound mixture. 01 - Capsule, 02 - Ointment, 03 - Cream, 04 - Suppository, 05 - Powder, 06 - Emulsion, 07 - Liquid, 10 - Tablet, 11 - Solution, 12 - Suspension, 13 - Lotion, 14 - Shampoo, 15 - Elixir, 16 - Syrup, 17 - Lozenge, 18 - Enema",
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 6.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 6
                },
                "item": {
                  "items": {
                    "properties": {
                      "basisOfCostDetermination": {
                        "description": "Code indicating the method by which Ingredient Cost Submitted (409-D9) was calculated. 0 - Default, 1 - AWP (Average Wholesale Price), 2 - Local Wholesaler, 3 - Direct, 4 - EAC (Estimated Acquisition Cost), 5 - Acquisition, 6 - MAC (Maximum Allowable Cost), 7 - Usual & Customary, 8 - 340B/Disproportionate Share Pricing/Public Health Service, 9 - Other, 10 - ASP (Average Sales Price), 11 - AMP (Average Manufacturer Price), 12 - WAC (Wholesale Acquisition Cost), 13 - Special Patient Pricing, 14 - Cost basis on unreportable quantities., 15 - Free product or no associated cost., 16 - Nominal Price, 17 - Federal Supply Schedule",
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 6.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 6,
                        "type": "string"
                      },
                      "cost": {
                        "errorMessage": {
                          "maxLength": "exceeds the maximum limit of 13.",
                          "pattern": "invalid cost.",
                          "type": "invalid type, expected string."
                        },
                        "maxLength": 13,
                        "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                        "type": "string"
                      },
                      "itemQuantity": {
                        "errorMessage": {
                          "maxLength": "exceeds the maximum limit of 10.",
                          "pattern": "invalid quantity.",
                          "type": "invalid type, expected string."
                        },
                        "maxLength": 11,
                        "pattern": "^(\\d{1,7}(?:[.]\\d{1,3})?)?$",
                        "type": "string"
                      },
                      "modifierCodes": {
                        "items": {
                          "description": "Identifies special circumstances related to the dispensing/payment of the product as identified in the Compound Product ID. ",
                          "errorMessage": {
                            "format": "invalid value, only printable characters are allowed.",
                            "maxLength": "exceeds the maximum limit of 6.",
                            "type": "invalid type, expected string."
                          },
                          "format": "ncpdp-alphanumeric",
                          "maxLength": 6,
                          "type": "string"
                        },
                        "type": "array"
                      },
                      "productServiceIdentifier": {
                        "properties": {
                          "productId": {
                            "errorMessage": {
                              "minItems": "must have at least one item.",
                              "type": "invalid type, expected array."
                            },
                            "items": {
                              "properties": {
                                "code": {
                                  "description": "Code qualifying the value in Product/Service ID. 1 - Universal Product Code (UPC), 2 - Health Related Item (HRI), 3 - National Drug Code (NDC), 4 - Health Industry Business Communications Council (HIBCC), 5 - Department of Defense (DOD), 6 - Drug Use Review/ Professional Pharmacy Service (DUR/PPS), 7 - Current Procedural Terminology (CPT4), 8 - Current Procedural Terminology (CPT5), 9 - Healthcare Common Procedure Coding System (HCPCS), 10 - Pharmacy Practice Activity Classification (PPAC), 11 - National Pharmaceutical Product Interface Code (NAPPI), 12 - Global Trade Identification Number (GTIN), 13 - Drug Identification Number (DIN), 14 - Medi Span's Generic Product Identifier (GPI), 15 - First DataBank Formulation ID (GCN), 16 - Truven/Micromedex Generic Formulation Code (GFC), 17 - Medi Span's Drug Descriptor ID (DDID), 18 - First DataBank SmartKey, 19 - Truven/Micromedex Generic Master (GM), 28 - First DataBank Medication Name ID (FDB Med Name ID), 29 - First DataBank Routed Medication ID (FDB Routed Med ID), 30 - First DataBank Routed Dosage Form ID (FDB Routed Dosage Form Med ID), 31 - First DataBank Medication ID (FDB MedID), 32 - First DataBank Clinical Formulation ID Sequence Number (GCN_SEQNO), 33 - First DataBank Ingredient List ID (HICL_SEQNO), 34 - Universal Product Number (UPN), 35 - Logical Observation Identifier Names and Codes (LOINC), 36 - Representative National Drug Code (NDC), 37 - American Hospital Formulary Service (AHFS), 38 - RxNorm Semantic Clinical Drug (SCD), 39 - RxNorm Semantic Branded Drug (SBD), 40 - RxNorm Generic Package (GPCK), 41 - RxNorm Branded Package (BPCK), 42 - Gold Standard Marketed Product Identifier (MPid), 43 - Gold Standard Product Identifier (ProdID), 44 - Gold Standard Specific Product Identifier (SPID), 45 - Device Identifier (DI), 99 - Other",
                                  "errorMessage": {
                                    "maxLength": "exceeds the maximum limit of 2.",
                                    "pattern": "invalid value, only numeric characters are allowed.",
                                    "type": "invalid type, expected number."
                                  },
                                  "maximum": 99,
                                  "minimum": 0,
                                  "type": "number"
                                },
                                "value": {
                                  "errorMessage": {
                                    "format": "invalid value, only printable characters are allowed.",
                                    "maxLength": "exceeds the maximum limit of 90.",
                                    "type": "invalid type, expected string."
                                  },
                                  "format": "ncpdp-alphanumeric",
                                  "maxLength": 90,
                                  "type": "string"
                                }
                              },
                              "type": "object"
                            },
                            "minItems": 1,
                            "type": "array"
                          }
                        },
                        "type": "object"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "dispensingStatus": {
              "description": "Code indicating the quantity dispensed is a partial fill or the completion of a partial fill. P - Partial Fill, C - Completion of Partial Fill",
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 3.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 3,
              "type": "string"
            },
            "dur": {
              "items": {
                "properties": {
                  "coAgentProductId": {
                    "errorMessage": {
                      "minItems": "must have at least one item.",
                      "type": "invalid type, expected array."
                    },
                    "items": {
                      "properties": {
                        "code": {
                          "errorMessage": {
                            "maxLength": "exceeds the maximum limit of 2.",
                            "pattern": "invalid value, only numeric characters are allowed.",
                            "type": "invalid type, expected number."
                          },
                          "maximum": 99,
                          "minimum": 0,
                          "type": "number"
                        },
                        "value": {
                          "errorMessage": {
                            "format": "invalid value, only printable characters are allowed.",
                            "maxLength": "exceeds the maximum limit of 90.",
                            "type": "invalid type, expected string."
                          },
                          "format": "ncpdp-alphanumeric",
                          "maxLength": 90,
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "minItems": 1,
                    "type": "array"
                  },
                  "durOrPpsLevelOfEffort": {
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected string."
                    },
                    "maxLength": 2,
                    "pattern": "^[0-9]*$",
                    "type": "string"
                  },
                  "professionalServiceCode": {
                    "description": "Code identifying pharmacist intervention when a conflict code has been identified or service has been rendered. 00 - No intervention, AS - Patient assessment, AS - Patient assessment, CC - Coordination of care, DE - Dosing evaluation/determination, DP - Dosage evaluated, FE - Formulary enforcement, GP - Generic product selection, GP - Generic product selection, M0 - Prescriber consulted, M0 - Prescriber consulted, MA - Medication administration, MB - Medication benefit outweighs risk, MB - Overriding benefit, MP - Patient will be monitored, MR - Medication review, NM - Non-Medication Counseling, PA - Previous patient tolerance, PE - Patient education/instruction, PE - Patient education/instruction, PH - Patient medication history, PM - Patient monitoring, PM - Patient monitoring, P0 - Patient consulted, P0 - Patient consulted, PT - Perform laboratory test, R0 - Pharmacist consulted other source, R0 - Pharmacist consulted other source, RT - Recommend laboratory test, SC - Self-care consultation, SC - Self-care consultation, SW - Literature search/review, TC - Payer/processor consulted, TH - Therapeutic product interchang, UA - Unavailable to Confirm Medication Delivery Device Method and Patient Requires Immediate Access",
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 6.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 6,
                    "type": "string"
                  },
                  "reasonForServiceCode": {
                    "description": "Code identifying the type of utilization conflict detected by the prescriber or the pharmacist or the reason for the pharmacist's professional service. AD - Additional Drug Needed, AN - Prescription Authentication, AR - Adverse Drug Reaction, AT - Additive Toxicity, CD - Chronic Disease Management, CH - Call Help Desk, CS - Patient Complaint/Symptom, DA - Drug-Allergy, DC - Drug-Disease (Inferred), DD - Drug-Drug Interaction, DF - Drug-Food Interaction, DI - Drug Incompatibility, DI - Drug Incompatibility, DL - Drug-Lab Conflict, DM - Apparent Drug Misuse, DP - Partial Lot Drug Recall Warning, DR - Dose Range Conflict, DS - Tobacco Use, ED - Patient Education/Instruction, ER - Overuse, EX - Excessive Quantity, HC - High Cumulative Dose, HD - High Dose, IC - Iatrogenic Condition, IC - Iatrogenic Condition, ID - Ingredient Duplication, LD - Low Dose, LK - Lock In Recipient, LR - Underuse, MC - Drug-Disease (Reported), MD - Medication Delivery Device Method Required, MN - Insufficient Duration, MP - Poly-Pharmacy Detected, MS - Missing Information/Clarification, MX - Excessive Duration, NA - Drug Not Available, NC - Non-covered Drug Purchase, ND - New Disease/Diagnosis, NF - Non-Formulary Drug, NN - Unnecessary Drug, NP - New Patient Processing, NR - Lactation/Nursing Interaction, NS - Insufficient Quantity, OH - Alcohol Conflict, PA - Drug-Age, PA - Drug-Age, PC - Patient Question/Concern, PG - Drug-Pregnancy, PH - Preventive Health Care, PN - Prescriber Consultation, PP - Plan Protocol, PR - Prior Adverse Reaction, PS - Product Selection Opportunity, RE - Suspected Environmental Risk, RF - Health Provider Referral, SC - Suboptimal Compliance, SD - Suboptimal Drug/Indication, SE - Side Effect, SF - Suboptimal Dosage Form, SR - Suboptimal Regimen, SX - Drug-Gender, TD - Therapeutic Duplication, TD - Therapeutic, TN - Laboratory Test Needed, TP - Payer/Processor Question, UD - Duplicate Drug",
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 6.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 6,
                    "type": "string"
                  },
                  "resultOfServiceCode": {
                    "description": "Action taken by a pharmacist or prescriber in response to a conflict or the result of a pharmacist's professional service. 00 - Not Specified, 1A - Dispensed As Is, False Positive, 1B - Dispensed Prescription As Is, 1C - Dispensed, With Different Dose, 1D - Dispensed, With Different Directions, 1E - Dispensed, With Different Drug, 1F - Dispensed, With Different Quantity, 1G - Dispensed, With Prescriber Approval, 1H - Brand-to-Generic Change, 1J - Rx-to-OTC Change, 1K - Dispensed with Different Dosage Form, 2A - Prescription Not Dispensed, 2B - Not Dispensed, Directions Clarified, 3A - Recommendation Accepted, 3B - Recommendation Not Accepted, 3C - Discontinued Drug, 3D - Regimen Changed, 3E - Therapy Changed, 3F - Therapy Changed-cost increased acknowledged, 3G - Drug Therapy Unchanged, 3H - Follow-Up/Report, 3J - Patient Referral, 3K - Instructions Understood, 3M - Compliance Aid Provided, 3N - Medication Administered, 4A - Prescribed With Acknowledgments, 4B - Dispensed, Palliative Care, 4C - Dispensed, Hospice, 4D - Dispensed, Cancer Treatment, 4E - Dispensed, Chronic Pain, 4F - Dispensed, Exempt Per Prescriber, 4G - Dispensed, Surgery/Trauma, 4H - Dispensed, Hospital Admission/Discharge, 4J - Dispensed, Patient is Not Opioid Naive, 4K - Prescriber Specialty Exemption-Oncology Or Non-Hospice Palliative Care, 4L - Prescriber Specialty Exemption - Hospice, 4M - Dispensed, Sex Assigned at Birth is Male, 4N - Dispensed, Sex Assigned at Birth is Female, 4P - Dispensed, Sex Assigned at Birth is Unknown, 4Q - Dispensed, Sex Assigned at Birth is Intersex, 4R - Dispensed, Sickle Cell Disease, 5A - DME Pump Delivery Device Method, 5B - Non-DME or Disposable Delivery Device Method, 5C - Unknown Delivery Device Method and Immediate Access Required",
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 6.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 6,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "fillNumber": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 2.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "levelOfService": {
              "description": "Coding indicating the type of service the provider rendered. 0 - Not Specified, 1 - Patient Consultation, 2 - Home Delivery, 3 - Emergency, 4 - 24 Hour Service, 5 - Patient Consultation regarding generic product selection, 6 - In-Home Service, 7 - Medical at home with special pharmacy services identical to Long Term Care",
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 2.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 2,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "patientAssignmentIndicator": {
              "description": "Code to indicate a patient's choice on assignment of benefits. Y - Patient assigns benefits, N - Patient does not assign benefits",
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 3.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 3,
              "type": "string"
            },
            "payment": {
              "properties": {
                "coordinationOfBenefits": {
                  "items": {
                    "properties": {
                      "benefitStageAmount": {
                        "errorMessage": {
                          "minItems": "must have at least one item.",
                          "type": "invalid type, expected array."
                        },
                        "items": {
                          "properties": {
                            "code": {
                              "errorMessage": {
                                "maxLength": "exceeds the maximum limit of 2.",
                                "pattern": "invalid value, only numeric characters are allowed.",
                                "type": "invalid type, expected number."
                              },
                              "maximum": 99,
                              "minimum": 0,
                              "type": "number"
                            },
                            "value": {
                              "errorMessage": {
                                "format": "invalid value, only printable characters are allowed.",
                                "maxLength": "exceeds the maximum limit of 90.",
                                "type": "invalid type, expected string."
                              },
                              "format": "ncpdp-alphanumeric",
                              "maxLength": 90,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "internalControlNumber": {
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 90.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 90,
                        "type": "string"
                      },
                      "otherPayerAmountPaid": {
                        "errorMessage": {
                          "minItems": "must have at least one item.",
                          "type": "invalid type, expected array."
                        },
                        "items": {
                          "properties": {
                            "code": {
                              "errorMessage": {
                                "maxLength": "exceeds the maximum limit of 2.",
                                "pattern": "invalid value, only numeric characters are allowed.",
                                "type": "invalid type, expected number."
                              },
                              "maximum": 99,
                              "minimum": 0,
                              "type": "number"
                            },
                            "value": {
                              "errorMessage": {
                                "format": "invalid value, only printable characters are allowed.",
                                "maxLength": "exceeds the maximum limit of 90.",
                                "type": "invalid type, expected string."
                              },
                              "format": "ncpdp-alphanumeric",
                              "maxLength": 90,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "otherPayerCoverageType": {
                        "description": "Code identifying the type or order of processing associated with the Other Payer ID. 01 - Primary (First), 02 - Secondary (Second), 03 Tertiary (Third), 04 - Quaternary (Fourth)",
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 6.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 6,
                        "type": "string"
                      },
                      "otherPayerDate": {
                        "errorMessage": {
                          "format": "invalid date.",
                          "type": "invalid type, expected string."
                        },
                        "format": "rxn-date",
                        "type": "string"
                      },
                      "otherPayerId": {
                        "description": " Other Payer ID Qualifier. 1 - Standard Unique Health Plan Identifier (01), 2 - Health Industry Number (HIN) (02), 3 - Bank Information Number (BIN) Card Issuer ID or Bank IDNumber assigned by ANSI used for network routing. (03), 4 - National Association of Insurance Commissioners (NAIC) (04), 5 - Medicare Carrier Number (05), 7 - Medicare Number (1C), 8 - Medicaid Number (1D), 99 - other",
                        "errorMessage": {
                          "minItems": "must have at least one item.",
                          "type": "invalid type, expected array."
                        },
                        "items": {
                          "properties": {
                            "code": {
                              "errorMessage": {
                                "maxLength": "exceeds the maximum limit of 2.",
                                "pattern": "invalid value, only numeric characters are allowed.",
                                "type": "invalid type, expected number."
                              },
                              "maximum": 99,
                              "minimum": 0,
                              "type": "number"
                            },
                            "value": {
                              "errorMessage": {
                                "format": "invalid value, only printable characters are allowed.",
                                "maxLength": "exceeds the maximum limit of 90.",
                                "type": "invalid type, expected string."
                              },
                              "format": "ncpdp-alphanumeric",
                              "maxLength": 90,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "otherPayerPatientResponsibilityAmount": {
                        "errorMessage": {
                          "minItems": "must have at least one item.",
                          "type": "invalid type, expected array."
                        },
                        "items": {
                          "properties": {
                            "code": {
                              "description": "Code qualifying the Other Payer-Patient Responsibility Amount. 1 - Amount Applied to Periodic Deductible as reported by previous payer., 2 - Amount Attributed to Product Selection/Brand Drug as reported by previous payer., 3 - Amount Attributed to Percentage Tax as reported by previous payer., 4 - Amount Exceeding Periodic Benefit Maximum as reported by previous payer., 5 - Amount of Copay as reported by previous payer., 6 - Patient Pay Amount (505-F5) as reported by previous payer., 7 - Amount of Coinsurance as reported by previous payer., 8 - Amount Attributed to Product Selection/Non-Preferred Formulary Selection as reported by previous payer., 9 - Amount Attributed to Health Plan Assistance Amount as reported by previous payer., 10 - Amount Attributed to Provider Network Selection as reported by previous payer., 11 - Amount Attributed to Product Selection/Brand Non-Preferred Formulary Selection as reported by previous payer., 12 - Amount Attributed to Coverage Gap that was to be collected from the patient due to a coverage gap as reported by previous payer., 13 - Amount Attributed to Processor Fee as reported by previous payer., 14 - Amount Attributed to Grace Period as reported by previous payer., 15 - Amount Attributed to Catastrophic Benefit as reported by previous payer., 16 - Amount Attributed to Unbalanced Patient Pay Response Received from Previous Payer. The dollar amount representing the difference between the Patient Pay Amount (505-F5) and the sum of the reported Patient Pay Component Amounts (C93-KN)., 17 - Amount attributed to Regulatory Fee as reported by previous payer., 18 - Amount Attributed to Spend Down as Reported by Previous Payer.,  ",
                              "errorMessage": {
                                "maxLength": "exceeds the maximum limit of 2.",
                                "pattern": "invalid value, only numeric characters are allowed.",
                                "type": "invalid type, expected number."
                              },
                              "maximum": 99,
                              "minimum": 0,
                              "type": "number"
                            },
                            "value": {
                              "errorMessage": {
                                "format": "invalid value, only printable characters are allowed.",
                                "maxLength": "exceeds the maximum limit of 90.",
                                "type": "invalid type, expected string."
                              },
                              "format": "ncpdp-alphanumeric",
                              "maxLength": 90,
                              "type": "string"
                            }
                          },
                          "type": "object"
                        },
                        "minItems": 1,
                        "type": "array"
                      },
                      "otherPayerRejectCodes": {
                        "items": {
                          "errorMessage": {
                            "format": "invalid value, only printable characters are allowed.",
                            "maxLength": "exceeds the maximum limit of 9.",
                            "type": "invalid type, expected string."
                          },
                          "format": "ncpdp-alphanumeric",
                          "maxLength": 9,
                          "type": "string"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "type": "object"
            },
            "pricing": {
              "properties": {
                "basisOfCostDetermination": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 6.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 6,
                  "type": "string"
                },
                "dispensingFeeSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "flatSalesTaxAmountSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "grossAmountDue": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "incentiveAmountSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "ingredientCostSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "medicaidPaidAmount": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "otherAmountClaimedSubmitted": {
                  "errorMessage": {
                    "minItems": "must have at least one item.",
                    "type": "invalid type, expected array."
                  },
                  "items": {
                    "properties": {
                      "code": {
                        "errorMessage": {
                          "maxLength": "exceeds the maximum limit of 2.",
                          "pattern": "invalid value, only numeric characters are allowed.",
                          "type": "invalid type, expected number."
                        },
                        "maximum": 99,
                        "minimum": 0,
                        "type": "number"
                      },
                      "value": {
                        "errorMessage": {
                          "format": "invalid value, only printable characters are allowed.",
                          "maxLength": "exceeds the maximum limit of 90.",
                          "type": "invalid type, expected string."
                        },
                        "format": "ncpdp-alphanumeric",
                        "maxLength": 90,
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "minItems": 1,
                  "type": "array"
                },
                "patientPaidAmountSubmitted": {
                  "properties": {
                    "currentTPSubmitCopay": {
                      "errorMessage": {
                        "maxLength": "exceeds the maximum limit of 13.",
                        "pattern": "invalid amount.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 13,
                      "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                      "type": "string"
                    },
                    "previousTPFinalCopay": {
                      "errorMessage": {
                        "maxLength": "exceeds the maximum limit of 13.",
                        "pattern": "invalid amount.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 13,
                      "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "percentageSalesTax": {
                  "properties": {
                    "noPercentageSalesTaxAmountSubmitted": {
                      "errorMessage": {
                        "maxLength": "exceeds the maximum limit of 13.",
                        "pattern": "invalid amount.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 13,
                      "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                      "type": "string"
                    },
                    "percentageSalesTaxAmountSubmitted": {
                      "errorMessage": {
                        "maxLength": "exceeds the maximum limit of 13.",
                        "pattern": "invalid amount.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 13,
                      "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                      "type": "string"
                    },
                    "positivePercentageSalesTaxAmountSubmitted": {
                      "errorMessage": {
                        "maxLength": "exceeds the maximum limit of 13.",
                        "pattern": "invalid amount.",
                        "type": "invalid type, expected string."
                      },
                      "maxLength": 13,
                      "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                      "type": "string"
                    }
                  },
                  "type": "object"
                },
                "percentageSalesTaxBasisSubmitted": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 6.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 6,
                  "type": "string"
                },
                "percentageSalesTaxRateSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 10.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 10,
                  "pattern": "^-?(\\d{1,3}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "professionalServiceFeeSubmitted": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                },
                "usualAndCustomaryCharge": {
                  "errorMessage": {
                    "maxLength": "exceeds the maximum limit of 13.",
                    "pattern": "invalid amount.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 13,
                  "pattern": "^-?(\\d{1,6}(?:[.]\\d{1,6})?)?$",
                  "type": "string"
                }
              },
              "type": "object"
            },
            "procedureModifierCodes": {
              "items": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 6.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 6,
                "type": "string"
              },
              "type": "array"
            },
            "quantityDispensed": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 10.",
                "pattern": "invalid quantity.",
                "type": "invalid type, expected string."
              },
              "maxLength": 11,
              "pattern": "^(\\d{1,7}(?:[.]\\d{1,3})?)?$",
              "type": "string"
            },
            "quantityIntendedToBeDispensed": {
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 10.",
                "pattern": "invalid quantity.",
                "type": "invalid type, expected string."
              },
              "maxLength": 11,
              "pattern": "^(\\d{0,7}(\\.?\\d{1,3}+))*$",
              "type": "string"
            },
            "specialPackagingIndicator": {
              "description": "Code indicating the type of dispensing dose. 0 - Not Specified, 1 - Not Unit Dose, 2 - Manufacturer Unit Dose, 3 - Pharmacy Unit Dose, 4 - Pharmacy Unit Dose Patient Compliance Packaging, 5 - Pharmacy Multi-drug Patient Compliance Packaging, 6 - Remote Device Unit Dose, 7 - Remote Device Multi-drug Compliance, 8 - Manufacturer Unit of Use Package (not unit dose)",
              "errorMessage": {
                "maxLength": "exceeds the maximum limit of 1.",
                "pattern": "invalid value, only numeric characters are allowed.",
                "type": "invalid type, expected string."
              },
              "maxLength": 1,
              "pattern": "^[0-9]*$",
              "type": "string"
            },
            "submissionClarificationCodes": {
              "description": "Code indicating that the pharmacist is clarifying the submission.0 - Not Specified, 1 - No Override, 2 - Other Override, 3 - Vacation Supply, 4 - Lost/Damaged Prescription, 5 - Therapy Change, 6 - Continuation Dose After Starter Dose, 6 - Starter Dose, 7 - Medically Necessary, 8 - Process Compound For Approved Ingredients, 9 - Encounters, 10 - Meets Plan Limitations, 11 - Certification on File, 12 - DME Replacement Indicator, 13 - Payer-Recognized Emergency/Disaster Assistance Request, 14 - Long Term Care Leave of Absence, 15 - Long Term Care Replacement Medication, 16 - Long Term Care Emergency box (kit) or automated dispensing machine, 17 - Long Term Care Emergency supply remainder, 18 - Long Term Care Patient Admit/Readmit Indicator, 19 - Split Billing, 20 - 340B, 21 - LTC dispensing: 14 days or less not applicable, 22 - LTC dispensing: 7 days, 23 - LTC dispensing: 4 days, 24 - LTC dispensing: 3 days, 25 - LTC dispensing: 2 days, 26 - LTC dispensing: 1 day, 27 - LTC dispensing: 4-3 days, 28 - LTC dispensing: 2-2-3 days, 29 - LTC dispensing: daily and 3-day weekend, 30 - LTC dispensing: Per shift dispensing, 31 - LTC dispensing: Per med pass dispensing, 32 - LTC dispensing: PRN on demand, 33 - LTC dispensing: 7 day or less cycle not otherwise represented, 34 - LTC dispensing: 14 days dispensing, 35 - LTC dispensing: 8-14 day dispensing method not listed above, 36 - LTC dispensing: dispensed outside short cycle, 42 - Prescriber ID Submitted is valid and prescribing requirements have been validated., 42 - Prescriber ID Submitted is valid and prescribing requirements have been validated., 42 - Prescriber ID Submitted is valid and prescribing requirements have been validated., 43 - Prescriber's DEA is active with DEA Authorized Prescriptive Right., 44 - For prescriber ID submitted, associated prescriber DEA recently licensed or re-activated, 45 - Prescriber's DEA is a valid Hospital DEA with Suffix and has prescriptive authority for this drug DEA Schedule, 46 - Prescriber's DEA has prescriptive authority for this drug DEA Schedule, 47 - Other Shortened Days Supply, 48 - Dispensed Subsequent to a Shortened Days Supply Dispensing, 49 - Prescriber does not currently have an active Type 1 NPI, 50 - Prescriber's active Medicare Fee For Service enrollment status has been validated, 51 - Pharmacy's active Medicare Fee For Service enrollment status has been validated, 52 - Prescriber's state license with prescriptive authority has been validated, 53 - Prescriber NPI active and valid, 54 - CMS Other Authorized Prescriber (OAP), 55 - Prescriber Enrollment in State Medicaid Program has been validated., 56 - Pharmacy Enrollment in State Medicaid Program has been validated., 57 - Discharge Medication, 58 - Nominal Price, 59 - Federal Supply Schedule, 60 - Long Term Care Same Drug Strength and Dosage Form with Multiple Dosing Directions, 61 - Synchronization Fill - Shortened Days Supply, 62 - Shortened Days Supply of Same Drug, Strength and Dosage Form with Multiple NDCs Dispensed, 63 - Mail Order Delay - Shortened Days Supply, 64 - Trial Fill - Shortened Days Supply, 65 - Individual Patient Emergency RX Fill Request., 99 - Other",
              "items": {
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 2.",
                  "pattern": "invalid value, only numeric characters are allowed.",
                  "type": "invalid type, expected string."
                },
                "maxLength": 2,
                "pattern": "^[0-9]*$",
                "type": "string"
              },
              "type": "array"
            },
            "transactionReferenceNumber": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 30.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 30,
              "type": "string"
            },
            "unitOfMeasure": {
              "errorMessage": {
                "format": "invalid value, only printable characters are allowed.",
                "maxLength": "exceeds the maximum limit of 6.",
                "type": "invalid type, expected string."
              },
              "format": "ncpdp-alphanumeric",
              "maxLength": 6,
              "type": "string"
            }
          },
          "type": "object"
        },
        "narrativeMessage": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 600.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 600,
          "type": "string"
        },
        "numberOfRefillsAuthorized": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 2.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 2,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "originallyPrescribedQuantity": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 10.",
            "pattern": "invalid quantity.",
            "type": "invalid type, expected string."
          },
          "maxLength": 11,
          "pattern": "^(\\d{1,7}(?:[.]\\d{1,3})?)?$",
          "type": "string"
        },
        "otherCoverageCode": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 2.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 2,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "prescriber": {
          "properties": {
            "address": {
              "properties": {
                "cityName": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 60.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 60,
                  "type": "string"
                },
                "postalCode": {
                  "errorMessage": {
                    "format": "invalid postal code.",
                    "maxLength": "maximum length must be 15.",
                    "type": "invalid type, expected string."
                  },
                  "format": "zip-or-postal-code",
                  "maxLength": 15,
                  "type": "string"
                },
                "stateProvinceCode": {
                  "enum": [
                    "AL",
                    "AK",
                    "AZ",
                    "AR",
                    "CA",
                    "CO",
                    "CT",
                    "DE",
                    "DC",
                    "FM",
                    "FL",
                    "GA",
                    "GU",
                    "HI",
                    "ID",
                    "IL",
                    "IN",
                    "IA",
                    "KS",
                    "KY",
                    "LA",
                    "ME",
                    "MD",
                    "MA",
                    "MI",
                    "MN",
                    "MS",
                    "MO",
                    "MT",
                    "NE",
                    "NV",
                    "NH",
                    "NJ",
                    "NM",
                    "NY",
                    "NC",
                    "ND",
                    "MP",
                    "OH",
                    "OK",
                    "OR",
                    "PW",
                    "PA",
                    "PR",
                    "RI",
                    "SC",
                    "SD",
                    "TN",
                    "TX",
                    "UT",
                    "VT",
                    "VI",
                    "VA",
                    "WA",
                    "WV",
                    "WI",
                    "WY",
                    "AB",
                    "BC",
                    "MB",
                    "NB",
                    "NF",
                    "NL",
                    "NS",
                    "NT",
                    "ON",
                    "PE",
                    "QC",
                    "SK",
                    "YT",
                    "UM",
                    ""
                  ],
                  "errorMessage": {
                    "enum": "invalid state or province.",
                    "maxLength": "maximum length must be 2.",
                    "type": "invalid type, expected string."
                  },
                  "type": "string"
                },
                "streetLine1": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "name": {
              "properties": {
                "first": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                },
                "last": {
                  "errorMessage": {
                    "format": "invalid value, only printable characters are allowed.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "serviceProviderId": {
              "errorMessage": {
                "minItems": "must have at least one item.",
                "type": "invalid type, expected array."
              },
              "items": {
                "properties": {
                  "code": {
                    "description": "Code qualifying the service Provider. 1 - National Provider Identifier (NPI), 2 - Blue Cross, 3 - Blue Shield, 4 - Medicare, 5 - Medicaid, 6 - UPIN (Unique Physician/Practitioner Identification Number), 7 - NCPDP Provider Identification Number (National Council for Prescription Drug Programs Provider Identification Number), 8 - State License, 9 - TRICARE, 10 - Health Industry Number (HIN), 11 - Federal Tax ID, 12 - Drug Enforcement Administration (DEA) Number, 13 - State Issued, 14 - Plan Specific, 15 - HCIdea, 16 - Combat Methamphetamine Epidemic Act (CMEA) Certificate ID, 17 - Foreign Prescriber Identifier, 18 - No Prescriber Required, 99 - Other",
                    "errorMessage": {
                      "maxLength": "exceeds the maximum limit of 2.",
                      "pattern": "invalid value, only numeric characters are allowed.",
                      "type": "invalid type, expected number."
                    },
                    "maximum": 99,
                    "minimum": 0,
                    "type": "number"
                  },
                  "value": {
                    "errorMessage": {
                      "format": "invalid value, only printable characters are allowed.",
                      "maxLength": "exceeds the maximum limit of 90.",
                      "type": "invalid type, expected string."
                    },
                    "format": "ncpdp-alphanumeric",
                    "maxLength": 90,
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "minItems": 1,
              "type": "array"
            },
            "telephoneNumber": {
              "errorMessage": {
                "format": "invalid phone number.",
                "type": "invalid type, expected string."
              },
              "format": "nanp-phone-number",
              "type": "string"
            }
          },
          "type": "object"
        },
        "prescriptionOriginCode": {
          "description": "Code indicating the origin of the prescription. 0 - Not Known, 1 - Written, 2 - Telephone, 3 - Electronic, 4 - Facsimile, 5 - Pharmacy",
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 1.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "prescriptionServiceReferenceNumberId": {
          "errorMessage": {
            "minItems": "must have at least one item.",
            "type": "invalid type, expected array."
          },
          "items": {
            "properties": {
              "code": {
                "description": "Indicates the type of billing submitted. 1 - Rx Billing, 2 - Service Billing, 3 - Non Prescription Product",
                "errorMessage": {
                  "maxLength": "exceeds the maximum limit of 2.",
                  "pattern": "invalid value, only numeric characters are allowed.",
                  "type": "invalid type, expected number."
                },
                "maximum": 99,
                "minimum": 0,
                "type": "number"
              },
              "value": {
                "errorMessage": {
                  "format": "invalid value, only printable characters are allowed.",
                  "maxLength": "exceeds the maximum limit of 90.",
                  "type": "invalid type, expected string."
                },
                "format": "ncpdp-alphanumeric",
                "maxLength": 90,
                "type": "string"
              }
            },
            "type": "object"
          },
          "minItems": 1,
          "type": "array"
        },
        "quantityPrescribed": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 10.",
            "pattern": "invalid quantity.",
            "type": "invalid type, expected string."
          },
          "maxLength": 11,
          "pattern": "^(\\d{1,7}(?:[.]\\d{1,3})?)?$",
          "type": "string"
        },
        "routeOfAdministration": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 33."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 33,
          "type": "string"
        },
        "scheduledPrescriptionIdNumber": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 36.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 36,
          "type": "string"
        }
      },
      "type": "object"
    },
    "PriorAuthorizationV1": {
      "properties": {
        "authorizationNumber": {
          "errorMessage": {
            "format": "invalid value for authorizationNumber",
            "maxLength": "exceeds the maximum limit of 60.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 60,
          "type": "string"
        },
        "authorizedRepresentative": {
          "errorMessage": {
            "minProperties": "must have at least one property."
          },
          "minProperties": 1,
          "properties": {
            "address": {
              "errorMessage": {
                "minProperties": "must have at least one address property."
              },
              "minProperties": 1,
              "properties": {
                "cityName": {
                  "errorMessage": {
                    "format": "invalid city name.",
                    "maxLength": "exceeds the maximum limit of 60.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 60,
                  "type": "string"
                },
                "postalCode": {
                  "errorMessage": {
                    "format": "invalid postal code.",
                    "maxLength": "maximum length must be 15.",
                    "type": "invalid type, expected string."
                  },
                  "format": "zip-or-postal-code",
                  "maxLength": 15,
                  "type": "string"
                },
                "stateProvinceCode": {
                  "enum": [
                    "AL",
                    "AK",
                    "AZ",
                    "AR",
                    "CA",
                    "CO",
                    "CT",
                    "DE",
                    "DC",
                    "FM",
                    "FL",
                    "GA",
                    "GU",
                    "HI",
                    "ID",
                    "IL",
                    "IN",
                    "IA",
                    "KS",
                    "KY",
                    "LA",
                    "ME",
                    "MD",
                    "MA",
                    "MI",
                    "MN",
                    "MS",
                    "MO",
                    "MT",
                    "NE",
                    "NV",
                    "NH",
                    "NJ",
                    "NM",
                    "NY",
                    "NC",
                    "ND",
                    "MP",
                    "OH",
                    "OK",
                    "OR",
                    "PW",
                    "PA",
                    "PR",
                    "RI",
                    "SC",
                    "SD",
                    "TN",
                    "TX",
                    "UT",
                    "VT",
                    "VI",
                    "VA",
                    "WA",
                    "WV",
                    "WI",
                    "WY",
                    "AB",
                    "BC",
                    "MB",
                    "NB",
                    "NF",
                    "NL",
                    "NS",
                    "NT",
                    "ON",
                    "PE",
                    "QC",
                    "SK",
                    "YT",
                    "UM",
                    ""
                  ],
                  "errorMessage": {
                    "enum": "invalid state or province.",
                    "maxLength": "maximum length must be 2.",
                    "type": "invalid type, expected string."
                  },
                  "maxLength": 2,
                  "type": "string"
                },
                "streetLine1": {
                  "errorMessage": {
                    "format": "invalid street line 1 value.",
                    "maxLength": "exceeds the maximum limit of 90.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 90,
                  "type": "string"
                }
              },
              "type": "object"
            },
            "name": {
              "errorMessage": {
                "minProperties": "must have at least one name property."
              },
              "minProperties": 1,
              "properties": {
                "first": {
                  "errorMessage": {
                    "format": "invalid first name",
                    "maxLength": "exceeds the maximum limit of 105.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 105,
                  "type": "string"
                },
                "last": {
                  "errorMessage": {
                    "format": "invalid last name",
                    "maxLength": "exceeds the maximum limit of 105.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 105,
                  "type": "string"
                },
                "middle": {
                  "errorMessage": {
                    "format": "invalid middle name",
                    "maxLength": "exceeds the maximum limit of 105.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 105,
                  "type": "string"
                },
                "prefix": {
                  "errorMessage": {
                    "format": "invalid prefix value",
                    "maxLength": "exceeds the maximum limit of 9.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 9,
                  "type": "string"
                },
                "suffix": {
                  "errorMessage": {
                    "format": "invalid suffix value",
                    "maxLength": "exceeds the maximum limit of 9.",
                    "type": "invalid type, expected string."
                  },
                  "format": "ncpdp-alphanumeric",
                  "maxLength": 9,
                  "type": "string"
                }
              },
              "type": "object"
            }
          },
          "type": "object"
        },
        "basisOfRequest": {
          "description": "Code describing the reason for prior authorization request. ME - Medical Exception, PR - Plan Requirement, PL - Increase Plan Limitation",
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 6.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 6,
          "type": "string"
        },
        "idAssigned": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 11.",
            "pattern": "invalid value for pAIdAssigned",
            "type": "invalid type, expected string."
          },
          "maxLength": 11,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "requestPeriodBeginDate": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "requestPeriodEndDate": {
          "errorMessage": {
            "format": "invalid date.",
            "type": "invalid type, expected string."
          },
          "format": "rxn-date",
          "type": "string"
        },
        "requestType": {
          "description": "Code identifying type of prior authorization request. 1 - Initial, 2 -Reauthorization, 3 - Deferred",
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 3.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 3,
          "type": "string"
        },
        "supportingDocumentation": {
          "errorMessage": {
            "format": "invalid value for pASupportingDocumentation",
            "maxLength": "exceeds the maximum limit of 1500.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 1500,
          "type": "string"
        }
      },
      "type": "object"
    },
    "ProcessorV1": {
      "properties": {
        "binNumber": {
          "errorMessage": {
            "maxLength": "exceeds the maximum limit of 6.",
            "pattern": "invalid value, only numeric characters are allowed.",
            "type": "invalid type, expected string."
          },
          "maxLength": 6,
          "pattern": "^[0-9]*$",
          "type": "string"
        },
        "claimFormatCode": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 9.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 9,
          "type": "string"
        },
        "groupCode": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 45.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 45,
          "type": "string"
        },
        "processorControlNumber": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 30.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 30,
          "type": "string"
        },
        "rems": {
          "enum": [
            "Y",
            "N",
            "y",
            "n"
          ],
          "errorMessage": {
            "enum": "invalid Value, expected values are Y or N.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        },
        "siteCode": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 240.",
            "type": "invalid type, expected string or null."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 240,
          "type": [
            "string",
            "null"
          ]
        },
        "softwareVendorId": {
          "errorMessage": {
            "format": "invalid value, only printable characters are allowed.",
            "maxLength": "exceeds the maximum limit of 30.",
            "type": "invalid type, expected string."
          },
          "format": "ncpdp-alphanumeric",
          "maxLength": 30,
          "type": "string"
        },
        "transactionCount": {
          "enum": [
            "1",
            ""
          ],
          "errorMessage": {
            "enum": "invalid value, only expected value is 1.",
            "maxLength": "exceeds the maximum limit of 1.",
            "type": "invalid type, expected string."
          },
          "maxLength": 1,
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}