{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://publicschema.org/edu/School.schema.json",
  "title": "School",
  "description": "A service point where formal or non-formal education is delivered, such as a primary school, secondary school, vocational training center, or early childhood education center. School specializes ServicePoint for the education sector and carries additional properties for the ISCED education level(s) served and the management type of the school (public, private, faith-based, or community), per UNESCO UIS classification. School is distinct from the Organization that manages it (captured via managed_by) and from its administrative location (captured via located_at). A single school campus may serve multiple ISCED levels (e.g., a combined primary-and-lower-secondary school).\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."
    },
    "school_level_served": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "isced_0",
          "isced_1",
          "isced_2",
          "isced_3",
          "isced_4"
        ],
        "$comment": "https://publicschema.org/vocab/edu/school-level",
        "description": "The ISCED 2011 education level(s) served by this school. A school covering multiple levels (e.g., combined primary and lower secondary) should list all applicable levels."
      }
    },
    "school_type": {
      "type": "string",
      "enum": [
        "public",
        "private",
        "faith_based",
        "community",
        "other"
      ],
      "$comment": "https://publicschema.org/vocab/edu/school-type",
      "description": "The management and funding classification of a school (public, private, faith-based, or community), per UNESCO UIS categories."
    }
  }
}
