-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlwm2m.o.power.json
More file actions
42 lines (41 loc) · 1.44 KB
/
lwm2m.o.power.json
File metadata and controls
42 lines (41 loc) · 1.44 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
{
"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": "Power",
"definitions": {
"lwm2m.o.power": {
"type": "object",
"properties": {
"Sensor Value (5700)": {
"type": "float",
"description": "Last or Current Measured Value from the Sensor. (power measurements)",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.energy.consumption",
"x-to-ocf": ["oic.r.energy.consumption.power = Sensor Value(5700)"
],
"x-from-ocf": [
"Sensor Value(5700) = oic.r.energy.consumption.power"
]
}
},
"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) = “Power consumption”"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/lwm2m.o.power"}
],
"required": ["Sensor Value (5700)"]
}