5etools-utils 0.8.37 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +1 -0
  2. package/bin/test-json-ua.js +5 -0
  3. package/lib/BrewTester.js +3 -3
  4. package/lib/TestJson.js +22 -7
  5. package/package.json +2 -1
  6. package/schema/brew/backgrounds.json +13 -13
  7. package/schema/brew/class/class.json +1 -1
  8. package/schema/brew/items-shared.json +1 -1
  9. package/schema/brew/races.json +1 -1
  10. package/schema/brew/spells/spells.json +61 -61
  11. package/schema/brew/util.json +47 -1
  12. package/schema/brew-fast/backgrounds.json +13 -13
  13. package/schema/brew-fast/class/class.json +1 -1
  14. package/schema/brew-fast/items-shared.json +1 -1
  15. package/schema/brew-fast/races.json +1 -1
  16. package/schema/brew-fast/spells/spells.json +61 -61
  17. package/schema/brew-fast/util.json +47 -1
  18. package/schema/site/backgrounds.json +1 -1
  19. package/schema/site/class/class.json +1 -1
  20. package/schema/site/items-shared.json +1 -1
  21. package/schema/site/races.json +1 -1
  22. package/schema/site/spells/spells.json +1 -1
  23. package/schema/site/util.json +48 -2
  24. package/schema/site-fast/backgrounds.json +1 -1
  25. package/schema/site-fast/class/class.json +1 -1
  26. package/schema/site-fast/items-shared.json +1 -1
  27. package/schema/site-fast/races.json +1 -1
  28. package/schema/site-fast/spells/spells.json +1 -1
  29. package/schema/site-fast/util.json +48 -2
  30. package/schema/ua/actions.json +97 -0
  31. package/schema/ua/adventure/adventure.json +12 -0
  32. package/schema/ua/adventures.json +214 -0
  33. package/schema/ua/backgrounds.json +326 -0
  34. package/schema/ua/bestiary/bestiary.json +3735 -0
  35. package/schema/ua/bestiary/fluff-bestiary.json +15 -0
  36. package/schema/ua/bestiary/fluff-index.json +11 -0
  37. package/schema/ua/bestiary/foundry.json +15 -0
  38. package/schema/ua/bestiary/index.json +11 -0
  39. package/schema/ua/bestiary/legendarygroups.json +202 -0
  40. package/schema/ua/bestiary/template.json +275 -0
  41. package/schema/ua/book/book.json +12 -0
  42. package/schema/ua/books.json +141 -0
  43. package/schema/ua/changelog.json +35 -0
  44. package/schema/ua/charcreationoptions.json +80 -0
  45. package/schema/ua/class/class.json +1881 -0
  46. package/schema/ua/class/foundry.json +397 -0
  47. package/schema/ua/class/index.json +11 -0
  48. package/schema/ua/conditionsdiseases.json +82 -0
  49. package/schema/ua/cultsboons.json +175 -0
  50. package/schema/ua/decks.json +504 -0
  51. package/schema/ua/deities.json +473 -0
  52. package/schema/ua/encounters.json +105 -0
  53. package/schema/ua/entry.json +3748 -0
  54. package/schema/ua/feats.json +117 -0
  55. package/schema/ua/fluff-backgrounds.json +15 -0
  56. package/schema/ua/fluff-charcreationoptions.json +43 -0
  57. package/schema/ua/fluff-conditionsdiseases.json +43 -0
  58. package/schema/ua/fluff-feats.json +15 -0
  59. package/schema/ua/fluff-items.json +15 -0
  60. package/schema/ua/fluff-languages.json +42 -0
  61. package/schema/ua/fluff-objects.json +15 -0
  62. package/schema/ua/fluff-races.json +214 -0
  63. package/schema/ua/fluff-recipes.json +42 -0
  64. package/schema/ua/fluff-vehicles.json +63 -0
  65. package/schema/ua/foundry-actions.json +15 -0
  66. package/schema/ua/foundry-backgrounds.json +53 -0
  67. package/schema/ua/foundry-feats.json +15 -0
  68. package/schema/ua/foundry-items.json +63 -0
  69. package/schema/ua/foundry-optionalfeatures.json +15 -0
  70. package/schema/ua/foundry-psionics.json +56 -0
  71. package/schema/ua/foundry-races.json +58 -0
  72. package/schema/ua/foundry-rewards.json +15 -0
  73. package/schema/ua/foundry-vehicles.json +15 -0
  74. package/schema/ua/generated/bookref-quick.json +72 -0
  75. package/schema/ua/generated/gendata-spell-source-lookup.json +230 -0
  76. package/schema/ua/homebrew.json +633 -0
  77. package/schema/ua/items-base.json +959 -0
  78. package/schema/ua/items-shared.json +267 -0
  79. package/schema/ua/items.json +1770 -0
  80. package/schema/ua/languages.json +123 -0
  81. package/schema/ua/life.json +17 -0
  82. package/schema/ua/loot.json +510 -0
  83. package/schema/ua/magicvariants.json +361 -0
  84. package/schema/ua/makebrew-creature.json +66 -0
  85. package/schema/ua/makecards.json +43 -0
  86. package/schema/ua/monsterfeatures.json +53 -0
  87. package/schema/ua/msbcr.json +60 -0
  88. package/schema/ua/names.json +94 -0
  89. package/schema/ua/objects.json +165 -0
  90. package/schema/ua/optionalfeatures.json +130 -0
  91. package/schema/ua/psionics.json +173 -0
  92. package/schema/ua/races.json +1668 -0
  93. package/schema/ua/recipes.json +185 -0
  94. package/schema/ua/renderdemo.json +16 -0
  95. package/schema/ua/rewards.json +93 -0
  96. package/schema/ua/senses.json +54 -0
  97. package/schema/ua/skills.json +54 -0
  98. package/schema/ua/spells/fluff-index.json +11 -0
  99. package/schema/ua/spells/fluff-spells.json +15 -0
  100. package/schema/ua/spells/foundry.json +15 -0
  101. package/schema/ua/spells/index.json +11 -0
  102. package/schema/ua/spells/roll20.json +112 -0
  103. package/schema/ua/spells/spells.json +1250 -0
  104. package/schema/ua/tables.json +220 -0
  105. package/schema/ua/trapshazards.json +236 -0
  106. package/schema/ua/util.json +4466 -0
  107. package/schema/ua/variantrules.json +74 -0
  108. package/schema/ua/vehicles.json +820 -0
  109. package/schema/ua-fast/actions.json +97 -0
  110. package/schema/ua-fast/adventure/adventure.json +12 -0
  111. package/schema/ua-fast/adventures.json +214 -0
  112. package/schema/ua-fast/backgrounds.json +326 -0
  113. package/schema/ua-fast/bestiary/bestiary.json +3735 -0
  114. package/schema/ua-fast/bestiary/fluff-bestiary.json +15 -0
  115. package/schema/ua-fast/bestiary/fluff-index.json +11 -0
  116. package/schema/ua-fast/bestiary/foundry.json +15 -0
  117. package/schema/ua-fast/bestiary/index.json +11 -0
  118. package/schema/ua-fast/bestiary/legendarygroups.json +202 -0
  119. package/schema/ua-fast/bestiary/template.json +275 -0
  120. package/schema/ua-fast/book/book.json +12 -0
  121. package/schema/ua-fast/books.json +141 -0
  122. package/schema/ua-fast/changelog.json +35 -0
  123. package/schema/ua-fast/charcreationoptions.json +80 -0
  124. package/schema/ua-fast/class/class.json +1881 -0
  125. package/schema/ua-fast/class/foundry.json +397 -0
  126. package/schema/ua-fast/class/index.json +11 -0
  127. package/schema/ua-fast/conditionsdiseases.json +82 -0
  128. package/schema/ua-fast/cultsboons.json +175 -0
  129. package/schema/ua-fast/decks.json +504 -0
  130. package/schema/ua-fast/deities.json +473 -0
  131. package/schema/ua-fast/encounters.json +105 -0
  132. package/schema/ua-fast/entry.json +3748 -0
  133. package/schema/ua-fast/feats.json +117 -0
  134. package/schema/ua-fast/fluff-backgrounds.json +15 -0
  135. package/schema/ua-fast/fluff-charcreationoptions.json +43 -0
  136. package/schema/ua-fast/fluff-conditionsdiseases.json +43 -0
  137. package/schema/ua-fast/fluff-feats.json +15 -0
  138. package/schema/ua-fast/fluff-items.json +15 -0
  139. package/schema/ua-fast/fluff-languages.json +42 -0
  140. package/schema/ua-fast/fluff-objects.json +15 -0
  141. package/schema/ua-fast/fluff-races.json +214 -0
  142. package/schema/ua-fast/fluff-recipes.json +42 -0
  143. package/schema/ua-fast/fluff-vehicles.json +63 -0
  144. package/schema/ua-fast/foundry-actions.json +15 -0
  145. package/schema/ua-fast/foundry-backgrounds.json +53 -0
  146. package/schema/ua-fast/foundry-feats.json +15 -0
  147. package/schema/ua-fast/foundry-items.json +63 -0
  148. package/schema/ua-fast/foundry-optionalfeatures.json +15 -0
  149. package/schema/ua-fast/foundry-psionics.json +56 -0
  150. package/schema/ua-fast/foundry-races.json +58 -0
  151. package/schema/ua-fast/foundry-rewards.json +15 -0
  152. package/schema/ua-fast/foundry-vehicles.json +15 -0
  153. package/schema/ua-fast/generated/bookref-quick.json +72 -0
  154. package/schema/ua-fast/generated/gendata-spell-source-lookup.json +230 -0
  155. package/schema/ua-fast/homebrew.json +631 -0
  156. package/schema/ua-fast/items-base.json +959 -0
  157. package/schema/ua-fast/items-shared.json +267 -0
  158. package/schema/ua-fast/items.json +1770 -0
  159. package/schema/ua-fast/languages.json +123 -0
  160. package/schema/ua-fast/life.json +17 -0
  161. package/schema/ua-fast/loot.json +510 -0
  162. package/schema/ua-fast/magicvariants.json +361 -0
  163. package/schema/ua-fast/makebrew-creature.json +66 -0
  164. package/schema/ua-fast/makecards.json +43 -0
  165. package/schema/ua-fast/monsterfeatures.json +53 -0
  166. package/schema/ua-fast/msbcr.json +60 -0
  167. package/schema/ua-fast/names.json +94 -0
  168. package/schema/ua-fast/objects.json +165 -0
  169. package/schema/ua-fast/optionalfeatures.json +130 -0
  170. package/schema/ua-fast/psionics.json +173 -0
  171. package/schema/ua-fast/races.json +1668 -0
  172. package/schema/ua-fast/recipes.json +185 -0
  173. package/schema/ua-fast/renderdemo.json +16 -0
  174. package/schema/ua-fast/rewards.json +93 -0
  175. package/schema/ua-fast/senses.json +54 -0
  176. package/schema/ua-fast/skills.json +54 -0
  177. package/schema/ua-fast/spells/fluff-index.json +11 -0
  178. package/schema/ua-fast/spells/fluff-spells.json +15 -0
  179. package/schema/ua-fast/spells/foundry.json +15 -0
  180. package/schema/ua-fast/spells/index.json +11 -0
  181. package/schema/ua-fast/spells/roll20.json +112 -0
  182. package/schema/ua-fast/spells/spells.json +1250 -0
  183. package/schema/ua-fast/tables.json +220 -0
  184. package/schema/ua-fast/trapshazards.json +236 -0
  185. package/schema/ua-fast/util.json +4466 -0
  186. package/schema/ua-fast/variantrules.json +74 -0
  187. package/schema/ua-fast/vehicles.json +820 -0
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-feats.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "feat": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "feat"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-items.json",
4
+ "version": "1.2.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "magicvariant": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericArray"
9
+ },
10
+ "item": {
11
+ "type": "array",
12
+ "minItems": 1,
13
+ "uniqueItems": true,
14
+ "items": {
15
+ "type": "object",
16
+ "additionalProperties": false,
17
+ "properties": {
18
+ "name": {
19
+ "type": "string"
20
+ },
21
+ "source": {
22
+ "$ref": "util.json#/$defs/source"
23
+ },
24
+ "system": {
25
+ "$ref": "util.json#/$defs/foundrySystemObject"
26
+ },
27
+ "effects": {
28
+ "type": "array",
29
+ "items": {
30
+ "$ref": "util.json#/$defs/foundryEffectObject"
31
+ }
32
+ },
33
+ "flags": {
34
+ "$ref": "util.json#/$defs/foundryFlagsObject"
35
+ },
36
+ "img": {
37
+ "type": "string"
38
+ },
39
+ "type": {
40
+ "type": "string",
41
+ "enum": [
42
+ "weapon",
43
+ "tool",
44
+ "consumable",
45
+ "equipment",
46
+ "container",
47
+ "loot"
48
+ ]
49
+ }
50
+ },
51
+ "required": [
52
+ "name",
53
+ "source"
54
+ ]
55
+ }
56
+ }
57
+ },
58
+ "required": [
59
+ "magicvariant",
60
+ "item"
61
+ ],
62
+ "additionalProperties": false
63
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-optionalfeatures.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "optionalfeature": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "optionalfeature"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-psionics.json",
4
+ "version": "1.1.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "psionicDisciplineFocus": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
9
+ },
10
+ "psionicDisciplineActive": {
11
+ "type": "array",
12
+ "minItems": 1,
13
+ "uniqueItems": true,
14
+ "items": {
15
+ "type": "object",
16
+ "required": [
17
+ "name",
18
+ "source",
19
+ "psionicName",
20
+ "psionicSource"
21
+ ],
22
+ "additionalProperties": false,
23
+ "properties": {
24
+ "name": {
25
+ "type": "string"
26
+ },
27
+ "source": {
28
+ "$ref": "util.json#/$defs/source"
29
+ },
30
+ "system": {
31
+ "$ref": "util.json#/$defs/foundrySystemObject"
32
+ },
33
+ "effects": {
34
+ "type": "array",
35
+ "items": {
36
+ "$ref": "util.json#/$defs/foundryEffectObject"
37
+ }
38
+ },
39
+ "flags": {
40
+ "$ref": "util.json#/$defs/foundryFlagsObject"
41
+ },
42
+ "img": {
43
+ "type": "string"
44
+ },
45
+ "psionicName": {
46
+ "type": "string"
47
+ },
48
+ "psionicSource": {
49
+ "$ref": "util.json#/$defs/source"
50
+ }
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "additionalProperties": false
56
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-races.json",
4
+ "version": "1.1.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "raceFeature": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "required": [
14
+ "name",
15
+ "source",
16
+ "raceName",
17
+ "raceSource"
18
+ ],
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "name": {
22
+ "type": "string"
23
+ },
24
+ "source": {
25
+ "$ref": "util.json#/$defs/source"
26
+ },
27
+ "system": {
28
+ "$ref": "util.json#/$defs/foundrySystemObject"
29
+ },
30
+ "effects": {
31
+ "type": "array",
32
+ "items": {
33
+ "$ref": "util.json#/$defs/foundryEffectObject"
34
+ }
35
+ },
36
+ "flags": {
37
+ "$ref": "util.json#/$defs/foundryFlagsObject"
38
+ },
39
+ "img": {
40
+ "type": "string"
41
+ },
42
+ "raceName": {
43
+ "description": "The full name of the race, with subrace parts/etc. applied.",
44
+ "type": "string"
45
+ },
46
+ "raceSource": {
47
+ "description": "The source of the subrace or race.",
48
+ "$ref": "util.json#/$defs/source"
49
+ }
50
+ }
51
+ }
52
+ }
53
+ },
54
+ "required": [
55
+ "raceFeature"
56
+ ],
57
+ "additionalProperties": false
58
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-rewards.json",
4
+ "version": "1.0.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "reward": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "reward"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-vehicles.json",
4
+ "version": "1.0.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "vehicleUpgrade": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericFeatureArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "vehicleUpgrade"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "bookref-quick.json",
4
+ "version": "1.1.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "reference": {
8
+ "type": "object",
9
+ "properties": {
10
+ "bookref-quick": {
11
+ "type": "object",
12
+ "properties": {
13
+ "name": {
14
+ "type": "string"
15
+ },
16
+ "id": {
17
+ "type": "string"
18
+ },
19
+ "contents": {
20
+ "type": "array",
21
+ "items": {
22
+ "type": "object",
23
+ "properties": {
24
+ "name": {
25
+ "type": "string"
26
+ },
27
+ "headers": {
28
+ "type": "array",
29
+ "items": {
30
+ "type": "string"
31
+ }
32
+ }
33
+ },
34
+ "additionalProperties": false,
35
+ "required": [
36
+ "name"
37
+ ]
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false,
42
+ "required": [
43
+ "name",
44
+ "id",
45
+ "contents"
46
+ ]
47
+ }
48
+ },
49
+ "required": [
50
+ "bookref-quick"
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ "data": {
55
+ "type": "object",
56
+ "properties": {
57
+ "bookref-quick": {
58
+ "type": "array",
59
+ "items": {
60
+ "$ref": "../entry.json"
61
+ },
62
+ "minItems": 1
63
+ }
64
+ },
65
+ "required": [
66
+ "bookref-quick"
67
+ ],
68
+ "additionalProperties": false
69
+ }
70
+ },
71
+ "additionalProperties": false
72
+ }
@@ -0,0 +1,230 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "gendata-spell-source-lookup.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "description": "Keys are lowercase'd source identifiers.",
7
+ "$defs": {
8
+ "leafDefinedInSources": {
9
+ "type": "object",
10
+ "properties": {
11
+ "definedInSources": {
12
+ "type": "array",
13
+ "items": {
14
+ "type": "string"
15
+ },
16
+ "uniqueItems": true
17
+ }
18
+ },
19
+ "required": [
20
+ "definedInSources"
21
+ ],
22
+ "additionalProperties": false,
23
+ "minProperties": 1
24
+ },
25
+ "basicEntityMap": {
26
+ "type": "object",
27
+ "description": "Keys are source identifiers.",
28
+ "patternProperties": {
29
+ "^[-A-Za-z0-9]+$": {
30
+ "type": "object",
31
+ "description": "Keys are entity names.",
32
+ "patternProperties": {
33
+ "^[-A-Za-z0-9 '()/;]+$": {
34
+ "oneOf": [
35
+ {
36
+ "const": true
37
+ },
38
+ {
39
+ "$ref": "#/$defs/leafDefinedInSources"
40
+ }
41
+ ]
42
+ }
43
+ },
44
+ "additionalProperties": false,
45
+ "minProperties": 1
46
+ }
47
+ },
48
+ "additionalProperties": false,
49
+ "minProperties": 1
50
+ }
51
+ },
52
+ "patternProperties": {
53
+ "^[-a-z0-9]+$": {
54
+ "type": "object",
55
+ "description": "Keys are lowercase'd spell names.",
56
+ "patternProperties": {
57
+ "^[-a-z0-9 '()/;]+$": {
58
+ "type": "object",
59
+ "properties": {
60
+ "class": {
61
+ "$ref": "#/$defs/basicEntityMap"
62
+ },
63
+ "feat": {
64
+ "$ref": "#/$defs/basicEntityMap"
65
+ },
66
+ "reward": {
67
+ "$ref": "#/$defs/basicEntityMap"
68
+ },
69
+ "background": {
70
+ "$ref": "#/$defs/basicEntityMap"
71
+ },
72
+ "charoption": {
73
+ "$ref": "#/$defs/basicEntityMap"
74
+ },
75
+ "subclass": {
76
+ "type": "object",
77
+ "description": "Keys are source identifiers.",
78
+ "patternProperties": {
79
+ "^[-A-Za-z0-9]+$": {
80
+ "type": "object",
81
+ "description": "Keys are class names.",
82
+ "patternProperties": {
83
+ "^[-A-Za-z0-9 '()/;]+$": {
84
+ "type": "object",
85
+ "description": "Keys are source identifiers.",
86
+ "patternProperties": {
87
+ "^[-A-Za-z0-9]+$": {
88
+ "type": "object",
89
+ "description": "Keys are subclass names.",
90
+ "patternProperties": {
91
+ "^[-A-Za-z0-9 '()/;]+$": {
92
+ "type": "object",
93
+ "properties": {
94
+ "name": {
95
+ "type": "string"
96
+ },
97
+ "subSubclasses": {
98
+ "type": "array",
99
+ "items": {
100
+ "type": "string"
101
+ },
102
+ "uniqueItems": true
103
+ }
104
+ },
105
+ "required": [
106
+ "name"
107
+ ],
108
+ "additionalProperties": false,
109
+ "minProperties": 1
110
+ }
111
+ },
112
+ "additionalProperties": false,
113
+ "minProperties": 1
114
+ }
115
+ },
116
+ "additionalProperties": false,
117
+ "minProperties": 1
118
+ }
119
+ },
120
+ "additionalProperties": false,
121
+ "minProperties": 1
122
+ }
123
+ },
124
+ "additionalProperties": false,
125
+ "minProperties": 1
126
+ },
127
+ "classVariant": {
128
+ "type": "object",
129
+ "description": "Keys are source identifiers.",
130
+ "patternProperties": {
131
+ "^[-A-Za-z0-9]+$": {
132
+ "type": "object",
133
+ "description": "Keys are class names.",
134
+ "patternProperties": {
135
+ "^[-A-Za-z0-9 '()/;]+$": {
136
+ "$ref": "#/$defs/leafDefinedInSources"
137
+ }
138
+ },
139
+ "additionalProperties": false,
140
+ "minProperties": 1
141
+ }
142
+ },
143
+ "additionalProperties": false,
144
+ "minProperties": 1
145
+ },
146
+ "optionalfeature": {
147
+ "type": "object",
148
+ "description": "Keys are source identifiers.",
149
+ "patternProperties": {
150
+ "^[-A-Za-z0-9]+$": {
151
+ "type": "object",
152
+ "description": "Keys are optional feature names.",
153
+ "patternProperties": {
154
+ "^[-A-Za-z0-9 '()/;]+$": {
155
+ "type": "object",
156
+ "properties": {
157
+ "featureType": {
158
+ "type": "array",
159
+ "items": {
160
+ "$ref": "../util.json#/$defs/dataOptionalfeatureType"
161
+ },
162
+ "uniqueItems": true
163
+ }
164
+ },
165
+ "required": [
166
+ "featureType"
167
+ ],
168
+ "additionalProperties": false,
169
+ "minProperties": 1
170
+ }
171
+ },
172
+ "additionalProperties": false,
173
+ "minProperties": 1
174
+ }
175
+ },
176
+ "additionalProperties": false,
177
+ "minProperties": 1
178
+ },
179
+ "race": {
180
+ "type": "object",
181
+ "description": "Keys are source identifiers.",
182
+ "patternProperties": {
183
+ "^[-A-Za-z0-9]+$": {
184
+ "type": "object",
185
+ "description": "Keys are race names.",
186
+ "patternProperties": {
187
+ "^[-A-Za-z0-9 '()/;]+$": {
188
+ "oneOf": [
189
+ {
190
+ "const": true
191
+ },
192
+ {
193
+ "type": "object",
194
+ "properties": {
195
+ "baseName": {
196
+ "type": "string"
197
+ },
198
+ "baseSource": {
199
+ "$ref": "../util.json#/$defs/source"
200
+ }
201
+ },
202
+ "required": [
203
+ "baseName",
204
+ "baseSource"
205
+ ],
206
+ "additionalProperties": false,
207
+ "minProperties": 1
208
+ }
209
+ ]
210
+ }
211
+ },
212
+ "additionalProperties": false,
213
+ "minProperties": 1
214
+ }
215
+ },
216
+ "additionalProperties": false,
217
+ "minProperties": 1
218
+ }
219
+ },
220
+ "additionalProperties": false,
221
+ "minProperties": 1
222
+ }
223
+ },
224
+ "additionalProperties": false,
225
+ "minProperties": 1
226
+ }
227
+ },
228
+ "additionalProperties": false,
229
+ "minProperties": 1
230
+ }