{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/med-reveal-com/json-schema/med-reveal-com-tin-search-request-schema.json",
  "title": "TinSearchRequest",
  "description": "Request for TIN 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/TinSearchRequest",
  "properties": {
    "groupName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Groupname",
      "description": "Provider group 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"
    },
    "insurance": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Insurance",
      "description": "Insurance company code"
    },
    "npi": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Npi",
      "description": "Affiliated NPI number"
    },
    "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"
}