This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.schema.json
64 lines (64 loc) · 1.8 KB
/
package.schema.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "http://raw.githubusercontent.com/tera-alkahest/alkahest-registry/master/schema.json",
"title": "Alkahest Package",
"type": "object",
"properties": {
"version": {
"description": "Version of the package.",
"type": "string"
},
"contributors": {
"description": "GitHub usernames of people who contributed to the package.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"files": {
"description": "Files to install from the package repository.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"dependencies": {
"description": "Names of packages that this package depends on.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"conflicts": {
"description": "Names of packages that are incompatible with this package.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"assets": {
"description": "Assets that the package requires.",
"type": "array",
"items": {
"enum": [
"datacenter"
]
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"version",
"contributors",
"files"
]
}