-
Notifications
You must be signed in to change notification settings - Fork 10
/
connector.json
54 lines (54 loc) · 1.4 KB
/
connector.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "JSON Schema for main Connector information",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the connector."
},
"images": {
"type": "object",
"properties": {
"logo": {
"type": "string",
"description": "Path to the logo image.",
"format": "uri-reference"
}
},
"required": ["logo"],
"additionalProperties": false
},
"versions": {
"type": "object",
"patternProperties": {
"^v\\d+\\.\\d+\\.\\d+$": {
"type": "object",
"properties": {
"src": {
"type": "string",
"description": "Path to the source file.",
"format": "uri-reference"
},
"manifest": {
"type": "string",
"description": "Path to the manifest file.",
"format": "uri-reference"
}
},
"required": ["src", "manifest"],
"additionalProperties": false
}
},
"additionalProperties": false
}
},
"patternProperties": {
"^name\\[([a-z]{2})(-[a-z]{2})?\\]$": {
"type": "string",
"description": "Multilingual support for name field"
}
},
"additionalProperties": false,
"required": ["name", "images", "versions"]
}