{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Place",
  "description": "A spatial location relevant to cultural heritage (site, building, room, landscape feature),\nmodelled as a CIDOC-CRM E53 Place and encoded as an OGC JSON-FG Feature: geometry stays at\nthe top level (JSON-FG `geometry`/`place`/`time` members), while CIDOC-CRM attributes are\nnested under `properties`, per JSON-FG/GeoJSON convention.\n",
  "allOf": [
    {
      "$ref": "https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema.json"
    },
    {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uri",
          "description": "The persistent or local URI identifying this place (overrides the inherited JSON-FG `id`, which also allows a bare number).",
          "x-jsonld-id": "@id"
        },
        "properties": {
          "type": "object",
          "description": "CIDOC-CRM E53 Place attributes, nested per JSON-FG/GeoJSON convention.",
          "properties": {
            "identifier": {
              "type": "string",
              "description": "A local gazetteer or inventory identifier (CIDOC-CRM P1_is_identified_by).",
              "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P1_is_identified_by"
            },
            "name": {
              "type": "string",
              "description": "The place's name (CIDOC-CRM P87_is_identified_by, via an implied E44 Place Appellation).",
              "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P87_is_identified_by"
            },
            "placeType": {
              "type": "string",
              "format": "uri",
              "description": "The type of place, typically a Getty AAT concept URI (CIDOC-CRM P2_has_type).",
              "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P2_has_type",
              "x-jsonld-type": "@id"
            },
            "partOf": {
              "type": "string",
              "format": "uri",
              "description": "URI of a broader place this place falls within, e.g. a room within a building within a site (CIDOC-CRM P89_falls_within).",
              "x-jsonld-id": "http://www.cidoc-crm.org/cidoc-crm/P89_falls_within",
              "x-jsonld-type": "@id"
            },
            "sameAs": {
              "type": "string",
              "format": "uri",
              "description": "URI of an equivalent record in an external authority, typically Getty TGN (owl:sameAs).",
              "x-jsonld-id": "http://www.w3.org/2002/07/owl#sameAs",
              "x-jsonld-type": "@id"
            }
          },
          "required": [
            "identifier",
            "name"
          ]
        }
      },
      "required": [
        "id",
        "properties"
      ]
    }
  ],
  "x-jsonld-prefixes": {
    "crm": "http://www.cidoc-crm.org/cidoc-crm/",
    "owl": "http://www.w3.org/2002/07/owl#"
  }
}