-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.schema.json
46 lines (46 loc) · 1.22 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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Package definition",
"description": "Information about a Pakket package",
"type": "object",
"x-taplo-info": {
"authors": ["Sting Alleman <https://github.com/stingalleman>"],
"version": "0.0.1",
"patterns": [".*octocat.toml$"]
},
"properties": {
"package": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"license": {
"description": "Must be a SPDX-valid ID (see https://spdx.org/licenses/)",
"type": "string"
},
"version": {
"description": "Version that Pakket will automatically install. Must also be in `availableVersions`.",
"type": "string"
},
"homepage": {
"type": "string"
},
"availableVersions": {
"description": "Available versions",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
}
},
"required": ["name", "description", "license", "version"]
}
},
"required": ["package"]
}