-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlwm2m.o.digitalinput.json
More file actions
57 lines (57 loc) · 1.81 KB
/
lwm2m.o.digitalinput.json
File metadata and controls
57 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
{
"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": "Digital Input",
"definitions": {
"lwm2m.o.digitalinput": {
"type": "object",
"properties": {
"Digital Input state (5500)": {
"type": "boolean",
"description": "The current state of a digital input.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.vehicle.connector",
"x-to-ocf": [
"oic.r.vehicle.connector.connected = Digital Input state (5500)"
],
"x-from-ocf": [
"Digital Input state (5500) = oic.r.vehicle.connector.connected"
]
}
},
"Sensor Type (5751)": {
"type": "string",
"description": "The type of the sensor",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.vehicle.connector",
"x-to-ocf": [
""
],
"x-from-ocf": [
"Sensor Type (5751) = \"Vehicle Connector\""
]
}
},
"Application Type (5750)": {
"type": "string",
"description": "The minimum value that can be measured by the sensor.",
"x-ocf-conversion": {
"x-ocf-alias": "oic.r.vehicle.connector",
"x-to-ocf": [
""
],
"x-from-ocf": [
"Application Type (5750) = \"Vehicle Connector\""
]
}
}
}
}
},
"type": "object",
"allOf": [
{"$ref": "#/definitions/lwm2m.o.digitalinput"}
],
"required": ["Digital Input state (5500)"]
}