-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlwm2m.o.energy.json
More file actions
43 lines (42 loc) · 1.5 KB
/
lwm2m.o.energy.json
File metadata and controls
43 lines (42 loc) · 1.5 KB
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
{
"id": "http://openinterconnect.org/asamapping/schemas/asa.environment.currentairquality.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"description" : "Copyright (c) 2017 Open Connectivity Foundation, Inc. All rights reserved.",
"title": "Energy",
"definitions": {
"lwm2m.o.energy": {
"type": "object",
"properties": {
"Sensor Value (5700)": {
"type": "float",
"description": "Last or Current Measured Value from the Sensor. (energy consumption (Cumulative Power) of an electrical load)",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.energy.consumption",
"x-to-ocf": [
"oic.r.energy.consumption.energy = Sensor Value(5700)"
],
"x-from-ocf": [
"Sensor Value(5700) = oic.r.energy.consumption.energy"
]
}
},
"Application Type (5750)": {
"type": "float",
"description": "The application type of the sensor or actuator as a string depending on the use case.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.energy.consumption",
"x-to-ocf": [""],
"x-from-ocf": [
"Application Type (5750) = “Energy consumption”"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/lwm2m.o.energy"}
],
"required": ["Sensor Value (5700)"]
}