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 b4344a6 commit 7d55508
Showing 1 changed file with 62 additions and 62 deletions.
124 changes: 62 additions & 62 deletions Junction/schema.json
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
{
"$schema": "http://json-schema.org/schema#",
"modelTags": "FIWARE4WATER",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.WaterDistributionManagementEPANET/Junction/schema.json",
"title": "Smart Data Models WaterNetworkManagementEPANET - Junction",
"description": "This entity contains a harmonised description of a generic junction made for the Water Network Management domain. This entity is primarily associated with the water network management vertical and related IoT applications.",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-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/Junction/schema.json",
"title": "Smart Data Models WaterNetworkManagementEPANET - Junction",
"description": "This entity contains a harmonised description of a generic junction made for the Water Network Management domain. This entity is primarily associated with the water network management vertical and related IoT applications.",
"type": "object",
"allOf": [
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Junction"
],
"description": "Property. NGSI-LD Entity Type. It has to be Junction"
},
{
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons"
"tag": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/tag"
},
{
"properties": {
"type": {
"type": "string",
"enum": [
"Junction"
],
"description": "Property. NGSI-LD Entity Type. It has to be Junction"
},
"tag": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/tag"
},
"elevation": {
"type": "number",
"description": "Property. Model:'http://schema.org/Number'. Units:'Metre'. The elevation above some common reference of the junction. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"demandCategory": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/demandCategory"
},
"initialQuality": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/initialQuality"
},
"emitterCoefficient": {
"type": "number",
"description": "Property. Model:'http://schema.org/Number'. Units:'square metre per second'. Discharge coefficient for emitter (sprinkler or nozzle) placed at junction. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"sourceCategory": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/sourceCategory"
},
"pressure": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/pressure"
},
"supply": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/supply"
},
"head": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/head"
},
"quality": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/quality"
},
"sourceMassInflow": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/sourceMassInflow"
}
}
"elevation": {
"type": "number",
"description": "Property. Model:'http://schema.org/Number'. Units:'Metre'. The elevation above some common reference of the junction. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"demandCategory": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/demandCategory"
},
"initialQuality": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/initialQuality"
},
"emitterCoefficient": {
"type": "number",
"description": "Property. Model:'http://schema.org/Number'. Units:'square metre per second'. Discharge coefficient for emitter (sprinkler or nozzle) placed at junction. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code"
},
"sourceCategory": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/sourceCategory"
},
"pressure": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/pressure"
},
"supply": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/supply"
},
"head": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/head"
},
"quality": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/quality"
},
"sourceMassInflow": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.WaterDistributionManagementEPANET/master/WaterNetworkManagement-schema.json#/definitions/sourceMassInflow"
}
],
"required": [
"id",
"type"
]
}
}
],
"required": [
"id",
"type"
]
}

0 comments on commit 7d55508

Please sign in to comment.