-
Notifications
You must be signed in to change notification settings - Fork 10
/
connector_details.json
58 lines (58 loc) · 1.64 KB
/
connector_details.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Connector details Configuration Schema",
"type": "object",
"properties": {
"description": {
"type": "string",
"description": "Path to the markdown file containing the connector description.",
"format": "uri-reference"
},
"install_text": {
"type": "string",
"description": "Text containing installation instructions."
},
"install_end_text": {
"type": "string",
"description": "Text containing post-installation steps."
},
"device_annotation": {
"type": "string",
"description": "Notes or annotations to added to the device that will use the connector."
},
"device_parameters": {
"type": "array",
"description": "List of device parameters.",
"items": {
"type": "object"
}
},
"networks": {
"type": "array",
"description": "List of paths to network-specific payload configurations.",
"items": {
"type": "string",
"format": "uri-reference"
}
}
},
"patternProperties": {
"^install_text\\[([a-z]{2})(-[a-z]{2})?\\]$": {
"type": "string",
"description": "Multilingual support for install_text field"
},
"^install_end_text\\[([a-z]{2})(-[a-z]{2})?\\]$": {
"type": "string",
"description": "Multilingual support for install_end_text field"
},
"^device_annotation\\[([a-z]{2})(-[a-z]{2})?\\]$": {
"type": "string",
"description": "Multilingual support for device_annotation field"
}
},
"required": [
"description",
"networks"
],
"additionalProperties": false
}