5etools-utils 0.12.3 → 0.12.5
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 +1 -1
- package/schema/brew/foundry-items.json +4 -1
- package/schema/brew/homebrew.json +7 -1
- package/schema/brew/util-foundry.json +97 -9
- package/schema/brew-fast/foundry-items.json +4 -1
- package/schema/brew-fast/homebrew.json +7 -1
- package/schema/brew-fast/util-foundry.json +97 -9
- package/schema/site/foundry-items.json +4 -1
- package/schema/site/homebrew.json +7 -1
- package/schema/site/util-foundry.json +97 -9
- package/schema/site-fast/foundry-items.json +4 -1
- package/schema/site-fast/homebrew.json +7 -1
- package/schema/site-fast/util-foundry.json +97 -9
- package/schema/ua/foundry-items.json +4 -1
- package/schema/ua/homebrew.json +7 -1
- package/schema/ua/util-foundry.json +97 -9
- package/schema/ua-fast/foundry-items.json +4 -1
- package/schema/ua-fast/homebrew.json +7 -1
- package/schema/ua-fast/util-foundry.json +97 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -514,6 +514,12 @@
|
|
|
514
514
|
"item": {
|
|
515
515
|
"$ref": "items.json#/properties/item"
|
|
516
516
|
},
|
|
517
|
+
"foundryItem": {
|
|
518
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
519
|
+
},
|
|
520
|
+
"foundryMagicvariant": {
|
|
521
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
522
|
+
},
|
|
517
523
|
"itemGroup": {
|
|
518
524
|
"$ref": "items.json#/properties/itemGroup"
|
|
519
525
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -512,6 +512,12 @@
|
|
|
512
512
|
"item": {
|
|
513
513
|
"$ref": "items.json#/properties/item"
|
|
514
514
|
},
|
|
515
|
+
"foundryItem": {
|
|
516
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
517
|
+
},
|
|
518
|
+
"foundryMagicvariant": {
|
|
519
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
520
|
+
},
|
|
515
521
|
"itemGroup": {
|
|
516
522
|
"$ref": "items.json#/properties/itemGroup"
|
|
517
523
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -514,6 +514,12 @@
|
|
|
514
514
|
"item": {
|
|
515
515
|
"$ref": "items.json#/properties/item"
|
|
516
516
|
},
|
|
517
|
+
"foundryItem": {
|
|
518
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
519
|
+
},
|
|
520
|
+
"foundryMagicvariant": {
|
|
521
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
522
|
+
},
|
|
517
523
|
"itemGroup": {
|
|
518
524
|
"$ref": "items.json#/properties/itemGroup"
|
|
519
525
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -512,6 +512,12 @@
|
|
|
512
512
|
"item": {
|
|
513
513
|
"$ref": "items.json#/properties/item"
|
|
514
514
|
},
|
|
515
|
+
"foundryItem": {
|
|
516
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
517
|
+
},
|
|
518
|
+
"foundryMagicvariant": {
|
|
519
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
520
|
+
},
|
|
515
521
|
"itemGroup": {
|
|
516
522
|
"$ref": "items.json#/properties/itemGroup"
|
|
517
523
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
package/schema/ua/homebrew.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -514,6 +514,12 @@
|
|
|
514
514
|
"item": {
|
|
515
515
|
"$ref": "items.json#/properties/item"
|
|
516
516
|
},
|
|
517
|
+
"foundryItem": {
|
|
518
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
519
|
+
},
|
|
520
|
+
"foundryMagicvariant": {
|
|
521
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
522
|
+
},
|
|
517
523
|
"itemGroup": {
|
|
518
524
|
"$ref": "items.json#/properties/itemGroup"
|
|
519
525
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-items.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"magicvariant": {
|
|
@@ -67,6 +67,9 @@
|
|
|
67
67
|
"container",
|
|
68
68
|
"loot"
|
|
69
69
|
]
|
|
70
|
+
},
|
|
71
|
+
"subEntities": {
|
|
72
|
+
"$ref": "util-foundry.json#/$defs/foundrySubEntitiesObject"
|
|
70
73
|
}
|
|
71
74
|
},
|
|
72
75
|
"required": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.22",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"description": "Homebrew for 5etools. Should include arrays titled similarly to the main site data, e.g. `spell` or `class`",
|
|
6
6
|
"$defs": {
|
|
@@ -512,6 +512,12 @@
|
|
|
512
512
|
"item": {
|
|
513
513
|
"$ref": "items.json#/properties/item"
|
|
514
514
|
},
|
|
515
|
+
"foundryItem": {
|
|
516
|
+
"$ref": "foundry-items.json#/properties/item"
|
|
517
|
+
},
|
|
518
|
+
"foundryMagicvariant": {
|
|
519
|
+
"$ref": "foundry-items.json#/properties/magicvariant"
|
|
520
|
+
},
|
|
515
521
|
"itemGroup": {
|
|
516
522
|
"$ref": "items.json#/properties/itemGroup"
|
|
517
523
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "util-foundry.json",
|
|
4
4
|
"title": "Util: Foundry",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.2",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -50,6 +50,11 @@
|
|
|
50
50
|
},
|
|
51
51
|
"additionalProperties": false
|
|
52
52
|
},
|
|
53
|
+
"foundryId": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"minLength": 16,
|
|
56
|
+
"maxLength": 16
|
|
57
|
+
},
|
|
53
58
|
"foundryTokenScale": {
|
|
54
59
|
"type": "number",
|
|
55
60
|
"minimum": 0.2,
|
|
@@ -83,9 +88,13 @@
|
|
|
83
88
|
"description": "A 5etools-data-like object of additional entities to import.",
|
|
84
89
|
"type": "object"
|
|
85
90
|
},
|
|
86
|
-
"
|
|
91
|
+
"_foundryEffectObject": {
|
|
87
92
|
"type": "object",
|
|
88
93
|
"properties": {
|
|
94
|
+
"foundryId": {
|
|
95
|
+
"description": "Use only when required. For example, when linking an \"enchantmentRiderParent\".",
|
|
96
|
+
"$ref": "#/$defs/foundryId"
|
|
97
|
+
},
|
|
89
98
|
"name": {
|
|
90
99
|
"type": "string"
|
|
91
100
|
},
|
|
@@ -122,6 +131,36 @@
|
|
|
122
131
|
"additionalProperties": false
|
|
123
132
|
}
|
|
124
133
|
},
|
|
134
|
+
"statuses": {
|
|
135
|
+
"description": "Dumped via e.g. `copy(Object.keys(CONFIG.DND5E.conditionTypes).sort())`",
|
|
136
|
+
"type": "array",
|
|
137
|
+
"items": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"enum": [
|
|
140
|
+
"bleeding",
|
|
141
|
+
"blinded",
|
|
142
|
+
"charmed",
|
|
143
|
+
"cursed",
|
|
144
|
+
"deafened",
|
|
145
|
+
"diseased",
|
|
146
|
+
"exhaustion",
|
|
147
|
+
"frightened",
|
|
148
|
+
"grappled",
|
|
149
|
+
"incapacitated",
|
|
150
|
+
"invisible",
|
|
151
|
+
"paralyzed",
|
|
152
|
+
"petrified",
|
|
153
|
+
"poisoned",
|
|
154
|
+
"prone",
|
|
155
|
+
"restrained",
|
|
156
|
+
"silenced",
|
|
157
|
+
"stunned",
|
|
158
|
+
"surprised",
|
|
159
|
+
"transformed",
|
|
160
|
+
"unconscious"
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
},
|
|
125
164
|
"flags": {
|
|
126
165
|
"type": "object"
|
|
127
166
|
},
|
|
@@ -133,13 +172,59 @@
|
|
|
133
172
|
},
|
|
134
173
|
"transfer": {
|
|
135
174
|
"const": true
|
|
175
|
+
},
|
|
176
|
+
"enchantmentLevelMin": {
|
|
177
|
+
"type": "number",
|
|
178
|
+
"minimum": 0,
|
|
179
|
+
"maximum": 20
|
|
180
|
+
},
|
|
181
|
+
"enchantmentLevelMax": {
|
|
182
|
+
"type": "number",
|
|
183
|
+
"minimum": 0,
|
|
184
|
+
"maximum": 20
|
|
185
|
+
},
|
|
186
|
+
"enchantmentRiderParent": {
|
|
187
|
+
"$ref": "#/$defs/foundryId"
|
|
188
|
+
},
|
|
189
|
+
"type": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"enum": [
|
|
192
|
+
"enchantment"
|
|
193
|
+
]
|
|
136
194
|
}
|
|
137
195
|
},
|
|
138
|
-
"required": [
|
|
139
|
-
"changes"
|
|
140
|
-
],
|
|
141
196
|
"additionalProperties": false
|
|
142
197
|
},
|
|
198
|
+
"foundryEffectObject": {
|
|
199
|
+
"anyOf": [
|
|
200
|
+
{
|
|
201
|
+
"allOf": [
|
|
202
|
+
{
|
|
203
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"type": "object",
|
|
207
|
+
"required": [
|
|
208
|
+
"changes"
|
|
209
|
+
]
|
|
210
|
+
}
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"allOf": [
|
|
215
|
+
{
|
|
216
|
+
"$ref": "#/$defs/_foundryEffectObject"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"type": "object",
|
|
220
|
+
"required": [
|
|
221
|
+
"statuses"
|
|
222
|
+
]
|
|
223
|
+
}
|
|
224
|
+
]
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
},
|
|
143
228
|
"foundryEffectsArray": {
|
|
144
229
|
"type": "array",
|
|
145
230
|
"items": {
|
|
@@ -167,7 +252,7 @@
|
|
|
167
252
|
}
|
|
168
253
|
},
|
|
169
254
|
"flags": {
|
|
170
|
-
"$ref": "
|
|
255
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
171
256
|
},
|
|
172
257
|
"img": {
|
|
173
258
|
"type": "string"
|
|
@@ -227,7 +312,7 @@
|
|
|
227
312
|
}
|
|
228
313
|
},
|
|
229
314
|
"flags": {
|
|
230
|
-
"$ref": "
|
|
315
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
231
316
|
},
|
|
232
317
|
"img": {
|
|
233
318
|
"type": "string"
|
|
@@ -267,6 +352,9 @@
|
|
|
267
352
|
},
|
|
268
353
|
"actorDataMod": {
|
|
269
354
|
"type": "object"
|
|
355
|
+
},
|
|
356
|
+
"subEntities": {
|
|
357
|
+
"$ref": "#/$defs/foundrySubEntitiesObject"
|
|
270
358
|
}
|
|
271
359
|
},
|
|
272
360
|
"required": [
|
|
@@ -302,7 +390,7 @@
|
|
|
302
390
|
}
|
|
303
391
|
},
|
|
304
392
|
"flags": {
|
|
305
|
-
"$ref": "
|
|
393
|
+
"$ref": "#/$defs/foundryFlagsObject"
|
|
306
394
|
},
|
|
307
395
|
"img": {
|
|
308
396
|
"type": "string"
|
|
@@ -329,7 +417,7 @@
|
|
|
329
417
|
}
|
|
330
418
|
},
|
|
331
419
|
"prototypeToken": {
|
|
332
|
-
"$ref": "
|
|
420
|
+
"$ref": "#/$defs/foundryPrototypeTokenObject"
|
|
333
421
|
}
|
|
334
422
|
},
|
|
335
423
|
"required": [
|