-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIndoorEnvironmentSensor.json
47 lines (47 loc) · 1.63 KB
/
IndoorEnvironmentSensor.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
{
"$schema": "http://json-schema.org/schema#",
"description": "This entity captures the static properties of an indoor environment sensor, including light, humidity, and location details.",
"$schemaVersion": "0.0.3",
"$id": "https://n5geh.github.io/n5geh.test-datamodel.io/IndoorEnvironmentSensor.json",
"type": "object",
"allOf": [
{
"$ref": "https://n5geh.github.io/n5geh.test-datamodel.io/Sensor.json"
},
{
"required": [
"temperature",
"light",
"humidity"
],
"properties": {
"type": {
"enum": [
"IndoorEnvironmentSensor"
],
"type": "string"
},
"light": {
"type": "number",
"description": "Represents the light level in the environment."
},
"humidity": {
"type": "number",
"description": "Represents the humidity level in the environment."
},
"hasLocation": {
"type": "string",
"description": "Describes the location where the sensor is installed."
},
"installedAt": {
"type": "string",
"format": "date-time",
"description": "The timestamp when the sensor was installed."
},
"temperature": {
"type": "number"
}
}
}
]
}