File tree Expand file tree Collapse file tree
packages/minecraftBedrock/schema/templatePool Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema" ,
33 "type" : " object" ,
4- "anyOf " : [
4+ "allOf " : [
55 {
66 "properties" : {
77 "element_type" : {
88 "title" : " Element Type" ,
99 "description" : " The type of element." ,
10- "type" : " string"
10+ "type" : " string" ,
11+ "enum" : [
12+ " minecraft:single_pool_element" ,
13+ " minecraft:empty_pool_element"
14+ ]
1115 }
1216 },
1317 "required" : [
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema" ,
33 "type" : " object" ,
4- "properties" : {},
5- "additionalProperties" : false
4+ "properties" : {}
65}
Original file line number Diff line number Diff line change 77 "element_type" : {
88 "title" : " Element Type" ,
99 "description" : " The type of element." ,
10- "type" : " string"
10+ "type" : " string" ,
11+ "enum" : [
12+ " minecraft:single_pool_element"
13+ ]
1114 }
1215 },
1316 "required" : [
Original file line number Diff line number Diff line change 77 "element_type" : {
88 "title" : " Element Type" ,
99 "description" : " The type of element." ,
10- "type" : " string"
10+ "type" : " string" ,
11+ "enum" : [
12+ " minecraft:empty_pool_element" ,
13+ " minecraft:feature_pool_element" ,
14+ " minecraft:single_pool_element"
15+ ]
1116 }
1217 },
13- "required" : [" element_type" ]
18+ "required" : [
19+ " element_type"
20+ ]
1421 },
1522 {
1623 "if" : {
1926 "const" : " minecraft:single_pool_element"
2027 }
2128 },
22- "required" : [" element_type" ]
29+ "required" : [
30+ " element_type"
31+ ]
2332 },
2433 "then" : {
2534 "$ref" : " ./single_pool_element.json"
3241 "const" : " minecraft:empty_pool_element"
3342 }
3443 },
35- "required" : [" element_type" ]
44+ "required" : [
45+ " element_type"
46+ ]
3647 },
3748 "then" : {
3849 "$ref" : " ./empty_pool_element.json"
4556 "const" : " minecraft:feature_pool_element"
4657 }
4758 },
48- "required" : [" element_type" ]
59+ "required" : [
60+ " element_type"
61+ ]
4962 },
5063 "then" : {
5164 "$ref" : " ./feature_pool_element.json"
5265 }
5366 }
5467 ]
55- }
68+ }
Original file line number Diff line number Diff line change 11{
22 "$schema" : " http://json-schema.org/draft-07/schema" ,
33 "type" : " object" ,
4- "properties" : {},
5- "additionalProperties" : false
4+ "properties" : {}
65}
Original file line number Diff line number Diff line change 77 "description" : " THe identifier of the feature to place." ,
88 "$ref" : " ../../../general/reference/identifiers.json#/definitions/feature_identifiers"
99 }
10- },
11- "additionalProperties" : false
12- }
10+ }
11+ }
You can’t perform that action at this time.
0 commit comments