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.
- package/package.json +3 -2
- package/schema/brew/actions.json +109 -0
- package/schema/brew/adventure/adventure.json +12 -0
- package/schema/brew/adventures.json +249 -0
- package/schema/brew/backgrounds.json +425 -0
- package/schema/brew/bestiary/bestiary.json +3766 -0
- package/schema/brew/bestiary/fluff-bestiary.json +15 -0
- package/schema/brew/bestiary/foundry.json +15 -0
- package/schema/brew/bestiary/legendarygroups.json +202 -0
- package/schema/brew/bestiary/traits.json +85 -0
- package/schema/brew/book/book.json +12 -0
- package/schema/brew/books.json +137 -0
- package/schema/brew/charcreationoptions.json +96 -0
- package/schema/brew/class/class.json +2059 -0
- package/schema/brew/class/foundry.json +373 -0
- package/schema/brew/conditionsdiseases.json +103 -0
- package/schema/brew/cultsboons.json +196 -0
- package/schema/brew/deities.json +482 -0
- package/schema/brew/encounters.json +99 -0
- package/schema/brew/entry.json +3538 -0
- package/schema/brew/feats.json +215 -0
- package/schema/brew/fluff-backgrounds.json +15 -0
- package/schema/brew/fluff-charcreationoptions.json +43 -0
- package/schema/brew/fluff-conditionsdiseases.json +43 -0
- package/schema/brew/fluff-feats.json +15 -0
- package/schema/brew/fluff-items.json +15 -0
- package/schema/brew/fluff-languages.json +42 -0
- package/schema/brew/fluff-objects.json +15 -0
- package/schema/brew/fluff-races.json +214 -0
- package/schema/brew/fluff-recipes.json +42 -0
- package/schema/brew/fluff-vehicles.json +63 -0
- package/schema/brew/foundry-actions.json +15 -0
- package/schema/brew/foundry-backgrounds.json +47 -0
- package/schema/brew/foundry-feats.json +15 -0
- package/schema/brew/foundry-items.json +57 -0
- package/schema/brew/foundry-optionalfeatures.json +15 -0
- package/schema/brew/foundry-psionics.json +50 -0
- package/schema/brew/foundry-races.json +52 -0
- package/schema/brew/foundry-rewards.json +15 -0
- package/schema/brew/foundry-vehicles.json +15 -0
- package/schema/brew/generated/bookref-quick.json +72 -0
- package/schema/brew/homebrew.json +564 -0
- package/schema/brew/items-base.json +460 -0
- package/schema/brew/items-shared.json +295 -0
- package/schema/brew/items.json +1866 -0
- package/schema/brew/languages.json +127 -0
- package/schema/brew/loot.json +510 -0
- package/schema/brew/magicvariants.json +387 -0
- package/schema/brew/makebrew-creature.json +40 -0
- package/schema/brew/makecards.json +43 -0
- package/schema/brew/monsterfeatures.json +53 -0
- package/schema/brew/msbcr.json +60 -0
- package/schema/brew/names.json +91 -0
- package/schema/brew/objects.json +172 -0
- package/schema/brew/optionalfeatures.json +139 -0
- package/schema/brew/psionics.json +185 -0
- package/schema/brew/races.json +1799 -0
- package/schema/brew/recipes.json +191 -0
- package/schema/brew/renderdemo.json +16 -0
- package/schema/brew/rewards.json +102 -0
- package/schema/brew/senses.json +54 -0
- package/schema/brew/skills.json +54 -0
- package/schema/brew/spells/fluff-spells.json +15 -0
- package/schema/brew/spells/foundry.json +15 -0
- package/schema/brew/spells/roll20.json +112 -0
- package/schema/brew/spells/spells.json +1841 -0
- package/schema/brew/tables.json +202 -0
- package/schema/brew/trapshazards.json +249 -0
- package/schema/brew/util.json +3867 -0
- package/schema/brew/variantrules.json +74 -0
- package/schema/brew/vehicles.json +854 -0
- package/schema/brew-fast/actions.json +109 -0
- package/schema/brew-fast/adventure/adventure.json +12 -0
- package/schema/brew-fast/adventures.json +249 -0
- package/schema/brew-fast/backgrounds.json +425 -0
- package/schema/brew-fast/bestiary/bestiary.json +3766 -0
- package/schema/brew-fast/bestiary/fluff-bestiary.json +15 -0
- package/schema/brew-fast/bestiary/foundry.json +15 -0
- package/schema/brew-fast/bestiary/legendarygroups.json +202 -0
- package/schema/brew-fast/bestiary/traits.json +85 -0
- package/schema/brew-fast/book/book.json +12 -0
- package/schema/brew-fast/books.json +137 -0
- package/schema/brew-fast/charcreationoptions.json +96 -0
- package/schema/brew-fast/class/class.json +2059 -0
- package/schema/brew-fast/class/foundry.json +373 -0
- package/schema/brew-fast/conditionsdiseases.json +103 -0
- package/schema/brew-fast/cultsboons.json +196 -0
- package/schema/brew-fast/deities.json +482 -0
- package/schema/brew-fast/encounters.json +99 -0
- package/schema/brew-fast/entry.json +3538 -0
- package/schema/brew-fast/feats.json +215 -0
- package/schema/brew-fast/fluff-backgrounds.json +15 -0
- package/schema/brew-fast/fluff-charcreationoptions.json +43 -0
- package/schema/brew-fast/fluff-conditionsdiseases.json +43 -0
- package/schema/brew-fast/fluff-feats.json +15 -0
- package/schema/brew-fast/fluff-items.json +15 -0
- package/schema/brew-fast/fluff-languages.json +42 -0
- package/schema/brew-fast/fluff-objects.json +15 -0
- package/schema/brew-fast/fluff-races.json +214 -0
- package/schema/brew-fast/fluff-recipes.json +42 -0
- package/schema/brew-fast/fluff-vehicles.json +63 -0
- package/schema/brew-fast/foundry-actions.json +15 -0
- package/schema/brew-fast/foundry-backgrounds.json +47 -0
- package/schema/brew-fast/foundry-feats.json +15 -0
- package/schema/brew-fast/foundry-items.json +57 -0
- package/schema/brew-fast/foundry-optionalfeatures.json +15 -0
- package/schema/brew-fast/foundry-psionics.json +50 -0
- package/schema/brew-fast/foundry-races.json +52 -0
- package/schema/brew-fast/foundry-rewards.json +15 -0
- package/schema/brew-fast/foundry-vehicles.json +15 -0
- package/schema/brew-fast/generated/bookref-quick.json +72 -0
- package/schema/brew-fast/homebrew.json +562 -0
- package/schema/brew-fast/items-base.json +460 -0
- package/schema/brew-fast/items-shared.json +295 -0
- package/schema/brew-fast/items.json +1866 -0
- package/schema/brew-fast/languages.json +127 -0
- package/schema/brew-fast/loot.json +510 -0
- package/schema/brew-fast/magicvariants.json +387 -0
- package/schema/brew-fast/makebrew-creature.json +40 -0
- package/schema/brew-fast/makecards.json +43 -0
- package/schema/brew-fast/monsterfeatures.json +53 -0
- package/schema/brew-fast/msbcr.json +60 -0
- package/schema/brew-fast/names.json +91 -0
- package/schema/brew-fast/objects.json +172 -0
- package/schema/brew-fast/optionalfeatures.json +139 -0
- package/schema/brew-fast/psionics.json +185 -0
- package/schema/brew-fast/races.json +1799 -0
- package/schema/brew-fast/recipes.json +191 -0
- package/schema/brew-fast/renderdemo.json +16 -0
- package/schema/brew-fast/rewards.json +102 -0
- package/schema/brew-fast/senses.json +54 -0
- package/schema/brew-fast/skills.json +54 -0
- package/schema/brew-fast/spells/fluff-spells.json +15 -0
- package/schema/brew-fast/spells/foundry.json +15 -0
- package/schema/brew-fast/spells/roll20.json +112 -0
- package/schema/brew-fast/spells/spells.json +1841 -0
- package/schema/brew-fast/tables.json +202 -0
- package/schema/brew-fast/trapshazards.json +249 -0
- package/schema/brew-fast/util.json +3867 -0
- package/schema/brew-fast/variantrules.json +74 -0
- package/schema/brew-fast/vehicles.json +854 -0
- package/schema/site/actions.json +97 -0
- package/schema/site/adventure/adventure.json +12 -0
- package/schema/site/adventures.json +211 -0
- package/schema/site/backgrounds.json +306 -0
- package/schema/site/bestiary/bestiary.json +3537 -0
- package/schema/site/bestiary/fluff-bestiary.json +15 -0
- package/schema/site/bestiary/foundry.json +15 -0
- package/schema/site/bestiary/legendarygroups.json +202 -0
- package/schema/site/bestiary/traits.json +85 -0
- package/schema/site/book/book.json +12 -0
- package/schema/site/books.json +137 -0
- package/schema/site/charcreationoptions.json +80 -0
- package/schema/site/class/class.json +1792 -0
- package/schema/site/class/foundry.json +373 -0
- package/schema/site/conditionsdiseases.json +82 -0
- package/schema/site/cultsboons.json +172 -0
- package/schema/site/deities.json +461 -0
- package/schema/site/encounters.json +99 -0
- package/schema/site/entry.json +3471 -0
- package/schema/site/feats.json +199 -0
- package/schema/site/fluff-backgrounds.json +15 -0
- package/schema/site/fluff-charcreationoptions.json +43 -0
- package/schema/site/fluff-conditionsdiseases.json +43 -0
- package/schema/site/fluff-feats.json +15 -0
- package/schema/site/fluff-items.json +15 -0
- package/schema/site/fluff-languages.json +42 -0
- package/schema/site/fluff-objects.json +15 -0
- package/schema/site/fluff-races.json +214 -0
- package/schema/site/fluff-recipes.json +42 -0
- package/schema/site/fluff-vehicles.json +63 -0
- package/schema/site/foundry-actions.json +15 -0
- package/schema/site/foundry-backgrounds.json +47 -0
- package/schema/site/foundry-feats.json +15 -0
- package/schema/site/foundry-items.json +57 -0
- package/schema/site/foundry-optionalfeatures.json +15 -0
- package/schema/site/foundry-psionics.json +50 -0
- package/schema/site/foundry-races.json +52 -0
- package/schema/site/foundry-rewards.json +15 -0
- package/schema/site/foundry-vehicles.json +15 -0
- package/schema/site/generated/bookref-quick.json +72 -0
- package/schema/site/homebrew.json +564 -0
- package/schema/site/items-base.json +425 -0
- package/schema/site/items-shared.json +259 -0
- package/schema/site/items.json +1722 -0
- package/schema/site/languages.json +120 -0
- package/schema/site/loot.json +510 -0
- package/schema/site/magicvariants.json +355 -0
- package/schema/site/makebrew-creature.json +39 -0
- package/schema/site/makecards.json +43 -0
- package/schema/site/monsterfeatures.json +53 -0
- package/schema/site/msbcr.json +60 -0
- package/schema/site/names.json +91 -0
- package/schema/site/objects.json +165 -0
- package/schema/site/optionalfeatures.json +127 -0
- package/schema/site/psionics.json +173 -0
- package/schema/site/races.json +1708 -0
- package/schema/site/recipes.json +185 -0
- package/schema/site/renderdemo.json +16 -0
- package/schema/site/rewards.json +90 -0
- package/schema/site/senses.json +54 -0
- package/schema/site/skills.json +54 -0
- package/schema/site/spells/fluff-spells.json +15 -0
- package/schema/site/spells/foundry.json +15 -0
- package/schema/site/spells/roll20.json +112 -0
- package/schema/site/spells/spells.json +1238 -0
- package/schema/site/tables.json +185 -0
- package/schema/site/trapshazards.json +227 -0
- package/schema/site/util.json +3857 -0
- package/schema/site/variantrules.json +71 -0
- package/schema/site/vehicles.json +807 -0
- package/schema/site-fast/actions.json +97 -0
- package/schema/site-fast/adventure/adventure.json +12 -0
- package/schema/site-fast/adventures.json +211 -0
- package/schema/site-fast/backgrounds.json +306 -0
- package/schema/site-fast/bestiary/bestiary.json +3537 -0
- package/schema/site-fast/bestiary/fluff-bestiary.json +15 -0
- package/schema/site-fast/bestiary/foundry.json +15 -0
- package/schema/site-fast/bestiary/legendarygroups.json +202 -0
- package/schema/site-fast/bestiary/traits.json +85 -0
- package/schema/site-fast/book/book.json +12 -0
- package/schema/site-fast/books.json +137 -0
- package/schema/site-fast/charcreationoptions.json +80 -0
- package/schema/site-fast/class/class.json +1792 -0
- package/schema/site-fast/class/foundry.json +373 -0
- package/schema/site-fast/conditionsdiseases.json +82 -0
- package/schema/site-fast/cultsboons.json +172 -0
- package/schema/site-fast/deities.json +461 -0
- package/schema/site-fast/encounters.json +99 -0
- package/schema/site-fast/entry.json +3471 -0
- package/schema/site-fast/feats.json +199 -0
- package/schema/site-fast/fluff-backgrounds.json +15 -0
- package/schema/site-fast/fluff-charcreationoptions.json +43 -0
- package/schema/site-fast/fluff-conditionsdiseases.json +43 -0
- package/schema/site-fast/fluff-feats.json +15 -0
- package/schema/site-fast/fluff-items.json +15 -0
- package/schema/site-fast/fluff-languages.json +42 -0
- package/schema/site-fast/fluff-objects.json +15 -0
- package/schema/site-fast/fluff-races.json +214 -0
- package/schema/site-fast/fluff-recipes.json +42 -0
- package/schema/site-fast/fluff-vehicles.json +63 -0
- package/schema/site-fast/foundry-actions.json +15 -0
- package/schema/site-fast/foundry-backgrounds.json +47 -0
- package/schema/site-fast/foundry-feats.json +15 -0
- package/schema/site-fast/foundry-items.json +57 -0
- package/schema/site-fast/foundry-optionalfeatures.json +15 -0
- package/schema/site-fast/foundry-psionics.json +50 -0
- package/schema/site-fast/foundry-races.json +52 -0
- package/schema/site-fast/foundry-rewards.json +15 -0
- package/schema/site-fast/foundry-vehicles.json +15 -0
- package/schema/site-fast/generated/bookref-quick.json +72 -0
- package/schema/site-fast/homebrew.json +562 -0
- package/schema/site-fast/items-base.json +425 -0
- package/schema/site-fast/items-shared.json +259 -0
- package/schema/site-fast/items.json +1722 -0
- package/schema/site-fast/languages.json +120 -0
- package/schema/site-fast/loot.json +510 -0
- package/schema/site-fast/magicvariants.json +355 -0
- package/schema/site-fast/makebrew-creature.json +39 -0
- package/schema/site-fast/makecards.json +43 -0
- package/schema/site-fast/monsterfeatures.json +53 -0
- package/schema/site-fast/msbcr.json +60 -0
- package/schema/site-fast/names.json +91 -0
- package/schema/site-fast/objects.json +165 -0
- package/schema/site-fast/optionalfeatures.json +127 -0
- package/schema/site-fast/psionics.json +173 -0
- package/schema/site-fast/races.json +1708 -0
- package/schema/site-fast/recipes.json +185 -0
- package/schema/site-fast/renderdemo.json +16 -0
- package/schema/site-fast/rewards.json +90 -0
- package/schema/site-fast/senses.json +54 -0
- package/schema/site-fast/skills.json +54 -0
- package/schema/site-fast/spells/fluff-spells.json +15 -0
- package/schema/site-fast/spells/foundry.json +15 -0
- package/schema/site-fast/spells/roll20.json +112 -0
- package/schema/site-fast/spells/spells.json +1238 -0
- package/schema/site-fast/tables.json +185 -0
- package/schema/site-fast/trapshazards.json +227 -0
- package/schema/site-fast/util.json +3857 -0
- package/schema/site-fast/variantrules.json +71 -0
- package/schema/site-fast/vehicles.json +807 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "tables.json",
|
|
4
|
+
"version": "1.1.4",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"$defs": {
|
|
7
|
+
"tableData": {
|
|
8
|
+
"type": "object",
|
|
9
|
+
"properties": {
|
|
10
|
+
"name": {
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"type": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"default": "table",
|
|
16
|
+
"enum": [
|
|
17
|
+
"table",
|
|
18
|
+
"tableGroup"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"source": {
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"srd": {
|
|
25
|
+
"$ref": "util.json#/$defs/srd"
|
|
26
|
+
},
|
|
27
|
+
"basicRules": {
|
|
28
|
+
"$ref": "util.json#/$defs/basicRules"
|
|
29
|
+
},
|
|
30
|
+
"page": {
|
|
31
|
+
"$ref": "util.json#/$defs/page"
|
|
32
|
+
},
|
|
33
|
+
"otherSources": {
|
|
34
|
+
"$ref": "util.json#/$defs/otherSources"
|
|
35
|
+
},
|
|
36
|
+
"chapter": {
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"name": {
|
|
40
|
+
"type": "string"
|
|
41
|
+
},
|
|
42
|
+
"ordinal": {
|
|
43
|
+
"type": "object",
|
|
44
|
+
"properties": {
|
|
45
|
+
"type": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"enum": [
|
|
48
|
+
"chapter",
|
|
49
|
+
"appendix",
|
|
50
|
+
"part",
|
|
51
|
+
"episode"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"identifier": {
|
|
55
|
+
"type": [
|
|
56
|
+
"integer",
|
|
57
|
+
"string"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"additionalProperties": false,
|
|
62
|
+
"required": [
|
|
63
|
+
"type",
|
|
64
|
+
"identifier"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
"index": {
|
|
68
|
+
"type": "integer"
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"caption": {
|
|
73
|
+
"type": "string"
|
|
74
|
+
},
|
|
75
|
+
"style": {
|
|
76
|
+
"type": "string"
|
|
77
|
+
},
|
|
78
|
+
"colLabels": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": {
|
|
81
|
+
"type": "string"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"colStyles": {
|
|
85
|
+
"type": "array",
|
|
86
|
+
"items": {
|
|
87
|
+
"type": "string"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"rowLabels": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"rowStyles": {
|
|
97
|
+
"type": "array",
|
|
98
|
+
"items": {
|
|
99
|
+
"type": "string"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"rows": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"items": {
|
|
105
|
+
"anyOf": [
|
|
106
|
+
{
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": {
|
|
109
|
+
"$ref": "entry.json"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"$ref": "entry.json#/$defs/entryTableRow"
|
|
114
|
+
}
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"tables": {
|
|
119
|
+
"type": "array",
|
|
120
|
+
"items": {
|
|
121
|
+
"$ref": "#/$defs/tableData"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"footnotes": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"$ref": "entry.json"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"data": {
|
|
131
|
+
"type": "object"
|
|
132
|
+
},
|
|
133
|
+
"isNameGenerator": {
|
|
134
|
+
"type": "boolean",
|
|
135
|
+
"description": "Uses the result rolled to construct a name from multiple columns, such as Prefix, Given, Family, Suffix names etc."
|
|
136
|
+
},
|
|
137
|
+
"isStriped": {
|
|
138
|
+
"type": "boolean"
|
|
139
|
+
},
|
|
140
|
+
"intro": {
|
|
141
|
+
"description": "Primarily for homebrew use.",
|
|
142
|
+
"type": "array",
|
|
143
|
+
"items": {
|
|
144
|
+
"$ref": "entry.json"
|
|
145
|
+
}
|
|
146
|
+
},
|
|
147
|
+
"outro": {
|
|
148
|
+
"description": "Primarily for homebrew use.",
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"$ref": "entry.json"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"foundryImg": {
|
|
155
|
+
"$ref": "util.json#/$defs/foundryImg"
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"additionalProperties": false,
|
|
159
|
+
"if": {
|
|
160
|
+
"properties": {
|
|
161
|
+
"type": {
|
|
162
|
+
"const": "tableGroup"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"type"
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
"then": {
|
|
170
|
+
"required": [
|
|
171
|
+
"name",
|
|
172
|
+
"source",
|
|
173
|
+
"tables"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"else": {
|
|
177
|
+
"required": [
|
|
178
|
+
"name",
|
|
179
|
+
"source",
|
|
180
|
+
"rows"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"properties": {
|
|
186
|
+
"table": {
|
|
187
|
+
"type": "array",
|
|
188
|
+
"minItems": 1,
|
|
189
|
+
"uniqueItems": true,
|
|
190
|
+
"items": {
|
|
191
|
+
"$ref": "#/$defs/tableData"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"_meta": {
|
|
195
|
+
"$ref": "util.json#/$defs/metaBlock"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"required": [
|
|
199
|
+
"table"
|
|
200
|
+
],
|
|
201
|
+
"additionalProperties": false
|
|
202
|
+
}
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "trapshazards.json",
|
|
4
|
+
"version": "1.3.0",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"$defs": {
|
|
7
|
+
"trap": {
|
|
8
|
+
"oneOf": [
|
|
9
|
+
{
|
|
10
|
+
"description": "Older format, used in DMG",
|
|
11
|
+
"type": "object",
|
|
12
|
+
"properties": {
|
|
13
|
+
"name": {
|
|
14
|
+
"type": "string"
|
|
15
|
+
},
|
|
16
|
+
"trapHazType": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"description": "MAG: Magical Trap\n MECH: Mechanical Trap",
|
|
19
|
+
"enum": [
|
|
20
|
+
"MECH",
|
|
21
|
+
"MAG"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"source": {
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"page": {
|
|
28
|
+
"$ref": "util.json#/$defs/page"
|
|
29
|
+
},
|
|
30
|
+
"entries": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"$ref": "entry.json"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"srd": {
|
|
37
|
+
"$ref": "util.json#/$defs/srd"
|
|
38
|
+
},
|
|
39
|
+
"foundryImg": {
|
|
40
|
+
"$ref": "util.json#/$defs/foundryImg"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": false,
|
|
44
|
+
"required": [
|
|
45
|
+
"name",
|
|
46
|
+
"trapHazType",
|
|
47
|
+
"source",
|
|
48
|
+
"entries"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"description": "XGE \"Traps Revisited\" Simple/Complex traps",
|
|
53
|
+
"type": "object",
|
|
54
|
+
"properties": {
|
|
55
|
+
"name": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
58
|
+
"trapHazType": {
|
|
59
|
+
"type": "string",
|
|
60
|
+
"enum": [
|
|
61
|
+
"SMPL",
|
|
62
|
+
"CMPX"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"source": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"page": {
|
|
69
|
+
"$ref": "util.json#/$defs/page"
|
|
70
|
+
},
|
|
71
|
+
"entries": {
|
|
72
|
+
"type": "array",
|
|
73
|
+
"items": {
|
|
74
|
+
"$ref": "entry.json"
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
"tier": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"minimum": 1,
|
|
80
|
+
"maximum": 4
|
|
81
|
+
},
|
|
82
|
+
"level": {
|
|
83
|
+
"description": "Alternative to \"tier\" which allows for non-standard level ranges.",
|
|
84
|
+
"type": "object",
|
|
85
|
+
"properties": {
|
|
86
|
+
"min": {
|
|
87
|
+
"type": "integer"
|
|
88
|
+
},
|
|
89
|
+
"max": {
|
|
90
|
+
"type": "integer"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"threat": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": [
|
|
97
|
+
"moderate",
|
|
98
|
+
"dangerous",
|
|
99
|
+
"deadly"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"trigger": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"items": {
|
|
105
|
+
"$ref": "entry.json"
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"initiative": {
|
|
109
|
+
"oneOf": [
|
|
110
|
+
{
|
|
111
|
+
"type": "integer",
|
|
112
|
+
"minimum": 1,
|
|
113
|
+
"maximum": 3
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"description": "Custom initiative, for homebrew only.",
|
|
117
|
+
"type": "string"
|
|
118
|
+
}
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
"initiativeNote": {
|
|
122
|
+
"$ref": "entry.json"
|
|
123
|
+
},
|
|
124
|
+
"effect": {
|
|
125
|
+
"type": "array",
|
|
126
|
+
"items": {
|
|
127
|
+
"$ref": "entry.json"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"eActive": {
|
|
131
|
+
"type": "array",
|
|
132
|
+
"items": {
|
|
133
|
+
"$ref": "entry.json"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"eDynamic": {
|
|
137
|
+
"type": "array",
|
|
138
|
+
"items": {
|
|
139
|
+
"$ref": "entry.json"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"eConstant": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"items": {
|
|
145
|
+
"$ref": "entry.json"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"countermeasures": {
|
|
149
|
+
"type": "array",
|
|
150
|
+
"items": {
|
|
151
|
+
"$ref": "entry.json"
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
"srd": {
|
|
155
|
+
"$ref": "util.json#/$defs/srd"
|
|
156
|
+
},
|
|
157
|
+
"foundryImg": {
|
|
158
|
+
"$ref": "util.json#/$defs/foundryImg"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"additionalProperties": false,
|
|
162
|
+
"required": [
|
|
163
|
+
"name",
|
|
164
|
+
"trapHazType",
|
|
165
|
+
"source",
|
|
166
|
+
"entries",
|
|
167
|
+
"threat",
|
|
168
|
+
"trigger",
|
|
169
|
+
"countermeasures"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"hazard": {
|
|
175
|
+
"type": "object",
|
|
176
|
+
"properties": {
|
|
177
|
+
"name": {
|
|
178
|
+
"type": "string"
|
|
179
|
+
},
|
|
180
|
+
"trapHazType": {
|
|
181
|
+
"type": "string",
|
|
182
|
+
"description": "ENV: Environmental Hazard\n EST: Eldritch Storm\n GEN: Generic\n WTH: Weather\n WLD: Wilderness Hazard",
|
|
183
|
+
"examples": [
|
|
184
|
+
"ENV",
|
|
185
|
+
"EST",
|
|
186
|
+
"GEN",
|
|
187
|
+
"WTH",
|
|
188
|
+
"WLD"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
"source": {
|
|
192
|
+
"type": "string"
|
|
193
|
+
},
|
|
194
|
+
"page": {
|
|
195
|
+
"$ref": "util.json#/$defs/page"
|
|
196
|
+
},
|
|
197
|
+
"otherSources": {
|
|
198
|
+
"$ref": "util.json#/$defs/otherSources"
|
|
199
|
+
},
|
|
200
|
+
"entries": {
|
|
201
|
+
"type": "array",
|
|
202
|
+
"items": {
|
|
203
|
+
"$ref": "entry.json"
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
"srd": {
|
|
207
|
+
"$ref": "util.json#/$defs/srd"
|
|
208
|
+
},
|
|
209
|
+
"foundrySystem": {
|
|
210
|
+
"$ref": "util.json#/$defs/foundrySystemObject"
|
|
211
|
+
},
|
|
212
|
+
"foundryFlags": {
|
|
213
|
+
"$ref": "util.json#/$defs/foundryFlagsObject"
|
|
214
|
+
},
|
|
215
|
+
"foundryEffects": {
|
|
216
|
+
"$ref": "util.json#/$defs/foundryEffectsArray"
|
|
217
|
+
},
|
|
218
|
+
"foundryImg": {
|
|
219
|
+
"$ref": "util.json#/$defs/foundryImg"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"additionalProperties": false,
|
|
223
|
+
"required": [
|
|
224
|
+
"name",
|
|
225
|
+
"source",
|
|
226
|
+
"entries"
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
"properties": {
|
|
231
|
+
"trap": {
|
|
232
|
+
"type": "array",
|
|
233
|
+
"minItems": 1,
|
|
234
|
+
"uniqueItems": true,
|
|
235
|
+
"items": {
|
|
236
|
+
"$ref": "#/$defs/trap"
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
"hazard": {
|
|
240
|
+
"type": "array",
|
|
241
|
+
"minItems": 1,
|
|
242
|
+
"uniqueItems": true,
|
|
243
|
+
"items": {
|
|
244
|
+
"$ref": "#/$defs/hazard"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"additionalProperties": false
|
|
249
|
+
}
|