-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.json
247 lines (244 loc) · 13.2 KB
/
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
{
"$schema": "http://json-schema.org/schema#",
"modelTags": "",
"$id": "https://raw.githubusercontent.com/konstantinosGombakis/fortesie_data_model/main/FORTESIES_data_model/schema.json",
"$schemaVersion": "0.0.1",
"title": "Data model for H2020 FORTESIES project",
"description": "Data model for H2020 FORTESIES project",
"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": {
"phaseVoltage": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. The voltage between each phase and neutral conductor. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Volts'",
"properties": {
"L1": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 1 of the voltage"
},
"L2": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 2 of the voltage"
},
"L3": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 3 of the voltage"
}
}
},
"phaseToPhaseVoltage": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Voltage between phases. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Volts'",
"properties": {
"L12": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 1 to phase 2 voltage"
},
"L23": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 2 to phase 3 voltage"
},
"L31": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 3 to phase 1 voltage"
}
}
},
"current": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Electrical current. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Ampere'",
"properties": {
"L1": {
"type": "number",
"description": "Property. Value for phase 1 of the current"
},
"L2": {
"type": "number",
"description": "Property. Value for phase 2 of the current"
},
"L3": {
"type": "number",
"description": "Property. Value for phase 3 of the current"
},
"N": {
"type": "number",
"description": "Property. Value for phase neutral of the current"
}
}
},
"totalActivePower": {
"type": "number",
"description": "Property. Model:'https://schema.org/Number'. Total Active Power consumed. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Watt'"
},
"totalReactivePower": {
"type": "number",
"description": "Property. Model:'https://schema.org/Number'. Total Reactive Power consumed. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'volt-ampere-reactive'"
},
"totalApparentPower": {
"type": "number",
"minimum": 0,
"description": "Property. Model:'https://schema.org/Number'. Total Apparent Power consumed. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'volt-ampere'"
},
"powerFactor": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Power factor for each phase",
"properties": {
"L1": {
"type": "number",
"minimum": -1,
"maximum": 1,
"description": "Property. Value for phase 1 of the power factor"
},
"L2": {
"type": "number",
"minimum": -1,
"maximum": 1,
"description": "Property. Value for phase 2 of the power factor"
},
"L3": {
"type": "number",
"minimum": -1,
"maximum": 1,
"description": "Property. Value for phase 3 of the power factor"
}
}
},
"activePower": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Active power consumed per phase. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Watt'",
"properties": {
"L1": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 1 of the active power"
},
"L2": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 2 of the active power"
},
"L3": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 3 of the active power"
}
}
},
"reactivePower": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Fundamental frequency reactive power. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'volts-ampere-reactive'",
"properties": {
"L1": {
"type": "number",
"description": "Property. Value for phase 1 of the reactive power"
},
"L2": {
"type": "number",
"description": "Property. Value for phase 2 of the reactive power"
},
"L3": {
"type": "number",
"description": "Property. Value for phase 3 of the reactive power"
}
}
},
"apparentPower": {
"type": "object",
"description": "Property. Model:'https://schema.org/StructuredValue'. Apparent power consumed per phase. The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'Watt'",
"properties": {
"L1": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 1 of the apparent power"
},
"L2": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 2 of the apparent power"
},
"L3": {
"type": "number",
"minimum": 0,
"description": "Property. Value for phase 3 of the apparent power"
}
}
},
"totalApparentEnergyImport": {
"type": "number",
"minimum": 0,
"description": "Property. Model:'https://schema.org/Number'. Total energy imported i.e. consumed (with regards to apparent power). The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'kilovolt-ampere-hour.'"
},
"totalApparentEnergyExport": {
"type": "number",
"minimum": 0,
"description": "Property. Model:'https://schema.org/StructuredValue'. Total energy exported (with regards to apparent power). The unit code (text) is given using the [UN/CEFACT Common Codes](http://wiki.goodrelations-vocabulary.org/Documentation/UN/CEFACT_Common_Codes). Units:'kilovolt-ampere-hour'"
},
"nominalWaterFlowHeating": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement",
"description": "Property. Nominal water flow (refers to nominal heating capacity). Usually measured in m3/s"
},
"nominalSupplyWaterTemperatureHeating": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement",
"description": "Property. Nominal supply water temperature (refers to nominal heating capacity). Usually measured in degrees Kelvin (K)"
},
"nominalWaterFlowCooling": {
"$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement",
"description": "Property. Nominal water flow (refers to nominal cooling capacity). Usually measured in m3/s"
},
"temperature": {
"type": "number",
"description": "Property. Temperature of the item"
},
"relativeHumidity": {
"type": "number",
"description": "Property. Relative Humidity of the air (a number between 0 and 1 representing the range of 0% to 100%)",
"minimum": 0,
"maximum": 1
},
"co2": {
"type": "number",
"minimum": 0,
"description": "Property. Carbon Dioxide detected"
},
"pm25": {
"type": "number",
"minimum": 0,
"description": "Property. Particulate matter 2.5 micrometers or less in diameter"
},
"windDirection": {
"type": "number",
"description": "Property. Model:'http://schema.org/Number'. Direction of the wind bet",
"minimum": 0,
"maximum": 360
},
"windSpeed": {
"type": "number",
"description": "Property. Model:'http//schema.org/Number'. Intensity of the wind",
"minimum": 0
},
"precipitation": {
"type": "number",
"minimum": 0,
"description": "Property. Model:'https://schema.org/Number'. Amount of water rain registered. Units:'Liters per square meter'. "
}
}
}
],
"required": [
"id",
"type"
]
}