-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmanifest.json
100 lines (100 loc) · 3.85 KB
/
manifest.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"author": "WebThingsIO",
"description": "Support for W3C compliant native web things",
"gateway_specific_settings": {
"webthings": {
"exec": "{nodeLoader} {path}",
"primary_type": "adapter",
"strict_max_version": "*",
"strict_min_version": "1.1.0",
"enabled": true
}
},
"homepage_url": "https://github.com/WebThingsIO/wot-adapter",
"id": "wot-adapter",
"license": "MPL-2.0",
"manifest_version": 1,
"name": "W3C Web Thing",
"options": {
"default": {
"enpoints": [],
"pollInterval": 5,
"retries": 3,
"retryInterval": 10,
"continuosDiscovery": false,
"useObservable": false
},
"schema": {
"type": "object",
"required": [
"endpoints"
],
"properties": {
"endpoints": {
"type":"array",
"description": "A list of known Web Things endpoints",
"items": {
"type":"object",
"properties": {
"url": {
"type": "string"
},
"security" : {
"type": "object",
"properties": {
"scheme": {
"type": "string",
"enum": [
"nosec",
"jwt",
"basic",
"digest"
]
},
"token": {
"type":"string",
"description": "JWT token"
},
"digest": {
"type": "string",
"description": "The digest token used with digest scheme"
},
"user": {
"type": "string",
"description": "user name used in basic scheme"
},
"password": {
"type": "string",
"description": "password used in basic scheme"
}
}
}
}
}
},
"pollInterval": {
"description": "The interval, in seconds, at which to poll property values.",
"type": "number"
},
"retries": {
"description": "How many attempts to perform for retriving a Thing Description.",
"type": "number"
},
"retryInterval": {
"description": "The interval, in seconds, at which to ask for a Thing Description.",
"type": "number"
},
"continuosDiscovery": {
"description": "Activate background multicast discovery.",
"type": "boolean"
},
"useObservable": {
"description": "Use observable forms when they are avaible",
"type": "boolean"
}
}
}
},
"short_name": "W3C Web Thing",
"version": "0.1.0"
}