5etools-utils 0.8.37 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +1 -0
  2. package/bin/test-json-ua.js +5 -0
  3. package/lib/BrewTester.js +3 -3
  4. package/lib/TestJson.js +22 -7
  5. package/package.json +2 -1
  6. package/schema/brew/backgrounds.json +13 -13
  7. package/schema/brew/class/class.json +1 -1
  8. package/schema/brew/items-shared.json +1 -1
  9. package/schema/brew/races.json +1 -1
  10. package/schema/brew/spells/spells.json +61 -61
  11. package/schema/brew/util.json +47 -1
  12. package/schema/brew-fast/backgrounds.json +13 -13
  13. package/schema/brew-fast/class/class.json +1 -1
  14. package/schema/brew-fast/items-shared.json +1 -1
  15. package/schema/brew-fast/races.json +1 -1
  16. package/schema/brew-fast/spells/spells.json +61 -61
  17. package/schema/brew-fast/util.json +47 -1
  18. package/schema/site/backgrounds.json +1 -1
  19. package/schema/site/class/class.json +1 -1
  20. package/schema/site/items-shared.json +1 -1
  21. package/schema/site/races.json +1 -1
  22. package/schema/site/spells/spells.json +1 -1
  23. package/schema/site/util.json +48 -2
  24. package/schema/site-fast/backgrounds.json +1 -1
  25. package/schema/site-fast/class/class.json +1 -1
  26. package/schema/site-fast/items-shared.json +1 -1
  27. package/schema/site-fast/races.json +1 -1
  28. package/schema/site-fast/spells/spells.json +1 -1
  29. package/schema/site-fast/util.json +48 -2
  30. package/schema/ua/actions.json +97 -0
  31. package/schema/ua/adventure/adventure.json +12 -0
  32. package/schema/ua/adventures.json +214 -0
  33. package/schema/ua/backgrounds.json +326 -0
  34. package/schema/ua/bestiary/bestiary.json +3735 -0
  35. package/schema/ua/bestiary/fluff-bestiary.json +15 -0
  36. package/schema/ua/bestiary/fluff-index.json +11 -0
  37. package/schema/ua/bestiary/foundry.json +15 -0
  38. package/schema/ua/bestiary/index.json +11 -0
  39. package/schema/ua/bestiary/legendarygroups.json +202 -0
  40. package/schema/ua/bestiary/template.json +275 -0
  41. package/schema/ua/book/book.json +12 -0
  42. package/schema/ua/books.json +141 -0
  43. package/schema/ua/changelog.json +35 -0
  44. package/schema/ua/charcreationoptions.json +80 -0
  45. package/schema/ua/class/class.json +1881 -0
  46. package/schema/ua/class/foundry.json +397 -0
  47. package/schema/ua/class/index.json +11 -0
  48. package/schema/ua/conditionsdiseases.json +82 -0
  49. package/schema/ua/cultsboons.json +175 -0
  50. package/schema/ua/decks.json +504 -0
  51. package/schema/ua/deities.json +473 -0
  52. package/schema/ua/encounters.json +105 -0
  53. package/schema/ua/entry.json +3748 -0
  54. package/schema/ua/feats.json +117 -0
  55. package/schema/ua/fluff-backgrounds.json +15 -0
  56. package/schema/ua/fluff-charcreationoptions.json +43 -0
  57. package/schema/ua/fluff-conditionsdiseases.json +43 -0
  58. package/schema/ua/fluff-feats.json +15 -0
  59. package/schema/ua/fluff-items.json +15 -0
  60. package/schema/ua/fluff-languages.json +42 -0
  61. package/schema/ua/fluff-objects.json +15 -0
  62. package/schema/ua/fluff-races.json +214 -0
  63. package/schema/ua/fluff-recipes.json +42 -0
  64. package/schema/ua/fluff-vehicles.json +63 -0
  65. package/schema/ua/foundry-actions.json +15 -0
  66. package/schema/ua/foundry-backgrounds.json +53 -0
  67. package/schema/ua/foundry-feats.json +15 -0
  68. package/schema/ua/foundry-items.json +63 -0
  69. package/schema/ua/foundry-optionalfeatures.json +15 -0
  70. package/schema/ua/foundry-psionics.json +56 -0
  71. package/schema/ua/foundry-races.json +58 -0
  72. package/schema/ua/foundry-rewards.json +15 -0
  73. package/schema/ua/foundry-vehicles.json +15 -0
  74. package/schema/ua/generated/bookref-quick.json +72 -0
  75. package/schema/ua/generated/gendata-spell-source-lookup.json +230 -0
  76. package/schema/ua/homebrew.json +633 -0
  77. package/schema/ua/items-base.json +959 -0
  78. package/schema/ua/items-shared.json +267 -0
  79. package/schema/ua/items.json +1770 -0
  80. package/schema/ua/languages.json +123 -0
  81. package/schema/ua/life.json +17 -0
  82. package/schema/ua/loot.json +510 -0
  83. package/schema/ua/magicvariants.json +361 -0
  84. package/schema/ua/makebrew-creature.json +66 -0
  85. package/schema/ua/makecards.json +43 -0
  86. package/schema/ua/monsterfeatures.json +53 -0
  87. package/schema/ua/msbcr.json +60 -0
  88. package/schema/ua/names.json +94 -0
  89. package/schema/ua/objects.json +165 -0
  90. package/schema/ua/optionalfeatures.json +130 -0
  91. package/schema/ua/psionics.json +173 -0
  92. package/schema/ua/races.json +1668 -0
  93. package/schema/ua/recipes.json +185 -0
  94. package/schema/ua/renderdemo.json +16 -0
  95. package/schema/ua/rewards.json +93 -0
  96. package/schema/ua/senses.json +54 -0
  97. package/schema/ua/skills.json +54 -0
  98. package/schema/ua/spells/fluff-index.json +11 -0
  99. package/schema/ua/spells/fluff-spells.json +15 -0
  100. package/schema/ua/spells/foundry.json +15 -0
  101. package/schema/ua/spells/index.json +11 -0
  102. package/schema/ua/spells/roll20.json +112 -0
  103. package/schema/ua/spells/spells.json +1250 -0
  104. package/schema/ua/tables.json +220 -0
  105. package/schema/ua/trapshazards.json +236 -0
  106. package/schema/ua/util.json +4466 -0
  107. package/schema/ua/variantrules.json +74 -0
  108. package/schema/ua/vehicles.json +820 -0
  109. package/schema/ua-fast/actions.json +97 -0
  110. package/schema/ua-fast/adventure/adventure.json +12 -0
  111. package/schema/ua-fast/adventures.json +214 -0
  112. package/schema/ua-fast/backgrounds.json +326 -0
  113. package/schema/ua-fast/bestiary/bestiary.json +3735 -0
  114. package/schema/ua-fast/bestiary/fluff-bestiary.json +15 -0
  115. package/schema/ua-fast/bestiary/fluff-index.json +11 -0
  116. package/schema/ua-fast/bestiary/foundry.json +15 -0
  117. package/schema/ua-fast/bestiary/index.json +11 -0
  118. package/schema/ua-fast/bestiary/legendarygroups.json +202 -0
  119. package/schema/ua-fast/bestiary/template.json +275 -0
  120. package/schema/ua-fast/book/book.json +12 -0
  121. package/schema/ua-fast/books.json +141 -0
  122. package/schema/ua-fast/changelog.json +35 -0
  123. package/schema/ua-fast/charcreationoptions.json +80 -0
  124. package/schema/ua-fast/class/class.json +1881 -0
  125. package/schema/ua-fast/class/foundry.json +397 -0
  126. package/schema/ua-fast/class/index.json +11 -0
  127. package/schema/ua-fast/conditionsdiseases.json +82 -0
  128. package/schema/ua-fast/cultsboons.json +175 -0
  129. package/schema/ua-fast/decks.json +504 -0
  130. package/schema/ua-fast/deities.json +473 -0
  131. package/schema/ua-fast/encounters.json +105 -0
  132. package/schema/ua-fast/entry.json +3748 -0
  133. package/schema/ua-fast/feats.json +117 -0
  134. package/schema/ua-fast/fluff-backgrounds.json +15 -0
  135. package/schema/ua-fast/fluff-charcreationoptions.json +43 -0
  136. package/schema/ua-fast/fluff-conditionsdiseases.json +43 -0
  137. package/schema/ua-fast/fluff-feats.json +15 -0
  138. package/schema/ua-fast/fluff-items.json +15 -0
  139. package/schema/ua-fast/fluff-languages.json +42 -0
  140. package/schema/ua-fast/fluff-objects.json +15 -0
  141. package/schema/ua-fast/fluff-races.json +214 -0
  142. package/schema/ua-fast/fluff-recipes.json +42 -0
  143. package/schema/ua-fast/fluff-vehicles.json +63 -0
  144. package/schema/ua-fast/foundry-actions.json +15 -0
  145. package/schema/ua-fast/foundry-backgrounds.json +53 -0
  146. package/schema/ua-fast/foundry-feats.json +15 -0
  147. package/schema/ua-fast/foundry-items.json +63 -0
  148. package/schema/ua-fast/foundry-optionalfeatures.json +15 -0
  149. package/schema/ua-fast/foundry-psionics.json +56 -0
  150. package/schema/ua-fast/foundry-races.json +58 -0
  151. package/schema/ua-fast/foundry-rewards.json +15 -0
  152. package/schema/ua-fast/foundry-vehicles.json +15 -0
  153. package/schema/ua-fast/generated/bookref-quick.json +72 -0
  154. package/schema/ua-fast/generated/gendata-spell-source-lookup.json +230 -0
  155. package/schema/ua-fast/homebrew.json +631 -0
  156. package/schema/ua-fast/items-base.json +959 -0
  157. package/schema/ua-fast/items-shared.json +267 -0
  158. package/schema/ua-fast/items.json +1770 -0
  159. package/schema/ua-fast/languages.json +123 -0
  160. package/schema/ua-fast/life.json +17 -0
  161. package/schema/ua-fast/loot.json +510 -0
  162. package/schema/ua-fast/magicvariants.json +361 -0
  163. package/schema/ua-fast/makebrew-creature.json +66 -0
  164. package/schema/ua-fast/makecards.json +43 -0
  165. package/schema/ua-fast/monsterfeatures.json +53 -0
  166. package/schema/ua-fast/msbcr.json +60 -0
  167. package/schema/ua-fast/names.json +94 -0
  168. package/schema/ua-fast/objects.json +165 -0
  169. package/schema/ua-fast/optionalfeatures.json +130 -0
  170. package/schema/ua-fast/psionics.json +173 -0
  171. package/schema/ua-fast/races.json +1668 -0
  172. package/schema/ua-fast/recipes.json +185 -0
  173. package/schema/ua-fast/renderdemo.json +16 -0
  174. package/schema/ua-fast/rewards.json +93 -0
  175. package/schema/ua-fast/senses.json +54 -0
  176. package/schema/ua-fast/skills.json +54 -0
  177. package/schema/ua-fast/spells/fluff-index.json +11 -0
  178. package/schema/ua-fast/spells/fluff-spells.json +15 -0
  179. package/schema/ua-fast/spells/foundry.json +15 -0
  180. package/schema/ua-fast/spells/index.json +11 -0
  181. package/schema/ua-fast/spells/roll20.json +112 -0
  182. package/schema/ua-fast/spells/spells.json +1250 -0
  183. package/schema/ua-fast/tables.json +220 -0
  184. package/schema/ua-fast/trapshazards.json +236 -0
  185. package/schema/ua-fast/util.json +4466 -0
  186. package/schema/ua-fast/variantrules.json +74 -0
  187. package/schema/ua-fast/vehicles.json +820 -0
@@ -0,0 +1,97 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "actions.json",
4
+ "version": "1.2.0",
5
+ "type": "object",
6
+ "$defs": {
7
+ "action": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "entries": {
14
+ "type": "array",
15
+ "items": {
16
+ "$ref": "entry.json"
17
+ }
18
+ },
19
+ "source": {
20
+ "$ref": "util.json#/$defs/source"
21
+ },
22
+ "page": {
23
+ "$ref": "util.json#/$defs/page"
24
+ },
25
+ "fromVariant": {
26
+ "type": "string",
27
+ "description": "UID of a \"variantrule\" to be linked as a footnote in the action."
28
+ },
29
+ "time": {
30
+ "type": "array",
31
+ "items": {
32
+ "oneOf": [
33
+ {
34
+ "type": "string"
35
+ },
36
+ {
37
+ "type": "object",
38
+ "properties": {
39
+ "unit": {
40
+ "type": "string",
41
+ "enum": [
42
+ "action",
43
+ "bonus",
44
+ "reaction"
45
+ ]
46
+ },
47
+ "number": {
48
+ "type": "integer"
49
+ }
50
+ },
51
+ "required": [
52
+ "unit",
53
+ "number"
54
+ ],
55
+ "additionalProperties": false
56
+ }
57
+ ]
58
+ }
59
+ },
60
+ "srd": {
61
+ "$ref": "util.json#/$defs/srd"
62
+ },
63
+ "basicRules": {
64
+ "$ref": "util.json#/$defs/basicRules"
65
+ },
66
+ "seeAlsoAction": {
67
+ "type": "array",
68
+ "items": {
69
+ "type": "string",
70
+ "description": "UIDs of \"action\"s to be linked in a \"See Also\" footnote.\nEx.: \"disarm|dmg\"."
71
+ }
72
+ }
73
+ },
74
+ "required": [
75
+ "name",
76
+ "entries",
77
+ "source",
78
+ "page"
79
+ ],
80
+ "additionalProperties": false
81
+ }
82
+ },
83
+ "properties": {
84
+ "action": {
85
+ "type": "array",
86
+ "minItems": 1,
87
+ "uniqueItems": true,
88
+ "items": {
89
+ "$ref": "#/$defs/action"
90
+ }
91
+ }
92
+ },
93
+ "required": [
94
+ "action"
95
+ ],
96
+ "additionalProperties": false
97
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "adventure.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,214 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "adventures.json",
4
+ "version": "1.10.11",
5
+ "type": "object",
6
+ "properties": {
7
+ "adventure": {
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 adventure in tags."
23
+ },
24
+ "source": {
25
+ "$ref": "util.json#/$defs/source"
26
+ },
27
+ "parentSource": {
28
+ "type": "string",
29
+ "description": "Used for books that contain multiple adventures, e.g. TftYP",
30
+ "$ref": "util.json#/$defs/source"
31
+ },
32
+ "group": {
33
+ "description": "The group under which this adventure should be listed in the navbar.",
34
+ "type": "string",
35
+ "enum": [
36
+ "supplement",
37
+ "supplement-alt",
38
+ "prerelease",
39
+ "homebrew",
40
+ "other"
41
+ ]
42
+ },
43
+ "contents": {
44
+ "description": "The linked Table of Contents of the adventure.",
45
+ "type": "array",
46
+ "minItems": 1,
47
+ "items": {
48
+ "type": "object",
49
+ "properties": {
50
+ "name": {
51
+ "type": "string"
52
+ },
53
+ "headers": {
54
+ "type": "array",
55
+ "minItems": 1,
56
+ "items": {
57
+ "oneOf": [
58
+ {
59
+ "type": "string"
60
+ },
61
+ {
62
+ "type": "object",
63
+ "properties": {
64
+ "depth": {
65
+ "type": "integer"
66
+ },
67
+ "header": {
68
+ "type": "string"
69
+ },
70
+ "index": {
71
+ "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.",
72
+ "type": "integer"
73
+ }
74
+ },
75
+ "required": [
76
+ "header"
77
+ ]
78
+ }
79
+ ]
80
+ }
81
+ },
82
+ "ordinal": {
83
+ "type": "object",
84
+ "properties": {
85
+ "type": {
86
+ "type": "string",
87
+ "enum": [
88
+ "chapter",
89
+ "appendix",
90
+ "part",
91
+ "episode",
92
+ "level"
93
+ ]
94
+ },
95
+ "identifier": {
96
+ "type": [
97
+ "integer",
98
+ "string"
99
+ ]
100
+ }
101
+ },
102
+ "additionalProperties": false,
103
+ "required": [
104
+ "type",
105
+ "identifier"
106
+ ]
107
+ }
108
+ },
109
+ "additionalProperties": false,
110
+ "required": [
111
+ "name"
112
+ ]
113
+ }
114
+ },
115
+ "level": {
116
+ "description": "The character levels that the adventure ranges across.",
117
+ "oneOf": [
118
+ {
119
+ "type": "object",
120
+ "properties": {
121
+ "start": {
122
+ "type": "integer"
123
+ },
124
+ "end": {
125
+ "type": "integer"
126
+ }
127
+ },
128
+ "additionalProperties": false,
129
+ "required": [
130
+ "start",
131
+ "end"
132
+ ]
133
+ },
134
+ {
135
+ "type": "object",
136
+ "properties": {
137
+ "custom": {
138
+ "type": "string"
139
+ }
140
+ },
141
+ "additionalProperties": false,
142
+ "required": [
143
+ "custom"
144
+ ]
145
+ }
146
+ ]
147
+ },
148
+ "published": {
149
+ "type": "string",
150
+ "format": "date",
151
+ "description": "The date of publication of the adventure, in the format YYYY-MM-DD (RFC3339)."
152
+ },
153
+ "publishedOrder": {
154
+ "description": "A sorting order for adventures within a single source.",
155
+ "type": "integer"
156
+ },
157
+ "coverUrl": {
158
+ "description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
159
+ "type": "string"
160
+ },
161
+ "storyline": {
162
+ "type": "string",
163
+ "enum": [
164
+ "Starter Set",
165
+ "Tyranny of Dragons",
166
+ "Elemental Evil",
167
+ "Rage of Demons",
168
+ "Ravenloft",
169
+ "Storm King's Thunder",
170
+ "Tales from the Yawning Portal",
171
+ "Tomb of Annihilation",
172
+ "Waterdeep",
173
+ "Ravnica",
174
+ "Extra Life",
175
+ "Ghosts of Saltmarsh",
176
+ "Acquisitions Incorporated",
177
+ "Essentials Kit",
178
+ "Stranger Things",
179
+ "Baldur's Gate",
180
+ "Eberron",
181
+ "Rick and Morty",
182
+ "Wildemount",
183
+ "Icewind Dale",
184
+ "Mythic Odysseys of Theros",
185
+ "Candlekeep Mysteries",
186
+ "Adventures in the Forgotten Realms",
187
+ "The Wild Beyond the Witchlight",
188
+ "Ixalan",
189
+ "NERDS Restoring Harmony",
190
+ "Strixhaven",
191
+ "Critical Role",
192
+ "Journeys through the Radiant Citadel",
193
+ "Spelljammer",
194
+ "Dragonlance",
195
+ "Keys from the Golden Vault"
196
+ ]
197
+ }
198
+ },
199
+ "additionalProperties": false,
200
+ "required": [
201
+ "name",
202
+ "id",
203
+ "source",
204
+ "contents",
205
+ "level",
206
+ "published",
207
+ "storyline",
208
+ "group"
209
+ ]
210
+ }
211
+ }
212
+ },
213
+ "additionalProperties": false
214
+ }
@@ -0,0 +1,326 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "backgrounds.json",
4
+ "version": "1.3.3",
5
+ "type": "object",
6
+ "$defs": {
7
+ "backgroundData": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "source": {
14
+ "$ref": "util.json#/$defs/source"
15
+ },
16
+ "page": {
17
+ "$ref": "util.json#/$defs/page"
18
+ },
19
+ "prerequisite": {
20
+ "$ref": "util.json#/$defs/prerequisite"
21
+ },
22
+ "skillProficiencies": {
23
+ "$ref": "util.json#/$defs/skillProficiencies"
24
+ },
25
+ "toolProficiencies": {
26
+ "$ref": "util.json#/$defs/toolProficiencies"
27
+ },
28
+ "languageProficiencies": {
29
+ "$ref": "util.json#/$defs/languageProficiencies"
30
+ },
31
+ "feats": {
32
+ "$ref": "util.json#/$defs/additionalFeatsArray"
33
+ },
34
+ "entries": {
35
+ "type": "array",
36
+ "items": {
37
+ "$ref": "entry.json"
38
+ }
39
+ },
40
+ "additionalSources": {
41
+ "$ref": "util.json#/$defs/additionalSources"
42
+ },
43
+ "srd": {
44
+ "$ref": "util.json#/$defs/srd"
45
+ },
46
+ "basicRules": {
47
+ "$ref": "util.json#/$defs/basicRules"
48
+ },
49
+ "otherSources": {
50
+ "$ref": "util.json#/$defs/otherSources"
51
+ },
52
+ "startingEquipment": {
53
+ "$ref": "util.json#/$defs/startingEquipment"
54
+ },
55
+ "additionalSpells": {
56
+ "$ref": "util.json#/$defs/additionalSpellsArray"
57
+ },
58
+ "ability": {
59
+ "$ref": "util.json#/$defs/abilityScores"
60
+ },
61
+ "fromFeature": {
62
+ "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
63
+ "type": "object",
64
+ "patternProperties": {
65
+ "^.*$": {
66
+ "type": "boolean",
67
+ "const": true
68
+ }
69
+ }
70
+ },
71
+ "hasFluff": {
72
+ "type": "boolean"
73
+ },
74
+ "hasFluffImages": {
75
+ "type": "boolean"
76
+ },
77
+ "fluff": {
78
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
79
+ "$ref": "util.json#/$defs/fluffObject"
80
+ }
81
+ },
82
+ "additionalProperties": false
83
+ },
84
+ "background": {
85
+ "anyOf": [
86
+ {
87
+ "type": "object",
88
+ "properties": {
89
+ "name": {
90
+ "type": "string"
91
+ },
92
+ "source": {
93
+ "$ref": "util.json#/$defs/source"
94
+ },
95
+ "page": {
96
+ "$ref": "util.json#/$defs/page"
97
+ },
98
+ "prerequisite": {
99
+ "$ref": "util.json#/$defs/prerequisite"
100
+ },
101
+ "skillProficiencies": {
102
+ "$ref": "util.json#/$defs/skillProficiencies"
103
+ },
104
+ "toolProficiencies": {
105
+ "$ref": "util.json#/$defs/toolProficiencies"
106
+ },
107
+ "languageProficiencies": {
108
+ "$ref": "util.json#/$defs/languageProficiencies"
109
+ },
110
+ "feats": {
111
+ "$ref": "util.json#/$defs/additionalFeatsArray"
112
+ },
113
+ "entries": {
114
+ "type": "array",
115
+ "items": {
116
+ "$ref": "entry.json"
117
+ }
118
+ },
119
+ "additionalSources": {
120
+ "$ref": "util.json#/$defs/additionalSources"
121
+ },
122
+ "srd": {
123
+ "$ref": "util.json#/$defs/srd"
124
+ },
125
+ "basicRules": {
126
+ "$ref": "util.json#/$defs/basicRules"
127
+ },
128
+ "otherSources": {
129
+ "$ref": "util.json#/$defs/otherSources"
130
+ },
131
+ "startingEquipment": {
132
+ "$ref": "util.json#/$defs/startingEquipment"
133
+ },
134
+ "additionalSpells": {
135
+ "$ref": "util.json#/$defs/additionalSpellsArray"
136
+ },
137
+ "ability": {
138
+ "$ref": "util.json#/$defs/abilityScores"
139
+ },
140
+ "fromFeature": {
141
+ "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
142
+ "type": "object",
143
+ "patternProperties": {
144
+ "^.*$": {
145
+ "type": "boolean",
146
+ "const": true
147
+ }
148
+ }
149
+ },
150
+ "hasFluff": {
151
+ "type": "boolean"
152
+ },
153
+ "hasFluffImages": {
154
+ "type": "boolean"
155
+ },
156
+ "fluff": {
157
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
158
+ "$ref": "util.json#/$defs/fluffObject"
159
+ }
160
+ },
161
+ "additionalProperties": false,
162
+ "required": [
163
+ "name",
164
+ "source",
165
+ "entries"
166
+ ]
167
+ },
168
+ {
169
+ "type": "object",
170
+ "properties": {
171
+ "name": {
172
+ "type": "string"
173
+ },
174
+ "source": {
175
+ "$ref": "util.json#/$defs/source"
176
+ },
177
+ "page": {
178
+ "$ref": "util.json#/$defs/page"
179
+ },
180
+ "prerequisite": {
181
+ "$ref": "util.json#/$defs/prerequisite"
182
+ },
183
+ "skillProficiencies": {
184
+ "$ref": "util.json#/$defs/skillProficiencies"
185
+ },
186
+ "toolProficiencies": {
187
+ "$ref": "util.json#/$defs/toolProficiencies"
188
+ },
189
+ "languageProficiencies": {
190
+ "$ref": "util.json#/$defs/languageProficiencies"
191
+ },
192
+ "feats": {
193
+ "$ref": "util.json#/$defs/additionalFeatsArray"
194
+ },
195
+ "entries": {
196
+ "type": "array",
197
+ "items": {
198
+ "$ref": "entry.json"
199
+ }
200
+ },
201
+ "additionalSources": {
202
+ "$ref": "util.json#/$defs/additionalSources"
203
+ },
204
+ "srd": {
205
+ "$ref": "util.json#/$defs/srd"
206
+ },
207
+ "basicRules": {
208
+ "$ref": "util.json#/$defs/basicRules"
209
+ },
210
+ "otherSources": {
211
+ "$ref": "util.json#/$defs/otherSources"
212
+ },
213
+ "startingEquipment": {
214
+ "$ref": "util.json#/$defs/startingEquipment"
215
+ },
216
+ "additionalSpells": {
217
+ "$ref": "util.json#/$defs/additionalSpellsArray"
218
+ },
219
+ "ability": {
220
+ "$ref": "util.json#/$defs/abilityScores"
221
+ },
222
+ "fromFeature": {
223
+ "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
224
+ "type": "object",
225
+ "patternProperties": {
226
+ "^.*$": {
227
+ "type": "boolean",
228
+ "const": true
229
+ }
230
+ }
231
+ },
232
+ "hasFluff": {
233
+ "type": "boolean"
234
+ },
235
+ "hasFluffImages": {
236
+ "type": "boolean"
237
+ },
238
+ "fluff": {
239
+ "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
240
+ "$ref": "util.json#/$defs/fluffObject"
241
+ },
242
+ "_copy": {
243
+ "type": "object",
244
+ "properties": {
245
+ "name": {
246
+ "type": "string"
247
+ },
248
+ "source": {
249
+ "$ref": "util.json#/$defs/source"
250
+ },
251
+ "pantheon": {
252
+ "description": "Used in deity data",
253
+ "type": "string"
254
+ },
255
+ "shortName": {
256
+ "description": "Used in subclass data",
257
+ "type": "string"
258
+ },
259
+ "className": {
260
+ "description": "Used in subclass data",
261
+ "type": "string"
262
+ },
263
+ "classSource": {
264
+ "description": "Used in subclass data",
265
+ "$ref": "util.json#/$defs/source"
266
+ },
267
+ "_mod": {
268
+ "$ref": "util.json#/$defs/_modObject"
269
+ },
270
+ "_trait": {
271
+ "type": "object",
272
+ "properties": {
273
+ "name": {
274
+ "type": "string"
275
+ },
276
+ "source": {
277
+ "$ref": "util.json#/$defs/source"
278
+ }
279
+ },
280
+ "required": [
281
+ "name",
282
+ "source"
283
+ ]
284
+ },
285
+ "_preserve": {
286
+ "type": "object",
287
+ "patternProperties": {
288
+ ".*": {
289
+ "const": true
290
+ }
291
+ }
292
+ }
293
+ },
294
+ "required": [
295
+ "name",
296
+ "source"
297
+ ],
298
+ "additionalProperties": false
299
+ }
300
+ },
301
+ "additionalProperties": false,
302
+ "required": [
303
+ "_copy"
304
+ ]
305
+ }
306
+ ]
307
+ }
308
+ },
309
+ "properties": {
310
+ "background": {
311
+ "type": "array",
312
+ "minItems": 1,
313
+ "uniqueItems": true,
314
+ "items": {
315
+ "$ref": "#/$defs/background"
316
+ }
317
+ },
318
+ "_meta": {
319
+ "$ref": "util.json#/$defs/metaBlock"
320
+ }
321
+ },
322
+ "required": [
323
+ "background"
324
+ ],
325
+ "additionalProperties": false
326
+ }