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,117 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "feats.json",
4
+ "version": "1.6.2",
5
+ "type": "object",
6
+ "$defs": {
7
+ "feat": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "prerequisite": {
14
+ "$ref": "util.json#/$defs/prerequisite"
15
+ },
16
+ "source": {
17
+ "$ref": "util.json#/$defs/source"
18
+ },
19
+ "additionalSources": {
20
+ "$ref": "util.json#/$defs/additionalSources"
21
+ },
22
+ "page": {
23
+ "$ref": "util.json#/$defs/page"
24
+ },
25
+ "entries": {
26
+ "type": "array",
27
+ "items": {
28
+ "$ref": "entry.json"
29
+ }
30
+ },
31
+ "ability": {
32
+ "$ref": "util.json#/$defs/abilityScores"
33
+ },
34
+ "srd": {
35
+ "$ref": "util.json#/$defs/srd"
36
+ },
37
+ "otherSources": {
38
+ "$ref": "util.json#/$defs/otherSources"
39
+ },
40
+ "repeatable": {
41
+ "type": "boolean"
42
+ },
43
+ "repeatableNote": {
44
+ "type": "string"
45
+ },
46
+ "additionalSpells": {
47
+ "$ref": "util.json#/$defs/additionalSpellsArray"
48
+ },
49
+ "languageProficiencies": {
50
+ "$ref": "util.json#/$defs/languageProficiencies"
51
+ },
52
+ "skillProficiencies": {
53
+ "$ref": "util.json#/$defs/skillProficiencies"
54
+ },
55
+ "weaponProficiencies": {
56
+ "$ref": "util.json#/$defs/weaponProficiencies"
57
+ },
58
+ "armorProficiencies": {
59
+ "$ref": "util.json#/$defs/armorProficiencies"
60
+ },
61
+ "toolProficiencies": {
62
+ "$ref": "util.json#/$defs/toolProficiencies"
63
+ },
64
+ "skillToolLanguageProficiencies": {
65
+ "$ref": "util.json#/$defs/skillToolLanguageProficiencies"
66
+ },
67
+ "savingThrowProficiencies": {
68
+ "$ref": "util.json#/$defs/savingThrowProficiencies"
69
+ },
70
+ "optionalfeatureProgression": {
71
+ "$ref": "util.json#/$defs/optionalfeatureProgression"
72
+ },
73
+ "expertise": {
74
+ "$ref": "util.json#/$defs/expertise"
75
+ },
76
+ "resist": {
77
+ "$ref": "util.json#/$defs/damageResistArrayPlayer"
78
+ },
79
+ "immune": {
80
+ "$ref": "util.json#/$defs/damageImmunityArrayPlayer"
81
+ },
82
+ "vulnerable": {
83
+ "$ref": "util.json#/$defs/damageVulnerabilityArrayPlayer"
84
+ },
85
+ "conditionImmune": {
86
+ "$ref": "util.json#/$defs/conditionImmunityArrayPlayer"
87
+ },
88
+ "hasFluff": {
89
+ "const": true
90
+ },
91
+ "hasFluffImages": {
92
+ "const": true
93
+ }
94
+ },
95
+ "required": [
96
+ "name",
97
+ "source",
98
+ "entries"
99
+ ],
100
+ "additionalProperties": false
101
+ }
102
+ },
103
+ "properties": {
104
+ "feat": {
105
+ "type": "array",
106
+ "minItems": 1,
107
+ "uniqueItems": true,
108
+ "items": {
109
+ "$ref": "#/$defs/feat"
110
+ }
111
+ }
112
+ },
113
+ "required": [
114
+ "feat"
115
+ ],
116
+ "additionalProperties": false
117
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-backgrounds.json",
4
+ "version": "1.3.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "_meta": {
8
+ "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "backgroundFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-charcreationoptions.json",
4
+ "version": "1.0.2",
5
+ "type": "object",
6
+ "properties": {
7
+ "charoptionFluff": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "minItems": 1,
23
+ "items": {
24
+ "$ref": "entry.json#/$defs/entryImage"
25
+ }
26
+ },
27
+ "entries": {
28
+ "type": "array",
29
+ "items": {
30
+ "$ref": "entry.json"
31
+ }
32
+ }
33
+ },
34
+ "required": [
35
+ "name",
36
+ "source"
37
+ ],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ },
42
+ "additionalProperties": false
43
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-conditionsdiseases.json",
4
+ "version": "1.2.2",
5
+ "type": "object",
6
+ "properties": {
7
+ "conditionFluff": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "minItems": 1,
23
+ "items": {
24
+ "$ref": "entry.json#/$defs/entryImage"
25
+ }
26
+ },
27
+ "entries": {
28
+ "type": "array",
29
+ "items": {
30
+ "$ref": "entry.json"
31
+ }
32
+ }
33
+ },
34
+ "required": [
35
+ "name",
36
+ "source"
37
+ ],
38
+ "additionalProperties": false
39
+ }
40
+ }
41
+ },
42
+ "additionalProperties": false
43
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-feats.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "_meta": {
8
+ "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "featFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-items.json",
4
+ "version": "1.2.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "itemFluff": {
8
+ "$ref": "util.json#/$defs/genericFluffArray"
9
+ },
10
+ "_meta": {
11
+ "$ref": "util.json#/$defs/metaBlock"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-languages.json",
4
+ "version": "1.1.2",
5
+ "type": "object",
6
+ "properties": {
7
+ "languageFluff": {
8
+ "type": "array",
9
+ "uniqueItems": true,
10
+ "minItems": 1,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "entry.json#/$defs/entryImage"
24
+ }
25
+ },
26
+ "entries": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "entry.json"
30
+ }
31
+ }
32
+ },
33
+ "required": [
34
+ "name",
35
+ "source"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-objects.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "_meta": {
8
+ "$ref": "util.json#/$defs/metaBlock"
9
+ },
10
+ "objectFluff": {
11
+ "$ref": "util.json#/$defs/genericFluffArray"
12
+ }
13
+ },
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,214 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-races.json",
4
+ "version": "2.1.2",
5
+ "type": "object",
6
+ "$defs": {
7
+ "raceFluffData": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string"
12
+ },
13
+ "source": {
14
+ "$ref": "util.json#/$defs/source"
15
+ },
16
+ "images": {
17
+ "oneOf": [
18
+ {
19
+ "type": "array",
20
+ "items": {
21
+ "$ref": "entry.json#/$defs/entryImage"
22
+ }
23
+ },
24
+ {
25
+ "type": "null"
26
+ }
27
+ ]
28
+ },
29
+ "entries": {
30
+ "type": "array",
31
+ "items": {
32
+ "$ref": "entry.json"
33
+ }
34
+ },
35
+ "uncommon": {
36
+ "type": "boolean"
37
+ },
38
+ "monstrous": {
39
+ "type": "boolean"
40
+ }
41
+ },
42
+ "additionalProperties": false
43
+ },
44
+ "raceFluff": {
45
+ "anyOf": [
46
+ {
47
+ "type": "object",
48
+ "properties": {
49
+ "name": {
50
+ "type": "string"
51
+ },
52
+ "source": {
53
+ "$ref": "util.json#/$defs/source"
54
+ },
55
+ "images": {
56
+ "oneOf": [
57
+ {
58
+ "type": "array",
59
+ "items": {
60
+ "$ref": "entry.json#/$defs/entryImage"
61
+ }
62
+ },
63
+ {
64
+ "type": "null"
65
+ }
66
+ ]
67
+ },
68
+ "entries": {
69
+ "type": "array",
70
+ "items": {
71
+ "$ref": "entry.json"
72
+ }
73
+ },
74
+ "uncommon": {
75
+ "type": "boolean"
76
+ },
77
+ "monstrous": {
78
+ "type": "boolean"
79
+ }
80
+ },
81
+ "additionalProperties": false,
82
+ "required": [
83
+ "name",
84
+ "source"
85
+ ]
86
+ },
87
+ {
88
+ "type": "object",
89
+ "$comment": "This is a custom pre-processor tag, which merges together the array of objects into one. This allows proper inheritance, which JSON schema don't really do.",
90
+ "properties": {
91
+ "name": {
92
+ "type": "string"
93
+ },
94
+ "source": {
95
+ "$ref": "util.json#/$defs/source"
96
+ },
97
+ "images": {
98
+ "oneOf": [
99
+ {
100
+ "type": "array",
101
+ "items": {
102
+ "$ref": "entry.json#/$defs/entryImage"
103
+ }
104
+ },
105
+ {
106
+ "type": "null"
107
+ }
108
+ ]
109
+ },
110
+ "entries": {
111
+ "type": "array",
112
+ "items": {
113
+ "$ref": "entry.json"
114
+ }
115
+ },
116
+ "uncommon": {
117
+ "type": "boolean"
118
+ },
119
+ "monstrous": {
120
+ "type": "boolean"
121
+ },
122
+ "_copy": {
123
+ "type": "object",
124
+ "properties": {
125
+ "name": {
126
+ "type": "string"
127
+ },
128
+ "source": {
129
+ "$ref": "util.json#/$defs/source"
130
+ },
131
+ "pantheon": {
132
+ "description": "Used in deity data",
133
+ "type": "string"
134
+ },
135
+ "shortName": {
136
+ "description": "Used in subclass data",
137
+ "type": "string"
138
+ },
139
+ "className": {
140
+ "description": "Used in subclass data",
141
+ "type": "string"
142
+ },
143
+ "classSource": {
144
+ "description": "Used in subclass data",
145
+ "$ref": "util.json#/$defs/source"
146
+ },
147
+ "_mod": {
148
+ "$ref": "util.json#/$defs/_modObject"
149
+ },
150
+ "_trait": {
151
+ "type": "object",
152
+ "properties": {
153
+ "name": {
154
+ "type": "string"
155
+ },
156
+ "source": {
157
+ "$ref": "util.json#/$defs/source"
158
+ }
159
+ },
160
+ "required": [
161
+ "name",
162
+ "source"
163
+ ]
164
+ },
165
+ "_preserve": {
166
+ "type": "object",
167
+ "patternProperties": {
168
+ ".*": {
169
+ "const": true
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "required": [
175
+ "name",
176
+ "source"
177
+ ],
178
+ "additionalProperties": false
179
+ }
180
+ },
181
+ "additionalProperties": false,
182
+ "required": [
183
+ "_copy"
184
+ ]
185
+ }
186
+ ]
187
+ }
188
+ },
189
+ "properties": {
190
+ "raceFluff": {
191
+ "type": "array",
192
+ "uniqueItems": true,
193
+ "minItems": 1,
194
+ "items": {
195
+ "$ref": "#/$defs/raceFluff"
196
+ }
197
+ },
198
+ "raceFluffMeta": {
199
+ "type": "object",
200
+ "properties": {
201
+ "uncommon": {
202
+ "$ref": "entry.json"
203
+ },
204
+ "monstrous": {
205
+ "$ref": "entry.json"
206
+ }
207
+ }
208
+ },
209
+ "_meta": {
210
+ "$ref": "util.json#/$defs/metaBlock"
211
+ }
212
+ },
213
+ "additionalProperties": false
214
+ }
@@ -0,0 +1,42 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-recipes.json",
4
+ "version": "1.1.2",
5
+ "type": "object",
6
+ "properties": {
7
+ "recipeFluff": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "entry.json#/$defs/entryImage"
24
+ }
25
+ },
26
+ "entries": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "entry.json"
30
+ }
31
+ }
32
+ },
33
+ "required": [
34
+ "name",
35
+ "source"
36
+ ],
37
+ "additionalProperties": false
38
+ }
39
+ }
40
+ },
41
+ "additionalProperties": false
42
+ }
@@ -0,0 +1,63 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "fluff-vehicles.json",
4
+ "version": "1.3.2",
5
+ "type": "object",
6
+ "properties": {
7
+ "vehicleFluff": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "properties": {
14
+ "name": {
15
+ "type": "string"
16
+ },
17
+ "source": {
18
+ "$ref": "util.json#/$defs/source"
19
+ },
20
+ "images": {
21
+ "type": "array",
22
+ "items": {
23
+ "$ref": "entry.json#/$defs/entryImage"
24
+ }
25
+ },
26
+ "entries": {
27
+ "type": "array",
28
+ "items": {
29
+ "$ref": "entry.json"
30
+ }
31
+ },
32
+ "_copy": {
33
+ "type": "object",
34
+ "properties": {
35
+ "name": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ }
41
+ }
42
+ },
43
+ "_appendCopy": {
44
+ "type": "object",
45
+ "properties": {
46
+ "name": {
47
+ "type": "string"
48
+ },
49
+ "source": {
50
+ "$ref": "util.json#/$defs/source"
51
+ }
52
+ }
53
+ }
54
+ },
55
+ "required": [
56
+ "name",
57
+ "source"
58
+ ],
59
+ "additionalProperties": false
60
+ }
61
+ }
62
+ }
63
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-actions.json",
4
+ "version": "1.0.0",
5
+ "type": "object",
6
+ "properties": {
7
+ "action": {
8
+ "$ref": "util.json#/$defs/foundrySideDataGenericArray"
9
+ }
10
+ },
11
+ "required": [
12
+ "action"
13
+ ],
14
+ "additionalProperties": false
15
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "foundry-backgrounds.json",
4
+ "version": "1.1.1",
5
+ "type": "object",
6
+ "properties": {
7
+ "backgroundFeature": {
8
+ "type": "array",
9
+ "minItems": 1,
10
+ "uniqueItems": true,
11
+ "items": {
12
+ "type": "object",
13
+ "required": [
14
+ "name",
15
+ "source",
16
+ "backgroundName",
17
+ "backgroundSource"
18
+ ],
19
+ "additionalProperties": false,
20
+ "properties": {
21
+ "name": {
22
+ "type": "string"
23
+ },
24
+ "source": {
25
+ "$ref": "util.json#/$defs/source"
26
+ },
27
+ "system": {
28
+ "$ref": "util.json#/$defs/foundrySystemObject"
29
+ },
30
+ "effects": {
31
+ "type": "array",
32
+ "items": {
33
+ "$ref": "util.json#/$defs/foundryEffectObject"
34
+ }
35
+ },
36
+ "flags": {
37
+ "$ref": "util.json#/$defs/foundryFlagsObject"
38
+ },
39
+ "img": {
40
+ "type": "string"
41
+ },
42
+ "backgroundName": {
43
+ "type": "string"
44
+ },
45
+ "backgroundSource": {
46
+ "$ref": "util.json#/$defs/source"
47
+ }
48
+ }
49
+ }
50
+ }
51
+ },
52
+ "additionalProperties": false
53
+ }