-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmanifest.schema.json
More file actions
31 lines (31 loc) · 981 Bytes
/
Copy pathmanifest.schema.json
File metadata and controls
31 lines (31 loc) · 981 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Retro Design System manifest",
"type": "object",
"required": ["count", "systems"],
"properties": {
"$schema": { "type": "string" },
"generated": { "type": "string", "description": "YYYY-MM-DD build date" },
"count": { "type": "integer" },
"systems": {
"type": "array",
"items": {
"type": "object",
"required": ["id", "slug", "name", "path", "palette"],
"properties": {
"id": { "type": "integer" },
"slug": { "type": "string" },
"name": { "type": "string" },
"era": { "type": "string" },
"year": { "type": ["integer", "null"] },
"tags": { "type": "array", "items": { "type": "string" } },
"path": { "type": "string" },
"palette": {
"type": "array",
"items": { "type": "string", "pattern": "^#[0-9a-f]{6}$" }
}
}
}
}
}
}