{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.3", "$id": "https://smart-data-models.github.io/dataModel.Consumption/ConsumptionPoint/schema.json", "title": "Smart Data Models - Consumption Point", "description": "Information on a given consumption point", "modelTags": "", "derivedFrom": "", "license": "https://smart-data-models.github.io/dataModel.Consumption/ConsumptionPoint/LICENSE.md", "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": [ "ConsumptionPoint" ], "description": "Property. NGSI entity type. It has to be ConsumptionPoint." }, "consumptionPointCategory": { "type": "array", "description": "Property. Category of the consumption point. Enum:'building, streetlight, vehicle'", "items": { "type": "string", "enum": [ "building", "streetlight", "vehicle" ] } }, "code": { "type": "string", "description": "Property. internal code for the consumption point" } } } ], "required": [ "id", "type" ] }