-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlwm2m.o.loadcontrol.json
More file actions
58 lines (57 loc) · 1.81 KB
/
lwm2m.o.loadcontrol.json
File metadata and controls
58 lines (57 loc) · 1.81 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"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": "Load Control",
"definitions": {
"lwm2m.o.loadcontrol": {
"type": "object",
"properties": {
"Start Time(5824)": {
"type": "time",
"description": "Start time",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.time.period",
"x-to-ocf": [
"oic.r.time.period.startTime = Start Time(5824)"
],
"x-from-ocf": [
"Start Time(5824) = oic.r.time.period.startTime"
]
}
},
"Duration in Min(5825)": {
"type": "integer",
"description": "Duration",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.time.period",
"x-to-ocf": [
"oic.r.time.period.interval = Duration in Min(5825)"
],
"x-from-ocf": [
"Duration in Min(5825) = oic.r.time.period.interval"
]
}
},
"Event Identifier(5823)": {
"type": "string",
"description": "Identifier",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.time.period",
"x-to-ocf": [
"oic.r.time.period.id = Event Identifier(5823)"
],
"x-from-ocf": [
"Event Identifier(5823) = oic.r.time.period.id"
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/lwm2m.o.loadcontrol"}
],
"required": ["Start Time(5824)","Duration in Min(5825)", "Event Identifier(5823)"]
}