{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "$id": "https://smart-data-models.github.io/dataModel.TourismDestinations/ConsumptionBehaviour/schema.json,", "title": "Consumption Behaviour", "description": "This model is designed to record and track the consumption of various resources such as electricity, diesel, and water over a specified period.", "modelTags": "TOURiLab, Sustainability", "derivedFrom": "", "required": [ "id", "type" ], "license": "https://smart-data-models.github.io/dataModel.TourismDestinations/ConsumptionBehaviour/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": [ "ConsumptionBehaviour" ], "description": "Property. Entity type ConsumptionBehaviour" }, "sourceOfConsumption": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. The object that is generating the consumption" }, "startDate": { "type": "string", "format": "date-time", "description": "Property. Start date of the consumption" }, "endDate": { "type": "string", "format": "date-time", "description": "Property. End date of the consumption" }, "resourceType": { "type": "string", "enum": [ "Diesel", "Petrol", "Electricity", "Gas", "Water" ], "description": "Property. Type of resource consumed" }, "initialMeasurement": { "type": "number", "description": "Property. Initial measurement of the resource" }, "finalMeasurement": { "type": "number", "description": "Property. Final measurement of the resource" }, "usersInvolved": { "type": "number", "description": "Property. Number of persons/users involved in the consumption" } } } ] }