-
Notifications
You must be signed in to change notification settings - Fork 0
/
virtual_conveyor_left.td.json
56 lines (56 loc) · 1.78 KB
/
virtual_conveyor_left.td.json
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
{
"@context":[
"https://www.w3.org/2019/wot/td/v1",
{
"@language":"en"
}
],
"@type":"Thing",
"title": "VirtualConveyorBelt1",
"id": "urn:dev:ops:32473-virtual-conveyor-left",
"description": "Conveyor Belt on the Left (Virtual)",
"security": "nosec_sc",
"securityDefinitions": {
"nosec_sc": {
"scheme": "nosec"
}
},
"actions":{
"startBeltBackward":{
"title":"Start conveyor belt with fixed speed",
"description":"This action starts moving the conveyor belt backward",
"forms":[
{
"contentType":"application/json",
"href":"http://localhost:9000/virtualconveyorbelt1/actions/startBeltBackward",
"htv:methodName":"POST",
"op":["invokeaction"]
}
]
},
"startBeltForward":{
"title":"Start conveyor belt",
"description":"This action starts moving the conveyor belt forward",
"forms":[
{
"contentType":"application/json",
"href":"http://localhost:9000/virtualconveyorbelt1/actions/startBeltForward",
"htv:methodName":"POST",
"op":["invokeaction"]
}
]
},
"stopBelt":{
"title":"Stop conveyor belt",
"description":"This action stops moving the conveyor belt",
"forms":[
{
"contentType":"application/json",
"href":"http://localhost:9000/virtualconveyorbelt1/actions/stopBelt",
"htv:methodName":"POST",
"op":["invokeaction"]
}
]
}
}
}