Skip to content

Commit

Permalink
updated $schema last version
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 17, 2024
1 parent 7d55508 commit 0b86c33
Showing 1 changed file with 47 additions and 47 deletions.
94 changes: 47 additions & 47 deletions Pattern/schema.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
{
"$schema": "http://json-schema.org/schema#",
"modelTags": "FIWARE4WATER",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.WaterDistributionManagementEPANET/Pattern/schema.json",
"title": "WaterNetwork - Pattern",
"description": "This entity contains a harmonised description of a generic pattern made for the Water Network Management domain. This entity is primarily associated with the water management vertical and related IoT applications.",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
"$schema": "https://json-schema.org/draft/2020-12/schema",
"modelTags": "FIWARE4WATER",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.WaterDistributionManagementEPANET/Pattern/schema.json",
"title": "WaterNetwork - Pattern",
"description": "This entity contains a harmonised description of a generic pattern made for the Water Network Management domain. This entity is primarily associated with the water management vertical and related IoT applications.",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Pattern"
],
"description": "Property. NGSI-LD Entity Type. It has to be Pattern"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Pattern"
],
"description": "Property. NGSI-LD Entity Type. It has to be Pattern"
},
"tag": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/tag"
},
"multipliers": {
"type": "array",
"description": "Property. Multipliers define how some base quantity (e.g., demand) is adjusted for each time period",
"items": {
"type": "number"
}
},
"timeStep": {
"type": "number",
"description": "Property. The time step used for the multipliers. Units:'Second'. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "Property. Model:'https://schema.org/Time'. The time at which the pattern starts"
}
}
"tag": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/tag"
},
"multipliers": {
"type": "array",
"description": "Property. Multipliers define how some base quantity (e.g., demand) is adjusted for each time period",
"items": {
"type": "number"
}
},
"timeStep": {
"type": "number",
"description": "Property. The time step used for the multipliers. Units:'Second'. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"startTime": {
"type": "string",
"format": "date-time",
"description": "Property. Model:'https://schema.org/Time'. The time at which the pattern starts"
}
],
"required": [
"id",
"type",
"multipliers",
"timeStep",
"startTime"
]
}
}
],
"required": [
"id",
"type",
"multipliers",
"timeStep",
"startTime"
]
}

0 comments on commit 0b86c33

Please sign in to comment.