Skip to content

Commit b6eb9cf

Browse files
committed
add implementations schema
1 parent 66aaf0c commit b6eb9cf

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema#",
3+
"title": "Schema for Implementations",
4+
"type": "object",
5+
"properties": {
6+
"implementations": {
7+
"type": "object",
8+
"patternProperties": {
9+
".*": {
10+
"type": "object",
11+
"properties": {
12+
"name": {
13+
"type": "string",
14+
"default": ""
15+
},
16+
"tags": {
17+
"type": "array",
18+
"items": {
19+
"type": "string",
20+
"default": ""
21+
}
22+
},
23+
"url": {
24+
"type": "string",
25+
"format": "uri",
26+
"default": "https://"
27+
},
28+
"description": {
29+
"type": "string",
30+
"default": ""
31+
}
32+
},
33+
"required": [
34+
"name",
35+
"tags",
36+
"url",
37+
"description"
38+
],
39+
"additionalProperties": false
40+
}
41+
},
42+
"additionalProperties": true
43+
}
44+
},
45+
"required": [
46+
"implementations"
47+
],
48+
"additionalProperties": false
49+
}

0 commit comments

Comments
 (0)