UNPKG

1.05 kBJSONView Raw
1{
2 "$schema": "http://json-schema.org/draft-07/schema",
3 "$id": "ArchitectTargets",
4 "title": "Targets schema for validating Architect targets configuration.",
5 "type": "object",
6 "description": "A map of available project targets.",
7 "additionalProperties": {
8 "$ref": "#/definitions/target"
9 },
10 "required": [],
11 "definitions": {
12 "target": {
13 "type": "object",
14 "description": "Target options.",
15 "properties": {
16 "builder": {
17 "type": "string",
18 "description": "The builder used for this package."
19 },
20 "options": {
21 "$ref": "#/definitions/options"
22 },
23 "configurations": {
24 "type": "object",
25 "description": "A map of alternative target options.",
26 "additionalProperties": {
27 "$ref": "#/definitions/options"
28 }
29 }
30 },
31 "additionalProperties": false,
32 "required": ["builder", "options"]
33 },
34 "options": {
35 "type": "object",
36 "description": "Target options."
37 }
38 }
39}