{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/optum/json-schema/optum-prior-auth-search-provider-input-schema.json",
  "title": "PriorAuthSearchProviderInput",
  "description": "Search parameters related to the provider",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/optum-auth-referral-submission-api-openapi.yml#/components/schemas/PriorAuthSearchProviderInput",
  "type": "object",
  "properties": {
    "firstName": {
      "description": "Provider first name",
      "type": "string"
    },
    "lastOrOrgName": {
      "description": "Provider last name or organization",
      "type": "string"
    },
    "address": {
      "$ref": "#/$defs/ProviderAddressInput"
    }
  },
  "required": [
    "address.addressLine1",
    "address.state",
    "address.zip",
    "lastOrOrgName",
    "address"
  ],
  "$defs": {
    "ProviderAddressInput": {
      "type": "object",
      "properties": {
        "addressLine1": {
          "description": "Address line 1",
          "type": "string"
        },
        "addressLine2": {
          "description": "Address line 2 (optional).",
          "type": "string"
        },
        "city": {
          "description": "City",
          "type": "string"
        },
        "state": {
          "description": "State code (e.g., AZ, CA, NY etc).",
          "type": "string"
        },
        "zip": {
          "description": "Standard ZIP code.",
          "type": "string"
        },
        "zip4": {
          "description": "ZIP+4 suffix",
          "type": "string"
        }
      },
      "required": [
        "addressLine1",
        "state",
        "zip"
      ]
    }
  }
}