5etools-utils 0.2.2 → 0.3.0

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 (281) hide show
  1. package/package.json +3 -2
  2. package/schema/brew/actions.json +109 -0
  3. package/schema/brew/adventure/adventure.json +12 -0
  4. package/schema/brew/adventures.json +249 -0
  5. package/schema/brew/backgrounds.json +425 -0
  6. package/schema/brew/bestiary/bestiary.json +3766 -0
  7. package/schema/brew/bestiary/fluff-bestiary.json +15 -0
  8. package/schema/brew/bestiary/foundry.json +15 -0
  9. package/schema/brew/bestiary/legendarygroups.json +202 -0
  10. package/schema/brew/bestiary/traits.json +85 -0
  11. package/schema/brew/book/book.json +12 -0
  12. package/schema/brew/books.json +137 -0
  13. package/schema/brew/charcreationoptions.json +96 -0
  14. package/schema/brew/class/class.json +2059 -0
  15. package/schema/brew/class/foundry.json +373 -0
  16. package/schema/brew/conditionsdiseases.json +103 -0
  17. package/schema/brew/cultsboons.json +196 -0
  18. package/schema/brew/deities.json +482 -0
  19. package/schema/brew/encounters.json +99 -0
  20. package/schema/brew/entry.json +3538 -0
  21. package/schema/brew/feats.json +215 -0
  22. package/schema/brew/fluff-backgrounds.json +15 -0
  23. package/schema/brew/fluff-charcreationoptions.json +43 -0
  24. package/schema/brew/fluff-conditionsdiseases.json +43 -0
  25. package/schema/brew/fluff-feats.json +15 -0
  26. package/schema/brew/fluff-items.json +15 -0
  27. package/schema/brew/fluff-languages.json +42 -0
  28. package/schema/brew/fluff-objects.json +15 -0
  29. package/schema/brew/fluff-races.json +214 -0
  30. package/schema/brew/fluff-recipes.json +42 -0
  31. package/schema/brew/fluff-vehicles.json +63 -0
  32. package/schema/brew/foundry-actions.json +15 -0
  33. package/schema/brew/foundry-backgrounds.json +47 -0
  34. package/schema/brew/foundry-feats.json +15 -0
  35. package/schema/brew/foundry-items.json +57 -0
  36. package/schema/brew/foundry-optionalfeatures.json +15 -0
  37. package/schema/brew/foundry-psionics.json +50 -0
  38. package/schema/brew/foundry-races.json +52 -0
  39. package/schema/brew/foundry-rewards.json +15 -0
  40. package/schema/brew/foundry-vehicles.json +15 -0
  41. package/schema/brew/generated/bookref-quick.json +72 -0
  42. package/schema/brew/homebrew.json +564 -0
  43. package/schema/brew/items-base.json +460 -0
  44. package/schema/brew/items-shared.json +295 -0
  45. package/schema/brew/items.json +1866 -0
  46. package/schema/brew/languages.json +127 -0
  47. package/schema/brew/loot.json +510 -0
  48. package/schema/brew/magicvariants.json +387 -0
  49. package/schema/brew/makebrew-creature.json +40 -0
  50. package/schema/brew/makecards.json +43 -0
  51. package/schema/brew/monsterfeatures.json +53 -0
  52. package/schema/brew/msbcr.json +60 -0
  53. package/schema/brew/names.json +91 -0
  54. package/schema/brew/objects.json +172 -0
  55. package/schema/brew/optionalfeatures.json +139 -0
  56. package/schema/brew/psionics.json +185 -0
  57. package/schema/brew/races.json +1799 -0
  58. package/schema/brew/recipes.json +191 -0
  59. package/schema/brew/renderdemo.json +16 -0
  60. package/schema/brew/rewards.json +102 -0
  61. package/schema/brew/senses.json +54 -0
  62. package/schema/brew/skills.json +54 -0
  63. package/schema/brew/spells/fluff-spells.json +15 -0
  64. package/schema/brew/spells/foundry.json +15 -0
  65. package/schema/brew/spells/roll20.json +112 -0
  66. package/schema/brew/spells/spells.json +1841 -0
  67. package/schema/brew/tables.json +202 -0
  68. package/schema/brew/trapshazards.json +249 -0
  69. package/schema/brew/util.json +3867 -0
  70. package/schema/brew/variantrules.json +74 -0
  71. package/schema/brew/vehicles.json +854 -0
  72. package/schema/brew-fast/actions.json +109 -0
  73. package/schema/brew-fast/adventure/adventure.json +12 -0
  74. package/schema/brew-fast/adventures.json +249 -0
  75. package/schema/brew-fast/backgrounds.json +425 -0
  76. package/schema/brew-fast/bestiary/bestiary.json +3766 -0
  77. package/schema/brew-fast/bestiary/fluff-bestiary.json +15 -0
  78. package/schema/brew-fast/bestiary/foundry.json +15 -0
  79. package/schema/brew-fast/bestiary/legendarygroups.json +202 -0
  80. package/schema/brew-fast/bestiary/traits.json +85 -0
  81. package/schema/brew-fast/book/book.json +12 -0
  82. package/schema/brew-fast/books.json +137 -0
  83. package/schema/brew-fast/charcreationoptions.json +96 -0
  84. package/schema/brew-fast/class/class.json +2059 -0
  85. package/schema/brew-fast/class/foundry.json +373 -0
  86. package/schema/brew-fast/conditionsdiseases.json +103 -0
  87. package/schema/brew-fast/cultsboons.json +196 -0
  88. package/schema/brew-fast/deities.json +482 -0
  89. package/schema/brew-fast/encounters.json +99 -0
  90. package/schema/brew-fast/entry.json +3538 -0
  91. package/schema/brew-fast/feats.json +215 -0
  92. package/schema/brew-fast/fluff-backgrounds.json +15 -0
  93. package/schema/brew-fast/fluff-charcreationoptions.json +43 -0
  94. package/schema/brew-fast/fluff-conditionsdiseases.json +43 -0
  95. package/schema/brew-fast/fluff-feats.json +15 -0
  96. package/schema/brew-fast/fluff-items.json +15 -0
  97. package/schema/brew-fast/fluff-languages.json +42 -0
  98. package/schema/brew-fast/fluff-objects.json +15 -0
  99. package/schema/brew-fast/fluff-races.json +214 -0
  100. package/schema/brew-fast/fluff-recipes.json +42 -0
  101. package/schema/brew-fast/fluff-vehicles.json +63 -0
  102. package/schema/brew-fast/foundry-actions.json +15 -0
  103. package/schema/brew-fast/foundry-backgrounds.json +47 -0
  104. package/schema/brew-fast/foundry-feats.json +15 -0
  105. package/schema/brew-fast/foundry-items.json +57 -0
  106. package/schema/brew-fast/foundry-optionalfeatures.json +15 -0
  107. package/schema/brew-fast/foundry-psionics.json +50 -0
  108. package/schema/brew-fast/foundry-races.json +52 -0
  109. package/schema/brew-fast/foundry-rewards.json +15 -0
  110. package/schema/brew-fast/foundry-vehicles.json +15 -0
  111. package/schema/brew-fast/generated/bookref-quick.json +72 -0
  112. package/schema/brew-fast/homebrew.json +562 -0
  113. package/schema/brew-fast/items-base.json +460 -0
  114. package/schema/brew-fast/items-shared.json +295 -0
  115. package/schema/brew-fast/items.json +1866 -0
  116. package/schema/brew-fast/languages.json +127 -0
  117. package/schema/brew-fast/loot.json +510 -0
  118. package/schema/brew-fast/magicvariants.json +387 -0
  119. package/schema/brew-fast/makebrew-creature.json +40 -0
  120. package/schema/brew-fast/makecards.json +43 -0
  121. package/schema/brew-fast/monsterfeatures.json +53 -0
  122. package/schema/brew-fast/msbcr.json +60 -0
  123. package/schema/brew-fast/names.json +91 -0
  124. package/schema/brew-fast/objects.json +172 -0
  125. package/schema/brew-fast/optionalfeatures.json +139 -0
  126. package/schema/brew-fast/psionics.json +185 -0
  127. package/schema/brew-fast/races.json +1799 -0
  128. package/schema/brew-fast/recipes.json +191 -0
  129. package/schema/brew-fast/renderdemo.json +16 -0
  130. package/schema/brew-fast/rewards.json +102 -0
  131. package/schema/brew-fast/senses.json +54 -0
  132. package/schema/brew-fast/skills.json +54 -0
  133. package/schema/brew-fast/spells/fluff-spells.json +15 -0
  134. package/schema/brew-fast/spells/foundry.json +15 -0
  135. package/schema/brew-fast/spells/roll20.json +112 -0
  136. package/schema/brew-fast/spells/spells.json +1841 -0
  137. package/schema/brew-fast/tables.json +202 -0
  138. package/schema/brew-fast/trapshazards.json +249 -0
  139. package/schema/brew-fast/util.json +3867 -0
  140. package/schema/brew-fast/variantrules.json +74 -0
  141. package/schema/brew-fast/vehicles.json +854 -0
  142. package/schema/site/actions.json +97 -0
  143. package/schema/site/adventure/adventure.json +12 -0
  144. package/schema/site/adventures.json +211 -0
  145. package/schema/site/backgrounds.json +306 -0
  146. package/schema/site/bestiary/bestiary.json +3537 -0
  147. package/schema/site/bestiary/fluff-bestiary.json +15 -0
  148. package/schema/site/bestiary/foundry.json +15 -0
  149. package/schema/site/bestiary/legendarygroups.json +202 -0
  150. package/schema/site/bestiary/traits.json +85 -0
  151. package/schema/site/book/book.json +12 -0
  152. package/schema/site/books.json +137 -0
  153. package/schema/site/charcreationoptions.json +80 -0
  154. package/schema/site/class/class.json +1792 -0
  155. package/schema/site/class/foundry.json +373 -0
  156. package/schema/site/conditionsdiseases.json +82 -0
  157. package/schema/site/cultsboons.json +172 -0
  158. package/schema/site/deities.json +461 -0
  159. package/schema/site/encounters.json +99 -0
  160. package/schema/site/entry.json +3471 -0
  161. package/schema/site/feats.json +199 -0
  162. package/schema/site/fluff-backgrounds.json +15 -0
  163. package/schema/site/fluff-charcreationoptions.json +43 -0
  164. package/schema/site/fluff-conditionsdiseases.json +43 -0
  165. package/schema/site/fluff-feats.json +15 -0
  166. package/schema/site/fluff-items.json +15 -0
  167. package/schema/site/fluff-languages.json +42 -0
  168. package/schema/site/fluff-objects.json +15 -0
  169. package/schema/site/fluff-races.json +214 -0
  170. package/schema/site/fluff-recipes.json +42 -0
  171. package/schema/site/fluff-vehicles.json +63 -0
  172. package/schema/site/foundry-actions.json +15 -0
  173. package/schema/site/foundry-backgrounds.json +47 -0
  174. package/schema/site/foundry-feats.json +15 -0
  175. package/schema/site/foundry-items.json +57 -0
  176. package/schema/site/foundry-optionalfeatures.json +15 -0
  177. package/schema/site/foundry-psionics.json +50 -0
  178. package/schema/site/foundry-races.json +52 -0
  179. package/schema/site/foundry-rewards.json +15 -0
  180. package/schema/site/foundry-vehicles.json +15 -0
  181. package/schema/site/generated/bookref-quick.json +72 -0
  182. package/schema/site/homebrew.json +564 -0
  183. package/schema/site/items-base.json +425 -0
  184. package/schema/site/items-shared.json +259 -0
  185. package/schema/site/items.json +1722 -0
  186. package/schema/site/languages.json +120 -0
  187. package/schema/site/loot.json +510 -0
  188. package/schema/site/magicvariants.json +355 -0
  189. package/schema/site/makebrew-creature.json +39 -0
  190. package/schema/site/makecards.json +43 -0
  191. package/schema/site/monsterfeatures.json +53 -0
  192. package/schema/site/msbcr.json +60 -0
  193. package/schema/site/names.json +91 -0
  194. package/schema/site/objects.json +165 -0
  195. package/schema/site/optionalfeatures.json +127 -0
  196. package/schema/site/psionics.json +173 -0
  197. package/schema/site/races.json +1708 -0
  198. package/schema/site/recipes.json +185 -0
  199. package/schema/site/renderdemo.json +16 -0
  200. package/schema/site/rewards.json +90 -0
  201. package/schema/site/senses.json +54 -0
  202. package/schema/site/skills.json +54 -0
  203. package/schema/site/spells/fluff-spells.json +15 -0
  204. package/schema/site/spells/foundry.json +15 -0
  205. package/schema/site/spells/roll20.json +112 -0
  206. package/schema/site/spells/spells.json +1238 -0
  207. package/schema/site/tables.json +185 -0
  208. package/schema/site/trapshazards.json +227 -0
  209. package/schema/site/util.json +3857 -0
  210. package/schema/site/variantrules.json +71 -0
  211. package/schema/site/vehicles.json +807 -0
  212. package/schema/site-fast/actions.json +97 -0
  213. package/schema/site-fast/adventure/adventure.json +12 -0
  214. package/schema/site-fast/adventures.json +211 -0
  215. package/schema/site-fast/backgrounds.json +306 -0
  216. package/schema/site-fast/bestiary/bestiary.json +3537 -0
  217. package/schema/site-fast/bestiary/fluff-bestiary.json +15 -0
  218. package/schema/site-fast/bestiary/foundry.json +15 -0
  219. package/schema/site-fast/bestiary/legendarygroups.json +202 -0
  220. package/schema/site-fast/bestiary/traits.json +85 -0
  221. package/schema/site-fast/book/book.json +12 -0
  222. package/schema/site-fast/books.json +137 -0
  223. package/schema/site-fast/charcreationoptions.json +80 -0
  224. package/schema/site-fast/class/class.json +1792 -0
  225. package/schema/site-fast/class/foundry.json +373 -0
  226. package/schema/site-fast/conditionsdiseases.json +82 -0
  227. package/schema/site-fast/cultsboons.json +172 -0
  228. package/schema/site-fast/deities.json +461 -0
  229. package/schema/site-fast/encounters.json +99 -0
  230. package/schema/site-fast/entry.json +3471 -0
  231. package/schema/site-fast/feats.json +199 -0
  232. package/schema/site-fast/fluff-backgrounds.json +15 -0
  233. package/schema/site-fast/fluff-charcreationoptions.json +43 -0
  234. package/schema/site-fast/fluff-conditionsdiseases.json +43 -0
  235. package/schema/site-fast/fluff-feats.json +15 -0
  236. package/schema/site-fast/fluff-items.json +15 -0
  237. package/schema/site-fast/fluff-languages.json +42 -0
  238. package/schema/site-fast/fluff-objects.json +15 -0
  239. package/schema/site-fast/fluff-races.json +214 -0
  240. package/schema/site-fast/fluff-recipes.json +42 -0
  241. package/schema/site-fast/fluff-vehicles.json +63 -0
  242. package/schema/site-fast/foundry-actions.json +15 -0
  243. package/schema/site-fast/foundry-backgrounds.json +47 -0
  244. package/schema/site-fast/foundry-feats.json +15 -0
  245. package/schema/site-fast/foundry-items.json +57 -0
  246. package/schema/site-fast/foundry-optionalfeatures.json +15 -0
  247. package/schema/site-fast/foundry-psionics.json +50 -0
  248. package/schema/site-fast/foundry-races.json +52 -0
  249. package/schema/site-fast/foundry-rewards.json +15 -0
  250. package/schema/site-fast/foundry-vehicles.json +15 -0
  251. package/schema/site-fast/generated/bookref-quick.json +72 -0
  252. package/schema/site-fast/homebrew.json +562 -0
  253. package/schema/site-fast/items-base.json +425 -0
  254. package/schema/site-fast/items-shared.json +259 -0
  255. package/schema/site-fast/items.json +1722 -0
  256. package/schema/site-fast/languages.json +120 -0
  257. package/schema/site-fast/loot.json +510 -0
  258. package/schema/site-fast/magicvariants.json +355 -0
  259. package/schema/site-fast/makebrew-creature.json +39 -0
  260. package/schema/site-fast/makecards.json +43 -0
  261. package/schema/site-fast/monsterfeatures.json +53 -0
  262. package/schema/site-fast/msbcr.json +60 -0
  263. package/schema/site-fast/names.json +91 -0
  264. package/schema/site-fast/objects.json +165 -0
  265. package/schema/site-fast/optionalfeatures.json +127 -0
  266. package/schema/site-fast/psionics.json +173 -0
  267. package/schema/site-fast/races.json +1708 -0
  268. package/schema/site-fast/recipes.json +185 -0
  269. package/schema/site-fast/renderdemo.json +16 -0
  270. package/schema/site-fast/rewards.json +90 -0
  271. package/schema/site-fast/senses.json +54 -0
  272. package/schema/site-fast/skills.json +54 -0
  273. package/schema/site-fast/spells/fluff-spells.json +15 -0
  274. package/schema/site-fast/spells/foundry.json +15 -0
  275. package/schema/site-fast/spells/roll20.json +112 -0
  276. package/schema/site-fast/spells/spells.json +1238 -0
  277. package/schema/site-fast/tables.json +185 -0
  278. package/schema/site-fast/trapshazards.json +227 -0
  279. package/schema/site-fast/util.json +3857 -0
  280. package/schema/site-fast/variantrules.json +71 -0
  281. package/schema/site-fast/vehicles.json +807 -0
@@ -0,0 +1,3857 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "util.json",
4
+ "title": "Util",
5
+ "description": "Utility definitions to be used in other schemas.",
6
+ "version": "1.13.4",
7
+ "$defs": {
8
+ "metaBlock": {
9
+ "type": "object",
10
+ "properties": {
11
+ "dependencies": {
12
+ "type": "object",
13
+ "properties": {
14
+ "monster": {
15
+ "type": "array",
16
+ "items": {
17
+ "type": "string"
18
+ },
19
+ "uniqueItems": true
20
+ }
21
+ }
22
+ },
23
+ "otherSources": {
24
+ "type": "object",
25
+ "properties": {
26
+ "monster": {
27
+ "description": "Keys are other sources to be loaded; values are `otherSources` sources from that source to search for.",
28
+ "type": "object"
29
+ }
30
+ }
31
+ }
32
+ }
33
+ },
34
+ "url": {
35
+ "type": "string",
36
+ "description": "\"uri-reference\" is unsuitable for brew, as it requires URL-encoding \"'\" (see: https://www.ietf.org/rfc/rfc3986.txt)",
37
+ "format": "uri-reference"
38
+ },
39
+ "page": {
40
+ "type": "integer"
41
+ },
42
+ "otherSources": {
43
+ "type": "array",
44
+ "items": {
45
+ "type": "object",
46
+ "properties": {
47
+ "source": {
48
+ "type": "string"
49
+ },
50
+ "page": {
51
+ "$ref": "#/$defs/page"
52
+ }
53
+ },
54
+ "required": [
55
+ "source"
56
+ ],
57
+ "additionalProperties": false
58
+ },
59
+ "uniqueItems": true,
60
+ "minItems": 1
61
+ },
62
+ "additionalSources": {
63
+ "type": "array",
64
+ "items": {
65
+ "type": "object",
66
+ "properties": {
67
+ "source": {
68
+ "type": "string"
69
+ },
70
+ "page": {
71
+ "$ref": "#/$defs/page"
72
+ }
73
+ },
74
+ "required": [
75
+ "source"
76
+ ],
77
+ "additionalProperties": false
78
+ },
79
+ "uniqueItems": true,
80
+ "minItems": 1
81
+ },
82
+ "alias": {
83
+ "type": "array",
84
+ "items": {
85
+ "type": "string"
86
+ }
87
+ },
88
+ "reprintedAs": {
89
+ "type": "array",
90
+ "items": {
91
+ "oneOf": [
92
+ {
93
+ "description": "A UID, e.g. \"longsword|phb\"",
94
+ "type": "string"
95
+ },
96
+ {
97
+ "type": "object",
98
+ "properties": {
99
+ "uid": {
100
+ "description": "A UID, e.g. \"longsword|phb\"",
101
+ "type": "string"
102
+ },
103
+ "tag": {
104
+ "description": "A tag used in the renderer, e.g. \"creature\"",
105
+ "type": "string"
106
+ }
107
+ },
108
+ "additionalProperties": false,
109
+ "required": [
110
+ "tag",
111
+ "uid"
112
+ ]
113
+ }
114
+ ]
115
+ },
116
+ "uniqueItems": true,
117
+ "minItems": 1
118
+ },
119
+ "tagNameStats": {
120
+ "type": "string",
121
+ "enum": [
122
+ "spell",
123
+ "item",
124
+ "creature",
125
+ "condition",
126
+ "disease",
127
+ "status",
128
+ "background",
129
+ "race",
130
+ "optfeature",
131
+ "reward",
132
+ "feat",
133
+ "psionic",
134
+ "object",
135
+ "cult",
136
+ "boon",
137
+ "trap",
138
+ "hazard",
139
+ "deity",
140
+ "variantrule",
141
+ "charoption",
142
+ "vehicle",
143
+ "vehupgrade",
144
+ "class",
145
+ "action",
146
+ "language",
147
+ "classFeature",
148
+ "subclassFeature",
149
+ "table",
150
+ "recipe",
151
+ "skill",
152
+ "sense"
153
+ ]
154
+ },
155
+ "propNameStats": {
156
+ "type": "string",
157
+ "enum": [
158
+ "subclass"
159
+ ]
160
+ },
161
+ "languageNameLower": {
162
+ "type": "string",
163
+ "enum": [
164
+ "abyssal",
165
+ "aquan",
166
+ "auran",
167
+ "celestial",
168
+ "common",
169
+ "deep speech",
170
+ "draconic",
171
+ "druidic",
172
+ "dwarvish",
173
+ "elvish",
174
+ "giant",
175
+ "gnomish",
176
+ "goblin",
177
+ "halfling",
178
+ "ignan",
179
+ "infernal",
180
+ "orc",
181
+ "other",
182
+ "primordial",
183
+ "sylvan",
184
+ "terran",
185
+ "thieves' cant",
186
+ "undercommon"
187
+ ]
188
+ },
189
+ "languageProficiencies": {
190
+ "type": "array",
191
+ "items": {
192
+ "type": "object",
193
+ "properties": {
194
+ "any": {
195
+ "type": "integer"
196
+ },
197
+ "anyStandard": {
198
+ "type": "integer"
199
+ },
200
+ "abyssal": {
201
+ "const": true
202
+ },
203
+ "celestial": {
204
+ "const": true
205
+ },
206
+ "deep speech": {
207
+ "const": true
208
+ },
209
+ "draconic": {
210
+ "const": true
211
+ },
212
+ "infernal": {
213
+ "const": true
214
+ },
215
+ "primordial": {
216
+ "const": true
217
+ },
218
+ "sylvan": {
219
+ "const": true
220
+ },
221
+ "undercommon": {
222
+ "const": true
223
+ },
224
+ "dwarvish": {
225
+ "const": true
226
+ },
227
+ "elvish": {
228
+ "const": true
229
+ },
230
+ "giant": {
231
+ "const": true
232
+ },
233
+ "other": {
234
+ "const": true
235
+ },
236
+ "choose": {
237
+ "type": "object",
238
+ "properties": {
239
+ "from": {
240
+ "type": "array",
241
+ "items": {
242
+ "$ref": "#/$defs/languageNameLower"
243
+ },
244
+ "uniqueItems": true
245
+ },
246
+ "count": {
247
+ "type": "integer"
248
+ }
249
+ },
250
+ "additionalProperties": false
251
+ }
252
+ }
253
+ },
254
+ "uniqueItems": true,
255
+ "minItems": 1
256
+ },
257
+ "toolNameLower": {
258
+ "type": "string",
259
+ "enum": [
260
+ "artisan's tools",
261
+ "alchemist's supplies",
262
+ "brewer's supplies",
263
+ "calligrapher's supplies",
264
+ "carpenter's tools",
265
+ "cartographer's tools",
266
+ "cobbler's tools",
267
+ "cook's utensils",
268
+ "glassblower's tools",
269
+ "jeweler's tools",
270
+ "leatherworker's tools",
271
+ "mason's tools",
272
+ "painter's supplies",
273
+ "potter's tools",
274
+ "smith's tools",
275
+ "tinker's tools",
276
+ "weaver's tools",
277
+ "woodcarver's tools",
278
+ "disguise kit",
279
+ "forgery kit",
280
+ "gaming set",
281
+ "herbalism kit",
282
+ "musical instrument",
283
+ "navigator's tools",
284
+ "thieves' tools",
285
+ "poisoner's kit",
286
+ "vehicles (land)",
287
+ "vehicles (water)",
288
+ "vehicles (space)"
289
+ ]
290
+ },
291
+ "toolProficiencies": {
292
+ "type": "array",
293
+ "items": {
294
+ "type": "object",
295
+ "properties": {
296
+ "any": {
297
+ "type": "integer"
298
+ },
299
+ "anyArtisans": {
300
+ "type": "integer"
301
+ },
302
+ "artisan's tools": {
303
+ "const": true
304
+ },
305
+ "alchemist's supplies": {
306
+ "const": true
307
+ },
308
+ "brewer's supplies": {
309
+ "const": true
310
+ },
311
+ "calligrapher's supplies": {
312
+ "const": true
313
+ },
314
+ "carpenter's tools": {
315
+ "const": true
316
+ },
317
+ "cartographer's tools": {
318
+ "const": true
319
+ },
320
+ "cobbler's tools": {
321
+ "const": true
322
+ },
323
+ "cook's utensils": {
324
+ "const": true
325
+ },
326
+ "glassblower's tools": {
327
+ "const": true
328
+ },
329
+ "jeweler's tools": {
330
+ "const": true
331
+ },
332
+ "leatherworker's tools": {
333
+ "const": true
334
+ },
335
+ "mason's tools": {
336
+ "const": true
337
+ },
338
+ "painter's supplies": {
339
+ "const": true
340
+ },
341
+ "potter's tools": {
342
+ "const": true
343
+ },
344
+ "smith's tools": {
345
+ "const": true
346
+ },
347
+ "tinker's tools": {
348
+ "const": true
349
+ },
350
+ "weaver's tools": {
351
+ "const": true
352
+ },
353
+ "woodcarver's tools": {
354
+ "const": true
355
+ },
356
+ "disguise kit": {
357
+ "const": true
358
+ },
359
+ "forgery kit": {
360
+ "const": true
361
+ },
362
+ "gaming set": {
363
+ "const": true
364
+ },
365
+ "herbalism kit": {
366
+ "const": true
367
+ },
368
+ "musical instrument": {
369
+ "const": true
370
+ },
371
+ "navigator's tools": {
372
+ "const": true
373
+ },
374
+ "thieves' tools": {
375
+ "const": true
376
+ },
377
+ "poisoner's kit": {
378
+ "const": true
379
+ },
380
+ "vehicles (land)": {
381
+ "const": true
382
+ },
383
+ "vehicles (water)": {
384
+ "const": true
385
+ },
386
+ "vehicles (space)": {
387
+ "const": true
388
+ },
389
+ "choose": {
390
+ "type": "object",
391
+ "properties": {
392
+ "from": {
393
+ "type": "array",
394
+ "items": {
395
+ "anyOf": [
396
+ {
397
+ "$ref": "#/$defs/toolNameLower"
398
+ },
399
+ {
400
+ "type": "string",
401
+ "enum": [
402
+ "anyArtisansTool"
403
+ ]
404
+ }
405
+ ]
406
+ },
407
+ "uniqueItems": true,
408
+ "minItems": 2
409
+ },
410
+ "count": {
411
+ "type": "integer"
412
+ }
413
+ },
414
+ "additionalProperties": false
415
+ }
416
+ }
417
+ },
418
+ "uniqueItems": true,
419
+ "minItems": 1
420
+ },
421
+ "skillNameLower": {
422
+ "type": "string",
423
+ "enum": [
424
+ "athletics",
425
+ "acrobatics",
426
+ "sleight of hand",
427
+ "stealth",
428
+ "arcana",
429
+ "history",
430
+ "investigation",
431
+ "nature",
432
+ "religion",
433
+ "animal handling",
434
+ "insight",
435
+ "medicine",
436
+ "perception",
437
+ "survival",
438
+ "deception",
439
+ "intimidation",
440
+ "performance",
441
+ "persuasion"
442
+ ]
443
+ },
444
+ "skillProficiencies": {
445
+ "type": "array",
446
+ "items": {
447
+ "type": "object",
448
+ "properties": {
449
+ "any": {
450
+ "type": "integer"
451
+ },
452
+ "athletics": {
453
+ "const": true
454
+ },
455
+ "acrobatics": {
456
+ "const": true
457
+ },
458
+ "sleight of hand": {
459
+ "const": true
460
+ },
461
+ "stealth": {
462
+ "const": true
463
+ },
464
+ "arcana": {
465
+ "const": true
466
+ },
467
+ "history": {
468
+ "const": true
469
+ },
470
+ "investigation": {
471
+ "const": true
472
+ },
473
+ "nature": {
474
+ "const": true
475
+ },
476
+ "religion": {
477
+ "const": true
478
+ },
479
+ "animal handling": {
480
+ "const": true
481
+ },
482
+ "insight": {
483
+ "const": true
484
+ },
485
+ "medicine": {
486
+ "const": true
487
+ },
488
+ "perception": {
489
+ "const": true
490
+ },
491
+ "survival": {
492
+ "const": true
493
+ },
494
+ "deception": {
495
+ "const": true
496
+ },
497
+ "intimidation": {
498
+ "const": true
499
+ },
500
+ "performance": {
501
+ "const": true
502
+ },
503
+ "persuasion": {
504
+ "const": true
505
+ },
506
+ "choose": {
507
+ "type": "object",
508
+ "properties": {
509
+ "from": {
510
+ "type": "array",
511
+ "items": {
512
+ "$ref": "#/$defs/skillNameLower"
513
+ },
514
+ "uniqueItems": true,
515
+ "minItems": 2
516
+ },
517
+ "count": {
518
+ "type": "integer"
519
+ }
520
+ },
521
+ "additionalProperties": false
522
+ }
523
+ },
524
+ "additionalProperties": false
525
+ }
526
+ },
527
+ "skillToolLanguageProficiencies": {
528
+ "type": "array",
529
+ "items": {
530
+ "type": "object",
531
+ "properties": {
532
+ "anyLanguage": {
533
+ "type": "integer"
534
+ },
535
+ "anyStandardLanguage": {
536
+ "type": "integer"
537
+ },
538
+ "abyssal": {
539
+ "const": true
540
+ },
541
+ "celestial": {
542
+ "const": true
543
+ },
544
+ "deep speech": {
545
+ "const": true
546
+ },
547
+ "draconic": {
548
+ "const": true
549
+ },
550
+ "infernal": {
551
+ "const": true
552
+ },
553
+ "primordial": {
554
+ "const": true
555
+ },
556
+ "sylvan": {
557
+ "const": true
558
+ },
559
+ "undercommon": {
560
+ "const": true
561
+ },
562
+ "dwarvish": {
563
+ "const": true
564
+ },
565
+ "elvish": {
566
+ "const": true
567
+ },
568
+ "giant": {
569
+ "const": true
570
+ },
571
+ "otherLanguage": {
572
+ "const": true
573
+ },
574
+ "anyTool": {
575
+ "type": "integer"
576
+ },
577
+ "anyArtisansTool": {
578
+ "type": "integer"
579
+ },
580
+ "artisan's tools": {
581
+ "const": true
582
+ },
583
+ "alchemist's supplies": {
584
+ "const": true
585
+ },
586
+ "brewer's supplies": {
587
+ "const": true
588
+ },
589
+ "calligrapher's supplies": {
590
+ "const": true
591
+ },
592
+ "carpenter's tools": {
593
+ "const": true
594
+ },
595
+ "cartographer's tools": {
596
+ "const": true
597
+ },
598
+ "cobbler's tools": {
599
+ "const": true
600
+ },
601
+ "cook's utensils": {
602
+ "const": true
603
+ },
604
+ "glassblower's tools": {
605
+ "const": true
606
+ },
607
+ "jeweler's tools": {
608
+ "const": true
609
+ },
610
+ "leatherworker's tools": {
611
+ "const": true
612
+ },
613
+ "mason's tools": {
614
+ "const": true
615
+ },
616
+ "painter's supplies": {
617
+ "const": true
618
+ },
619
+ "potter's tools": {
620
+ "const": true
621
+ },
622
+ "smith's tools": {
623
+ "const": true
624
+ },
625
+ "tinker's tools": {
626
+ "const": true
627
+ },
628
+ "weaver's tools": {
629
+ "const": true
630
+ },
631
+ "woodcarver's tools": {
632
+ "const": true
633
+ },
634
+ "disguise kit": {
635
+ "const": true
636
+ },
637
+ "forgery kit": {
638
+ "const": true
639
+ },
640
+ "gaming set": {
641
+ "const": true
642
+ },
643
+ "herbalism kit": {
644
+ "const": true
645
+ },
646
+ "musical instrument": {
647
+ "const": true
648
+ },
649
+ "navigator's tools": {
650
+ "const": true
651
+ },
652
+ "thieves' tools": {
653
+ "const": true
654
+ },
655
+ "poisoner's kit": {
656
+ "const": true
657
+ },
658
+ "vehicles (land)": {
659
+ "const": true
660
+ },
661
+ "vehicles (water)": {
662
+ "const": true
663
+ },
664
+ "vehicles (space)": {
665
+ "const": true
666
+ },
667
+ "anySkill": {
668
+ "type": "integer"
669
+ },
670
+ "athletics": {
671
+ "const": true
672
+ },
673
+ "acrobatics": {
674
+ "const": true
675
+ },
676
+ "sleight of hand": {
677
+ "const": true
678
+ },
679
+ "stealth": {
680
+ "const": true
681
+ },
682
+ "arcana": {
683
+ "const": true
684
+ },
685
+ "history": {
686
+ "const": true
687
+ },
688
+ "investigation": {
689
+ "const": true
690
+ },
691
+ "nature": {
692
+ "const": true
693
+ },
694
+ "religion": {
695
+ "const": true
696
+ },
697
+ "animal handling": {
698
+ "const": true
699
+ },
700
+ "insight": {
701
+ "const": true
702
+ },
703
+ "medicine": {
704
+ "const": true
705
+ },
706
+ "perception": {
707
+ "const": true
708
+ },
709
+ "survival": {
710
+ "const": true
711
+ },
712
+ "deception": {
713
+ "const": true
714
+ },
715
+ "intimidation": {
716
+ "const": true
717
+ },
718
+ "performance": {
719
+ "const": true
720
+ },
721
+ "persuasion": {
722
+ "const": true
723
+ },
724
+ "choose": {
725
+ "type": "array",
726
+ "items": {
727
+ "oneOf": [
728
+ {
729
+ "type": "object",
730
+ "properties": {
731
+ "from": {
732
+ "type": "array",
733
+ "items": {
734
+ "anyOf": [
735
+ {
736
+ "$ref": "#/$defs/languageNameLower"
737
+ },
738
+ {
739
+ "$ref": "#/$defs/toolNameLower"
740
+ },
741
+ {
742
+ "$ref": "#/$defs/skillNameLower"
743
+ },
744
+ {
745
+ "type": "string",
746
+ "enum": [
747
+ "anySkill",
748
+ "anyTool",
749
+ "anyArtisansTool",
750
+ "anyLanguage",
751
+ "anyStandardLanguage"
752
+ ]
753
+ }
754
+ ]
755
+ },
756
+ "minItems": 2
757
+ },
758
+ "count": {
759
+ "type": "integer"
760
+ }
761
+ },
762
+ "required": [
763
+ "from"
764
+ ],
765
+ "additionalProperties": false
766
+ },
767
+ {
768
+ "type": "object",
769
+ "properties": {
770
+ "fromFilter": {
771
+ "type": "string"
772
+ },
773
+ "count": {
774
+ "type": "integer"
775
+ },
776
+ "type": {
777
+ "type": "string",
778
+ "enum": [
779
+ "weapon",
780
+ "armor",
781
+ "skill",
782
+ "tool",
783
+ "language",
784
+ "savingThrow"
785
+ ]
786
+ }
787
+ },
788
+ "required": [
789
+ "fromFilter",
790
+ "type"
791
+ ],
792
+ "additionalProperties": false
793
+ }
794
+ ]
795
+ },
796
+ "uniqueItems": true,
797
+ "minItems": 1
798
+ }
799
+ },
800
+ "additionalProperties": false
801
+ },
802
+ "uniqueItems": true,
803
+ "minItems": 1
804
+ },
805
+ "weaponProficiencies": {
806
+ "type": "array",
807
+ "items": {
808
+ "type": "object",
809
+ "properties": {
810
+ "simple": {
811
+ "const": true
812
+ },
813
+ "martial": {
814
+ "const": true
815
+ },
816
+ "firearms": {
817
+ "const": true
818
+ },
819
+ "battleaxe|phb": {
820
+ "const": true
821
+ },
822
+ "club|phb": {
823
+ "const": true
824
+ },
825
+ "dagger|phb": {
826
+ "const": true
827
+ },
828
+ "flail|phb": {
829
+ "const": true
830
+ },
831
+ "glaive|phb": {
832
+ "const": true
833
+ },
834
+ "greataxe|phb": {
835
+ "const": true
836
+ },
837
+ "greatclub|phb": {
838
+ "const": true
839
+ },
840
+ "greatsword|phb": {
841
+ "const": true
842
+ },
843
+ "halberd|phb": {
844
+ "const": true
845
+ },
846
+ "handaxe|phb": {
847
+ "const": true
848
+ },
849
+ "javelin|phb": {
850
+ "const": true
851
+ },
852
+ "lance|phb": {
853
+ "const": true
854
+ },
855
+ "light hammer|phb": {
856
+ "const": true
857
+ },
858
+ "longsword|phb": {
859
+ "const": true
860
+ },
861
+ "mace|phb": {
862
+ "const": true
863
+ },
864
+ "maul|phb": {
865
+ "const": true
866
+ },
867
+ "morningstar|phb": {
868
+ "const": true
869
+ },
870
+ "pike|phb": {
871
+ "const": true
872
+ },
873
+ "quarterstaff|phb": {
874
+ "const": true
875
+ },
876
+ "rapier|phb": {
877
+ "const": true
878
+ },
879
+ "scimitar|phb": {
880
+ "const": true
881
+ },
882
+ "shortsword|phb": {
883
+ "const": true
884
+ },
885
+ "sickle|phb": {
886
+ "const": true
887
+ },
888
+ "spear|phb": {
889
+ "const": true
890
+ },
891
+ "staff|phb": {
892
+ "const": true
893
+ },
894
+ "trident|phb": {
895
+ "const": true
896
+ },
897
+ "war pick|phb": {
898
+ "const": true
899
+ },
900
+ "warhammer|phb": {
901
+ "const": true
902
+ },
903
+ "whip|phb": {
904
+ "const": true
905
+ },
906
+ "blowgun|phb": {
907
+ "const": true
908
+ },
909
+ "dart|phb": {
910
+ "const": true
911
+ },
912
+ "hand crossbow|phb": {
913
+ "const": true
914
+ },
915
+ "heavy crossbow|phb": {
916
+ "const": true
917
+ },
918
+ "light crossbow|phb": {
919
+ "const": true
920
+ },
921
+ "longbow|phb": {
922
+ "const": true
923
+ },
924
+ "net|phb": {
925
+ "const": true
926
+ },
927
+ "shortbow|phb": {
928
+ "const": true
929
+ },
930
+ "sling|phb": {
931
+ "const": true
932
+ },
933
+ "double-bladed scimitar|erlw": {
934
+ "const": true
935
+ },
936
+ "choose": {
937
+ "type": "object",
938
+ "properties": {
939
+ "fromFilter": {
940
+ "description": "A filter string, e.g. \"type=martial weapon|miscellaneous=mundane\"",
941
+ "type": "string"
942
+ },
943
+ "count": {
944
+ "type": "integer"
945
+ }
946
+ },
947
+ "required": [
948
+ "fromFilter"
949
+ ],
950
+ "additionalProperties": false
951
+ }
952
+ },
953
+ "additionalProperties": false
954
+ },
955
+ "uniqueItems": true,
956
+ "minItems": 1
957
+ },
958
+ "armorProficiencies": {
959
+ "type": "array",
960
+ "items": {
961
+ "type": "object",
962
+ "properties": {
963
+ "light": {
964
+ "const": true
965
+ },
966
+ "medium": {
967
+ "const": true
968
+ },
969
+ "heavy": {
970
+ "const": true
971
+ },
972
+ "shield|phb": {
973
+ "const": true
974
+ }
975
+ },
976
+ "additionalProperties": false
977
+ },
978
+ "uniqueItems": true,
979
+ "minItems": 1
980
+ },
981
+ "savingThrowProficiencies": {
982
+ "type": "array",
983
+ "items": {
984
+ "type": "object",
985
+ "properties": {
986
+ "str": {
987
+ "const": true
988
+ },
989
+ "dex": {
990
+ "const": true
991
+ },
992
+ "con": {
993
+ "const": true
994
+ },
995
+ "int": {
996
+ "const": true
997
+ },
998
+ "wis": {
999
+ "const": true
1000
+ },
1001
+ "cha": {
1002
+ "const": true
1003
+ },
1004
+ "choose": {
1005
+ "type": "object",
1006
+ "properties": {
1007
+ "from": {
1008
+ "type": "array",
1009
+ "items": {
1010
+ "enum": [
1011
+ "str",
1012
+ "dex",
1013
+ "con",
1014
+ "int",
1015
+ "wis",
1016
+ "cha"
1017
+ ]
1018
+ },
1019
+ "uniqueItems": true,
1020
+ "minItems": 2
1021
+ },
1022
+ "count": {
1023
+ "type": "integer"
1024
+ }
1025
+ },
1026
+ "required": [
1027
+ "from"
1028
+ ],
1029
+ "additionalProperties": false
1030
+ }
1031
+ },
1032
+ "additionalProperties": false
1033
+ },
1034
+ "uniqueItems": true,
1035
+ "minItems": 1
1036
+ },
1037
+ "expertise": {
1038
+ "type": "array",
1039
+ "items": {
1040
+ "type": "object",
1041
+ "properties": {
1042
+ "anyProficientSkill": {
1043
+ "type": "number"
1044
+ },
1045
+ "athletics": {
1046
+ "const": true
1047
+ },
1048
+ "acrobatics": {
1049
+ "const": true
1050
+ },
1051
+ "sleight of hand": {
1052
+ "const": true
1053
+ },
1054
+ "stealth": {
1055
+ "const": true
1056
+ },
1057
+ "arcana": {
1058
+ "const": true
1059
+ },
1060
+ "history": {
1061
+ "const": true
1062
+ },
1063
+ "investigation": {
1064
+ "const": true
1065
+ },
1066
+ "nature": {
1067
+ "const": true
1068
+ },
1069
+ "religion": {
1070
+ "const": true
1071
+ },
1072
+ "animal handling": {
1073
+ "const": true
1074
+ },
1075
+ "insight": {
1076
+ "const": true
1077
+ },
1078
+ "medicine": {
1079
+ "const": true
1080
+ },
1081
+ "perception": {
1082
+ "const": true
1083
+ },
1084
+ "survival": {
1085
+ "const": true
1086
+ },
1087
+ "deception": {
1088
+ "const": true
1089
+ },
1090
+ "intimidation": {
1091
+ "const": true
1092
+ },
1093
+ "performance": {
1094
+ "const": true
1095
+ },
1096
+ "persuasion": {
1097
+ "const": true
1098
+ },
1099
+ "anyProficientTool": {
1100
+ "type": "number"
1101
+ },
1102
+ "artisan's tools": {
1103
+ "const": true
1104
+ },
1105
+ "alchemist's supplies": {
1106
+ "const": true
1107
+ },
1108
+ "brewer's supplies": {
1109
+ "const": true
1110
+ },
1111
+ "calligrapher's supplies": {
1112
+ "const": true
1113
+ },
1114
+ "carpenter's tools": {
1115
+ "const": true
1116
+ },
1117
+ "cartographer's tools": {
1118
+ "const": true
1119
+ },
1120
+ "cobbler's tools": {
1121
+ "const": true
1122
+ },
1123
+ "cook's utensils": {
1124
+ "const": true
1125
+ },
1126
+ "glassblower's tools": {
1127
+ "const": true
1128
+ },
1129
+ "jeweler's tools": {
1130
+ "const": true
1131
+ },
1132
+ "leatherworker's tools": {
1133
+ "const": true
1134
+ },
1135
+ "mason's tools": {
1136
+ "const": true
1137
+ },
1138
+ "painter's supplies": {
1139
+ "const": true
1140
+ },
1141
+ "potter's tools": {
1142
+ "const": true
1143
+ },
1144
+ "smith's tools": {
1145
+ "const": true
1146
+ },
1147
+ "tinker's tools": {
1148
+ "const": true
1149
+ },
1150
+ "weaver's tools": {
1151
+ "const": true
1152
+ },
1153
+ "woodcarver's tools": {
1154
+ "const": true
1155
+ },
1156
+ "disguise kit": {
1157
+ "const": true
1158
+ },
1159
+ "forgery kit": {
1160
+ "const": true
1161
+ },
1162
+ "gaming set": {
1163
+ "const": true
1164
+ },
1165
+ "herbalism kit": {
1166
+ "const": true
1167
+ },
1168
+ "musical instrument": {
1169
+ "const": true
1170
+ },
1171
+ "navigator's tools": {
1172
+ "const": true
1173
+ },
1174
+ "thieves' tools": {
1175
+ "const": true
1176
+ },
1177
+ "vehicles (land)": {
1178
+ "const": true
1179
+ },
1180
+ "vehicles (water)": {
1181
+ "const": true
1182
+ },
1183
+ "vehicles (space)": {
1184
+ "const": true
1185
+ },
1186
+ "poisoner's kit": {
1187
+ "const": true
1188
+ }
1189
+ }
1190
+ },
1191
+ "uniqueItems": true,
1192
+ "minItems": 1
1193
+ },
1194
+ "additionalFeatsArray": {
1195
+ "type": "array",
1196
+ "items": {
1197
+ "type": "object",
1198
+ "properties": {
1199
+ "any": {
1200
+ "type": "integer"
1201
+ }
1202
+ },
1203
+ "additionalProperties": true
1204
+ },
1205
+ "uniqueItems": true,
1206
+ "minItems": 1
1207
+ },
1208
+ "proficiencyTag": {
1209
+ "type": "string",
1210
+ "enum": [
1211
+ "Skill Proficiency",
1212
+ "Armor Proficiency",
1213
+ "Weapon Proficiency",
1214
+ "Tool Proficiency",
1215
+ "Language Proficiency"
1216
+ ]
1217
+ },
1218
+ "_speedVal": {
1219
+ "oneOf": [
1220
+ {
1221
+ "type": "object",
1222
+ "properties": {
1223
+ "number": {
1224
+ "type": "integer"
1225
+ },
1226
+ "condition": {
1227
+ "type": "string"
1228
+ }
1229
+ },
1230
+ "required": [
1231
+ "number",
1232
+ "condition"
1233
+ ],
1234
+ "additionalProperties": false
1235
+ },
1236
+ {
1237
+ "type": "integer"
1238
+ },
1239
+ {
1240
+ "const": true
1241
+ }
1242
+ ]
1243
+ },
1244
+ "_speedMode": {
1245
+ "type": "string",
1246
+ "enum": [
1247
+ "walk",
1248
+ "burrow",
1249
+ "climb",
1250
+ "fly",
1251
+ "swim"
1252
+ ]
1253
+ },
1254
+ "speed": {
1255
+ "oneOf": [
1256
+ {
1257
+ "type": "object",
1258
+ "properties": {
1259
+ "walk": {
1260
+ "$ref": "#/$defs/_speedVal"
1261
+ },
1262
+ "burrow": {
1263
+ "$ref": "#/$defs/_speedVal"
1264
+ },
1265
+ "climb": {
1266
+ "$ref": "#/$defs/_speedVal"
1267
+ },
1268
+ "fly": {
1269
+ "$ref": "#/$defs/_speedVal"
1270
+ },
1271
+ "canHover": {
1272
+ "const": true
1273
+ },
1274
+ "swim": {
1275
+ "$ref": "#/$defs/_speedVal"
1276
+ },
1277
+ "choose": {
1278
+ "type": "object",
1279
+ "properties": {
1280
+ "from": {
1281
+ "type": "array",
1282
+ "items": {
1283
+ "$ref": "#/$defs/_speedMode"
1284
+ },
1285
+ "uniqueItems": true,
1286
+ "minItems": 2
1287
+ },
1288
+ "amount": {
1289
+ "type": "integer"
1290
+ },
1291
+ "note": {
1292
+ "type": "string"
1293
+ }
1294
+ },
1295
+ "required": [
1296
+ "amount",
1297
+ "from"
1298
+ ],
1299
+ "additionalProperties": false
1300
+ },
1301
+ "alternate": {
1302
+ "type": "object",
1303
+ "properties": {
1304
+ "walk": {
1305
+ "type": "array",
1306
+ "items": {
1307
+ "$ref": "#/$defs/_speedVal"
1308
+ },
1309
+ "uniqueItems": true
1310
+ },
1311
+ "burrow": {
1312
+ "type": "array",
1313
+ "items": {
1314
+ "$ref": "#/$defs/_speedVal"
1315
+ },
1316
+ "uniqueItems": true
1317
+ },
1318
+ "climb": {
1319
+ "type": "array",
1320
+ "items": {
1321
+ "$ref": "#/$defs/_speedVal"
1322
+ },
1323
+ "uniqueItems": true
1324
+ },
1325
+ "fly": {
1326
+ "type": "array",
1327
+ "items": {
1328
+ "$ref": "#/$defs/_speedVal"
1329
+ },
1330
+ "uniqueItems": true
1331
+ },
1332
+ "swim": {
1333
+ "type": "array",
1334
+ "items": {
1335
+ "$ref": "#/$defs/_speedVal"
1336
+ },
1337
+ "uniqueItems": true
1338
+ }
1339
+ }
1340
+ },
1341
+ "hidden": {
1342
+ "type": "array",
1343
+ "items": {
1344
+ "$ref": "#/$defs/_speedMode"
1345
+ },
1346
+ "uniqueItems": true,
1347
+ "minItems": 1
1348
+ }
1349
+ },
1350
+ "additionalProperties": false
1351
+ },
1352
+ {
1353
+ "type": "integer"
1354
+ },
1355
+ {
1356
+ "const": "Varies"
1357
+ }
1358
+ ]
1359
+ },
1360
+ "rarity": {
1361
+ "type": "string",
1362
+ "enum": [
1363
+ "rare",
1364
+ "uncommon",
1365
+ "very rare",
1366
+ "legendary",
1367
+ "artifact",
1368
+ "common"
1369
+ ]
1370
+ },
1371
+ "prerequisite": {
1372
+ "type": "array",
1373
+ "minItems": 1,
1374
+ "items": {
1375
+ "type": "object",
1376
+ "properties": {
1377
+ "level": {
1378
+ "oneOf": [
1379
+ {
1380
+ "type": "object",
1381
+ "properties": {
1382
+ "level": {
1383
+ "type": "integer"
1384
+ },
1385
+ "class": {
1386
+ "type": "object",
1387
+ "properties": {
1388
+ "name": {
1389
+ "type": "string"
1390
+ },
1391
+ "source": {
1392
+ "type": "string"
1393
+ },
1394
+ "visible": {
1395
+ "description": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations.",
1396
+ "const": true
1397
+ }
1398
+ },
1399
+ "required": [
1400
+ "name"
1401
+ ],
1402
+ "additionalProperties": false
1403
+ },
1404
+ "subclass": {
1405
+ "type": "object",
1406
+ "properties": {
1407
+ "name": {
1408
+ "type": "string"
1409
+ },
1410
+ "source": {
1411
+ "type": "string"
1412
+ },
1413
+ "visible": {
1414
+ "description": "Governs whether or not the class name is visible in the list display/prerequisite line. *Not* recommended for features which implicitly carry a class restriction, such as Eldritch Invocations.",
1415
+ "const": true
1416
+ }
1417
+ },
1418
+ "required": [
1419
+ "name"
1420
+ ],
1421
+ "additionalProperties": false
1422
+ }
1423
+ },
1424
+ "required": [
1425
+ "level"
1426
+ ],
1427
+ "additionalProperties": false
1428
+ },
1429
+ {
1430
+ "type": "integer",
1431
+ "minimum": 1
1432
+ }
1433
+ ]
1434
+ },
1435
+ "pact": {
1436
+ "type": "string",
1437
+ "enum": [
1438
+ "Chain",
1439
+ "Tome",
1440
+ "Blade",
1441
+ "Talisman"
1442
+ ]
1443
+ },
1444
+ "patron": {
1445
+ "type": "string",
1446
+ "enum": [
1447
+ "The Archfey",
1448
+ "The Fiend",
1449
+ "The Great Old One",
1450
+ "The Hexblade",
1451
+ "The Raven Queen",
1452
+ "The Seeker"
1453
+ ]
1454
+ },
1455
+ "spell": {
1456
+ "type": "array",
1457
+ "items": {
1458
+ "$ref": "entry.json"
1459
+ }
1460
+ },
1461
+ "feat": {
1462
+ "type": "array",
1463
+ "items": {
1464
+ "$ref": "entry.json"
1465
+ }
1466
+ },
1467
+ "feature": {
1468
+ "type": "array",
1469
+ "items": {
1470
+ "$ref": "entry.json"
1471
+ }
1472
+ },
1473
+ "item": {
1474
+ "type": "array",
1475
+ "items": {
1476
+ "$ref": "entry.json"
1477
+ }
1478
+ },
1479
+ "other": {
1480
+ "description": "A free text prerequisite",
1481
+ "type": "string"
1482
+ },
1483
+ "otherSummary": {
1484
+ "description": "A free text prerequisite, with a shortened form for list display.",
1485
+ "type": "object",
1486
+ "properties": {
1487
+ "entry": {
1488
+ "type": "string"
1489
+ },
1490
+ "entrySummary": {
1491
+ "description": "Used in short/list displays",
1492
+ "type": "string"
1493
+ }
1494
+ },
1495
+ "required": [
1496
+ "entry",
1497
+ "entrySummary"
1498
+ ]
1499
+ },
1500
+ "race": {
1501
+ "type": "array",
1502
+ "items": {
1503
+ "type": "object",
1504
+ "properties": {
1505
+ "name": {
1506
+ "type": "string"
1507
+ },
1508
+ "displayEntry": {
1509
+ "description": "Optional long-form name to be used in the rendered entity.",
1510
+ "type": "string"
1511
+ },
1512
+ "subrace": {
1513
+ "type": "string"
1514
+ }
1515
+ },
1516
+ "required": [
1517
+ "name"
1518
+ ],
1519
+ "additionalProperties": false
1520
+ }
1521
+ },
1522
+ "background": {
1523
+ "type": "array",
1524
+ "items": {
1525
+ "type": "object",
1526
+ "properties": {
1527
+ "name": {
1528
+ "type": "string"
1529
+ },
1530
+ "displayEntry": {
1531
+ "description": "Optional long-form name to be used in the rendered entity.",
1532
+ "type": "string"
1533
+ }
1534
+ },
1535
+ "required": [
1536
+ "name"
1537
+ ],
1538
+ "additionalProperties": false
1539
+ }
1540
+ },
1541
+ "ability": {
1542
+ "type": "array",
1543
+ "items": {
1544
+ "type": "object",
1545
+ "properties": {
1546
+ "str": {
1547
+ "type": "integer"
1548
+ },
1549
+ "dex": {
1550
+ "type": "integer"
1551
+ },
1552
+ "con": {
1553
+ "type": "integer"
1554
+ },
1555
+ "int": {
1556
+ "type": "integer"
1557
+ },
1558
+ "wis": {
1559
+ "type": "integer"
1560
+ },
1561
+ "cha": {
1562
+ "type": "integer"
1563
+ }
1564
+ },
1565
+ "additionalProperties": false
1566
+ }
1567
+ },
1568
+ "spellcasting": {
1569
+ "const": true
1570
+ },
1571
+ "spellcasting2020": {
1572
+ "description": "Renders with the updated text found in UA2020: Feats",
1573
+ "const": true
1574
+ },
1575
+ "psionics": {
1576
+ "const": true
1577
+ },
1578
+ "proficiency": {
1579
+ "type": "array",
1580
+ "items": {
1581
+ "type": "object",
1582
+ "properties": {
1583
+ "armor": {
1584
+ "type": "string",
1585
+ "enum": [
1586
+ "light",
1587
+ "medium",
1588
+ "heavy"
1589
+ ]
1590
+ },
1591
+ "weapon": {
1592
+ "type": "string",
1593
+ "enum": [
1594
+ "simple",
1595
+ "martial"
1596
+ ]
1597
+ }
1598
+ },
1599
+ "additionalProperties": false
1600
+ }
1601
+ },
1602
+ "alignment": {
1603
+ "type": "array",
1604
+ "items": {
1605
+ "$ref": "util.json#/$defs/alignment"
1606
+ }
1607
+ },
1608
+ "campaign": {
1609
+ "type": "array",
1610
+ "items": {
1611
+ "type": "string",
1612
+ "enum": [
1613
+ "Dragonlance"
1614
+ ]
1615
+ }
1616
+ },
1617
+ "group": {
1618
+ "type": "array",
1619
+ "items": {
1620
+ "type": "string",
1621
+ "enum": [
1622
+ "expert",
1623
+ "mage",
1624
+ "priest",
1625
+ "warrior"
1626
+ ]
1627
+ }
1628
+ },
1629
+ "note": {
1630
+ "description": "An additional note that accompanies the proficiencies, but is not part of them.",
1631
+ "type": "string"
1632
+ }
1633
+ },
1634
+ "additionalProperties": false
1635
+ }
1636
+ },
1637
+ "creatureType": {
1638
+ "type": "string",
1639
+ "enum": [
1640
+ "aberration",
1641
+ "beast",
1642
+ "celestial",
1643
+ "construct",
1644
+ "dragon",
1645
+ "elemental",
1646
+ "fey",
1647
+ "fiend",
1648
+ "giant",
1649
+ "humanoid",
1650
+ "monstrosity",
1651
+ "ooze",
1652
+ "plant",
1653
+ "undead"
1654
+ ]
1655
+ },
1656
+ "alignment": {
1657
+ "type": "string",
1658
+ "description": "L: Lawful\n N: Neutral\n NX: Neutral (law/chaos axis)\n NY: Neutral (good/evil axis)\n C: Chaotic\n G: Good\n E: Evil\n U: Unaligned\n A: Any",
1659
+ "enum": [
1660
+ "L",
1661
+ "N",
1662
+ "NX",
1663
+ "NY",
1664
+ "C",
1665
+ "G",
1666
+ "E",
1667
+ "U",
1668
+ "A"
1669
+ ]
1670
+ },
1671
+ "size": {
1672
+ "type": "string",
1673
+ "description": "F: Fine\n D: Diminutive\n T: Tiny\n S: Small\n M: Medium\n L: Large\n H: Huge\n G: Gargantuan\n C: Colossal\n V: Varies.",
1674
+ "enum": [
1675
+ "F",
1676
+ "D",
1677
+ "T",
1678
+ "S",
1679
+ "M",
1680
+ "L",
1681
+ "H",
1682
+ "G",
1683
+ "C",
1684
+ "V"
1685
+ ]
1686
+ },
1687
+ "dataCondition": {
1688
+ "type": "string",
1689
+ "enum": [
1690
+ "blinded",
1691
+ "charmed",
1692
+ "deafened",
1693
+ "exhaustion",
1694
+ "frightened",
1695
+ "grappled",
1696
+ "incapacitated",
1697
+ "invisible",
1698
+ "paralyzed",
1699
+ "petrified",
1700
+ "poisoned",
1701
+ "prone",
1702
+ "restrained",
1703
+ "stunned",
1704
+ "unconscious",
1705
+ "disease"
1706
+ ]
1707
+ },
1708
+ "dataDamageType": {
1709
+ "type": "string",
1710
+ "enum": [
1711
+ "acid",
1712
+ "bludgeoning",
1713
+ "cold",
1714
+ "fire",
1715
+ "force",
1716
+ "lightning",
1717
+ "necrotic",
1718
+ "piercing",
1719
+ "poison",
1720
+ "psychic",
1721
+ "radiant",
1722
+ "slashing",
1723
+ "thunder"
1724
+ ]
1725
+ },
1726
+ "dataOptionalfeatureType": {
1727
+ "type": "string",
1728
+ "description": "AF: Alchemical Formula\n AI: Artificer Infusion\n AS: Arcane Shot\n AS:V1-UA: Arcane Shot, V1 (UA)\n AS:V2-UA: Arcane Shot, V2 (UA)\n ED: Elemental Discipline\n EI: Eldritch Invocation\n FS:B: Fighting Style; Bard\n FS:F: Fighting Style; Fighter\n FS:P: Fighting Style; Paladin\n FS:R: Fighting Style; Ranger\n IWM:A: Infernal War Machine Upgrade, Armor\n IWM:G: Infernal War Machine Upgrade, Gadget\n IWM:W: Infernal War Machine Variant, Weapon\n MM: Metamagic\n MV: Maneuver\n MV:B: Maneuver, Battle Master\n MV:C2-UA: Maneuver, Cavalier V2 (UA)\n OR: Onomancy Resonant\n OTH: Other\n PB: Pact Boon\n RN: Rune Knight Rune\n SHP:F: Ship Upgrade, Figurehead\n SHP:H: Ship Upgrade, Hull\n SHP:M: Ship Upgrade, Movement\n SHP:O: Ship Upgrade, Miscellaneous\n SHP:W: Ship Upgrade, Weapon",
1729
+ "enum": [
1730
+ "ED",
1731
+ "EI",
1732
+ "MM",
1733
+ "MV",
1734
+ "MV:B",
1735
+ "OTH",
1736
+ "FS:F",
1737
+ "FS:B",
1738
+ "FS:R",
1739
+ "FS:P",
1740
+ "MV:C2-UA",
1741
+ "AS:V1-UA",
1742
+ "AS:V2-UA",
1743
+ "AS",
1744
+ "PB",
1745
+ "AI",
1746
+ "SHP:H",
1747
+ "SHP:M",
1748
+ "SHP:W",
1749
+ "SHP:F",
1750
+ "SHP:O",
1751
+ "IWM:W",
1752
+ "IWM:A",
1753
+ "IWM:G",
1754
+ "OR",
1755
+ "RN",
1756
+ "AF"
1757
+ ]
1758
+ },
1759
+ "damageImmunityArray": {
1760
+ "oneOf": [
1761
+ {
1762
+ "type": "array",
1763
+ "items": {
1764
+ "oneOf": [
1765
+ {
1766
+ "$ref": "#/$defs/dataDamageType"
1767
+ },
1768
+ {
1769
+ "type": "object",
1770
+ "properties": {
1771
+ "special": {
1772
+ "type": "string"
1773
+ }
1774
+ },
1775
+ "additionalProperties": false,
1776
+ "required": [
1777
+ "special"
1778
+ ]
1779
+ },
1780
+ {
1781
+ "type": "object",
1782
+ "properties": {
1783
+ "preNote": {
1784
+ "type": "string"
1785
+ },
1786
+ "immune": {
1787
+ "$ref": "#/$defs/damageImmunityArray"
1788
+ },
1789
+ "note": {
1790
+ "type": "string"
1791
+ },
1792
+ "cond": {
1793
+ "const": true
1794
+ }
1795
+ },
1796
+ "additionalProperties": false,
1797
+ "required": [
1798
+ "immune"
1799
+ ]
1800
+ }
1801
+ ]
1802
+ },
1803
+ "uniqueItems": true,
1804
+ "minItems": 1
1805
+ },
1806
+ {
1807
+ "type": "null"
1808
+ }
1809
+ ]
1810
+ },
1811
+ "damageImmunityArrayPlayer": {
1812
+ "type": "array",
1813
+ "items": {
1814
+ "oneOf": [
1815
+ {
1816
+ "$ref": "#/$defs/dataDamageType"
1817
+ },
1818
+ {
1819
+ "type": "object",
1820
+ "properties": {
1821
+ "choose": {
1822
+ "type": "object",
1823
+ "properties": {
1824
+ "from": {
1825
+ "$ref": "#/$defs/damageImmunityArrayPlayer"
1826
+ }
1827
+ },
1828
+ "additionalProperties": false,
1829
+ "required": [
1830
+ "from"
1831
+ ]
1832
+ }
1833
+ }
1834
+ }
1835
+ ]
1836
+ },
1837
+ "uniqueItems": true
1838
+ },
1839
+ "damageResistArray": {
1840
+ "oneOf": [
1841
+ {
1842
+ "type": "array",
1843
+ "items": {
1844
+ "oneOf": [
1845
+ {
1846
+ "$ref": "#/$defs/dataDamageType"
1847
+ },
1848
+ {
1849
+ "type": "object",
1850
+ "properties": {
1851
+ "special": {
1852
+ "type": "string"
1853
+ }
1854
+ },
1855
+ "additionalProperties": false,
1856
+ "required": [
1857
+ "special"
1858
+ ]
1859
+ },
1860
+ {
1861
+ "type": "object",
1862
+ "properties": {
1863
+ "preNote": {
1864
+ "type": "string"
1865
+ },
1866
+ "resist": {
1867
+ "$ref": "#/$defs/damageResistArray"
1868
+ },
1869
+ "note": {
1870
+ "type": "string"
1871
+ },
1872
+ "cond": {
1873
+ "const": true
1874
+ }
1875
+ },
1876
+ "additionalProperties": false,
1877
+ "required": [
1878
+ "resist"
1879
+ ]
1880
+ }
1881
+ ]
1882
+ },
1883
+ "uniqueItems": true,
1884
+ "minItems": 1
1885
+ },
1886
+ {
1887
+ "type": "null"
1888
+ }
1889
+ ]
1890
+ },
1891
+ "damageResistArrayPlayer": {
1892
+ "type": "array",
1893
+ "items": {
1894
+ "oneOf": [
1895
+ {
1896
+ "$ref": "#/$defs/dataDamageType"
1897
+ },
1898
+ {
1899
+ "type": "object",
1900
+ "properties": {
1901
+ "choose": {
1902
+ "type": "object",
1903
+ "properties": {
1904
+ "from": {
1905
+ "$ref": "#/$defs/damageResistArrayPlayer"
1906
+ }
1907
+ },
1908
+ "additionalProperties": false,
1909
+ "required": [
1910
+ "from"
1911
+ ]
1912
+ }
1913
+ }
1914
+ }
1915
+ ]
1916
+ },
1917
+ "uniqueItems": true,
1918
+ "minItems": 1
1919
+ },
1920
+ "damageVulnerabilityArray": {
1921
+ "oneOf": [
1922
+ {
1923
+ "type": "array",
1924
+ "items": {
1925
+ "oneOf": [
1926
+ {
1927
+ "$ref": "#/$defs/dataDamageType"
1928
+ },
1929
+ {
1930
+ "type": "object",
1931
+ "properties": {
1932
+ "special": {
1933
+ "type": "string"
1934
+ }
1935
+ },
1936
+ "additionalProperties": false,
1937
+ "required": [
1938
+ "special"
1939
+ ]
1940
+ },
1941
+ {
1942
+ "type": "object",
1943
+ "properties": {
1944
+ "preNote": {
1945
+ "type": "string"
1946
+ },
1947
+ "vulnerable": {
1948
+ "$ref": "#/$defs/damageVulnerabilityArray"
1949
+ },
1950
+ "note": {
1951
+ "type": "string"
1952
+ },
1953
+ "cond": {
1954
+ "const": true
1955
+ }
1956
+ },
1957
+ "additionalProperties": false,
1958
+ "required": [
1959
+ "vulnerable"
1960
+ ]
1961
+ }
1962
+ ]
1963
+ },
1964
+ "uniqueItems": true
1965
+ },
1966
+ {
1967
+ "type": "null"
1968
+ }
1969
+ ]
1970
+ },
1971
+ "damageVulnerabilityArrayPlayer": {
1972
+ "type": "array",
1973
+ "items": {
1974
+ "oneOf": [
1975
+ {
1976
+ "$ref": "#/$defs/dataDamageType"
1977
+ },
1978
+ {
1979
+ "type": "object",
1980
+ "properties": {
1981
+ "choose": {
1982
+ "type": "object",
1983
+ "properties": {
1984
+ "from": {
1985
+ "$ref": "#/$defs/damageVulnerabilityArrayPlayer"
1986
+ }
1987
+ },
1988
+ "additionalProperties": false,
1989
+ "required": [
1990
+ "from"
1991
+ ]
1992
+ }
1993
+ }
1994
+ }
1995
+ ]
1996
+ },
1997
+ "uniqueItems": true,
1998
+ "minItems": 1
1999
+ },
2000
+ "conditionImmunityArray": {
2001
+ "oneOf": [
2002
+ {
2003
+ "type": "array",
2004
+ "items": {
2005
+ "oneOf": [
2006
+ {
2007
+ "$ref": "#/$defs/dataCondition"
2008
+ },
2009
+ {
2010
+ "type": "object",
2011
+ "properties": {
2012
+ "special": {
2013
+ "type": "string"
2014
+ }
2015
+ },
2016
+ "additionalProperties": false,
2017
+ "required": [
2018
+ "special"
2019
+ ]
2020
+ },
2021
+ {
2022
+ "type": "object",
2023
+ "properties": {
2024
+ "preNote": {
2025
+ "type": "string"
2026
+ },
2027
+ "conditionImmune": {
2028
+ "$ref": "#/$defs/conditionImmunityArray"
2029
+ },
2030
+ "note": {
2031
+ "type": "string"
2032
+ }
2033
+ },
2034
+ "additionalProperties": false,
2035
+ "required": [
2036
+ "conditionImmune"
2037
+ ]
2038
+ }
2039
+ ]
2040
+ },
2041
+ "uniqueItems": true,
2042
+ "minItems": 1
2043
+ },
2044
+ {
2045
+ "type": "null"
2046
+ }
2047
+ ]
2048
+ },
2049
+ "conditionImmunityArrayPlayer": {
2050
+ "type": "array",
2051
+ "items": {
2052
+ "oneOf": [
2053
+ {
2054
+ "$ref": "#/$defs/dataCondition"
2055
+ },
2056
+ {
2057
+ "type": "object",
2058
+ "properties": {
2059
+ "choose": {
2060
+ "type": "object",
2061
+ "properties": {
2062
+ "from": {
2063
+ "$ref": "#/$defs/conditionImmunityArrayPlayer"
2064
+ }
2065
+ },
2066
+ "additionalProperties": false,
2067
+ "required": [
2068
+ "from"
2069
+ ]
2070
+ }
2071
+ }
2072
+ }
2073
+ ]
2074
+ },
2075
+ "uniqueItems": true,
2076
+ "minItems": 1
2077
+ },
2078
+ "resourcesArray": {
2079
+ "type": "array",
2080
+ "items": {
2081
+ "type": "object",
2082
+ "properties": {
2083
+ "name": {
2084
+ "type": "string"
2085
+ },
2086
+ "type": {
2087
+ "type": "string"
2088
+ },
2089
+ "recharge": {
2090
+ "type": "string"
2091
+ },
2092
+ "count": {
2093
+ "type": [
2094
+ "integer",
2095
+ "string"
2096
+ ]
2097
+ },
2098
+ "number": {
2099
+ "type": [
2100
+ "integer",
2101
+ "string"
2102
+ ]
2103
+ },
2104
+ "faces": {
2105
+ "type": [
2106
+ "integer",
2107
+ "string"
2108
+ ]
2109
+ }
2110
+ },
2111
+ "required": [
2112
+ "name",
2113
+ "type"
2114
+ ]
2115
+ },
2116
+ "uniqueItems": true
2117
+ },
2118
+ "sensesArray": {
2119
+ "type": "array",
2120
+ "items": {
2121
+ "type": "object",
2122
+ "propertyNames": {
2123
+ "enum": [
2124
+ "blindsight",
2125
+ "darkvision",
2126
+ "tremorsense",
2127
+ "truesight"
2128
+ ]
2129
+ },
2130
+ "additionalProperties": {
2131
+ "type": "integer"
2132
+ },
2133
+ "minProperties": 1
2134
+ },
2135
+ "uniqueItems": true
2136
+ },
2137
+ "consumesObject": {
2138
+ "type": "object",
2139
+ "properties": {
2140
+ "name": {
2141
+ "type": "string",
2142
+ "enum": [
2143
+ "Superiority Dice",
2144
+ "Ki",
2145
+ "Channel Divinity",
2146
+ "Psionic Energy Dice",
2147
+ "Wild Shape",
2148
+ "Sorcery Points",
2149
+ "Arcane Shot"
2150
+ ]
2151
+ },
2152
+ "amount": {
2153
+ "type": "integer"
2154
+ }
2155
+ },
2156
+ "required": [
2157
+ "name"
2158
+ ],
2159
+ "additionalProperties": false
2160
+ },
2161
+ "dataDamageTags": {
2162
+ "type": "string",
2163
+ "description": "A: Acid\n B: Bludgeoning\n C: Cold\n F: Fire\n O: Force\n L: Lightning\n N: Necrotic\n P: Piercing\n I: Poison\n Y: Psychic\n R: Radiant\n S: Slashing\n T: Thunder",
2164
+ "enum": [
2165
+ "A",
2166
+ "B",
2167
+ "C",
2168
+ "F",
2169
+ "O",
2170
+ "L",
2171
+ "N",
2172
+ "P",
2173
+ "I",
2174
+ "Y",
2175
+ "R",
2176
+ "S",
2177
+ "T"
2178
+ ]
2179
+ },
2180
+ "genericFluffArrayItemData": {
2181
+ "type": "object",
2182
+ "properties": {
2183
+ "name": {
2184
+ "type": "string"
2185
+ },
2186
+ "source": {
2187
+ "type": "string"
2188
+ },
2189
+ "images": {
2190
+ "oneOf": [
2191
+ {
2192
+ "type": "array",
2193
+ "items": {
2194
+ "$ref": "entry.json#/$defs/entryImage"
2195
+ }
2196
+ },
2197
+ {
2198
+ "type": "null"
2199
+ }
2200
+ ]
2201
+ },
2202
+ "entries": {
2203
+ "type": "array",
2204
+ "items": {
2205
+ "$ref": "entry.json"
2206
+ }
2207
+ }
2208
+ },
2209
+ "additionalProperties": false
2210
+ },
2211
+ "genericFluffArray": {
2212
+ "type": "array",
2213
+ "minItems": 1,
2214
+ "uniqueItems": true,
2215
+ "items": {
2216
+ "anyOf": [
2217
+ {
2218
+ "type": "object",
2219
+ "properties": {
2220
+ "name": {
2221
+ "type": "string"
2222
+ },
2223
+ "source": {
2224
+ "type": "string"
2225
+ },
2226
+ "images": {
2227
+ "oneOf": [
2228
+ {
2229
+ "type": "array",
2230
+ "items": {
2231
+ "$ref": "entry.json#/$defs/entryImage"
2232
+ }
2233
+ },
2234
+ {
2235
+ "type": "null"
2236
+ }
2237
+ ]
2238
+ },
2239
+ "entries": {
2240
+ "type": "array",
2241
+ "items": {
2242
+ "$ref": "entry.json"
2243
+ }
2244
+ }
2245
+ },
2246
+ "additionalProperties": false,
2247
+ "required": [
2248
+ "name",
2249
+ "source"
2250
+ ]
2251
+ },
2252
+ {
2253
+ "type": "object",
2254
+ "$comment": "This is a custom pre-processor tag, which merges together the array of objects into one. This allows proper inheritance, which JSON schema don't really do.",
2255
+ "properties": {
2256
+ "name": {
2257
+ "type": "string"
2258
+ },
2259
+ "source": {
2260
+ "type": "string"
2261
+ },
2262
+ "images": {
2263
+ "oneOf": [
2264
+ {
2265
+ "type": "array",
2266
+ "items": {
2267
+ "$ref": "entry.json#/$defs/entryImage"
2268
+ }
2269
+ },
2270
+ {
2271
+ "type": "null"
2272
+ }
2273
+ ]
2274
+ },
2275
+ "entries": {
2276
+ "type": "array",
2277
+ "items": {
2278
+ "$ref": "entry.json"
2279
+ }
2280
+ },
2281
+ "_copy": {
2282
+ "type": "object",
2283
+ "properties": {
2284
+ "name": {
2285
+ "type": "string"
2286
+ },
2287
+ "source": {
2288
+ "type": "string"
2289
+ },
2290
+ "pantheon": {
2291
+ "description": "Used in deity data",
2292
+ "type": "string"
2293
+ },
2294
+ "shortName": {
2295
+ "description": "Used in subclass data",
2296
+ "type": "string"
2297
+ },
2298
+ "className": {
2299
+ "description": "Used in subclass data",
2300
+ "type": "string"
2301
+ },
2302
+ "classSource": {
2303
+ "description": "Used in subclass data",
2304
+ "type": "string"
2305
+ },
2306
+ "_mod": {
2307
+ "$ref": "#/$defs/_modObject"
2308
+ },
2309
+ "_trait": {
2310
+ "type": "object",
2311
+ "properties": {
2312
+ "name": {
2313
+ "type": "string"
2314
+ },
2315
+ "source": {
2316
+ "type": "string"
2317
+ }
2318
+ },
2319
+ "required": [
2320
+ "name",
2321
+ "source"
2322
+ ]
2323
+ },
2324
+ "_preserve": {
2325
+ "type": "object",
2326
+ "patternProperties": {
2327
+ ".*": {
2328
+ "const": true
2329
+ }
2330
+ }
2331
+ }
2332
+ },
2333
+ "required": [
2334
+ "name",
2335
+ "source"
2336
+ ],
2337
+ "additionalProperties": false
2338
+ }
2339
+ },
2340
+ "additionalProperties": false,
2341
+ "required": [
2342
+ "_copy"
2343
+ ]
2344
+ }
2345
+ ]
2346
+ }
2347
+ },
2348
+ "tagsConditions": {
2349
+ "type": "array",
2350
+ "uniqueItems": true,
2351
+ "items": {
2352
+ "type": "string",
2353
+ "enum": [
2354
+ "blinded",
2355
+ "charmed",
2356
+ "deafened",
2357
+ "exhaustion",
2358
+ "frightened",
2359
+ "grappled",
2360
+ "incapacitated",
2361
+ "invisible",
2362
+ "paralyzed",
2363
+ "petrified",
2364
+ "poisoned",
2365
+ "prone",
2366
+ "restrained",
2367
+ "stunned",
2368
+ "unconscious"
2369
+ ]
2370
+ }
2371
+ },
2372
+ "copyModifier": {
2373
+ "anyOf": [
2374
+ {
2375
+ "type": "object",
2376
+ "properties": {
2377
+ "mode": {
2378
+ "const": "replaceTxt"
2379
+ },
2380
+ "replace": {
2381
+ "type": "string"
2382
+ },
2383
+ "with": {
2384
+ "type": "string"
2385
+ },
2386
+ "flags": {
2387
+ "type": "string"
2388
+ },
2389
+ "props": {
2390
+ "description": "If unspecified, defaults to `[null, \"entries\", \"headerEntries\", \"footerEntries\"]`. To apply to _any_ string, including those outside of sub-properties (for instance, when trying to replace text in an array of plain strings), include `null` as one of the props (i.e. `\"props\": [null]`)",
2391
+ "type": "array",
2392
+ "items": {
2393
+ "type": [
2394
+ "string",
2395
+ "null"
2396
+ ]
2397
+ }
2398
+ }
2399
+ },
2400
+ "required": [
2401
+ "replace",
2402
+ "with"
2403
+ ],
2404
+ "additionalProperties": false
2405
+ },
2406
+ {
2407
+ "type": "object",
2408
+ "properties": {
2409
+ "mode": {
2410
+ "const": "replaceName"
2411
+ },
2412
+ "replace": {
2413
+ "type": "string"
2414
+ },
2415
+ "with": {
2416
+ "type": "string"
2417
+ },
2418
+ "flags": {
2419
+ "type": "string"
2420
+ }
2421
+ },
2422
+ "required": [
2423
+ "replace",
2424
+ "with"
2425
+ ],
2426
+ "additionalProperties": false
2427
+ },
2428
+ {
2429
+ "type": "object",
2430
+ "properties": {
2431
+ "mode": {
2432
+ "const": "appendStr"
2433
+ },
2434
+ "str": {
2435
+ "type": "string"
2436
+ },
2437
+ "joiner": {
2438
+ "type": "string"
2439
+ }
2440
+ },
2441
+ "required": [
2442
+ "str"
2443
+ ],
2444
+ "additionalProperties": false
2445
+ },
2446
+ {
2447
+ "type": "object",
2448
+ "properties": {
2449
+ "mode": {
2450
+ "const": "prependArr"
2451
+ },
2452
+ "items": {
2453
+ "anyOf": [
2454
+ {
2455
+ "type": "string"
2456
+ },
2457
+ {
2458
+ "type": "object"
2459
+ },
2460
+ {
2461
+ "type": "array"
2462
+ }
2463
+ ]
2464
+ }
2465
+ },
2466
+ "required": [
2467
+ "items"
2468
+ ],
2469
+ "additionalProperties": false
2470
+ },
2471
+ {
2472
+ "type": "object",
2473
+ "properties": {
2474
+ "mode": {
2475
+ "const": "appendArr"
2476
+ },
2477
+ "items": {
2478
+ "anyOf": [
2479
+ {
2480
+ "type": "string"
2481
+ },
2482
+ {
2483
+ "type": "object"
2484
+ },
2485
+ {
2486
+ "type": "array"
2487
+ }
2488
+ ]
2489
+ }
2490
+ },
2491
+ "required": [
2492
+ "items"
2493
+ ],
2494
+ "additionalProperties": false
2495
+ },
2496
+ {
2497
+ "type": "object",
2498
+ "properties": {
2499
+ "mode": {
2500
+ "const": "appendIfNotExistsArr"
2501
+ },
2502
+ "items": {
2503
+ "anyOf": [
2504
+ {
2505
+ "type": "string"
2506
+ },
2507
+ {
2508
+ "type": "object"
2509
+ },
2510
+ {
2511
+ "type": "array"
2512
+ }
2513
+ ]
2514
+ }
2515
+ },
2516
+ "required": [
2517
+ "items"
2518
+ ],
2519
+ "additionalProperties": false
2520
+ },
2521
+ {
2522
+ "type": "object",
2523
+ "properties": {
2524
+ "mode": {
2525
+ "const": "replaceArr"
2526
+ },
2527
+ "replace": {
2528
+ "oneOf": [
2529
+ {
2530
+ "type": "string"
2531
+ },
2532
+ {
2533
+ "type": "object",
2534
+ "properties": {
2535
+ "index": {
2536
+ "type": "integer"
2537
+ }
2538
+ },
2539
+ "required": [
2540
+ "index"
2541
+ ],
2542
+ "additionalProperties": false
2543
+ },
2544
+ {
2545
+ "type": "object",
2546
+ "properties": {
2547
+ "regex": {
2548
+ "type": "string"
2549
+ },
2550
+ "flags": {
2551
+ "type": "string"
2552
+ }
2553
+ },
2554
+ "required": [
2555
+ "regex"
2556
+ ],
2557
+ "additionalProperties": false
2558
+ }
2559
+ ]
2560
+ },
2561
+ "items": {
2562
+ "anyOf": [
2563
+ {
2564
+ "type": "object"
2565
+ },
2566
+ {
2567
+ "type": "array"
2568
+ }
2569
+ ]
2570
+ }
2571
+ },
2572
+ "required": [
2573
+ "replace",
2574
+ "items"
2575
+ ],
2576
+ "additionalProperties": false
2577
+ },
2578
+ {
2579
+ "type": "object",
2580
+ "properties": {
2581
+ "mode": {
2582
+ "const": "replaceOrAppendArr"
2583
+ },
2584
+ "replace": {
2585
+ "oneOf": [
2586
+ {
2587
+ "type": "string"
2588
+ },
2589
+ {
2590
+ "type": "object",
2591
+ "properties": {
2592
+ "index": {
2593
+ "type": "integer"
2594
+ }
2595
+ },
2596
+ "required": [
2597
+ "index"
2598
+ ],
2599
+ "additionalProperties": false
2600
+ },
2601
+ {
2602
+ "type": "object",
2603
+ "properties": {
2604
+ "regex": {
2605
+ "type": "string"
2606
+ },
2607
+ "flags": {
2608
+ "type": "string"
2609
+ }
2610
+ },
2611
+ "required": [
2612
+ "regex"
2613
+ ],
2614
+ "additionalProperties": false
2615
+ }
2616
+ ]
2617
+ },
2618
+ "items": {
2619
+ "anyOf": [
2620
+ {
2621
+ "type": "object"
2622
+ },
2623
+ {
2624
+ "type": "array"
2625
+ }
2626
+ ]
2627
+ }
2628
+ },
2629
+ "required": [
2630
+ "replace",
2631
+ "items"
2632
+ ],
2633
+ "additionalProperties": false
2634
+ },
2635
+ {
2636
+ "type": "object",
2637
+ "properties": {
2638
+ "mode": {
2639
+ "const": "insertArr"
2640
+ },
2641
+ "index": {
2642
+ "type": "integer"
2643
+ },
2644
+ "items": {
2645
+ "anyOf": [
2646
+ {
2647
+ "type": "object"
2648
+ },
2649
+ {
2650
+ "type": "string"
2651
+ },
2652
+ {
2653
+ "type": "array"
2654
+ }
2655
+ ]
2656
+ }
2657
+ },
2658
+ "required": [
2659
+ "index",
2660
+ "items"
2661
+ ],
2662
+ "additionalProperties": false
2663
+ },
2664
+ {
2665
+ "type": "object",
2666
+ "properties": {
2667
+ "mode": {
2668
+ "const": "removeArr"
2669
+ },
2670
+ "names": {
2671
+ "anyOf": [
2672
+ {
2673
+ "type": "string"
2674
+ },
2675
+ {
2676
+ "type": "array"
2677
+ }
2678
+ ]
2679
+ },
2680
+ "items": {
2681
+ "anyOf": [
2682
+ {
2683
+ "type": "string"
2684
+ },
2685
+ {
2686
+ "type": "array"
2687
+ }
2688
+ ]
2689
+ },
2690
+ "force": {
2691
+ "const": true
2692
+ }
2693
+ },
2694
+ "additionalProperties": false
2695
+ },
2696
+ {
2697
+ "type": "object",
2698
+ "properties": {
2699
+ "mode": {
2700
+ "const": "calculateProp"
2701
+ },
2702
+ "prop": {
2703
+ "type": "string"
2704
+ },
2705
+ "formula": {
2706
+ "type": "string"
2707
+ }
2708
+ },
2709
+ "required": [
2710
+ "prop",
2711
+ "formula"
2712
+ ],
2713
+ "additionalProperties": false
2714
+ },
2715
+ {
2716
+ "type": "object",
2717
+ "properties": {
2718
+ "mode": {
2719
+ "const": "replaceSpells"
2720
+ },
2721
+ "spells": {
2722
+ "type": "object"
2723
+ },
2724
+ "daily": {
2725
+ "type": "object"
2726
+ }
2727
+ },
2728
+ "required": [
2729
+ "mode"
2730
+ ],
2731
+ "additionalProperties": false
2732
+ },
2733
+ {
2734
+ "type": "object",
2735
+ "properties": {
2736
+ "mode": {
2737
+ "const": "removeSpells"
2738
+ },
2739
+ "spells": {
2740
+ "type": "object"
2741
+ },
2742
+ "daily": {
2743
+ "type": "object"
2744
+ }
2745
+ },
2746
+ "required": [
2747
+ "mode"
2748
+ ],
2749
+ "additionalProperties": false
2750
+ },
2751
+ {
2752
+ "type": "object",
2753
+ "properties": {
2754
+ "mode": {
2755
+ "const": "addSpells"
2756
+ },
2757
+ "spells": {
2758
+ "type": "object"
2759
+ },
2760
+ "will": {
2761
+ "type": "array"
2762
+ },
2763
+ "daily": {
2764
+ "type": "object"
2765
+ },
2766
+ "weekly": {
2767
+ "type": "object"
2768
+ },
2769
+ "yearly": {
2770
+ "type": "object"
2771
+ }
2772
+ },
2773
+ "required": [
2774
+ "mode"
2775
+ ],
2776
+ "additionalProperties": false
2777
+ },
2778
+ {
2779
+ "type": "object",
2780
+ "properties": {
2781
+ "mode": {
2782
+ "const": "addSkills"
2783
+ },
2784
+ "skills": {
2785
+ "type": "object"
2786
+ }
2787
+ },
2788
+ "required": [
2789
+ "mode",
2790
+ "skills"
2791
+ ],
2792
+ "additionalProperties": false
2793
+ },
2794
+ {
2795
+ "type": "object",
2796
+ "properties": {
2797
+ "mode": {
2798
+ "const": "addSaves"
2799
+ },
2800
+ "saves": {
2801
+ "type": "object"
2802
+ }
2803
+ },
2804
+ "required": [
2805
+ "mode",
2806
+ "saves"
2807
+ ],
2808
+ "additionalProperties": false
2809
+ },
2810
+ {
2811
+ "type": "object",
2812
+ "properties": {
2813
+ "mode": {
2814
+ "const": "addAllSkills"
2815
+ },
2816
+ "skills": {
2817
+ "type": "integer"
2818
+ }
2819
+ },
2820
+ "required": [
2821
+ "mode",
2822
+ "skills"
2823
+ ],
2824
+ "additionalProperties": false
2825
+ },
2826
+ {
2827
+ "type": "object",
2828
+ "properties": {
2829
+ "mode": {
2830
+ "const": "addAllSaves"
2831
+ },
2832
+ "saves": {
2833
+ "type": "integer"
2834
+ }
2835
+ },
2836
+ "required": [
2837
+ "mode",
2838
+ "saves"
2839
+ ],
2840
+ "additionalProperties": false
2841
+ },
2842
+ {
2843
+ "type": "object",
2844
+ "properties": {
2845
+ "mode": {
2846
+ "const": "addSenses"
2847
+ },
2848
+ "senses": {
2849
+ "anyOf": [
2850
+ {
2851
+ "type": "object"
2852
+ },
2853
+ {
2854
+ "type": "array"
2855
+ }
2856
+ ]
2857
+ }
2858
+ },
2859
+ "required": [
2860
+ "mode",
2861
+ "senses"
2862
+ ],
2863
+ "additionalProperties": false
2864
+ },
2865
+ {
2866
+ "type": "object",
2867
+ "properties": {
2868
+ "mode": {
2869
+ "const": "scalarAddProp"
2870
+ },
2871
+ "prop": {
2872
+ "type": "string"
2873
+ },
2874
+ "scalar": {
2875
+ "type": "number"
2876
+ }
2877
+ },
2878
+ "required": [
2879
+ "mode",
2880
+ "scalar",
2881
+ "prop"
2882
+ ],
2883
+ "additionalProperties": false
2884
+ },
2885
+ {
2886
+ "type": "object",
2887
+ "properties": {
2888
+ "mode": {
2889
+ "const": "scalarMultProp"
2890
+ },
2891
+ "prop": {
2892
+ "type": "string"
2893
+ },
2894
+ "scalar": {
2895
+ "type": "number"
2896
+ },
2897
+ "floor": {
2898
+ "const": true
2899
+ }
2900
+ },
2901
+ "required": [
2902
+ "mode",
2903
+ "scalar",
2904
+ "prop"
2905
+ ],
2906
+ "additionalProperties": false
2907
+ },
2908
+ {
2909
+ "type": "object",
2910
+ "properties": {
2911
+ "mode": {
2912
+ "const": "scalarAddHit"
2913
+ },
2914
+ "scalar": {
2915
+ "type": "number"
2916
+ }
2917
+ },
2918
+ "required": [
2919
+ "mode",
2920
+ "scalar"
2921
+ ],
2922
+ "additionalProperties": false
2923
+ },
2924
+ {
2925
+ "type": "object",
2926
+ "properties": {
2927
+ "mode": {
2928
+ "const": "scalarAddDc"
2929
+ },
2930
+ "scalar": {
2931
+ "type": "number"
2932
+ }
2933
+ },
2934
+ "required": [
2935
+ "mode",
2936
+ "scalar"
2937
+ ],
2938
+ "additionalProperties": false
2939
+ },
2940
+ {
2941
+ "type": "object",
2942
+ "properties": {
2943
+ "mode": {
2944
+ "const": "maxSize"
2945
+ },
2946
+ "max": {
2947
+ "type": "string"
2948
+ }
2949
+ },
2950
+ "required": [
2951
+ "mode",
2952
+ "max"
2953
+ ],
2954
+ "additionalProperties": false
2955
+ },
2956
+ {
2957
+ "type": "object",
2958
+ "properties": {
2959
+ "mode": {
2960
+ "const": "scalarMultXp"
2961
+ },
2962
+ "scalar": {
2963
+ "type": "number"
2964
+ },
2965
+ "floor": {
2966
+ "const": true
2967
+ }
2968
+ },
2969
+ "required": [
2970
+ "mode",
2971
+ "scalar"
2972
+ ],
2973
+ "additionalProperties": false
2974
+ }
2975
+ ]
2976
+ },
2977
+ "copyBlock": {
2978
+ "type": "object",
2979
+ "properties": {
2980
+ "_copy": {
2981
+ "type": "object",
2982
+ "properties": {
2983
+ "name": {
2984
+ "type": "string"
2985
+ },
2986
+ "source": {
2987
+ "type": "string"
2988
+ },
2989
+ "pantheon": {
2990
+ "description": "Used in deity data",
2991
+ "type": "string"
2992
+ },
2993
+ "shortName": {
2994
+ "description": "Used in subclass data",
2995
+ "type": "string"
2996
+ },
2997
+ "className": {
2998
+ "description": "Used in subclass data",
2999
+ "type": "string"
3000
+ },
3001
+ "classSource": {
3002
+ "description": "Used in subclass data",
3003
+ "type": "string"
3004
+ },
3005
+ "_mod": {
3006
+ "$ref": "#/$defs/_modObject"
3007
+ },
3008
+ "_trait": {
3009
+ "type": "object",
3010
+ "properties": {
3011
+ "name": {
3012
+ "type": "string"
3013
+ },
3014
+ "source": {
3015
+ "type": "string"
3016
+ }
3017
+ },
3018
+ "required": [
3019
+ "name",
3020
+ "source"
3021
+ ]
3022
+ },
3023
+ "_preserve": {
3024
+ "type": "object",
3025
+ "patternProperties": {
3026
+ ".*": {
3027
+ "const": true
3028
+ }
3029
+ }
3030
+ }
3031
+ },
3032
+ "required": [
3033
+ "name",
3034
+ "source"
3035
+ ],
3036
+ "additionalProperties": false
3037
+ }
3038
+ },
3039
+ "required": [
3040
+ "_copy"
3041
+ ]
3042
+ },
3043
+ "version": {
3044
+ "oneOf": [
3045
+ {
3046
+ "type": "object",
3047
+ "properties": {
3048
+ "name": {
3049
+ "type": "string"
3050
+ },
3051
+ "source": {
3052
+ "type": "string"
3053
+ },
3054
+ "_mod": {
3055
+ "$ref": "#/$defs/_modObject"
3056
+ }
3057
+ },
3058
+ "required": [
3059
+ "name",
3060
+ "source"
3061
+ ]
3062
+ },
3063
+ {
3064
+ "type": "object",
3065
+ "properties": {
3066
+ "_template": {
3067
+ "type": "object",
3068
+ "properties": {
3069
+ "name": {
3070
+ "type": "string"
3071
+ },
3072
+ "source": {
3073
+ "type": "string"
3074
+ },
3075
+ "_mod": {
3076
+ "$ref": "#/$defs/_modObject"
3077
+ }
3078
+ },
3079
+ "required": [
3080
+ "name",
3081
+ "source",
3082
+ "_mod"
3083
+ ]
3084
+ },
3085
+ "_implementations": {
3086
+ "type": "array",
3087
+ "items": {
3088
+ "type": "object",
3089
+ "properties": {
3090
+ "_variables": {
3091
+ "type": "object"
3092
+ }
3093
+ },
3094
+ "required": [
3095
+ "_variables"
3096
+ ]
3097
+ }
3098
+ }
3099
+ },
3100
+ "required": [
3101
+ "_template",
3102
+ "_implementations"
3103
+ ]
3104
+ }
3105
+ ]
3106
+ },
3107
+ "versionsArray": {
3108
+ "type": "array",
3109
+ "minItems": 1,
3110
+ "items": {
3111
+ "$ref": "#/$defs/version"
3112
+ }
3113
+ },
3114
+ "_modObject": {
3115
+ "type": "object",
3116
+ "patternProperties": {
3117
+ ".*": {
3118
+ "anyOf": [
3119
+ {
3120
+ "type": "string"
3121
+ },
3122
+ {
3123
+ "$ref": "#/$defs/copyModifier"
3124
+ },
3125
+ {
3126
+ "type": "array",
3127
+ "items": {
3128
+ "$ref": "#/$defs/copyModifier"
3129
+ }
3130
+ }
3131
+ ]
3132
+ }
3133
+ }
3134
+ },
3135
+ "srd": {
3136
+ "type": [
3137
+ "boolean",
3138
+ "string"
3139
+ ]
3140
+ },
3141
+ "basicRules": {
3142
+ "const": true
3143
+ },
3144
+ "fluffObject": {
3145
+ "type": "object",
3146
+ "properties": {
3147
+ "entries": {
3148
+ "type": "array",
3149
+ "items": {
3150
+ "$ref": "entry.json"
3151
+ }
3152
+ },
3153
+ "images": {
3154
+ "type": "array",
3155
+ "items": {
3156
+ "$ref": "entry.json#/$defs/entryImage"
3157
+ }
3158
+ }
3159
+ }
3160
+ },
3161
+ "_additionalSpellObject": {
3162
+ "type": "object",
3163
+ "patternProperties": {
3164
+ "^\\d+$": {
3165
+ "description": "Spells keyed by character/class level.",
3166
+ "oneOf": [
3167
+ {
3168
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3169
+ },
3170
+ {
3171
+ "$ref": "#/$defs/_additionalSpellLevelObject"
3172
+ }
3173
+ ]
3174
+ },
3175
+ "^s\\d+$": {
3176
+ "description": "Spells keyed by spell level, access to which is gated behind the character advancing to a point where they could cast those spells with e.g. a Spellcasting class feature (Mark spells from ERLW races)",
3177
+ "oneOf": [
3178
+ {
3179
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3180
+ },
3181
+ {
3182
+ "$ref": "#/$defs/_additionalSpellLevelObject"
3183
+ }
3184
+ ]
3185
+ }
3186
+ },
3187
+ "properties": {
3188
+ "_": {
3189
+ "description": "Spells gained when gaining a particular feature, regardless of level or caster level",
3190
+ "oneOf": [
3191
+ {
3192
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3193
+ },
3194
+ {
3195
+ "$ref": "#/$defs/_additionalSpellLevelObject"
3196
+ }
3197
+ ]
3198
+ }
3199
+ }
3200
+ },
3201
+ "_additionalSpellLevelObject": {
3202
+ "type": "object",
3203
+ "properties": {
3204
+ "rest": {
3205
+ "description": "Spells which recharge on short or long rest",
3206
+ "$ref": "#/$defs/_additionalSpellRechargeObject"
3207
+ },
3208
+ "daily": {
3209
+ "description": "Spells which recharge on long rest",
3210
+ "$ref": "#/$defs/_additionalSpellRechargeObject"
3211
+ },
3212
+ "will": {
3213
+ "description": "At-will spells",
3214
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3215
+ },
3216
+ "ritual": {
3217
+ "description": "Ritual-only spells",
3218
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3219
+ },
3220
+ "resource": {
3221
+ "description": "Spells which cost a specific resource to use (such as Ki), but otherwise have no restrictions",
3222
+ "$ref": "#/$defs/_additionalSpellRechargeObject"
3223
+ },
3224
+ "_": {
3225
+ "description": "Spells which do not fall into the above categories (i.e. have no specific recharge, and are simply known)",
3226
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3227
+ }
3228
+ },
3229
+ "additionalProperties": false
3230
+ },
3231
+ "_additionalSpellRechargeObject": {
3232
+ "type": "object",
3233
+ "properties": {
3234
+ "1": {
3235
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3236
+ },
3237
+ "2": {
3238
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3239
+ },
3240
+ "3": {
3241
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3242
+ },
3243
+ "4": {
3244
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3245
+ },
3246
+ "5": {
3247
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3248
+ },
3249
+ "6": {
3250
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3251
+ },
3252
+ "7": {
3253
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3254
+ },
3255
+ "8": {
3256
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3257
+ },
3258
+ "9": {
3259
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3260
+ },
3261
+ "9e": {
3262
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3263
+ },
3264
+ "8e": {
3265
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3266
+ },
3267
+ "7e": {
3268
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3269
+ },
3270
+ "6e": {
3271
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3272
+ },
3273
+ "5e": {
3274
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3275
+ },
3276
+ "4e": {
3277
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3278
+ },
3279
+ "3e": {
3280
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3281
+ },
3282
+ "2e": {
3283
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3284
+ },
3285
+ "1e": {
3286
+ "$ref": "#/$defs/_additionalSpellArrayOfStringOrFilterObject"
3287
+ }
3288
+ },
3289
+ "additionalProperties": false
3290
+ },
3291
+ "_additionalSpellArrayOfStringOrFilterObject": {
3292
+ "type": "array",
3293
+ "minItems": 1,
3294
+ "items": {
3295
+ "oneOf": [
3296
+ {
3297
+ "type": "string"
3298
+ },
3299
+ {
3300
+ "type": "object",
3301
+ "properties": {
3302
+ "all": {
3303
+ "type": "string",
3304
+ "description": "A range of spells to be added, formatted similarly to the options in a {@filter ...} tag. \nFor example: \"level=0|class=Wizard\""
3305
+ }
3306
+ },
3307
+ "required": [
3308
+ "all"
3309
+ ],
3310
+ "additionalProperties": false
3311
+ },
3312
+ {
3313
+ "type": "object",
3314
+ "properties": {
3315
+ "choose": {
3316
+ "type": "string",
3317
+ "description": "A range of spells to be chosen from, formatted similarly to the options in a {@filter ...} tag. \nFor example: \"level=0|class=Wizard\""
3318
+ },
3319
+ "count": {
3320
+ "type": "integer"
3321
+ }
3322
+ },
3323
+ "required": [
3324
+ "choose"
3325
+ ],
3326
+ "additionalProperties": false
3327
+ },
3328
+ {
3329
+ "type": "object",
3330
+ "properties": {
3331
+ "choose": {
3332
+ "type": "object",
3333
+ "properties": {
3334
+ "from": {
3335
+ "description": "An array of spell UIDs to be chosen from.",
3336
+ "type": "array",
3337
+ "items": {
3338
+ "type": "string"
3339
+ },
3340
+ "uniqueItems": true
3341
+ },
3342
+ "count": {
3343
+ "type": "integer"
3344
+ }
3345
+ },
3346
+ "additionalProperties": false
3347
+ }
3348
+ },
3349
+ "required": [
3350
+ "choose"
3351
+ ],
3352
+ "additionalProperties": false
3353
+ }
3354
+ ]
3355
+ }
3356
+ },
3357
+ "additionalSpellsArray": {
3358
+ "description": "A collection of additional spells which a feature grants.\nThis array enables import functionality for VTTs, and should be used in addition to \"classSpells\"/\"subclassSpells\"/\"subSubclassSpells\" blocks which enable references on the site.",
3359
+ "type": "array",
3360
+ "minItems": 1,
3361
+ "items": {
3362
+ "type": "object",
3363
+ "properties": {
3364
+ "name": {
3365
+ "description": "Optional display name for the group",
3366
+ "type": "string"
3367
+ },
3368
+ "ability": {
3369
+ "description": "Optionally specify the ability score used for e.g. racial spellcasting",
3370
+ "oneOf": [
3371
+ {
3372
+ "type": "object",
3373
+ "properties": {
3374
+ "choose": {
3375
+ "type": "array",
3376
+ "items": {
3377
+ "type": "string",
3378
+ "enum": [
3379
+ "str",
3380
+ "dex",
3381
+ "con",
3382
+ "int",
3383
+ "wis",
3384
+ "cha"
3385
+ ]
3386
+ },
3387
+ "uniqueItems": true
3388
+ }
3389
+ },
3390
+ "required": [
3391
+ "choose"
3392
+ ],
3393
+ "additionalProperties": false
3394
+ },
3395
+ {
3396
+ "description": "\"inherit\" is used for special cases, where the ability score matches a choice the player made when taking the feature",
3397
+ "type": "string",
3398
+ "enum": [
3399
+ "str",
3400
+ "dex",
3401
+ "con",
3402
+ "int",
3403
+ "wis",
3404
+ "cha",
3405
+ "inherit"
3406
+ ]
3407
+ }
3408
+ ]
3409
+ },
3410
+ "resourceName": {
3411
+ "description": "Optional resource name for resource-cast spells in this group",
3412
+ "type": "string"
3413
+ },
3414
+ "innate": {
3415
+ "description": "Spells which can be innately cast, without expending normal spell resources",
3416
+ "$ref": "#/$defs/_additionalSpellObject"
3417
+ },
3418
+ "known": {
3419
+ "description": "Spells which are always known",
3420
+ "$ref": "#/$defs/_additionalSpellObject"
3421
+ },
3422
+ "prepared": {
3423
+ "description": "Spells which are always prepared",
3424
+ "$ref": "#/$defs/_additionalSpellObject"
3425
+ },
3426
+ "expanded": {
3427
+ "description": "Expansions to a class' default spell list, from which spells can be chosen (e.g. Warlock Patron spells)",
3428
+ "$ref": "#/$defs/_additionalSpellObject"
3429
+ }
3430
+ },
3431
+ "additionalProperties": false,
3432
+ "minProperties": 1
3433
+ }
3434
+ },
3435
+ "startingEquipment": {
3436
+ "description": "Optional well-structured data version of the \"default\" property, for use in applications that require it.",
3437
+ "type": "array",
3438
+ "items": {
3439
+ "type": "object",
3440
+ "patternProperties": {
3441
+ ".*": {
3442
+ "type": "array",
3443
+ "items": {
3444
+ "oneOf": [
3445
+ {
3446
+ "description": "An item UID, e.g. \"longsword|phb\"",
3447
+ "type": "string"
3448
+ },
3449
+ {
3450
+ "type": "object",
3451
+ "properties": {
3452
+ "item": {
3453
+ "description": "An item UID, e.g. \"longsword|phb\"",
3454
+ "type": "string"
3455
+ },
3456
+ "quantity": {
3457
+ "type": "integer"
3458
+ },
3459
+ "displayName": {
3460
+ "description": "The display name this item should be given",
3461
+ "type": "string"
3462
+ },
3463
+ "containsValue": {
3464
+ "description": "The value (in copper pieces) that this piece of equipment contains in coins.",
3465
+ "type": "integer"
3466
+ }
3467
+ },
3468
+ "required": [
3469
+ "item"
3470
+ ],
3471
+ "additionalProperties": false
3472
+ },
3473
+ {
3474
+ "type": "object",
3475
+ "properties": {
3476
+ "equipmentType": {
3477
+ "type": "string",
3478
+ "enum": [
3479
+ "weapon",
3480
+ "weaponSimple",
3481
+ "weaponSimpleMelee",
3482
+ "weaponMartial",
3483
+ "weaponMartialMelee",
3484
+ "instrumentMusical",
3485
+ "armorLight",
3486
+ "armorMedium",
3487
+ "armorHeavy",
3488
+ "weaponMelee",
3489
+ "weaponRanged",
3490
+ "focusSpellcasting",
3491
+ "setGaming",
3492
+ "toolArtisan"
3493
+ ]
3494
+ },
3495
+ "quantity": {
3496
+ "type": "integer"
3497
+ }
3498
+ },
3499
+ "required": [
3500
+ "equipmentType"
3501
+ ],
3502
+ "additionalProperties": false
3503
+ },
3504
+ {
3505
+ "type": "object",
3506
+ "properties": {
3507
+ "value": {
3508
+ "description": "A value in copper pieces",
3509
+ "type": "integer"
3510
+ }
3511
+ },
3512
+ "required": [
3513
+ "value"
3514
+ ],
3515
+ "additionalProperties": false
3516
+ },
3517
+ {
3518
+ "type": "object",
3519
+ "properties": {
3520
+ "special": {
3521
+ "description": "The name of a non-statted item, such as \"wooden stake\"",
3522
+ "type": "string"
3523
+ },
3524
+ "quantity": {
3525
+ "type": "integer"
3526
+ },
3527
+ "worthValue": {
3528
+ "description": "The worth (in copper pieces) of this piece of equipment.",
3529
+ "type": "integer"
3530
+ },
3531
+ "containsValue": {
3532
+ "description": "The value (in copper pieces) that this piece of equipment contains in coins.",
3533
+ "type": "integer"
3534
+ }
3535
+ },
3536
+ "required": [
3537
+ "special"
3538
+ ],
3539
+ "additionalProperties": false
3540
+ }
3541
+ ]
3542
+ }
3543
+ }
3544
+ }
3545
+ }
3546
+ },
3547
+ "reqAttuneTags": {
3548
+ "type": "array",
3549
+ "minItems": 1,
3550
+ "items": {
3551
+ "type": "object",
3552
+ "properties": {
3553
+ "background": {
3554
+ "type": "string"
3555
+ },
3556
+ "race": {
3557
+ "type": "string"
3558
+ },
3559
+ "creatureType": {
3560
+ "$ref": "#/$defs/creatureType"
3561
+ },
3562
+ "size": {
3563
+ "$ref": "#/$defs/size"
3564
+ },
3565
+ "class": {
3566
+ "type": "string"
3567
+ },
3568
+ "languageProficiency": {
3569
+ "$ref": "#/$defs/languageNameLower"
3570
+ },
3571
+ "skillProficiency": {
3572
+ "$ref": "#/$defs/skillNameLower"
3573
+ },
3574
+ "alignment": {
3575
+ "type": "array",
3576
+ "items": {
3577
+ "$ref": "#/$defs/alignment"
3578
+ }
3579
+ },
3580
+ "str": {
3581
+ "type": "integer"
3582
+ },
3583
+ "dex": {
3584
+ "type": "integer"
3585
+ },
3586
+ "con": {
3587
+ "type": "integer"
3588
+ },
3589
+ "int": {
3590
+ "type": "integer"
3591
+ },
3592
+ "wis": {
3593
+ "type": "integer"
3594
+ },
3595
+ "cha": {
3596
+ "type": "integer"
3597
+ },
3598
+ "spellcasting": {
3599
+ "const": true
3600
+ },
3601
+ "psionics": {
3602
+ "const": true
3603
+ }
3604
+ }
3605
+ }
3606
+ },
3607
+ "adventureBookData": {
3608
+ "type": "array",
3609
+ "items": {
3610
+ "$ref": "entry.json"
3611
+ },
3612
+ "minItems": 1
3613
+ },
3614
+ "optionalfeatureProgression": {
3615
+ "type": "array",
3616
+ "minItems": 1,
3617
+ "items": {
3618
+ "type": "object",
3619
+ "properties": {
3620
+ "name": {
3621
+ "type": "string"
3622
+ },
3623
+ "featureType": {
3624
+ "type": "array",
3625
+ "items": {
3626
+ "$ref": "#/$defs/dataOptionalfeatureType"
3627
+ },
3628
+ "uniqueItems": true
3629
+ },
3630
+ "progression": {
3631
+ "oneOf": [
3632
+ {
3633
+ "type": "array",
3634
+ "description": "Features gained when the total count of features increases according to level.",
3635
+ "items": {
3636
+ "type": "integer"
3637
+ },
3638
+ "minItems": 20,
3639
+ "maxItems": 20
3640
+ },
3641
+ {
3642
+ "type": "object",
3643
+ "description": "Features gained at the exact levels specified.",
3644
+ "patternProperties": {
3645
+ "^\\d+$": {
3646
+ "type": "integer"
3647
+ }
3648
+ },
3649
+ "additionalProperties": false
3650
+ },
3651
+ {
3652
+ "type": "object",
3653
+ "description": "Features gained at the level this feature is gained.",
3654
+ "properties": {
3655
+ "*": {
3656
+ "type": "integer"
3657
+ }
3658
+ },
3659
+ "additionalProperties": false
3660
+ }
3661
+ ]
3662
+ },
3663
+ "required": {
3664
+ "oneOf": [
3665
+ {
3666
+ "type": "array",
3667
+ "items": {
3668
+ "type": "array",
3669
+ "items": {
3670
+ "type": "string"
3671
+ }
3672
+ },
3673
+ "minItems": 20,
3674
+ "maxItems": 20
3675
+ },
3676
+ {
3677
+ "type": "object",
3678
+ "patternProperties": {
3679
+ "^\\d+$": {
3680
+ "type": "array",
3681
+ "items": {
3682
+ "type": "string"
3683
+ }
3684
+ }
3685
+ },
3686
+ "additionalProperties": false
3687
+ }
3688
+ ]
3689
+ }
3690
+ },
3691
+ "required": [
3692
+ "name",
3693
+ "featureType",
3694
+ "progression"
3695
+ ]
3696
+ }
3697
+ },
3698
+ "foundrySystemObject": {
3699
+ "type": "object"
3700
+ },
3701
+ "foundryFlagsObject": {
3702
+ "type": "object"
3703
+ },
3704
+ "foundryAdvancementObject": {
3705
+ "type": "object"
3706
+ },
3707
+ "foundryAdvancementsArray": {
3708
+ "type": "array",
3709
+ "minItems": 1,
3710
+ "items": {
3711
+ "$ref": "#/$defs/foundryAdvancementObject"
3712
+ },
3713
+ "uniqueItems": true
3714
+ },
3715
+ "foundryImg": {
3716
+ "type": "string"
3717
+ },
3718
+ "foundrySubEntitiesObject": {
3719
+ "description": "A 5etools-data-like object of additional entities to import.",
3720
+ "type": "object"
3721
+ },
3722
+ "foundryEffectObject": {
3723
+ "type": "object",
3724
+ "properties": {
3725
+ "name": {
3726
+ "type": "string"
3727
+ },
3728
+ "changes": {
3729
+ "type": "array",
3730
+ "items": {
3731
+ "type": "object",
3732
+ "properties": {
3733
+ "key": {
3734
+ "type": "string"
3735
+ },
3736
+ "mode": {
3737
+ "type": [
3738
+ "string",
3739
+ "integer"
3740
+ ]
3741
+ },
3742
+ "value": true,
3743
+ "priority": {
3744
+ "type": [
3745
+ "string",
3746
+ "integer"
3747
+ ]
3748
+ }
3749
+ },
3750
+ "required": [
3751
+ "key",
3752
+ "mode",
3753
+ "value"
3754
+ ],
3755
+ "additionalProperties": false
3756
+ }
3757
+ },
3758
+ "flags": {
3759
+ "type": "object"
3760
+ },
3761
+ "duration": {
3762
+ "type": "object"
3763
+ },
3764
+ "disabled": {
3765
+ "const": true
3766
+ },
3767
+ "transfer": {
3768
+ "const": true
3769
+ }
3770
+ },
3771
+ "required": [
3772
+ "changes"
3773
+ ],
3774
+ "additionalProperties": false
3775
+ },
3776
+ "foundryEffectsArray": {
3777
+ "type": "array",
3778
+ "items": {
3779
+ "$ref": "#/$defs/foundryEffectObject"
3780
+ },
3781
+ "minItems": 1,
3782
+ "uniqueItems": true
3783
+ },
3784
+ "foundrySideDataGenericArray": {
3785
+ "type": "array",
3786
+ "minItems": 1,
3787
+ "uniqueItems": true,
3788
+ "items": {
3789
+ "type": "object",
3790
+ "properties": {
3791
+ "name": {
3792
+ "type": "string"
3793
+ },
3794
+ "source": {
3795
+ "type": "string"
3796
+ },
3797
+ "system": {
3798
+ "$ref": "#/$defs/foundrySystemObject"
3799
+ },
3800
+ "effects": {
3801
+ "type": "array",
3802
+ "items": {
3803
+ "$ref": "#/$defs/foundryEffectObject"
3804
+ }
3805
+ }
3806
+ },
3807
+ "required": [
3808
+ "name",
3809
+ "source"
3810
+ ],
3811
+ "additionalProperties": false
3812
+ }
3813
+ },
3814
+ "foundrySideDataGenericFeatureArray": {
3815
+ "type": "array",
3816
+ "minItems": 1,
3817
+ "uniqueItems": true,
3818
+ "items": {
3819
+ "type": "object",
3820
+ "properties": {
3821
+ "name": {
3822
+ "type": "string"
3823
+ },
3824
+ "source": {
3825
+ "type": "string"
3826
+ },
3827
+ "entries": {
3828
+ "type": "array",
3829
+ "items": {
3830
+ "$ref": "entry.json"
3831
+ }
3832
+ },
3833
+ "isIgnored": {
3834
+ "const": true
3835
+ },
3836
+ "system": {
3837
+ "$ref": "#/$defs/foundrySystemObject"
3838
+ },
3839
+ "actorDataMod": {
3840
+ "type": "object"
3841
+ },
3842
+ "effects": {
3843
+ "type": "array",
3844
+ "items": {
3845
+ "$ref": "#/$defs/foundryEffectObject"
3846
+ }
3847
+ }
3848
+ },
3849
+ "required": [
3850
+ "name",
3851
+ "source"
3852
+ ],
3853
+ "additionalProperties": false
3854
+ }
3855
+ }
3856
+ }
3857
+ }