-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathskilleton.schema.json
More file actions
40 lines (40 loc) · 950 Bytes
/
skilleton.schema.json
File metadata and controls
40 lines (40 loc) · 950 Bytes
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Skilleton Manifest",
"type": "object",
"additionalProperties": false,
"required": ["skills"],
"properties": {
"$schema": {
"type": "string"
},
"skills": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": ["name", "repo", "path", "ref"],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"repo": {
"type": "string",
"minLength": 1,
"anyOf": [{ "pattern": "^(https?|git|ssh)://.+" }, { "pattern": "^[^/\\s]+/[^/\\s]+$" }]
},
"path": {
"type": "string",
"minLength": 1
},
"ref": {
"type": "string",
"minLength": 1
}
}
},
"uniqueItems": true
}
}
}