5etools-utils 0.8.37 → 0.9.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 (165) hide show
  1. package/README.md +1 -0
  2. package/bin/test-json-ua.js +5 -0
  3. package/lib/BrewTester.js +2 -2
  4. package/lib/TestJson.js +19 -6
  5. package/package.json +2 -1
  6. package/schema/site/util.json +1 -1
  7. package/schema/site-fast/util.json +1 -1
  8. package/schema/ua/actions.json +97 -0
  9. package/schema/ua/adventure/adventure.json +12 -0
  10. package/schema/ua/adventures.json +214 -0
  11. package/schema/ua/backgrounds.json +314 -0
  12. package/schema/ua/bestiary/bestiary.json +3735 -0
  13. package/schema/ua/bestiary/fluff-bestiary.json +15 -0
  14. package/schema/ua/bestiary/fluff-index.json +11 -0
  15. package/schema/ua/bestiary/foundry.json +15 -0
  16. package/schema/ua/bestiary/index.json +11 -0
  17. package/schema/ua/bestiary/legendarygroups.json +202 -0
  18. package/schema/ua/bestiary/template.json +275 -0
  19. package/schema/ua/book/book.json +12 -0
  20. package/schema/ua/books.json +141 -0
  21. package/schema/ua/changelog.json +35 -0
  22. package/schema/ua/charcreationoptions.json +80 -0
  23. package/schema/ua/class/class.json +1782 -0
  24. package/schema/ua/class/foundry.json +397 -0
  25. package/schema/ua/class/index.json +11 -0
  26. package/schema/ua/conditionsdiseases.json +82 -0
  27. package/schema/ua/cultsboons.json +175 -0
  28. package/schema/ua/decks.json +504 -0
  29. package/schema/ua/deities.json +473 -0
  30. package/schema/ua/encounters.json +105 -0
  31. package/schema/ua/entry.json +3748 -0
  32. package/schema/ua/feats.json +117 -0
  33. package/schema/ua/fluff-backgrounds.json +15 -0
  34. package/schema/ua/fluff-charcreationoptions.json +43 -0
  35. package/schema/ua/fluff-conditionsdiseases.json +43 -0
  36. package/schema/ua/fluff-feats.json +15 -0
  37. package/schema/ua/fluff-items.json +15 -0
  38. package/schema/ua/fluff-languages.json +42 -0
  39. package/schema/ua/fluff-objects.json +15 -0
  40. package/schema/ua/fluff-races.json +214 -0
  41. package/schema/ua/fluff-recipes.json +42 -0
  42. package/schema/ua/fluff-vehicles.json +63 -0
  43. package/schema/ua/foundry-actions.json +15 -0
  44. package/schema/ua/foundry-backgrounds.json +53 -0
  45. package/schema/ua/foundry-feats.json +15 -0
  46. package/schema/ua/foundry-items.json +63 -0
  47. package/schema/ua/foundry-optionalfeatures.json +15 -0
  48. package/schema/ua/foundry-psionics.json +56 -0
  49. package/schema/ua/foundry-races.json +58 -0
  50. package/schema/ua/foundry-rewards.json +15 -0
  51. package/schema/ua/foundry-vehicles.json +15 -0
  52. package/schema/ua/generated/bookref-quick.json +72 -0
  53. package/schema/ua/generated/gendata-spell-source-lookup.json +230 -0
  54. package/schema/ua/homebrew.json +633 -0
  55. package/schema/ua/items-base.json +959 -0
  56. package/schema/ua/items-shared.json +267 -0
  57. package/schema/ua/items.json +1770 -0
  58. package/schema/ua/languages.json +123 -0
  59. package/schema/ua/life.json +17 -0
  60. package/schema/ua/loot.json +510 -0
  61. package/schema/ua/magicvariants.json +361 -0
  62. package/schema/ua/makebrew-creature.json +66 -0
  63. package/schema/ua/makecards.json +43 -0
  64. package/schema/ua/monsterfeatures.json +53 -0
  65. package/schema/ua/msbcr.json +60 -0
  66. package/schema/ua/names.json +94 -0
  67. package/schema/ua/objects.json +165 -0
  68. package/schema/ua/optionalfeatures.json +130 -0
  69. package/schema/ua/psionics.json +173 -0
  70. package/schema/ua/races.json +1650 -0
  71. package/schema/ua/recipes.json +185 -0
  72. package/schema/ua/renderdemo.json +16 -0
  73. package/schema/ua/rewards.json +93 -0
  74. package/schema/ua/senses.json +54 -0
  75. package/schema/ua/skills.json +54 -0
  76. package/schema/ua/spells/fluff-index.json +11 -0
  77. package/schema/ua/spells/fluff-spells.json +15 -0
  78. package/schema/ua/spells/foundry.json +15 -0
  79. package/schema/ua/spells/index.json +11 -0
  80. package/schema/ua/spells/roll20.json +112 -0
  81. package/schema/ua/spells/spells.json +1190 -0
  82. package/schema/ua/tables.json +220 -0
  83. package/schema/ua/trapshazards.json +236 -0
  84. package/schema/ua/util.json +4420 -0
  85. package/schema/ua/variantrules.json +74 -0
  86. package/schema/ua/vehicles.json +820 -0
  87. package/schema/ua-fast/actions.json +97 -0
  88. package/schema/ua-fast/adventure/adventure.json +12 -0
  89. package/schema/ua-fast/adventures.json +214 -0
  90. package/schema/ua-fast/backgrounds.json +314 -0
  91. package/schema/ua-fast/bestiary/bestiary.json +3735 -0
  92. package/schema/ua-fast/bestiary/fluff-bestiary.json +15 -0
  93. package/schema/ua-fast/bestiary/fluff-index.json +11 -0
  94. package/schema/ua-fast/bestiary/foundry.json +15 -0
  95. package/schema/ua-fast/bestiary/index.json +11 -0
  96. package/schema/ua-fast/bestiary/legendarygroups.json +202 -0
  97. package/schema/ua-fast/bestiary/template.json +275 -0
  98. package/schema/ua-fast/book/book.json +12 -0
  99. package/schema/ua-fast/books.json +141 -0
  100. package/schema/ua-fast/changelog.json +35 -0
  101. package/schema/ua-fast/charcreationoptions.json +80 -0
  102. package/schema/ua-fast/class/class.json +1782 -0
  103. package/schema/ua-fast/class/foundry.json +397 -0
  104. package/schema/ua-fast/class/index.json +11 -0
  105. package/schema/ua-fast/conditionsdiseases.json +82 -0
  106. package/schema/ua-fast/cultsboons.json +175 -0
  107. package/schema/ua-fast/decks.json +504 -0
  108. package/schema/ua-fast/deities.json +473 -0
  109. package/schema/ua-fast/encounters.json +105 -0
  110. package/schema/ua-fast/entry.json +3748 -0
  111. package/schema/ua-fast/feats.json +117 -0
  112. package/schema/ua-fast/fluff-backgrounds.json +15 -0
  113. package/schema/ua-fast/fluff-charcreationoptions.json +43 -0
  114. package/schema/ua-fast/fluff-conditionsdiseases.json +43 -0
  115. package/schema/ua-fast/fluff-feats.json +15 -0
  116. package/schema/ua-fast/fluff-items.json +15 -0
  117. package/schema/ua-fast/fluff-languages.json +42 -0
  118. package/schema/ua-fast/fluff-objects.json +15 -0
  119. package/schema/ua-fast/fluff-races.json +214 -0
  120. package/schema/ua-fast/fluff-recipes.json +42 -0
  121. package/schema/ua-fast/fluff-vehicles.json +63 -0
  122. package/schema/ua-fast/foundry-actions.json +15 -0
  123. package/schema/ua-fast/foundry-backgrounds.json +53 -0
  124. package/schema/ua-fast/foundry-feats.json +15 -0
  125. package/schema/ua-fast/foundry-items.json +63 -0
  126. package/schema/ua-fast/foundry-optionalfeatures.json +15 -0
  127. package/schema/ua-fast/foundry-psionics.json +56 -0
  128. package/schema/ua-fast/foundry-races.json +58 -0
  129. package/schema/ua-fast/foundry-rewards.json +15 -0
  130. package/schema/ua-fast/foundry-vehicles.json +15 -0
  131. package/schema/ua-fast/generated/bookref-quick.json +72 -0
  132. package/schema/ua-fast/generated/gendata-spell-source-lookup.json +230 -0
  133. package/schema/ua-fast/homebrew.json +631 -0
  134. package/schema/ua-fast/items-base.json +959 -0
  135. package/schema/ua-fast/items-shared.json +267 -0
  136. package/schema/ua-fast/items.json +1770 -0
  137. package/schema/ua-fast/languages.json +123 -0
  138. package/schema/ua-fast/life.json +17 -0
  139. package/schema/ua-fast/loot.json +510 -0
  140. package/schema/ua-fast/magicvariants.json +361 -0
  141. package/schema/ua-fast/makebrew-creature.json +66 -0
  142. package/schema/ua-fast/makecards.json +43 -0
  143. package/schema/ua-fast/monsterfeatures.json +53 -0
  144. package/schema/ua-fast/msbcr.json +60 -0
  145. package/schema/ua-fast/names.json +94 -0
  146. package/schema/ua-fast/objects.json +165 -0
  147. package/schema/ua-fast/optionalfeatures.json +130 -0
  148. package/schema/ua-fast/psionics.json +173 -0
  149. package/schema/ua-fast/races.json +1650 -0
  150. package/schema/ua-fast/recipes.json +185 -0
  151. package/schema/ua-fast/renderdemo.json +16 -0
  152. package/schema/ua-fast/rewards.json +93 -0
  153. package/schema/ua-fast/senses.json +54 -0
  154. package/schema/ua-fast/skills.json +54 -0
  155. package/schema/ua-fast/spells/fluff-index.json +11 -0
  156. package/schema/ua-fast/spells/fluff-spells.json +15 -0
  157. package/schema/ua-fast/spells/foundry.json +15 -0
  158. package/schema/ua-fast/spells/index.json +11 -0
  159. package/schema/ua-fast/spells/roll20.json +112 -0
  160. package/schema/ua-fast/spells/spells.json +1190 -0
  161. package/schema/ua-fast/tables.json +220 -0
  162. package/schema/ua-fast/trapshazards.json +236 -0
  163. package/schema/ua-fast/util.json +4420 -0
  164. package/schema/ua-fast/variantrules.json +74 -0
  165. 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,314 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "backgrounds.json",
4
+ "version": "1.3.2",
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
+ },
78
+ "additionalProperties": false
79
+ },
80
+ "background": {
81
+ "anyOf": [
82
+ {
83
+ "type": "object",
84
+ "properties": {
85
+ "name": {
86
+ "type": "string"
87
+ },
88
+ "source": {
89
+ "$ref": "util.json#/$defs/source"
90
+ },
91
+ "page": {
92
+ "$ref": "util.json#/$defs/page"
93
+ },
94
+ "prerequisite": {
95
+ "$ref": "util.json#/$defs/prerequisite"
96
+ },
97
+ "skillProficiencies": {
98
+ "$ref": "util.json#/$defs/skillProficiencies"
99
+ },
100
+ "toolProficiencies": {
101
+ "$ref": "util.json#/$defs/toolProficiencies"
102
+ },
103
+ "languageProficiencies": {
104
+ "$ref": "util.json#/$defs/languageProficiencies"
105
+ },
106
+ "feats": {
107
+ "$ref": "util.json#/$defs/additionalFeatsArray"
108
+ },
109
+ "entries": {
110
+ "type": "array",
111
+ "items": {
112
+ "$ref": "entry.json"
113
+ }
114
+ },
115
+ "additionalSources": {
116
+ "$ref": "util.json#/$defs/additionalSources"
117
+ },
118
+ "srd": {
119
+ "$ref": "util.json#/$defs/srd"
120
+ },
121
+ "basicRules": {
122
+ "$ref": "util.json#/$defs/basicRules"
123
+ },
124
+ "otherSources": {
125
+ "$ref": "util.json#/$defs/otherSources"
126
+ },
127
+ "startingEquipment": {
128
+ "$ref": "util.json#/$defs/startingEquipment"
129
+ },
130
+ "additionalSpells": {
131
+ "$ref": "util.json#/$defs/additionalSpellsArray"
132
+ },
133
+ "ability": {
134
+ "$ref": "util.json#/$defs/abilityScores"
135
+ },
136
+ "fromFeature": {
137
+ "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.",
138
+ "type": "object",
139
+ "patternProperties": {
140
+ "^.*$": {
141
+ "type": "boolean",
142
+ "const": true
143
+ }
144
+ }
145
+ },
146
+ "hasFluff": {
147
+ "type": "boolean"
148
+ },
149
+ "hasFluffImages": {
150
+ "type": "boolean"
151
+ }
152
+ },
153
+ "additionalProperties": false,
154
+ "required": [
155
+ "name",
156
+ "source",
157
+ "entries"
158
+ ]
159
+ },
160
+ {
161
+ "type": "object",
162
+ "properties": {
163
+ "name": {
164
+ "type": "string"
165
+ },
166
+ "source": {
167
+ "$ref": "util.json#/$defs/source"
168
+ },
169
+ "page": {
170
+ "$ref": "util.json#/$defs/page"
171
+ },
172
+ "prerequisite": {
173
+ "$ref": "util.json#/$defs/prerequisite"
174
+ },
175
+ "skillProficiencies": {
176
+ "$ref": "util.json#/$defs/skillProficiencies"
177
+ },
178
+ "toolProficiencies": {
179
+ "$ref": "util.json#/$defs/toolProficiencies"
180
+ },
181
+ "languageProficiencies": {
182
+ "$ref": "util.json#/$defs/languageProficiencies"
183
+ },
184
+ "feats": {
185
+ "$ref": "util.json#/$defs/additionalFeatsArray"
186
+ },
187
+ "entries": {
188
+ "type": "array",
189
+ "items": {
190
+ "$ref": "entry.json"
191
+ }
192
+ },
193
+ "additionalSources": {
194
+ "$ref": "util.json#/$defs/additionalSources"
195
+ },
196
+ "srd": {
197
+ "$ref": "util.json#/$defs/srd"
198
+ },
199
+ "basicRules": {
200
+ "$ref": "util.json#/$defs/basicRules"
201
+ },
202
+ "otherSources": {
203
+ "$ref": "util.json#/$defs/otherSources"
204
+ },
205
+ "startingEquipment": {
206
+ "$ref": "util.json#/$defs/startingEquipment"
207
+ },
208
+ "additionalSpells": {
209
+ "$ref": "util.json#/$defs/additionalSpellsArray"
210
+ },
211
+ "ability": {
212
+ "$ref": "util.json#/$defs/abilityScores"
213
+ },
214
+ "fromFeature": {
215
+ "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.",
216
+ "type": "object",
217
+ "patternProperties": {
218
+ "^.*$": {
219
+ "type": "boolean",
220
+ "const": true
221
+ }
222
+ }
223
+ },
224
+ "hasFluff": {
225
+ "type": "boolean"
226
+ },
227
+ "hasFluffImages": {
228
+ "type": "boolean"
229
+ },
230
+ "_copy": {
231
+ "type": "object",
232
+ "properties": {
233
+ "name": {
234
+ "type": "string"
235
+ },
236
+ "source": {
237
+ "$ref": "util.json#/$defs/source"
238
+ },
239
+ "pantheon": {
240
+ "description": "Used in deity data",
241
+ "type": "string"
242
+ },
243
+ "shortName": {
244
+ "description": "Used in subclass data",
245
+ "type": "string"
246
+ },
247
+ "className": {
248
+ "description": "Used in subclass data",
249
+ "type": "string"
250
+ },
251
+ "classSource": {
252
+ "description": "Used in subclass data",
253
+ "$ref": "util.json#/$defs/source"
254
+ },
255
+ "_mod": {
256
+ "$ref": "util.json#/$defs/_modObject"
257
+ },
258
+ "_trait": {
259
+ "type": "object",
260
+ "properties": {
261
+ "name": {
262
+ "type": "string"
263
+ },
264
+ "source": {
265
+ "$ref": "util.json#/$defs/source"
266
+ }
267
+ },
268
+ "required": [
269
+ "name",
270
+ "source"
271
+ ]
272
+ },
273
+ "_preserve": {
274
+ "type": "object",
275
+ "patternProperties": {
276
+ ".*": {
277
+ "const": true
278
+ }
279
+ }
280
+ }
281
+ },
282
+ "required": [
283
+ "name",
284
+ "source"
285
+ ],
286
+ "additionalProperties": false
287
+ }
288
+ },
289
+ "additionalProperties": false,
290
+ "required": [
291
+ "_copy"
292
+ ]
293
+ }
294
+ ]
295
+ }
296
+ },
297
+ "properties": {
298
+ "background": {
299
+ "type": "array",
300
+ "minItems": 1,
301
+ "uniqueItems": true,
302
+ "items": {
303
+ "$ref": "#/$defs/background"
304
+ }
305
+ },
306
+ "_meta": {
307
+ "$ref": "util.json#/$defs/metaBlock"
308
+ }
309
+ },
310
+ "required": [
311
+ "background"
312
+ ],
313
+ "additionalProperties": false
314
+ }