-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathWaterNetworkManagement-schema.json
80 lines (80 loc) · 3.5 KB
/
WaterNetworkManagement-schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"$schema": "http://json-schema.org/schema#",
"$id": "https://smart-data-models.github.io/dataModel.WaterNetworkManagement/WaterNetworkManagement-schema.json",
"title": "FIWARE - Water Network Management base schema",
"description": "Common NGSI-LD definitions for Water Network Management data models",
"type": "object",
"definitions": {
"demandCategory": {
"type": "object",
"description": "Property. Model:'https://schema.org/Text'. Allows base demands and time patterns to be assigned to other categories of users.",
"properties": {
"baseDemand": {
"type": "string",
"description": "Property. Model:'https://schema.org/Text. Baseline or average demand for the category. A sub-property of the Property 'demandCategory'."
},
"demandPattern": {
"type": "string",
"format": "uri",
"description": "Relationship. A relationship to the pattern of the 'demandCategory' property."
}
}
},
"sourceCategory": {
"type": "object",
"description": "Property. Model:'https://schema.org/Text'. Description of the quality of source flow entering the network at a specific node.",
"properties": {
"sourceType": {
"type": "string",
"description": "Property. Model:'https://schema.org/Text'. A sub-property of the Property 'sourceCategory'",
"enum": [
"CONCEN",
"MASS",
"FLOWPACED",
"SETPOINT"
]
},
"sourceQuality": {
"type": "number",
"description": "Property. Model:'https://schema.org/Number'. Units: 'mg/L'. Baseline or average concentration (or mass flow rate) of source. A sub-property of the Property 'sourceCategory'. All units are accepted in [CEFACT](https://www.unece.org/cefact.html) code."
},
"sourcePattern": {
"type": "string",
"format": "uri",
"description": "Relationship. A relationship to the pattern pf the sourceCategory property"
}
},
"required": [
"sourceType",
"sourceQuality",
"sourcePattern"
]
},
"tag": {
"type": "string",
"description": "Property. Model:'https://schema.org/Text'. An optional text string used to assign the pipe to a category, perhaps one based on age or material"
},
"description": {
"type": "string",
"description": "Property. Model:'https://schema.org/Text'. An optional text that describes other significant information about the junction"
},
"status": {
"type": "string",
"enum": [
"OPEN",
"CLOSED",
"CV"
],
"description": "Property. Model:'https://schema.org/Text'. The dynamic state of the node"
},
"initialStatus": {
"type": "string",
"enum": [
"OPEN",
"CLOSED",
"CV"
],
"description": "Property. Model:'https://schema.org/Text'. The node status at the start of the simulation."
}
}
}