{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-claim-pre-check-request-schema.json",
  "title": "ClaimPreCheckRequest",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-claimprecheck-api-openapi.yml#/components/schemas/ClaimPreCheckRequest",
  "type": "object",
  "properties": {
    "query": {
      "description": "GraphQL query for the Claims Pre-Check operation",
      "type": "string"
    },
    "variables": {
      "description": "Variables for the Claims Pre-Check operation",
      "$ref": "#/$defs/Variables"
    }
  },
  "$defs": {
    "Input": {
      "type": "object",
      "properties": {
        "x12RequestData": {
          "description": "837X12 request data for Institutional/Professional claims",
          "type": "string"
        },
        "payerId": {
          "description": "Payer ID",
          "type": "string"
        }
      },
      "required": [
        "payerId",
        "x12RequestData"
      ]
    },
    "Variables": {
      "type": "object",
      "properties": {
        "input": {
          "description": "Input data for the Claims Pre-Check operation",
          "$ref": "#/$defs/Input"
        }
      }
    }
  }
}