5etools-utils 0.10.16 → 0.10.17
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/bestiary/bestiary.json +9 -0
- package/schema/brew/bestiary/foundry.json +2 -2
- package/schema/brew/util-foundry.json +67 -1
- package/schema/brew-fast/bestiary/bestiary.json +9 -0
- package/schema/brew-fast/bestiary/foundry.json +2 -2
- package/schema/brew-fast/util-foundry.json +67 -1
- package/schema/site/bestiary/foundry.json +2 -2
- package/schema/site/util-foundry.json +67 -1
- package/schema/site-fast/bestiary/foundry.json +2 -2
- package/schema/site-fast/util-foundry.json +67 -1
- package/schema/ua/bestiary/foundry.json +2 -2
- package/schema/ua/util-foundry.json +67 -1
- package/schema/ua-fast/bestiary/foundry.json +2 -2
- package/schema/ua-fast/util-foundry.json +67 -1
package/package.json
CHANGED
|
@@ -1263,6 +1263,9 @@
|
|
|
1263
1263
|
"foundryImg": {
|
|
1264
1264
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
1265
1265
|
},
|
|
1266
|
+
"foundryPrototypeToken": {
|
|
1267
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
1268
|
+
},
|
|
1266
1269
|
"tokenUrl": {
|
|
1267
1270
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
1268
1271
|
},
|
|
@@ -2430,6 +2433,9 @@
|
|
|
2430
2433
|
"foundryImg": {
|
|
2431
2434
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
2432
2435
|
},
|
|
2436
|
+
"foundryPrototypeToken": {
|
|
2437
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
2438
|
+
},
|
|
2433
2439
|
"tokenUrl": {
|
|
2434
2440
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
2435
2441
|
},
|
|
@@ -3602,6 +3608,9 @@
|
|
|
3602
3608
|
"foundryImg": {
|
|
3603
3609
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
3604
3610
|
},
|
|
3611
|
+
"foundryPrototypeToken": {
|
|
3612
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
3613
|
+
},
|
|
3605
3614
|
"tokenUrl": {
|
|
3606
3615
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
3607
3616
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|
|
@@ -1263,6 +1263,9 @@
|
|
|
1263
1263
|
"foundryImg": {
|
|
1264
1264
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
1265
1265
|
},
|
|
1266
|
+
"foundryPrototypeToken": {
|
|
1267
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
1268
|
+
},
|
|
1266
1269
|
"tokenUrl": {
|
|
1267
1270
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
1268
1271
|
},
|
|
@@ -2430,6 +2433,9 @@
|
|
|
2430
2433
|
"foundryImg": {
|
|
2431
2434
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
2432
2435
|
},
|
|
2436
|
+
"foundryPrototypeToken": {
|
|
2437
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
2438
|
+
},
|
|
2433
2439
|
"tokenUrl": {
|
|
2434
2440
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
2435
2441
|
},
|
|
@@ -3602,6 +3608,9 @@
|
|
|
3602
3608
|
"foundryImg": {
|
|
3603
3609
|
"$ref": "../util-foundry.json#/$defs/foundryImg"
|
|
3604
3610
|
},
|
|
3611
|
+
"foundryPrototypeToken": {
|
|
3612
|
+
"$ref": "../util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
3613
|
+
},
|
|
3605
3614
|
"tokenUrl": {
|
|
3606
3615
|
"$ref": "../util-token.json#/$defs/tokenUrl"
|
|
3607
3616
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "foundry-bestiary.json",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"monster": {
|
|
8
|
-
"$ref": "../util-foundry.json#/$defs/
|
|
8
|
+
"$ref": "../util-foundry.json#/$defs/foundrySideDataGenericActorArray"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"required": [
|
|
@@ -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.1",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"entryDataObject": {
|
|
8
8
|
"description": "Additional \"5etools-type\" data to be stored on the entry.",
|
|
@@ -73,6 +73,9 @@
|
|
|
73
73
|
},
|
|
74
74
|
"uniqueItems": true
|
|
75
75
|
},
|
|
76
|
+
"foundryPrototypeTokenObject": {
|
|
77
|
+
"type": "object"
|
|
78
|
+
},
|
|
76
79
|
"foundryImg": {
|
|
77
80
|
"type": "string"
|
|
78
81
|
},
|
|
@@ -279,6 +282,69 @@
|
|
|
279
282
|
"items": {
|
|
280
283
|
"$ref": "#/$defs/foundrySideDataGenericFeatureObject"
|
|
281
284
|
}
|
|
285
|
+
},
|
|
286
|
+
"foundrySideDataGenericActorObject": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"name": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
},
|
|
292
|
+
"source": {
|
|
293
|
+
"$ref": "util.json#/$defs/source"
|
|
294
|
+
},
|
|
295
|
+
"system": {
|
|
296
|
+
"$ref": "#/$defs/foundrySystemObject"
|
|
297
|
+
},
|
|
298
|
+
"effects": {
|
|
299
|
+
"type": "array",
|
|
300
|
+
"items": {
|
|
301
|
+
"$ref": "#/$defs/foundryEffectObject"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"flags": {
|
|
305
|
+
"$ref": "util-foundry.json#/$defs/foundryFlagsObject"
|
|
306
|
+
},
|
|
307
|
+
"img": {
|
|
308
|
+
"type": "string"
|
|
309
|
+
},
|
|
310
|
+
"_merge": {
|
|
311
|
+
"type": "object",
|
|
312
|
+
"description": "If our \"X\" (e.g. \"system\") should be merged with any base \"X\", rather than overwriting.",
|
|
313
|
+
"properties": {
|
|
314
|
+
"system": {
|
|
315
|
+
"const": true
|
|
316
|
+
},
|
|
317
|
+
"chooseSystem": {
|
|
318
|
+
"const": true
|
|
319
|
+
},
|
|
320
|
+
"effects": {
|
|
321
|
+
"const": true
|
|
322
|
+
},
|
|
323
|
+
"flags": {
|
|
324
|
+
"const": true
|
|
325
|
+
},
|
|
326
|
+
"chooseFlags": {
|
|
327
|
+
"const": true
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"prototypeToken": {
|
|
332
|
+
"$ref": "util-foundry.json#/$defs/foundryPrototypeTokenObject"
|
|
333
|
+
}
|
|
334
|
+
},
|
|
335
|
+
"required": [
|
|
336
|
+
"name",
|
|
337
|
+
"source"
|
|
338
|
+
],
|
|
339
|
+
"additionalProperties": false
|
|
340
|
+
},
|
|
341
|
+
"foundrySideDataGenericActorArray": {
|
|
342
|
+
"type": "array",
|
|
343
|
+
"minItems": 1,
|
|
344
|
+
"uniqueItems": true,
|
|
345
|
+
"items": {
|
|
346
|
+
"$ref": "#/$defs/foundrySideDataGenericActorObject"
|
|
347
|
+
}
|
|
282
348
|
}
|
|
283
349
|
}
|
|
284
350
|
}
|