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,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-bestiary.json",
4
+ "version": "2.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "monsterFluff": {
8
+ "$ref": "../util.json#/$defs/genericFluffArray"
9
+ },
10
+ "_meta": {
11
+ "$ref": "../util.json#/$defs/metaBlock"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-bestiary.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "monster": {
8
+ "$ref": "../util.json#/$defs/foundrySideDataGenericArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "monster"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,202 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "legendarygroups.json",
4
+ "version": "1.2.3",
5
+ "type": "object",
6
+ "$defs": {
7
+ "legendaryGroupData": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "source": {
14
+ "type": "string"
15
+ },
16
+ "page": {
17
+ "$ref": "../util.json#/$defs/page"
18
+ },
19
+ "additionalSources": {
20
+ "$ref": "../util.json#/$defs/additionalSources"
21
+ },
22
+ "lairActions": {
23
+ "type": "array",
24
+ "items": {
25
+ "$ref": "../entry.json"
26
+ }
27
+ },
28
+ "regionalEffects": {
29
+ "type": "array",
30
+ "items": {
31
+ "$ref": "../entry.json"
32
+ }
33
+ },
34
+ "mythicEncounter": {
35
+ "type": "array",
36
+ "items": {
37
+ "$ref": "../entry.json"
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ },
43
+ "legendaryGroup": {
44
+ "anyOf": [
45
+ {
46
+ "type": "object",
47
+ "properties": {
48
+ "name": {
49
+ "type": "string"
50
+ },
51
+ "source": {
52
+ "type": "string"
53
+ },
54
+ "page": {
55
+ "$ref": "../util.json#/$defs/page"
56
+ },
57
+ "additionalSources": {
58
+ "$ref": "../util.json#/$defs/additionalSources"
59
+ },
60
+ "lairActions": {
61
+ "type": "array",
62
+ "items": {
63
+ "$ref": "../entry.json"
64
+ }
65
+ },
66
+ "regionalEffects": {
67
+ "type": "array",
68
+ "items": {
69
+ "$ref": "../entry.json"
70
+ }
71
+ },
72
+ "mythicEncounter": {
73
+ "type": "array",
74
+ "items": {
75
+ "$ref": "../entry.json"
76
+ }
77
+ }
78
+ },
79
+ "additionalProperties": false,
80
+ "required": [
81
+ "name",
82
+ "source"
83
+ ]
84
+ },
85
+ {
86
+ "type": "object",
87
+ "properties": {
88
+ "name": {
89
+ "type": "string"
90
+ },
91
+ "source": {
92
+ "type": "string"
93
+ },
94
+ "page": {
95
+ "$ref": "../util.json#/$defs/page"
96
+ },
97
+ "additionalSources": {
98
+ "$ref": "../util.json#/$defs/additionalSources"
99
+ },
100
+ "lairActions": {
101
+ "type": "array",
102
+ "items": {
103
+ "$ref": "../entry.json"
104
+ }
105
+ },
106
+ "regionalEffects": {
107
+ "type": "array",
108
+ "items": {
109
+ "$ref": "../entry.json"
110
+ }
111
+ },
112
+ "mythicEncounter": {
113
+ "type": "array",
114
+ "items": {
115
+ "$ref": "../entry.json"
116
+ }
117
+ },
118
+ "_copy": {
119
+ "type": "object",
120
+ "properties": {
121
+ "name": {
122
+ "type": "string"
123
+ },
124
+ "source": {
125
+ "type": "string"
126
+ },
127
+ "pantheon": {
128
+ "description": "Used in deity data",
129
+ "type": "string"
130
+ },
131
+ "shortName": {
132
+ "description": "Used in subclass data",
133
+ "type": "string"
134
+ },
135
+ "className": {
136
+ "description": "Used in subclass data",
137
+ "type": "string"
138
+ },
139
+ "classSource": {
140
+ "description": "Used in subclass data",
141
+ "type": "string"
142
+ },
143
+ "_mod": {
144
+ "$ref": "../util.json#/$defs/_modObject"
145
+ },
146
+ "_trait": {
147
+ "type": "object",
148
+ "properties": {
149
+ "name": {
150
+ "type": "string"
151
+ },
152
+ "source": {
153
+ "type": "string"
154
+ }
155
+ },
156
+ "required": [
157
+ "name",
158
+ "source"
159
+ ]
160
+ },
161
+ "_preserve": {
162
+ "type": "object",
163
+ "patternProperties": {
164
+ ".*": {
165
+ "const": true
166
+ }
167
+ }
168
+ }
169
+ },
170
+ "required": [
171
+ "name",
172
+ "source"
173
+ ],
174
+ "additionalProperties": false
175
+ }
176
+ },
177
+ "additionalProperties": false,
178
+ "required": [
179
+ "_copy"
180
+ ]
181
+ }
182
+ ]
183
+ }
184
+ },
185
+ "properties": {
186
+ "_meta": {
187
+ "$ref": "../util.json#/$defs/metaBlock"
188
+ },
189
+ "legendaryGroup": {
190
+ "type": "array",
191
+ "minItems": 1,
192
+ "uniqueItems": true,
193
+ "items": {
194
+ "$ref": "#/$defs/legendaryGroup"
195
+ }
196
+ }
197
+ },
198
+ "required": [
199
+ "legendaryGroup"
200
+ ],
201
+ "additionalProperties": false
202
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "version": "1.0.2",
4
+ "$id": "traits.json",
5
+ "type": "object",
6
+ "$defs": {
7
+ "trait": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "source": {
14
+ "type": "string"
15
+ },
16
+ "page": {
17
+ "$ref": "../util.json#/$defs/page"
18
+ },
19
+ "ref": {
20
+ "type": "string"
21
+ },
22
+ "crMin": {
23
+ "type": "string"
24
+ },
25
+ "crMax": {
26
+ "type": "string"
27
+ },
28
+ "prerequisite": {
29
+ "type": "object",
30
+ "patternProperties": {
31
+ "^.*$": {
32
+ "oneOf": [
33
+ {
34
+ "type": "object",
35
+ "properties": {
36
+ "min": {},
37
+ "max": {}
38
+ },
39
+ "additionalProperties": false
40
+ },
41
+ {
42
+ "type": "object",
43
+ "properties": {
44
+ "oneOf": {
45
+ "type": "array"
46
+ }
47
+ },
48
+ "additionalProperties": false
49
+ }
50
+ ]
51
+ }
52
+ }
53
+ },
54
+ "apply": {
55
+ "type": "object",
56
+ "properties": {
57
+ "_root": {
58
+ "$ref": "bestiary.json#/$defs/creatureData"
59
+ },
60
+ "_mod": {
61
+ "$ref": "../util.json#/$defs/_modObject"
62
+ }
63
+ }
64
+ }
65
+ },
66
+ "additionalProperties": false,
67
+ "required": [
68
+ "name",
69
+ "source",
70
+ "apply"
71
+ ]
72
+ }
73
+ },
74
+ "properties": {
75
+ "trait": {
76
+ "type": "array",
77
+ "minItems": 1,
78
+ "uniqueItems": true,
79
+ "items": {
80
+ "$ref": "#/$defs/trait"
81
+ }
82
+ }
83
+ },
84
+ "additionalProperties": false
85
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "book.json",
4
+ "version": "1.2.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "data": {
8
+ "$ref": "../util.json#/$defs/adventureBookData"
9
+ }
10
+ },
11
+ "additionalProperties": false
12
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "books.json",
4
+ "version": "1.2.7",
5
+ "type": "object",
6
+ "properties": {
7
+ "book": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "alias": {
18
+ "$ref": "util.json#/$defs/alias"
19
+ },
20
+ "id": {
21
+ "type": "string",
22
+ "description": "An ID that will be used to refer to this book in tags."
23
+ },
24
+ "source": {
25
+ "type": "string"
26
+ },
27
+ "group": {
28
+ "description": "The group under which this book should be listed in the navbar.",
29
+ "type": "string",
30
+ "enum": [
31
+ "core",
32
+ "supplement",
33
+ "supplement-alt",
34
+ "setting",
35
+ "homebrew",
36
+ "screen",
37
+ "other"
38
+ ]
39
+ },
40
+ "author": {
41
+ "type": "string"
42
+ },
43
+ "published": {
44
+ "type": "string",
45
+ "format": "date",
46
+ "description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
47
+ },
48
+ "coverUrl": {
49
+ "description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
50
+ "type": "string"
51
+ },
52
+ "contents": {
53
+ "description": "The linked Table of Contents of the rulebook.",
54
+ "type": "array",
55
+ "minItems": 1,
56
+ "items": {
57
+ "type": "object",
58
+ "properties": {
59
+ "name": {
60
+ "type": "string"
61
+ },
62
+ "headers": {
63
+ "type": "array",
64
+ "minItems": 1,
65
+ "items": {
66
+ "oneOf": [
67
+ {
68
+ "type": "string"
69
+ },
70
+ {
71
+ "type": "object",
72
+ "properties": {
73
+ "depth": {
74
+ "type": "integer"
75
+ },
76
+ "header": {
77
+ "type": "string"
78
+ },
79
+ "index": {
80
+ "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
81
+ "type": "integer"
82
+ }
83
+ },
84
+ "required": [
85
+ "header"
86
+ ]
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ "ordinal": {
92
+ "type": "object",
93
+ "properties": {
94
+ "type": {
95
+ "type": "string",
96
+ "enum": [
97
+ "chapter",
98
+ "appendix",
99
+ "part",
100
+ "episode",
101
+ "level"
102
+ ]
103
+ },
104
+ "identifier": {
105
+ "type": [
106
+ "integer",
107
+ "string"
108
+ ]
109
+ }
110
+ },
111
+ "additionalProperties": false,
112
+ "required": [
113
+ "type"
114
+ ]
115
+ }
116
+ },
117
+ "additionalProperties": false,
118
+ "required": [
119
+ "name"
120
+ ]
121
+ }
122
+ }
123
+ },
124
+ "additionalProperties": false,
125
+ "required": [
126
+ "name",
127
+ "id",
128
+ "source",
129
+ "contents",
130
+ "published",
131
+ "group"
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ "additionalProperties": false
137
+ }
@@ -0,0 +1,80 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "charcreationoptions.json",
4
+ "version": "1.2.0",
5
+ "title": "Character Creation Options",
6
+ "type": "object",
7
+ "$defs": {
8
+ "optionType": {
9
+ "type": "string",
10
+ "description": "CS: Character Secret\nDG: Dark Gift\n OF: Optional Feature\n RF:B Replacement Feature: Background\n SG: Supernatural Gift",
11
+ "enum": [
12
+ "CS",
13
+ "DG",
14
+ "OF",
15
+ "RF:B",
16
+ "SG"
17
+ ]
18
+ },
19
+ "charoption": {
20
+ "type": "object",
21
+ "properties": {
22
+ "name": {
23
+ "type": "string"
24
+ },
25
+ "entries": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "entry.json"
29
+ }
30
+ },
31
+ "source": {
32
+ "type": "string"
33
+ },
34
+ "page": {
35
+ "$ref": "util.json#/$defs/page"
36
+ },
37
+ "optionType": {
38
+ "$comment": "Note that this field supports arbitrary strings for homebrew usage.",
39
+ "type": "array",
40
+ "items": {
41
+ "$ref": "#/$defs/optionType"
42
+ }
43
+ },
44
+ "otherSources": {
45
+ "$ref": "util.json#/$defs/otherSources"
46
+ },
47
+ "srd": {
48
+ "$ref": "util.json#/$defs/srd"
49
+ },
50
+ "hasFluff": {
51
+ "type": "boolean"
52
+ },
53
+ "hasFluffImages": {
54
+ "type": "boolean"
55
+ },
56
+ "prerequisite": {
57
+ "$ref": "util.json#/$defs/prerequisite"
58
+ }
59
+ },
60
+ "required": [
61
+ "name",
62
+ "entries",
63
+ "source",
64
+ "optionType"
65
+ ],
66
+ "additionalProperties": false
67
+ }
68
+ },
69
+ "properties": {
70
+ "charoption": {
71
+ "type": "array",
72
+ "minItems": 1,
73
+ "uniqueItems": true,
74
+ "items": {
75
+ "$ref": "#/$defs/charoption"
76
+ }
77
+ }
78
+ },
79
+ "additionalProperties": false
80
+ }