{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/health/HealthFacility.schema.json",
  "title": "HealthFacility",
  "description": "A service point where clinical or preventive health services are delivered, such as a hospital, health center, health post, dispensary, specialty clinic, pharmacy, or diagnostic laboratory. HealthFacility specializes ServicePoint for the health sector and carries additional properties for facility type (SARA/HHFA category) and facility level (primary / secondary / tertiary / quaternary tier of care). HealthFacility is distinct from the Organization that owns or manages it (captured via managed_by) and from its administrative site (captured via located_at): the organization can change without the physical facility moving, and a facility can serve several administrative Locations. Facility typology references the WHO Service Availability and Readiness Assessment (SARA) and the Harmonized Health Facility Assessment (HHFA) taxonomies.\n",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The full display name of the record. Depending on the concept, this is a person's or group's name, or the title of a program, instrument, scoring rule, or software product."
    },
    "identifiers": {
      "type": "array",
      "items": {
        "oneOf": [
          {
            "$ref": "https://publicschema.org/Identifier.schema.json"
          },
          {
            "type": "string",
            "description": "URI or identifier reference"
          }
        ],
        "description": "Identifiers carried by this entity, such as national ID numbers, program IDs, or identifiers asserted by an identity document."
      }
    },
    "service_point_type": {
      "type": "string",
      "enum": [
        "health_facility",
        "education_facility",
        "distribution_point",
        "water_point",
        "sanitation_facility",
        "protection_service_point",
        "registration_center",
        "community_center",
        "market",
        "other"
      ],
      "$comment": "https://publicschema.org/vocab/service-point-type",
      "description": "The category of service this point provides (health, education, distribution, WASH, etc.)."
    },
    "located_at": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Location.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The administrative or geographic location where this service point sits."
    },
    "managed_by": {
      "oneOf": [
        {
          "$ref": "https://publicschema.org/Organization.schema.json"
        },
        {
          "type": "string",
          "description": "URI or identifier reference"
        }
      ],
      "description": "The organization that operates or manages this service point (government agency, NGO, UN agency, private provider)."
    },
    "operational_status": {
      "type": "string",
      "enum": [
        "fully_operational",
        "partially_operational",
        "temporarily_closed",
        "permanently_closed",
        "not_yet_opened",
        "unknown"
      ],
      "$comment": "https://publicschema.org/vocab/facility-operational-status",
      "description": "Whether the service point is currently operational, partially operational, or non-functional."
    },
    "facility_type": {
      "type": "string",
      "enum": [
        "hospital",
        "health_center",
        "health_post",
        "dispensary",
        "clinic",
        "pharmacy",
        "laboratory",
        "mobile_clinic",
        "other"
      ],
      "$comment": "https://publicschema.org/vocab/health/health-facility-type",
      "description": "The functional category of a health facility per WHO SARA/HHFA (hospital, health center, health post, etc.)."
    },
    "facility_level": {
      "type": "string",
      "enum": [
        "primary",
        "secondary",
        "tertiary",
        "quaternary",
        "unknown"
      ],
      "$comment": "https://publicschema.org/vocab/health/health-facility-level",
      "description": "The tier of care provided per national/WHO classification (primary, secondary, tertiary, quaternary)."
    }
  }
}
