{ "$schema": "http://json-schema.org/schema#", "$id": "https://smart-data-models.github.io/dataModel.GreenEnergy/GreenEnergyMeasurement/schema.json", "title": "GSMA / FIWARE - GreenEnergyMeasurement", "description": "A instantaneous measure of power generation using green energy sources", "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", "value": "GreenEnergyMeasurement", "description": "Property. NGSI Entity Type: It has to be GreenEnergyMeasurement" }, "solarPowerGenerated": { "type": "number", "minimum": 0, "description": "Property. Model:'https://schema.org/Number'. Specifies the amount of power generated using solar energy. Units:'KWT'. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters)." }, "eolicPowerGenerated": { "type": "number", "minimum": 0, "description": "Property. Model:'https://schema.org/Number'. Specifies the amount of power generated using eolic energy. Units:'KWT'. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters)." }, "hydroPowerGenerated": { "type": "number", "minimum": 0, "description": "Property. Model:'https://schema.org/Number'. Specifies the amount of power generated using hydropower energy. Units:'KWT'. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters)." }, "biomassPowerGenerated": { "type": "number", "minimum": 0, "description": "Property. Model:'https://schema.org/Number'. Specifies the amount of power generated using biomass energy. Units:'KWT'. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters)." }, "geothermalPowerGenerated": { "type": "number", "minimum": 0, "description": "Property. Model:'https://schema.org/Number'. Specifies the amount of power generated using geothermal energy. Units:'KWT'. The unit code (text) of measurement given using the UN/CEFACT Common Code (max. 3 characters)." }, "refGreenEnergyGenerator": { "anyOf": [ { "type": "string", "format": "uri" }, { "anyOf": [ { "type": "string", "minLength": 1, "maxLength": 256, "pattern": "^[\\w\\-\\.\\{\\}\\$\\+\\*\\[\\]`|~^@!,:\\\\]+$", "description": "Property. Identifier format of any NGSI entity" }, { "type": "string", "format": "uri", "description": "Property. Identifier format of any NGSI entity" } ] } ], "description": "Relationship. Model:'https://schema.org/URL'. A reference to the entity `GreenEnergyGenerator` which it belongs the measurement." } } } ], "required": [ "id", "type", "refGreenEnergyGenerator" ], "$schemaVersion": "0.0.1" }