-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_schema.json
68 lines (68 loc) · 1.72 KB
/
config_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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"name": {
"description": "The name of the project.",
"type": "string"
},
"authors": {
"description": "Creator of the project.",
"type": "array",
"items": { "type": "string" }
},
"namespace": {
"description": "The namespace used for the project. The namespace 'minecraft' is not a valid string for this field.",
"type": "string",
"not": { "pattern": "minecraft" }
},
"packs": {
"description": "Maps the id of packs this project contains to a path relative to the config.json.",
"type": "object",
"propertyNames": {
"enum": [
"behaviorPack",
"resourcePack",
"skinPack",
"worldTemplate"
]
},
"patternProperties": {
".*": {
"description": "Path to the pack relative to the config.json.",
"type": "string"
}
},
"default": {
"behaviorPack": "./packs/BP",
"resourcePack": "./packs/RP",
"skinPack": "./packs/SP",
"worldTemplate": "./packs/WT"
}
},
"sedge": {
"description": "Config specific to Sedge.",
"type": "object",
"additionalProperties": false,
"properties": {
"targets": {
"description": "Defines the project output locations. The key is the target id, and the value is the target path.",
"type": "object",
"patternProperties": {
".*": { "type": "string" }
}
},
"ignorePaths": {
"description": "Lists glob patterns pointing to paths to ignore when building the project.",
"type": "array",
"items": { "type": "string" }
},
"minify": {
"description": "Minify JavaScript/TypeScript, MoLang, and JSON.",
"type": "boolean",
"default": false
}
}
}
}
}