-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7d55508
commit 0b86c33
Showing
1 changed file
with
47 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
] | ||
} |