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,2059 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "version": "2.11.0",
4
+ "$id": "class.json",
5
+ "type": "object",
6
+ "$defs": {
7
+ "_classTableGroupSubclass": {
8
+ "type": "array",
9
+ "items": {
10
+ "type": "object",
11
+ "properties": {
12
+ "name": {
13
+ "type": "string"
14
+ },
15
+ "source": {
16
+ "type": "string"
17
+ }
18
+ },
19
+ "required": [
20
+ "name",
21
+ "source"
22
+ ],
23
+ "additionalProperties": false
24
+ }
25
+ },
26
+ "classTableGroup": {
27
+ "oneOf": [
28
+ {
29
+ "type": "object",
30
+ "properties": {
31
+ "title": {
32
+ "type": "string"
33
+ },
34
+ "subclasses": {
35
+ "$ref": "#/$defs/_classTableGroupSubclass"
36
+ },
37
+ "colLabels": {
38
+ "type": "array",
39
+ "items": {
40
+ "type": "string"
41
+ }
42
+ },
43
+ "rows": {
44
+ "type": "array",
45
+ "items": {
46
+ "type": "array",
47
+ "items": {
48
+ "$ref": "../entry.json"
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "required": [
54
+ "colLabels",
55
+ "rows"
56
+ ],
57
+ "additionalProperties": false
58
+ },
59
+ {
60
+ "type": "object",
61
+ "properties": {
62
+ "title": {
63
+ "type": "string"
64
+ },
65
+ "subclasses": {
66
+ "$ref": "#/$defs/_classTableGroupSubclass"
67
+ },
68
+ "colLabels": {
69
+ "type": "array",
70
+ "items": {
71
+ "type": "string"
72
+ }
73
+ },
74
+ "rowsSpellProgression": {
75
+ "description": "A count of spell points, starting with 1st-level spells at array index 0, to (n+1)th-level spells at array index n",
76
+ "type": "array",
77
+ "items": {
78
+ "type": "array",
79
+ "items": {
80
+ "type": "integer"
81
+ },
82
+ "minItems": 1,
83
+ "maxItems": 9
84
+ }
85
+ }
86
+ },
87
+ "required": [
88
+ "colLabels",
89
+ "rowsSpellProgression"
90
+ ],
91
+ "additionalProperties": false
92
+ }
93
+ ]
94
+ },
95
+ "classFeature": {
96
+ "type": "object",
97
+ "properties": {
98
+ "name": {
99
+ "type": "string"
100
+ },
101
+ "source": {
102
+ "type": "string"
103
+ },
104
+ "srd": {
105
+ "$ref": "../util.json#/$defs/srd"
106
+ },
107
+ "basicRules": {
108
+ "$ref": "../util.json#/$defs/basicRules"
109
+ },
110
+ "className": {
111
+ "type": "string"
112
+ },
113
+ "classSource": {
114
+ "type": "string"
115
+ },
116
+ "level": {
117
+ "type": "integer"
118
+ },
119
+ "header": {
120
+ "type": "integer"
121
+ },
122
+ "page": {
123
+ "$ref": "../util.json#/$defs/page"
124
+ },
125
+ "type": {
126
+ "type": "string",
127
+ "enum": [
128
+ "inset",
129
+ "item"
130
+ ]
131
+ },
132
+ "entries": {
133
+ "type": "array",
134
+ "items": {
135
+ "$ref": "../entry.json"
136
+ }
137
+ },
138
+ "isClassFeatureVariant": {
139
+ "type": "boolean"
140
+ },
141
+ "otherSources": {
142
+ "$ref": "../util.json#/$defs/otherSources"
143
+ },
144
+ "consumes": {
145
+ "$ref": "../util.json#/$defs/consumesObject"
146
+ },
147
+ "foundrySystem": {
148
+ "$ref": "../util.json#/$defs/foundrySystemObject"
149
+ },
150
+ "foundryFlags": {
151
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
152
+ },
153
+ "foundryImg": {
154
+ "$ref": "../util.json#/$defs/foundryImg"
155
+ },
156
+ "languageProficiencies": {
157
+ "$ref": "../util.json#/$defs/languageProficiencies"
158
+ },
159
+ "skillProficiencies": {
160
+ "$ref": "../util.json#/$defs/skillProficiencies"
161
+ },
162
+ "weaponProficiencies": {
163
+ "$ref": "../util.json#/$defs/weaponProficiencies"
164
+ },
165
+ "armorProficiencies": {
166
+ "$ref": "../util.json#/$defs/armorProficiencies"
167
+ },
168
+ "toolProficiencies": {
169
+ "$ref": "../util.json#/$defs/toolProficiencies"
170
+ },
171
+ "savingThrowProficiencies": {
172
+ "$ref": "../util.json#/$defs/savingThrowProficiencies"
173
+ },
174
+ "expertise": {
175
+ "$ref": "../util.json#/$defs/expertise"
176
+ },
177
+ "resist": {
178
+ "$ref": "../util.json#/$defs/damageResistArrayPlayer"
179
+ },
180
+ "immune": {
181
+ "$ref": "../util.json#/$defs/damageImmunityArrayPlayer"
182
+ },
183
+ "vulnerable": {
184
+ "$ref": "../util.json#/$defs/damageVulnerabilityArrayPlayer"
185
+ },
186
+ "conditionImmune": {
187
+ "$ref": "../util.json#/$defs/conditionImmunityArrayPlayer"
188
+ },
189
+ "resources": {
190
+ "$ref": "../util.json#/$defs/resourcesArray"
191
+ }
192
+ },
193
+ "required": [
194
+ "name",
195
+ "source",
196
+ "className",
197
+ "classSource",
198
+ "level",
199
+ "entries"
200
+ ],
201
+ "additionalProperties": false
202
+ },
203
+ "subclassFeature": {
204
+ "type": "object",
205
+ "properties": {
206
+ "name": {
207
+ "type": "string"
208
+ },
209
+ "source": {
210
+ "type": "string"
211
+ },
212
+ "srd": {
213
+ "$ref": "../util.json#/$defs/srd"
214
+ },
215
+ "basicRules": {
216
+ "$ref": "../util.json#/$defs/basicRules"
217
+ },
218
+ "className": {
219
+ "type": "string"
220
+ },
221
+ "classSource": {
222
+ "type": "string"
223
+ },
224
+ "subclassShortName": {
225
+ "type": "string"
226
+ },
227
+ "subclassSource": {
228
+ "type": "string"
229
+ },
230
+ "level": {
231
+ "type": "integer"
232
+ },
233
+ "header": {
234
+ "type": "integer"
235
+ },
236
+ "page": {
237
+ "$ref": "../util.json#/$defs/page"
238
+ },
239
+ "type": {
240
+ "type": "string",
241
+ "enum": [
242
+ "inset",
243
+ "item"
244
+ ]
245
+ },
246
+ "entries": {
247
+ "type": "array",
248
+ "items": {
249
+ "$ref": "../entry.json"
250
+ }
251
+ },
252
+ "isClassFeatureVariant": {
253
+ "type": "boolean"
254
+ },
255
+ "isGainAtNextFeatureLevel": {
256
+ "description": "If this feature should only be (optionally) gained at the next \"gainSubclassFeature\" level, rather than at the level listed on the feature.",
257
+ "type": "boolean"
258
+ },
259
+ "otherSources": {
260
+ "$ref": "../util.json#/$defs/otherSources"
261
+ },
262
+ "consumes": {
263
+ "$ref": "../util.json#/$defs/consumesObject"
264
+ },
265
+ "foundrySystem": {
266
+ "$ref": "../util.json#/$defs/foundrySystemObject"
267
+ },
268
+ "foundryFlags": {
269
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
270
+ },
271
+ "foundryImg": {
272
+ "$ref": "../util.json#/$defs/foundryImg"
273
+ },
274
+ "languageProficiencies": {
275
+ "$ref": "../util.json#/$defs/languageProficiencies"
276
+ },
277
+ "skillProficiencies": {
278
+ "$ref": "../util.json#/$defs/skillProficiencies"
279
+ },
280
+ "weaponProficiencies": {
281
+ "$ref": "../util.json#/$defs/weaponProficiencies"
282
+ },
283
+ "armorProficiencies": {
284
+ "$ref": "../util.json#/$defs/armorProficiencies"
285
+ },
286
+ "toolProficiencies": {
287
+ "$ref": "../util.json#/$defs/toolProficiencies"
288
+ },
289
+ "savingThrowProficiencies": {
290
+ "$ref": "../util.json#/$defs/savingThrowProficiencies"
291
+ },
292
+ "expertise": {
293
+ "$ref": "../util.json#/$defs/expertise"
294
+ },
295
+ "resist": {
296
+ "$ref": "../util.json#/$defs/damageResistArrayPlayer"
297
+ },
298
+ "immune": {
299
+ "$ref": "../util.json#/$defs/damageImmunityArrayPlayer"
300
+ },
301
+ "vulnerable": {
302
+ "$ref": "../util.json#/$defs/damageVulnerabilityArrayPlayer"
303
+ },
304
+ "conditionImmune": {
305
+ "$ref": "../util.json#/$defs/conditionImmunityArrayPlayer"
306
+ },
307
+ "resources": {
308
+ "$ref": "../util.json#/$defs/resourcesArray"
309
+ }
310
+ },
311
+ "required": [
312
+ "name",
313
+ "source",
314
+ "className",
315
+ "classSource",
316
+ "subclassShortName",
317
+ "subclassSource",
318
+ "level",
319
+ "entries"
320
+ ],
321
+ "additionalProperties": false
322
+ },
323
+ "proficiencies": {
324
+ "type": "object",
325
+ "properties": {
326
+ "armor": {
327
+ "type": "array",
328
+ "items": {
329
+ "oneOf": [
330
+ {
331
+ "type": "string",
332
+ "enum": [
333
+ "light",
334
+ "medium",
335
+ "heavy",
336
+ "{@item shield|phb|shields}"
337
+ ]
338
+ },
339
+ {
340
+ "type": "object",
341
+ "properties": {
342
+ "proficiency": {
343
+ "type": "string",
344
+ "enum": [
345
+ "light",
346
+ "medium",
347
+ "heavy",
348
+ "{@item shield|phb|shields}",
349
+ "special"
350
+ ]
351
+ },
352
+ "full": {
353
+ "description": "The complete text for this proficiency.",
354
+ "type": "string"
355
+ }
356
+ },
357
+ "required": [
358
+ "proficiency",
359
+ "full"
360
+ ]
361
+ }
362
+ ]
363
+ }
364
+ },
365
+ "weapons": {
366
+ "type": "array",
367
+ "items": {
368
+ "oneOf": [
369
+ {
370
+ "type": "string"
371
+ },
372
+ {
373
+ "type": "object",
374
+ "properties": {
375
+ "proficiency": {
376
+ "type": "string"
377
+ },
378
+ "optional": {
379
+ "type": "boolean"
380
+ }
381
+ },
382
+ "additionalProperties": false,
383
+ "required": [
384
+ "proficiency",
385
+ "optional"
386
+ ]
387
+ }
388
+ ]
389
+ }
390
+ },
391
+ "tools": {
392
+ "type": "array",
393
+ "items": {
394
+ "type": "string"
395
+ }
396
+ },
397
+ "skills": {
398
+ "$ref": "../util.json#/$defs/skillProficiencies"
399
+ }
400
+ }
401
+ },
402
+ "subclass": {
403
+ "anyOf": [
404
+ {
405
+ "type": "object",
406
+ "properties": {
407
+ "name": {
408
+ "type": "string"
409
+ },
410
+ "shortName": {
411
+ "type": "string"
412
+ },
413
+ "source": {
414
+ "type": "string"
415
+ },
416
+ "className": {
417
+ "description": "The name of the class this subclass belongs to.",
418
+ "type": "string"
419
+ },
420
+ "classSource": {
421
+ "description": "The source of the class this subclass belongs to (defaults to PHB).",
422
+ "type": "string"
423
+ },
424
+ "isReprinted": {
425
+ "type": "boolean"
426
+ },
427
+ "srd": {
428
+ "$ref": "../util.json#/$defs/srd"
429
+ },
430
+ "basicRules": {
431
+ "$ref": "../util.json#/$defs/basicRules"
432
+ },
433
+ "page": {
434
+ "$ref": "../util.json#/$defs/page"
435
+ },
436
+ "casterProgression": {
437
+ "enum": [
438
+ "full",
439
+ "1/2",
440
+ "1/3",
441
+ "pact",
442
+ "artificer"
443
+ ]
444
+ },
445
+ "spellcastingAbility": {
446
+ "enum": [
447
+ "str",
448
+ "dex",
449
+ "con",
450
+ "int",
451
+ "wis",
452
+ "cha"
453
+ ]
454
+ },
455
+ "cantripProgression": {
456
+ "type": "array",
457
+ "items": {
458
+ "type": "integer"
459
+ },
460
+ "minItems": 20,
461
+ "maxItems": 20
462
+ },
463
+ "spellsKnownProgression": {
464
+ "type": "array",
465
+ "items": {
466
+ "type": "integer"
467
+ },
468
+ "minItems": 20,
469
+ "maxItems": 20
470
+ },
471
+ "subclassFeatures": {
472
+ "type": "array",
473
+ "description": "Format: \" name | className | classSource | subclassShortName | subclassSource | level | source\"\nPHB is assumed for sources.\nfeatureSource is assumed to be the same as subclassSource.",
474
+ "items": {
475
+ "oneOf": [
476
+ {
477
+ "type": "string"
478
+ },
479
+ {
480
+ "type": "object",
481
+ "properties": {
482
+ "subclassFeature": {
483
+ "type": "string"
484
+ },
485
+ "gainSubclassFeature": {
486
+ "type": "boolean"
487
+ },
488
+ "gainSubclassFeatureHasContent": {
489
+ "description": "Features with \"gainSubclassFeature\" are generally ignored by e.g. VTT integrations, as having no meaningful content to import to sheets. Setting this flag informs the integration that this feature should not be ignored.",
490
+ "type": "boolean"
491
+ },
492
+ "tableDisplayName": {
493
+ "type": "string"
494
+ }
495
+ },
496
+ "required": [
497
+ "subclassFeature"
498
+ ]
499
+ }
500
+ ]
501
+ }
502
+ },
503
+ "optionalfeatureProgression": {
504
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
505
+ },
506
+ "subclassTableGroups": {
507
+ "type": "array",
508
+ "items": {
509
+ "$ref": "#/$defs/classTableGroup"
510
+ }
511
+ },
512
+ "otherSources": {
513
+ "$ref": "../util.json#/$defs/otherSources"
514
+ },
515
+ "additionalSpells": {
516
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
517
+ },
518
+ "subclassSpells": {
519
+ "description": "Homebrew use only; adds custom subclasses to lists in spells.\nDoes not enable VTT import - see \"additionalSpells\".",
520
+ "type": "array",
521
+ "items": {
522
+ "$ref": "#/$defs/spellRef"
523
+ }
524
+ },
525
+ "subSubclassSpells": {
526
+ "description": "Homebrew use only; adds custom sub-subclasses to lists in spells.\nPrimarily used by cleric orders and druid circles.\nDoes not enable VTT import - use \"additionalSpells\" as well.",
527
+ "type": "object",
528
+ "patternProperties": {
529
+ ".*": {
530
+ "type": "array",
531
+ "description": "For example, a druid circle, religious order, or other sub-subclass name",
532
+ "items": {
533
+ "$ref": "#/$defs/spellRef"
534
+ }
535
+ }
536
+ }
537
+ },
538
+ "foundrySystem": {
539
+ "$ref": "../util.json#/$defs/foundrySystemObject"
540
+ },
541
+ "foundryFlags": {
542
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
543
+ },
544
+ "foundryAdvancement": {
545
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
546
+ },
547
+ "foundryImg": {
548
+ "$ref": "../util.json#/$defs/foundryImg"
549
+ }
550
+ },
551
+ "additionalProperties": false,
552
+ "required": [
553
+ "name",
554
+ "shortName",
555
+ "source",
556
+ "className",
557
+ "classSource",
558
+ "subclassFeatures"
559
+ ]
560
+ },
561
+ {
562
+ "type": "object",
563
+ "properties": {
564
+ "name": {
565
+ "type": "string"
566
+ },
567
+ "shortName": {
568
+ "type": "string"
569
+ },
570
+ "source": {
571
+ "type": "string"
572
+ },
573
+ "className": {
574
+ "description": "The name of the class this subclass belongs to.",
575
+ "type": "string"
576
+ },
577
+ "classSource": {
578
+ "description": "The source of the class this subclass belongs to (defaults to PHB).",
579
+ "type": "string"
580
+ },
581
+ "isReprinted": {
582
+ "type": "boolean"
583
+ },
584
+ "srd": {
585
+ "$ref": "../util.json#/$defs/srd"
586
+ },
587
+ "basicRules": {
588
+ "$ref": "../util.json#/$defs/basicRules"
589
+ },
590
+ "page": {
591
+ "$ref": "../util.json#/$defs/page"
592
+ },
593
+ "casterProgression": {
594
+ "enum": [
595
+ "full",
596
+ "1/2",
597
+ "1/3",
598
+ "pact",
599
+ "artificer"
600
+ ]
601
+ },
602
+ "spellcastingAbility": {
603
+ "enum": [
604
+ "str",
605
+ "dex",
606
+ "con",
607
+ "int",
608
+ "wis",
609
+ "cha"
610
+ ]
611
+ },
612
+ "cantripProgression": {
613
+ "type": "array",
614
+ "items": {
615
+ "type": "integer"
616
+ },
617
+ "minItems": 20,
618
+ "maxItems": 20
619
+ },
620
+ "spellsKnownProgression": {
621
+ "type": "array",
622
+ "items": {
623
+ "type": "integer"
624
+ },
625
+ "minItems": 20,
626
+ "maxItems": 20
627
+ },
628
+ "subclassFeatures": {
629
+ "type": "array",
630
+ "description": "Format: \" name | className | classSource | subclassShortName | subclassSource | level | source\"\nPHB is assumed for sources.\nfeatureSource is assumed to be the same as subclassSource.",
631
+ "items": {
632
+ "oneOf": [
633
+ {
634
+ "type": "string"
635
+ },
636
+ {
637
+ "type": "object",
638
+ "properties": {
639
+ "subclassFeature": {
640
+ "type": "string"
641
+ },
642
+ "gainSubclassFeature": {
643
+ "type": "boolean"
644
+ },
645
+ "gainSubclassFeatureHasContent": {
646
+ "description": "Features with \"gainSubclassFeature\" are generally ignored by e.g. VTT integrations, as having no meaningful content to import to sheets. Setting this flag informs the integration that this feature should not be ignored.",
647
+ "type": "boolean"
648
+ },
649
+ "tableDisplayName": {
650
+ "type": "string"
651
+ }
652
+ },
653
+ "required": [
654
+ "subclassFeature"
655
+ ]
656
+ }
657
+ ]
658
+ }
659
+ },
660
+ "optionalfeatureProgression": {
661
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
662
+ },
663
+ "subclassTableGroups": {
664
+ "type": "array",
665
+ "items": {
666
+ "$ref": "#/$defs/classTableGroup"
667
+ }
668
+ },
669
+ "otherSources": {
670
+ "$ref": "../util.json#/$defs/otherSources"
671
+ },
672
+ "additionalSpells": {
673
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
674
+ },
675
+ "subclassSpells": {
676
+ "description": "Homebrew use only; adds custom subclasses to lists in spells.\nDoes not enable VTT import - see \"additionalSpells\".",
677
+ "type": "array",
678
+ "items": {
679
+ "$ref": "#/$defs/spellRef"
680
+ }
681
+ },
682
+ "subSubclassSpells": {
683
+ "description": "Homebrew use only; adds custom sub-subclasses to lists in spells.\nPrimarily used by cleric orders and druid circles.\nDoes not enable VTT import - use \"additionalSpells\" as well.",
684
+ "type": "object",
685
+ "patternProperties": {
686
+ ".*": {
687
+ "type": "array",
688
+ "description": "For example, a druid circle, religious order, or other sub-subclass name",
689
+ "items": {
690
+ "$ref": "#/$defs/spellRef"
691
+ }
692
+ }
693
+ }
694
+ },
695
+ "foundrySystem": {
696
+ "$ref": "../util.json#/$defs/foundrySystemObject"
697
+ },
698
+ "foundryFlags": {
699
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
700
+ },
701
+ "foundryAdvancement": {
702
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
703
+ },
704
+ "foundryImg": {
705
+ "$ref": "../util.json#/$defs/foundryImg"
706
+ },
707
+ "_copy": {
708
+ "type": "object",
709
+ "properties": {
710
+ "name": {
711
+ "type": "string"
712
+ },
713
+ "source": {
714
+ "type": "string"
715
+ },
716
+ "pantheon": {
717
+ "description": "Used in deity data",
718
+ "type": "string"
719
+ },
720
+ "shortName": {
721
+ "description": "Used in subclass data",
722
+ "type": "string"
723
+ },
724
+ "className": {
725
+ "description": "Used in subclass data",
726
+ "type": "string"
727
+ },
728
+ "classSource": {
729
+ "description": "Used in subclass data",
730
+ "type": "string"
731
+ },
732
+ "_mod": {
733
+ "$ref": "../util.json#/$defs/_modObject"
734
+ },
735
+ "_trait": {
736
+ "type": "object",
737
+ "properties": {
738
+ "name": {
739
+ "type": "string"
740
+ },
741
+ "source": {
742
+ "type": "string"
743
+ }
744
+ },
745
+ "required": [
746
+ "name",
747
+ "source"
748
+ ]
749
+ },
750
+ "_preserve": {
751
+ "type": "object",
752
+ "patternProperties": {
753
+ ".*": {
754
+ "const": true
755
+ }
756
+ }
757
+ }
758
+ },
759
+ "required": [
760
+ "name",
761
+ "source"
762
+ ],
763
+ "additionalProperties": false
764
+ }
765
+ },
766
+ "additionalProperties": false,
767
+ "required": [
768
+ "_copy"
769
+ ]
770
+ }
771
+ ]
772
+ },
773
+ "subclassData": {
774
+ "type": "object",
775
+ "properties": {
776
+ "name": {
777
+ "type": "string"
778
+ },
779
+ "shortName": {
780
+ "type": "string"
781
+ },
782
+ "source": {
783
+ "type": "string"
784
+ },
785
+ "className": {
786
+ "description": "The name of the class this subclass belongs to.",
787
+ "type": "string"
788
+ },
789
+ "classSource": {
790
+ "description": "The source of the class this subclass belongs to (defaults to PHB).",
791
+ "type": "string"
792
+ },
793
+ "isReprinted": {
794
+ "type": "boolean"
795
+ },
796
+ "srd": {
797
+ "$ref": "../util.json#/$defs/srd"
798
+ },
799
+ "basicRules": {
800
+ "$ref": "../util.json#/$defs/basicRules"
801
+ },
802
+ "page": {
803
+ "$ref": "../util.json#/$defs/page"
804
+ },
805
+ "casterProgression": {
806
+ "enum": [
807
+ "full",
808
+ "1/2",
809
+ "1/3",
810
+ "pact",
811
+ "artificer"
812
+ ]
813
+ },
814
+ "spellcastingAbility": {
815
+ "enum": [
816
+ "str",
817
+ "dex",
818
+ "con",
819
+ "int",
820
+ "wis",
821
+ "cha"
822
+ ]
823
+ },
824
+ "cantripProgression": {
825
+ "type": "array",
826
+ "items": {
827
+ "type": "integer"
828
+ },
829
+ "minItems": 20,
830
+ "maxItems": 20
831
+ },
832
+ "spellsKnownProgression": {
833
+ "type": "array",
834
+ "items": {
835
+ "type": "integer"
836
+ },
837
+ "minItems": 20,
838
+ "maxItems": 20
839
+ },
840
+ "subclassFeatures": {
841
+ "type": "array",
842
+ "description": "Format: \" name | className | classSource | subclassShortName | subclassSource | level | source\"\nPHB is assumed for sources.\nfeatureSource is assumed to be the same as subclassSource.",
843
+ "items": {
844
+ "oneOf": [
845
+ {
846
+ "type": "string"
847
+ },
848
+ {
849
+ "type": "object",
850
+ "properties": {
851
+ "subclassFeature": {
852
+ "type": "string"
853
+ },
854
+ "gainSubclassFeature": {
855
+ "type": "boolean"
856
+ },
857
+ "gainSubclassFeatureHasContent": {
858
+ "description": "Features with \"gainSubclassFeature\" are generally ignored by e.g. VTT integrations, as having no meaningful content to import to sheets. Setting this flag informs the integration that this feature should not be ignored.",
859
+ "type": "boolean"
860
+ },
861
+ "tableDisplayName": {
862
+ "type": "string"
863
+ }
864
+ },
865
+ "required": [
866
+ "subclassFeature"
867
+ ]
868
+ }
869
+ ]
870
+ }
871
+ },
872
+ "optionalfeatureProgression": {
873
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
874
+ },
875
+ "subclassTableGroups": {
876
+ "type": "array",
877
+ "items": {
878
+ "$ref": "#/$defs/classTableGroup"
879
+ }
880
+ },
881
+ "otherSources": {
882
+ "$ref": "../util.json#/$defs/otherSources"
883
+ },
884
+ "additionalSpells": {
885
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
886
+ },
887
+ "subclassSpells": {
888
+ "description": "Homebrew use only; adds custom subclasses to lists in spells.\nDoes not enable VTT import - see \"additionalSpells\".",
889
+ "type": "array",
890
+ "items": {
891
+ "$ref": "#/$defs/spellRef"
892
+ }
893
+ },
894
+ "subSubclassSpells": {
895
+ "description": "Homebrew use only; adds custom sub-subclasses to lists in spells.\nPrimarily used by cleric orders and druid circles.\nDoes not enable VTT import - use \"additionalSpells\" as well.",
896
+ "type": "object",
897
+ "patternProperties": {
898
+ ".*": {
899
+ "type": "array",
900
+ "description": "For example, a druid circle, religious order, or other sub-subclass name",
901
+ "items": {
902
+ "$ref": "#/$defs/spellRef"
903
+ }
904
+ }
905
+ }
906
+ },
907
+ "foundrySystem": {
908
+ "$ref": "../util.json#/$defs/foundrySystemObject"
909
+ },
910
+ "foundryFlags": {
911
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
912
+ },
913
+ "foundryAdvancement": {
914
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
915
+ },
916
+ "foundryImg": {
917
+ "$ref": "../util.json#/$defs/foundryImg"
918
+ }
919
+ },
920
+ "additionalProperties": false
921
+ },
922
+ "requirements": {
923
+ "type": "object",
924
+ "properties": {
925
+ "str": {
926
+ "type": "integer"
927
+ },
928
+ "dex": {
929
+ "type": "integer"
930
+ },
931
+ "con": {
932
+ "type": "integer"
933
+ },
934
+ "int": {
935
+ "type": "integer"
936
+ },
937
+ "wis": {
938
+ "type": "integer"
939
+ },
940
+ "cha": {
941
+ "type": "integer"
942
+ },
943
+ "or": {
944
+ "type": "array",
945
+ "items": {
946
+ "type": "object",
947
+ "properties": {
948
+ "str": {
949
+ "type": "integer"
950
+ },
951
+ "dex": {
952
+ "type": "integer"
953
+ },
954
+ "con": {
955
+ "type": "integer"
956
+ },
957
+ "int": {
958
+ "type": "integer"
959
+ },
960
+ "wis": {
961
+ "type": "integer"
962
+ },
963
+ "cha": {
964
+ "type": "integer"
965
+ }
966
+ },
967
+ "additionalProperties": false
968
+ }
969
+ },
970
+ "entries": {
971
+ "type": "array",
972
+ "items": {
973
+ "$ref": "../entry.json"
974
+ }
975
+ }
976
+ },
977
+ "additionalProperties": false
978
+ },
979
+ "class": {
980
+ "anyOf": [
981
+ {
982
+ "type": "object",
983
+ "description": "A character class",
984
+ "properties": {
985
+ "name": {
986
+ "type": "string"
987
+ },
988
+ "source": {
989
+ "type": "string"
990
+ },
991
+ "otherSources": {
992
+ "$ref": "../util.json#/$defs/otherSources"
993
+ },
994
+ "srd": {
995
+ "$ref": "../util.json#/$defs/srd"
996
+ },
997
+ "basicRules": {
998
+ "$ref": "../util.json#/$defs/basicRules"
999
+ },
1000
+ "isReprinted": {
1001
+ "type": "boolean"
1002
+ },
1003
+ "classGroup": {
1004
+ "type": "array",
1005
+ "items": {
1006
+ "type": "string",
1007
+ "examples": [
1008
+ "expert",
1009
+ "mage",
1010
+ "priest",
1011
+ "warrior"
1012
+ ]
1013
+ }
1014
+ },
1015
+ "isSidekick": {
1016
+ "type": "boolean"
1017
+ },
1018
+ "hd": {
1019
+ "type": "object",
1020
+ "properties": {
1021
+ "number": {
1022
+ "type": "integer"
1023
+ },
1024
+ "faces": {
1025
+ "type": "integer"
1026
+ }
1027
+ },
1028
+ "required": [
1029
+ "number",
1030
+ "faces"
1031
+ ],
1032
+ "additionalProperties": false
1033
+ },
1034
+ "proficiency": {
1035
+ "type": "array",
1036
+ "items": {
1037
+ "type": "string",
1038
+ "enum": [
1039
+ "str",
1040
+ "dex",
1041
+ "con",
1042
+ "int",
1043
+ "wis",
1044
+ "cha"
1045
+ ]
1046
+ }
1047
+ },
1048
+ "classTableGroups": {
1049
+ "type": "array",
1050
+ "items": {
1051
+ "$ref": "#/$defs/classTableGroup"
1052
+ }
1053
+ },
1054
+ "startingProficiencies": {
1055
+ "$ref": "#/$defs/proficiencies"
1056
+ },
1057
+ "startingEquipment": {
1058
+ "type": "object",
1059
+ "properties": {
1060
+ "additionalFromBackground": {
1061
+ "type": "boolean"
1062
+ },
1063
+ "default": {
1064
+ "type": "array",
1065
+ "items": {
1066
+ "type": "string"
1067
+ }
1068
+ },
1069
+ "defaultData": {
1070
+ "$ref": "../util.json#/$defs/startingEquipment"
1071
+ },
1072
+ "goldAlternative": {
1073
+ "type": "string"
1074
+ }
1075
+ },
1076
+ "required": [
1077
+ "additionalFromBackground",
1078
+ "default"
1079
+ ],
1080
+ "additionalProperties": false
1081
+ },
1082
+ "requirements": {
1083
+ "$ref": "#/$defs/requirements"
1084
+ },
1085
+ "multiclassing": {
1086
+ "type": "object",
1087
+ "properties": {
1088
+ "requirements": {
1089
+ "$ref": "#/$defs/requirements"
1090
+ },
1091
+ "proficienciesGained": {
1092
+ "$ref": "#/$defs/proficiencies"
1093
+ },
1094
+ "entries": {
1095
+ "type": "array",
1096
+ "items": {
1097
+ "$ref": "../entry.json"
1098
+ }
1099
+ },
1100
+ "requirementsSpecial": {
1101
+ "description": "For homebrew use.",
1102
+ "type": "string"
1103
+ }
1104
+ },
1105
+ "additionalProperties": false
1106
+ },
1107
+ "casterProgression": {
1108
+ "enum": [
1109
+ "full",
1110
+ "1/2",
1111
+ "1/3",
1112
+ "pact",
1113
+ "artificer"
1114
+ ]
1115
+ },
1116
+ "preparedSpells": {
1117
+ "type": "string",
1118
+ "description": "Formula for the number of spells the class can prepare, for example:\n\"<$level$> / 2 + <$int_mod$>\""
1119
+ },
1120
+ "spellcastingAbility": {
1121
+ "enum": [
1122
+ "str",
1123
+ "dex",
1124
+ "con",
1125
+ "int",
1126
+ "wis",
1127
+ "cha"
1128
+ ]
1129
+ },
1130
+ "cantripProgression": {
1131
+ "type": "array",
1132
+ "items": {
1133
+ "type": "integer"
1134
+ },
1135
+ "minItems": 20,
1136
+ "maxItems": 20
1137
+ },
1138
+ "spellsKnownProgression": {
1139
+ "type": "array",
1140
+ "items": {
1141
+ "type": "integer"
1142
+ },
1143
+ "minItems": 20,
1144
+ "maxItems": 20
1145
+ },
1146
+ "spellsKnownProgressionFixed": {
1147
+ "description": "For e.g. Wizard, where the spells taken at each level must be <= the max spellcasting level, and cannot be swapped out afterward.",
1148
+ "type": "array",
1149
+ "items": {
1150
+ "type": "integer"
1151
+ },
1152
+ "minItems": 20,
1153
+ "maxItems": 20
1154
+ },
1155
+ "spellsKnownProgressionFixedAllowLowerLevel": {
1156
+ "type": "boolean"
1157
+ },
1158
+ "spellsKnownProgressionFixedByLevel": {
1159
+ "description": "For e.g. Warlock Mystic Arcanum. A map of <class level> -> <spell level> -> <number of spells known>",
1160
+ "type": "object",
1161
+ "patternProperties": {
1162
+ "^\\d+$": {
1163
+ "type": "object",
1164
+ "properties": {
1165
+ "1": {
1166
+ "type": "integer"
1167
+ },
1168
+ "2": {
1169
+ "type": "integer"
1170
+ },
1171
+ "3": {
1172
+ "type": "integer"
1173
+ },
1174
+ "4": {
1175
+ "type": "integer"
1176
+ },
1177
+ "5": {
1178
+ "type": "integer"
1179
+ },
1180
+ "6": {
1181
+ "type": "integer"
1182
+ },
1183
+ "7": {
1184
+ "type": "integer"
1185
+ },
1186
+ "8": {
1187
+ "type": "integer"
1188
+ },
1189
+ "9": {
1190
+ "type": "integer"
1191
+ }
1192
+ },
1193
+ "additionalProperties": false
1194
+ }
1195
+ },
1196
+ "additionalProperties": false
1197
+ },
1198
+ "optionalfeatureProgression": {
1199
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
1200
+ },
1201
+ "classFeatures": {
1202
+ "type": "array",
1203
+ "description": "Format: \" name | className | classSource | level | source \" , PHB is assumed as classSource and featureSource is assumed to be the same as classSource.",
1204
+ "items": {
1205
+ "oneOf": [
1206
+ {
1207
+ "type": "string"
1208
+ },
1209
+ {
1210
+ "type": "object",
1211
+ "properties": {
1212
+ "classFeature": {
1213
+ "type": "string"
1214
+ },
1215
+ "gainSubclassFeature": {
1216
+ "type": "boolean"
1217
+ }
1218
+ },
1219
+ "required": [
1220
+ "classFeature"
1221
+ ]
1222
+ }
1223
+ ]
1224
+ }
1225
+ },
1226
+ "subclassTitle": {
1227
+ "type": "string"
1228
+ },
1229
+ "page": {
1230
+ "$ref": "../util.json#/$defs/page"
1231
+ },
1232
+ "fluff": {
1233
+ "type": "array",
1234
+ "items": {
1235
+ "type": "object",
1236
+ "properties": {
1237
+ "name": {
1238
+ "type": "string"
1239
+ },
1240
+ "entries": {
1241
+ "type": "array",
1242
+ "items": {
1243
+ "$ref": "../entry.json"
1244
+ }
1245
+ },
1246
+ "page": {
1247
+ "$ref": "../util.json#/$defs/page"
1248
+ },
1249
+ "source": {
1250
+ "type": "string"
1251
+ },
1252
+ "type": {
1253
+ "type": "string"
1254
+ }
1255
+ },
1256
+ "required": [
1257
+ "entries",
1258
+ "source"
1259
+ ],
1260
+ "additionalProperties": false
1261
+ }
1262
+ },
1263
+ "additionalSpells": {
1264
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
1265
+ },
1266
+ "classSpells": {
1267
+ "description": "Homebrew use only",
1268
+ "type": "array",
1269
+ "items": {
1270
+ "$ref": "#/$defs/spellRef"
1271
+ }
1272
+ },
1273
+ "requirementsSpecial": {
1274
+ "description": "For homebrew use.",
1275
+ "type": "string"
1276
+ },
1277
+ "foundrySystem": {
1278
+ "$ref": "../util.json#/$defs/foundrySystemObject"
1279
+ },
1280
+ "foundryFlags": {
1281
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
1282
+ },
1283
+ "foundryAdvancement": {
1284
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
1285
+ },
1286
+ "foundryImg": {
1287
+ "$ref": "../util.json#/$defs/foundryImg"
1288
+ }
1289
+ },
1290
+ "additionalProperties": false,
1291
+ "required": [
1292
+ "name",
1293
+ "source",
1294
+ "classFeatures"
1295
+ ]
1296
+ },
1297
+ {
1298
+ "type": "object",
1299
+ "description": "A character class",
1300
+ "properties": {
1301
+ "name": {
1302
+ "type": "string"
1303
+ },
1304
+ "source": {
1305
+ "type": "string"
1306
+ },
1307
+ "otherSources": {
1308
+ "$ref": "../util.json#/$defs/otherSources"
1309
+ },
1310
+ "srd": {
1311
+ "$ref": "../util.json#/$defs/srd"
1312
+ },
1313
+ "basicRules": {
1314
+ "$ref": "../util.json#/$defs/basicRules"
1315
+ },
1316
+ "isReprinted": {
1317
+ "type": "boolean"
1318
+ },
1319
+ "classGroup": {
1320
+ "type": "array",
1321
+ "items": {
1322
+ "type": "string",
1323
+ "examples": [
1324
+ "expert",
1325
+ "mage",
1326
+ "priest",
1327
+ "warrior"
1328
+ ]
1329
+ }
1330
+ },
1331
+ "isSidekick": {
1332
+ "type": "boolean"
1333
+ },
1334
+ "hd": {
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "number": {
1338
+ "type": "integer"
1339
+ },
1340
+ "faces": {
1341
+ "type": "integer"
1342
+ }
1343
+ },
1344
+ "required": [
1345
+ "number",
1346
+ "faces"
1347
+ ],
1348
+ "additionalProperties": false
1349
+ },
1350
+ "proficiency": {
1351
+ "type": "array",
1352
+ "items": {
1353
+ "type": "string",
1354
+ "enum": [
1355
+ "str",
1356
+ "dex",
1357
+ "con",
1358
+ "int",
1359
+ "wis",
1360
+ "cha"
1361
+ ]
1362
+ }
1363
+ },
1364
+ "classTableGroups": {
1365
+ "type": "array",
1366
+ "items": {
1367
+ "$ref": "#/$defs/classTableGroup"
1368
+ }
1369
+ },
1370
+ "startingProficiencies": {
1371
+ "$ref": "#/$defs/proficiencies"
1372
+ },
1373
+ "startingEquipment": {
1374
+ "type": "object",
1375
+ "properties": {
1376
+ "additionalFromBackground": {
1377
+ "type": "boolean"
1378
+ },
1379
+ "default": {
1380
+ "type": "array",
1381
+ "items": {
1382
+ "type": "string"
1383
+ }
1384
+ },
1385
+ "defaultData": {
1386
+ "$ref": "../util.json#/$defs/startingEquipment"
1387
+ },
1388
+ "goldAlternative": {
1389
+ "type": "string"
1390
+ }
1391
+ },
1392
+ "required": [
1393
+ "additionalFromBackground",
1394
+ "default"
1395
+ ],
1396
+ "additionalProperties": false
1397
+ },
1398
+ "requirements": {
1399
+ "$ref": "#/$defs/requirements"
1400
+ },
1401
+ "multiclassing": {
1402
+ "type": "object",
1403
+ "properties": {
1404
+ "requirements": {
1405
+ "$ref": "#/$defs/requirements"
1406
+ },
1407
+ "proficienciesGained": {
1408
+ "$ref": "#/$defs/proficiencies"
1409
+ },
1410
+ "entries": {
1411
+ "type": "array",
1412
+ "items": {
1413
+ "$ref": "../entry.json"
1414
+ }
1415
+ },
1416
+ "requirementsSpecial": {
1417
+ "description": "For homebrew use.",
1418
+ "type": "string"
1419
+ }
1420
+ },
1421
+ "additionalProperties": false
1422
+ },
1423
+ "casterProgression": {
1424
+ "enum": [
1425
+ "full",
1426
+ "1/2",
1427
+ "1/3",
1428
+ "pact",
1429
+ "artificer"
1430
+ ]
1431
+ },
1432
+ "preparedSpells": {
1433
+ "type": "string",
1434
+ "description": "Formula for the number of spells the class can prepare, for example:\n\"<$level$> / 2 + <$int_mod$>\""
1435
+ },
1436
+ "spellcastingAbility": {
1437
+ "enum": [
1438
+ "str",
1439
+ "dex",
1440
+ "con",
1441
+ "int",
1442
+ "wis",
1443
+ "cha"
1444
+ ]
1445
+ },
1446
+ "cantripProgression": {
1447
+ "type": "array",
1448
+ "items": {
1449
+ "type": "integer"
1450
+ },
1451
+ "minItems": 20,
1452
+ "maxItems": 20
1453
+ },
1454
+ "spellsKnownProgression": {
1455
+ "type": "array",
1456
+ "items": {
1457
+ "type": "integer"
1458
+ },
1459
+ "minItems": 20,
1460
+ "maxItems": 20
1461
+ },
1462
+ "spellsKnownProgressionFixed": {
1463
+ "description": "For e.g. Wizard, where the spells taken at each level must be <= the max spellcasting level, and cannot be swapped out afterward.",
1464
+ "type": "array",
1465
+ "items": {
1466
+ "type": "integer"
1467
+ },
1468
+ "minItems": 20,
1469
+ "maxItems": 20
1470
+ },
1471
+ "spellsKnownProgressionFixedAllowLowerLevel": {
1472
+ "type": "boolean"
1473
+ },
1474
+ "spellsKnownProgressionFixedByLevel": {
1475
+ "description": "For e.g. Warlock Mystic Arcanum. A map of <class level> -> <spell level> -> <number of spells known>",
1476
+ "type": "object",
1477
+ "patternProperties": {
1478
+ "^\\d+$": {
1479
+ "type": "object",
1480
+ "properties": {
1481
+ "1": {
1482
+ "type": "integer"
1483
+ },
1484
+ "2": {
1485
+ "type": "integer"
1486
+ },
1487
+ "3": {
1488
+ "type": "integer"
1489
+ },
1490
+ "4": {
1491
+ "type": "integer"
1492
+ },
1493
+ "5": {
1494
+ "type": "integer"
1495
+ },
1496
+ "6": {
1497
+ "type": "integer"
1498
+ },
1499
+ "7": {
1500
+ "type": "integer"
1501
+ },
1502
+ "8": {
1503
+ "type": "integer"
1504
+ },
1505
+ "9": {
1506
+ "type": "integer"
1507
+ }
1508
+ },
1509
+ "additionalProperties": false
1510
+ }
1511
+ },
1512
+ "additionalProperties": false
1513
+ },
1514
+ "optionalfeatureProgression": {
1515
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
1516
+ },
1517
+ "classFeatures": {
1518
+ "type": "array",
1519
+ "description": "Format: \" name | className | classSource | level | source \" , PHB is assumed as classSource and featureSource is assumed to be the same as classSource.",
1520
+ "items": {
1521
+ "oneOf": [
1522
+ {
1523
+ "type": "string"
1524
+ },
1525
+ {
1526
+ "type": "object",
1527
+ "properties": {
1528
+ "classFeature": {
1529
+ "type": "string"
1530
+ },
1531
+ "gainSubclassFeature": {
1532
+ "type": "boolean"
1533
+ }
1534
+ },
1535
+ "required": [
1536
+ "classFeature"
1537
+ ]
1538
+ }
1539
+ ]
1540
+ }
1541
+ },
1542
+ "subclassTitle": {
1543
+ "type": "string"
1544
+ },
1545
+ "page": {
1546
+ "$ref": "../util.json#/$defs/page"
1547
+ },
1548
+ "fluff": {
1549
+ "type": "array",
1550
+ "items": {
1551
+ "type": "object",
1552
+ "properties": {
1553
+ "name": {
1554
+ "type": "string"
1555
+ },
1556
+ "entries": {
1557
+ "type": "array",
1558
+ "items": {
1559
+ "$ref": "../entry.json"
1560
+ }
1561
+ },
1562
+ "page": {
1563
+ "$ref": "../util.json#/$defs/page"
1564
+ },
1565
+ "source": {
1566
+ "type": "string"
1567
+ },
1568
+ "type": {
1569
+ "type": "string"
1570
+ }
1571
+ },
1572
+ "required": [
1573
+ "entries",
1574
+ "source"
1575
+ ],
1576
+ "additionalProperties": false
1577
+ }
1578
+ },
1579
+ "additionalSpells": {
1580
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
1581
+ },
1582
+ "classSpells": {
1583
+ "description": "Homebrew use only",
1584
+ "type": "array",
1585
+ "items": {
1586
+ "$ref": "#/$defs/spellRef"
1587
+ }
1588
+ },
1589
+ "requirementsSpecial": {
1590
+ "description": "For homebrew use.",
1591
+ "type": "string"
1592
+ },
1593
+ "foundrySystem": {
1594
+ "$ref": "../util.json#/$defs/foundrySystemObject"
1595
+ },
1596
+ "foundryFlags": {
1597
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
1598
+ },
1599
+ "foundryAdvancement": {
1600
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
1601
+ },
1602
+ "foundryImg": {
1603
+ "$ref": "../util.json#/$defs/foundryImg"
1604
+ },
1605
+ "_copy": {
1606
+ "type": "object",
1607
+ "properties": {
1608
+ "name": {
1609
+ "type": "string"
1610
+ },
1611
+ "source": {
1612
+ "type": "string"
1613
+ },
1614
+ "pantheon": {
1615
+ "description": "Used in deity data",
1616
+ "type": "string"
1617
+ },
1618
+ "shortName": {
1619
+ "description": "Used in subclass data",
1620
+ "type": "string"
1621
+ },
1622
+ "className": {
1623
+ "description": "Used in subclass data",
1624
+ "type": "string"
1625
+ },
1626
+ "classSource": {
1627
+ "description": "Used in subclass data",
1628
+ "type": "string"
1629
+ },
1630
+ "_mod": {
1631
+ "$ref": "../util.json#/$defs/_modObject"
1632
+ },
1633
+ "_trait": {
1634
+ "type": "object",
1635
+ "properties": {
1636
+ "name": {
1637
+ "type": "string"
1638
+ },
1639
+ "source": {
1640
+ "type": "string"
1641
+ }
1642
+ },
1643
+ "required": [
1644
+ "name",
1645
+ "source"
1646
+ ]
1647
+ },
1648
+ "_preserve": {
1649
+ "type": "object",
1650
+ "patternProperties": {
1651
+ ".*": {
1652
+ "const": true
1653
+ }
1654
+ }
1655
+ }
1656
+ },
1657
+ "required": [
1658
+ "name",
1659
+ "source"
1660
+ ],
1661
+ "additionalProperties": false
1662
+ }
1663
+ },
1664
+ "additionalProperties": false,
1665
+ "required": [
1666
+ "_copy"
1667
+ ]
1668
+ }
1669
+ ]
1670
+ },
1671
+ "classData": {
1672
+ "description": "A character class",
1673
+ "type": "object",
1674
+ "properties": {
1675
+ "name": {
1676
+ "type": "string"
1677
+ },
1678
+ "source": {
1679
+ "type": "string"
1680
+ },
1681
+ "otherSources": {
1682
+ "$ref": "../util.json#/$defs/otherSources"
1683
+ },
1684
+ "srd": {
1685
+ "$ref": "../util.json#/$defs/srd"
1686
+ },
1687
+ "basicRules": {
1688
+ "$ref": "../util.json#/$defs/basicRules"
1689
+ },
1690
+ "isReprinted": {
1691
+ "type": "boolean"
1692
+ },
1693
+ "classGroup": {
1694
+ "type": "array",
1695
+ "items": {
1696
+ "type": "string",
1697
+ "examples": [
1698
+ "expert",
1699
+ "mage",
1700
+ "priest",
1701
+ "warrior"
1702
+ ]
1703
+ }
1704
+ },
1705
+ "isSidekick": {
1706
+ "type": "boolean"
1707
+ },
1708
+ "hd": {
1709
+ "type": "object",
1710
+ "properties": {
1711
+ "number": {
1712
+ "type": "integer"
1713
+ },
1714
+ "faces": {
1715
+ "type": "integer"
1716
+ }
1717
+ },
1718
+ "required": [
1719
+ "number",
1720
+ "faces"
1721
+ ],
1722
+ "additionalProperties": false
1723
+ },
1724
+ "proficiency": {
1725
+ "type": "array",
1726
+ "items": {
1727
+ "type": "string",
1728
+ "enum": [
1729
+ "str",
1730
+ "dex",
1731
+ "con",
1732
+ "int",
1733
+ "wis",
1734
+ "cha"
1735
+ ]
1736
+ }
1737
+ },
1738
+ "classTableGroups": {
1739
+ "type": "array",
1740
+ "items": {
1741
+ "$ref": "#/$defs/classTableGroup"
1742
+ }
1743
+ },
1744
+ "startingProficiencies": {
1745
+ "$ref": "#/$defs/proficiencies"
1746
+ },
1747
+ "startingEquipment": {
1748
+ "type": "object",
1749
+ "properties": {
1750
+ "additionalFromBackground": {
1751
+ "type": "boolean"
1752
+ },
1753
+ "default": {
1754
+ "type": "array",
1755
+ "items": {
1756
+ "type": "string"
1757
+ }
1758
+ },
1759
+ "defaultData": {
1760
+ "$ref": "../util.json#/$defs/startingEquipment"
1761
+ },
1762
+ "goldAlternative": {
1763
+ "type": "string"
1764
+ }
1765
+ },
1766
+ "required": [
1767
+ "additionalFromBackground",
1768
+ "default"
1769
+ ],
1770
+ "additionalProperties": false
1771
+ },
1772
+ "requirements": {
1773
+ "$ref": "#/$defs/requirements"
1774
+ },
1775
+ "multiclassing": {
1776
+ "type": "object",
1777
+ "properties": {
1778
+ "requirements": {
1779
+ "$ref": "#/$defs/requirements"
1780
+ },
1781
+ "proficienciesGained": {
1782
+ "$ref": "#/$defs/proficiencies"
1783
+ },
1784
+ "entries": {
1785
+ "type": "array",
1786
+ "items": {
1787
+ "$ref": "../entry.json"
1788
+ }
1789
+ },
1790
+ "requirementsSpecial": {
1791
+ "description": "For homebrew use.",
1792
+ "type": "string"
1793
+ }
1794
+ },
1795
+ "additionalProperties": false
1796
+ },
1797
+ "casterProgression": {
1798
+ "enum": [
1799
+ "full",
1800
+ "1/2",
1801
+ "1/3",
1802
+ "pact",
1803
+ "artificer"
1804
+ ]
1805
+ },
1806
+ "preparedSpells": {
1807
+ "type": "string",
1808
+ "description": "Formula for the number of spells the class can prepare, for example:\n\"<$level$> / 2 + <$int_mod$>\""
1809
+ },
1810
+ "spellcastingAbility": {
1811
+ "enum": [
1812
+ "str",
1813
+ "dex",
1814
+ "con",
1815
+ "int",
1816
+ "wis",
1817
+ "cha"
1818
+ ]
1819
+ },
1820
+ "cantripProgression": {
1821
+ "type": "array",
1822
+ "items": {
1823
+ "type": "integer"
1824
+ },
1825
+ "minItems": 20,
1826
+ "maxItems": 20
1827
+ },
1828
+ "spellsKnownProgression": {
1829
+ "type": "array",
1830
+ "items": {
1831
+ "type": "integer"
1832
+ },
1833
+ "minItems": 20,
1834
+ "maxItems": 20
1835
+ },
1836
+ "spellsKnownProgressionFixed": {
1837
+ "description": "For e.g. Wizard, where the spells taken at each level must be <= the max spellcasting level, and cannot be swapped out afterward.",
1838
+ "type": "array",
1839
+ "items": {
1840
+ "type": "integer"
1841
+ },
1842
+ "minItems": 20,
1843
+ "maxItems": 20
1844
+ },
1845
+ "spellsKnownProgressionFixedAllowLowerLevel": {
1846
+ "type": "boolean"
1847
+ },
1848
+ "spellsKnownProgressionFixedByLevel": {
1849
+ "description": "For e.g. Warlock Mystic Arcanum. A map of <class level> -> <spell level> -> <number of spells known>",
1850
+ "type": "object",
1851
+ "patternProperties": {
1852
+ "^\\d+$": {
1853
+ "type": "object",
1854
+ "properties": {
1855
+ "1": {
1856
+ "type": "integer"
1857
+ },
1858
+ "2": {
1859
+ "type": "integer"
1860
+ },
1861
+ "3": {
1862
+ "type": "integer"
1863
+ },
1864
+ "4": {
1865
+ "type": "integer"
1866
+ },
1867
+ "5": {
1868
+ "type": "integer"
1869
+ },
1870
+ "6": {
1871
+ "type": "integer"
1872
+ },
1873
+ "7": {
1874
+ "type": "integer"
1875
+ },
1876
+ "8": {
1877
+ "type": "integer"
1878
+ },
1879
+ "9": {
1880
+ "type": "integer"
1881
+ }
1882
+ },
1883
+ "additionalProperties": false
1884
+ }
1885
+ },
1886
+ "additionalProperties": false
1887
+ },
1888
+ "optionalfeatureProgression": {
1889
+ "$ref": "../util.json#/$defs/optionalfeatureProgression"
1890
+ },
1891
+ "classFeatures": {
1892
+ "type": "array",
1893
+ "description": "Format: \" name | className | classSource | level | source \" , PHB is assumed as classSource and featureSource is assumed to be the same as classSource.",
1894
+ "items": {
1895
+ "oneOf": [
1896
+ {
1897
+ "type": "string"
1898
+ },
1899
+ {
1900
+ "type": "object",
1901
+ "properties": {
1902
+ "classFeature": {
1903
+ "type": "string"
1904
+ },
1905
+ "gainSubclassFeature": {
1906
+ "type": "boolean"
1907
+ }
1908
+ },
1909
+ "required": [
1910
+ "classFeature"
1911
+ ]
1912
+ }
1913
+ ]
1914
+ }
1915
+ },
1916
+ "subclassTitle": {
1917
+ "type": "string"
1918
+ },
1919
+ "page": {
1920
+ "$ref": "../util.json#/$defs/page"
1921
+ },
1922
+ "fluff": {
1923
+ "type": "array",
1924
+ "items": {
1925
+ "type": "object",
1926
+ "properties": {
1927
+ "name": {
1928
+ "type": "string"
1929
+ },
1930
+ "entries": {
1931
+ "type": "array",
1932
+ "items": {
1933
+ "$ref": "../entry.json"
1934
+ }
1935
+ },
1936
+ "page": {
1937
+ "$ref": "../util.json#/$defs/page"
1938
+ },
1939
+ "source": {
1940
+ "type": "string"
1941
+ },
1942
+ "type": {
1943
+ "type": "string"
1944
+ }
1945
+ },
1946
+ "required": [
1947
+ "entries",
1948
+ "source"
1949
+ ],
1950
+ "additionalProperties": false
1951
+ }
1952
+ },
1953
+ "additionalSpells": {
1954
+ "$ref": "../util.json#/$defs/additionalSpellsArray"
1955
+ },
1956
+ "classSpells": {
1957
+ "description": "Homebrew use only",
1958
+ "type": "array",
1959
+ "items": {
1960
+ "$ref": "#/$defs/spellRef"
1961
+ }
1962
+ },
1963
+ "requirementsSpecial": {
1964
+ "description": "For homebrew use.",
1965
+ "type": "string"
1966
+ },
1967
+ "foundrySystem": {
1968
+ "$ref": "../util.json#/$defs/foundrySystemObject"
1969
+ },
1970
+ "foundryFlags": {
1971
+ "$ref": "../util.json#/$defs/foundryFlagsObject"
1972
+ },
1973
+ "foundryAdvancement": {
1974
+ "$ref": "../util.json#/$defs/foundryAdvancementsArray"
1975
+ },
1976
+ "foundryImg": {
1977
+ "$ref": "../util.json#/$defs/foundryImg"
1978
+ }
1979
+ },
1980
+ "additionalProperties": false
1981
+ },
1982
+ "spellRef": {
1983
+ "description": "A reference to a spell or an existing spell list, linked by name and source. Assumes PHB as the source, if none is provided.",
1984
+ "oneOf": [
1985
+ {
1986
+ "description": "Another class/subclass/subsubclass's spell list",
1987
+ "type": "object",
1988
+ "properties": {
1989
+ "className": {
1990
+ "type": "string"
1991
+ },
1992
+ "classSource": {
1993
+ "type": "string"
1994
+ },
1995
+ "subclassName": {
1996
+ "type": "string"
1997
+ },
1998
+ "subclassSource": {
1999
+ "type": "string"
2000
+ },
2001
+ "subSubclassName": {
2002
+ "type": "string"
2003
+ },
2004
+ "subSubclassSource": {
2005
+ "type": "string"
2006
+ }
2007
+ },
2008
+ "required": [
2009
+ "className",
2010
+ "classSource"
2011
+ ],
2012
+ "additionalProperties": false
2013
+ },
2014
+ {
2015
+ "description": "A spell UID of the form \"fireball\" (PHB source assumed by default) or \"shape water|xge\"",
2016
+ "type": "string"
2017
+ }
2018
+ ]
2019
+ }
2020
+ },
2021
+ "properties": {
2022
+ "_meta": {
2023
+ "$ref": "../util.json#/$defs/metaBlock"
2024
+ },
2025
+ "class": {
2026
+ "type": "array",
2027
+ "items": {
2028
+ "$ref": "#/$defs/class"
2029
+ },
2030
+ "minItems": 1,
2031
+ "uniqueItems": true
2032
+ },
2033
+ "subclass": {
2034
+ "type": "array",
2035
+ "items": {
2036
+ "$ref": "#/$defs/subclass"
2037
+ },
2038
+ "minItems": 1,
2039
+ "uniqueItems": true
2040
+ },
2041
+ "classFeature": {
2042
+ "type": "array",
2043
+ "items": {
2044
+ "$ref": "#/$defs/classFeature"
2045
+ },
2046
+ "minItems": 1,
2047
+ "uniqueItems": true
2048
+ },
2049
+ "subclassFeature": {
2050
+ "type": "array",
2051
+ "items": {
2052
+ "$ref": "#/$defs/subclassFeature"
2053
+ },
2054
+ "minItems": 1,
2055
+ "uniqueItems": true
2056
+ }
2057
+ },
2058
+ "additionalProperties": false
2059
+ }