-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathschema.json
More file actions
36 lines (36 loc) · 1.01 KB
/
schema.json
File metadata and controls
36 lines (36 loc) · 1.01 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://porter.sh/schemas/packages.json",
"title": "Porter Package List",
"description": "Schema for Porter mixin and plugin package lists",
"type": "array",
"items": {
"type": "object",
"required": ["name", "author", "description", "URL"],
"properties": {
"name": {
"type": "string",
"description": "The name of the mixin or plugin",
"minLength": 1
},
"author": {
"type": "string",
"description": "The author or maintainer of the package",
"minLength": 1
},
"description": {
"type": "string",
"description": "A brief description of what the package does",
"minLength": 1
},
"URL": {
"type": "string",
"description": "The URL to either an Atom feed or download directory for the package",
"minLength": 1,
"pattern": "^https?://"
}
},
"additionalProperties": false
},
"minItems": 1
}