{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-get-claim-format-request-schema.json",
  "title": "GetClaimFormatRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-payersheet-api-openapi.yml#/components/schemas/GetClaimFormatRequest",
  "properties": {
    "billingSequence": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 2
    },
    "bin": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 6
    },
    "chainID": {
      "type": "string",
      "pattern": "^[0-9]*$",
      "maxLength": 38
    },
    "code": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 3
    },
    "customer": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 128
    },
    "externalMessageId": {
      "type": "string",
      "pattern": "^[0-9]*$"
    },
    "groupCode": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 15
    },
    "pcn": {
      "type": "string",
      "maxLength": 10,
      "format": "ncpdp-alphanumeric"
    },
    "rems": {
      "type": "string",
      "maxLength": 1,
      "enum": [
        "y",
        "n",
        "Y",
        "N",
        null
      ]
    },
    "siteCode": {
      "type": "string",
      "pattern": "^[a-zA-Z0-9]*$",
      "maxLength": 80
    },
    "sourceSystemId": {
      "type": "string",
      "pattern": "^[0-9]*$"
    },
    "transactionCode": {
      "type": "string"
    }
  },
  "type": "object"
}