{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/med-reveal-com/json-schema/med-reveal-com-npi-search-request-schema.json",
  "title": "NpiSearchRequest",
  "description": "Request for NPI search.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/med-reveal-com-openapi.json#/components/schemas/NpiSearchRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name",
      "description": "Provider name (partial match)"
    },
    "city": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "City",
      "description": "City name"
    },
    "state": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "State",
      "description": "Two-letter state code"
    },
    "specialty": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Specialty",
      "description": "Specialty classification"
    },
    "taxonomy": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Taxonomy",
      "description": "Taxonomy code"
    },
    "entityType": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Entitytype",
      "description": "Entity type (1=Individual, 2=Organization)"
    },
    "page": {
      "type": "integer",
      "minimum": 1.0,
      "title": "Page",
      "description": "Page number",
      "default": 1
    },
    "pageSize": {
      "type": "integer",
      "maximum": 500.0,
      "minimum": 1.0,
      "title": "Pagesize",
      "description": "Results per page",
      "default": 50
    }
  },
  "type": "object"
}