{
    "$id": "https://xshl.org/schemas/1.1/definitions/place.json",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "name": "place-xshl",
    "version": "1.2.1",
    "title": "Place",
    "description": "Area with definite or indefinite boundaries or a portion of space which has a name in an area.",
    "type": "object",
    "required": ["country", "@language"],
    "additionalProperties": false,
    "properties": {
        "@context": {"$ref": "https://xshl.org/schemas/1.1/definitions/context.json"},
        "@type": {"$ref": "https://xshl.org/schemas/1.1/definitions/type.json"},
        "@id": {"$ref": "https://xshl.org/schemas/1.1/definitions/id.json"},
        "@language": {"type": "string", "enum": ["ru", "en", "md", "by", "kg", "kz"]},
        "country": {
            "id": "https://xshl.org/fields/schema/country",
            "title": "Country",
            "description": "A country is a region that is identified as a distinct entity in political geography.",
            "type": "string"
        },
        "region": {
            "id": "https://xshl.org/fields/schema/region",
            "title": "Region",
            "description": "An administrative division, unit, entity, area or region, also referred to as a subnational entity, constituent unit, or country subdivision, is a portion of a country or other region delineated for the purpose of administration.",
            "type": "string"
        },
        "locality": {
            "id": "https://xshl.org/fields/schema/locality",
            "title": "Locality",
            "description": "Locality a city, town, village, or other agglomeration of buildings where people live and work.",
            "type": "string"
        }
    }
}