{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.PointOfInterest/PointOfInterest/schema.json", "title": "- Point of Interest schema", "description": "This entity contains a harmonised geographic description of a Point of Interest", "type": "object", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "enum": [ "PointOfInterest" ], "description": "Property. NGSI Entity type. It has to be PointOfInterest" }, "category": { "type": "array", "description": "Property. Model:'https://schema.org/Text'. Category of this point of interest. Allowed values: Those defined by the [Factual taxonomy](https://github.com/Factual/places/blob/master/categories/factual_taxonomy.json) together with the extended categories described by the specification. For instance the value `113` corresponds to beaches, and the value `311` corresponds to museums.", "items": { "type": "string" }, "minItems": 1 }, "contactPoint": { "type": "object", "description": "Property. Model:'https://schema.org/ContactPoint'. Contact point for the museum." }, "refSeeAlso": { "type": "array", "description": "Property. Model:'https://schema.org/URL'. List of references to one or more related entities.", "items": { "anyOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" } ] }, "minItems": 1, "uniqueItems": true } } } ], "required": [ "id", "type", "category", "name" ] }