{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-detailed-response-schema.json",
  "title": "DetailedResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-attachment-status-api-openapi.yml#/components/schemas/DetailedResponse",
  "type": "object",
  "properties": {
    "transactionDetails": {
      "type": "object",
      "allOf": [
        {
          "$ref": "#/$defs/TransactionDetails"
        }
      ]
    },
    "status": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StatusDetails"
      }
    }
  },
  "$defs": {
    "DocumentDetails": {
      "type": "object",
      "properties": {
        "documentName": {
          "type": "string"
        },
        "controlNumber": {
          "type": "string"
        },
        "statusCode": {
          "type": [
            "string",
            "null"
          ]
        },
        "statusMessage": {
          "type": [
            "string",
            "null"
          ]
        },
        "statusTimeStamp": {
          "type": [
            "string",
            "null"
          ]
        },
        "rejectionInformation": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "StatusDetails": {
      "type": "object",
      "properties": {
        "statusMessage": {
          "type": "string"
        },
        "statusCode": {
          "type": "string"
        },
        "statusTimeStamp": {
          "type": "string"
        },
        "documents": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/DocumentDetails"
          }
        }
      }
    },
    "TransactionDetails": {
      "type": "object",
      "properties": {
        "submitterId": {
          "type": "string"
        },
        "payerId": {
          "type": "string"
        },
        "payerName": {
          "type": "string"
        },
        "memberId": {
          "type": "string"
        },
        "patientFirstName": {
          "type": "string"
        },
        "patientLastName": {
          "type": "string"
        },
        "providerId": {
          "type": "string"
        },
        "providerFirstName": {
          "type": "string"
        },
        "providerLastName": {
          "type": "string"
        },
        "transactionSubmittedDate": {
          "type": "string"
        },
        "rejectionInformation": {
          "type": "string"
        }
      }
    }
  }
}