-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwp3-commands.jschema
executable file
·39 lines (38 loc) · 1.14 KB
/
wp3-commands.jschema
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "SIFIS-Home schema for RISE WP3 solutions: Commands to Client(s)",
"description": "Sending a command to trigger the targeted Client to send a request to its associated Server(s)",
"type": "object",
"properties": {
"Volatile": {
"type": "object",
"properties": {
"value": {
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "The command to send to this Client device which it will in turn send to the Server(s)",
"enum": ["on", "off", "lock", "unlock", "0", "1"]
},
"topic": {
"type": "string",
"description": "Controls which device to target: Group OSCORE Client 1/2, the EDHOC Client, or the CoAP Client",
"enum": ["command_dev1", "command_dev2", "command_ed", "command_co"]
}
},
"required": [
"message",
"topic"
]
}
},
"required": [
"value"
]
}
},
"required": [
"Volatile"
]
}