-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.json
More file actions
49 lines (49 loc) · 1.62 KB
/
schema.json
File metadata and controls
49 lines (49 loc) · 1.62 KB
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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Pepm Registry Index",
"description": "Schema for the Peel Package Manager (pepm) registry index.",
"type": "object",
"properties": {
"name": { "type": "string", "description": "The name of the registry." },
"version": { "type": "string", "description": "The registry version." },
"packages": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"name": { "type": "string" },
"description": { "type": "string" },
"author": { "type": "string" },
"license": { "type": "string" },
"repository": { "type": "string" },
"versions": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"version": { "type": "string" },
"dependencies": {
"type": "object",
"additionalProperties": { "type": "string" }
},
"dist": {
"type": "object",
"properties": {
"tarball": { "type": "string" },
"shasum": { "type": "string" }
},
"required": ["tarball"]
},
"main": { "type": "string", "description": "Entry point file." }
},
"required": ["version", "dist"]
}
},
"latest": { "type": "string" }
},
"required": ["name", "versions"]
}
}
},
"required": ["packages"]
}