{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-practitioner-blueprint-one-schema.json",
  "title": "Public.PractitionerBlueprint_one",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-practitioner-api-openapi.yml#/components/schemas/Public.PractitionerBlueprint_one",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "accepts_enrollments_from_employer": {
      "type": "string"
    },
    "accepts_enrollments_from_retail": {
      "type": "string"
    },
    "bio": {
      "type": "string"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "education": {
      "type": "string"
    },
    "email": {
      "type": "string"
    },
    "gender": {
      "type": "string"
    },
    "gender_other": {
      "type": "string"
    },
    "integration_record_id": {
      "type": "string"
    },
    "max_patient_age": {
      "type": "string"
    },
    "min_patient_age": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "online_signup_visibility": {
      "type": "string"
    },
    "panel_size": {
      "type": "integer",
      "format": "int32"
    },
    "panel_size_limit": {
      "type": "integer",
      "format": "int32"
    },
    "photo_url": {
      "type": "string"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "locations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Public.LocationBlueprint_one"
      }
    },
    "npi": {
      "$ref": "#/$defs/Public.NpiBlueprint_shared"
    },
    "specialties": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Public.SpecialtyBlueprint_all"
      }
    }
  },
  "$defs": {
    "Public.LocationBlueprint_one": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "address_city": {
          "type": "string"
        },
        "address_country": {
          "type": "string"
        },
        "address_latitude": {
          "type": "number",
          "format": "float"
        },
        "address_line1": {
          "type": "string"
        },
        "address_line2": {
          "type": "string"
        },
        "address_longitude": {
          "type": "number",
          "format": "float"
        },
        "address_state": {
          "type": "string"
        },
        "address_zip": {
          "type": "string"
        },
        "distance": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "phone_number": {
          "type": "string"
        },
        "virtual": {
          "type": "boolean"
        },
        "location_group": {
          "$ref": "#/$defs/Public.LocationGroupBlueprint_leaf"
        }
      }
    },
    "Public.LocationGroupBlueprint_leaf": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "integration_record_id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "Public.NpiBlueprint_shared": {
      "type": "object",
      "properties": {
        "first_name": {
          "type": "string"
        },
        "last_name": {
          "type": "string"
        },
        "number": {
          "type": "string"
        },
        "organization_name": {
          "type": "string"
        },
        "type": {
          "type": "string"
        }
      }
    },
    "Public.SpecialtyBlueprint_all": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}