5etools-utils 0.12.14 → 0.12.16
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/lib/BrewCleaner.js +3 -2
- package/package.json +1 -1
- package/schema/brew/adventures.json +1 -6
- package/schema/brew/books.json +1 -6
- package/schema/brew/homebrew.json +18 -1
- package/schema/brew/magicvariants.json +5 -3
- package/schema/brew-fast/adventures.json +1 -6
- package/schema/brew-fast/books.json +1 -6
- package/schema/brew-fast/homebrew.json +18 -1
- package/schema/brew-fast/magicvariants.json +5 -3
- package/schema/site/adventures.json +1 -6
- package/schema/site/books.json +1 -6
- package/schema/site/homebrew.json +18 -1
- package/schema/site/magicvariants.json +5 -3
- package/schema/site-fast/adventures.json +1 -6
- package/schema/site-fast/books.json +1 -6
- package/schema/site-fast/homebrew.json +18 -1
- package/schema/site-fast/magicvariants.json +5 -3
- package/schema/ua/adventures.json +1 -6
- package/schema/ua/books.json +1 -6
- package/schema/ua/homebrew.json +18 -1
- package/schema/ua/magicvariants.json +5 -3
- package/schema/ua-fast/adventures.json +1 -6
- package/schema/ua-fast/books.json +1 -6
- package/schema/ua-fast/homebrew.json +18 -1
- package/schema/ua-fast/magicvariants.json +5 -3
package/lib/BrewCleaner.js
CHANGED
|
@@ -10,9 +10,10 @@ class _BrewFileCleaner {
|
|
|
10
10
|
|
|
11
11
|
static cleanFile ({file, contents}) {
|
|
12
12
|
// Ensure _meta is at the top of the file
|
|
13
|
-
const tmp = {$schema: contents.$schema, _meta: contents._meta};
|
|
13
|
+
const tmp = {$schema: contents.$schema, _meta: contents._meta, _test: contents._test};
|
|
14
14
|
delete contents.$schema;
|
|
15
15
|
delete contents._meta;
|
|
16
|
+
delete contents._test;
|
|
16
17
|
Object.assign(tmp, contents);
|
|
17
18
|
contents = tmp;
|
|
18
19
|
|
|
@@ -47,7 +48,7 @@ class _BrewFileTester {
|
|
|
47
48
|
|
|
48
49
|
static _ALL_SOURCES_JSON_LOWER = new Set();
|
|
49
50
|
|
|
50
|
-
static _CONTENT_KEY_BLOCKLIST = new Set(["$schema", "_meta", "siteVersion"]);
|
|
51
|
+
static _CONTENT_KEY_BLOCKLIST = new Set(["$schema", "_meta", "_test", "siteVersion"]);
|
|
51
52
|
|
|
52
53
|
static _testFile_sources ({ALL_ERRORS, file, contents}) {
|
|
53
54
|
const docSourcesJson = contents._meta.sources.map(src => src.json);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
package/schema/brew/books.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -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.25",
|
|
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": {
|
|
@@ -305,6 +305,20 @@
|
|
|
305
305
|
],
|
|
306
306
|
"additionalProperties": false
|
|
307
307
|
},
|
|
308
|
+
"_test": {
|
|
309
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"additionalImageSources": {
|
|
313
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"minProperties": 1
|
|
321
|
+
},
|
|
308
322
|
"spellList": {
|
|
309
323
|
"type": "array",
|
|
310
324
|
"items": {
|
|
@@ -392,6 +406,9 @@
|
|
|
392
406
|
"_meta": {
|
|
393
407
|
"$ref": "#/$defs/_meta"
|
|
394
408
|
},
|
|
409
|
+
"_test": {
|
|
410
|
+
"$ref": "#/$defs/_test"
|
|
411
|
+
},
|
|
395
412
|
"$schema": {
|
|
396
413
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
397
414
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -1074,7 +1074,8 @@
|
|
|
1074
1074
|
"additionalProperties": false,
|
|
1075
1075
|
"required": [
|
|
1076
1076
|
"name",
|
|
1077
|
-
"inherits"
|
|
1077
|
+
"inherits",
|
|
1078
|
+
"requires"
|
|
1078
1079
|
]
|
|
1079
1080
|
},
|
|
1080
1081
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1618,7 +1619,8 @@
|
|
|
1618
1619
|
"required": [
|
|
1619
1620
|
"name",
|
|
1620
1621
|
"rarity",
|
|
1621
|
-
"inherits"
|
|
1622
|
+
"inherits",
|
|
1623
|
+
"requires"
|
|
1622
1624
|
]
|
|
1623
1625
|
},
|
|
1624
1626
|
"magicvariantItem": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -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.25",
|
|
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": {
|
|
@@ -303,6 +303,20 @@
|
|
|
303
303
|
],
|
|
304
304
|
"additionalProperties": false
|
|
305
305
|
},
|
|
306
|
+
"_test": {
|
|
307
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"additionalImageSources": {
|
|
311
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"minProperties": 1
|
|
319
|
+
},
|
|
306
320
|
"spellList": {
|
|
307
321
|
"type": "array",
|
|
308
322
|
"items": {
|
|
@@ -390,6 +404,9 @@
|
|
|
390
404
|
"_meta": {
|
|
391
405
|
"$ref": "#/$defs/_meta"
|
|
392
406
|
},
|
|
407
|
+
"_test": {
|
|
408
|
+
"$ref": "#/$defs/_test"
|
|
409
|
+
},
|
|
393
410
|
"$schema": {
|
|
394
411
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
395
412
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -1074,7 +1074,8 @@
|
|
|
1074
1074
|
"additionalProperties": false,
|
|
1075
1075
|
"required": [
|
|
1076
1076
|
"name",
|
|
1077
|
-
"inherits"
|
|
1077
|
+
"inherits",
|
|
1078
|
+
"requires"
|
|
1078
1079
|
]
|
|
1079
1080
|
},
|
|
1080
1081
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1618,7 +1619,8 @@
|
|
|
1618
1619
|
"required": [
|
|
1619
1620
|
"name",
|
|
1620
1621
|
"rarity",
|
|
1621
|
-
"inherits"
|
|
1622
|
+
"inherits",
|
|
1623
|
+
"requires"
|
|
1622
1624
|
]
|
|
1623
1625
|
},
|
|
1624
1626
|
"magicvariantItem": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
package/schema/site/books.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -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.25",
|
|
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": {
|
|
@@ -305,6 +305,20 @@
|
|
|
305
305
|
],
|
|
306
306
|
"additionalProperties": false
|
|
307
307
|
},
|
|
308
|
+
"_test": {
|
|
309
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"additionalImageSources": {
|
|
313
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"minProperties": 1
|
|
321
|
+
},
|
|
308
322
|
"spellList": {
|
|
309
323
|
"type": "array",
|
|
310
324
|
"items": {
|
|
@@ -392,6 +406,9 @@
|
|
|
392
406
|
"_meta": {
|
|
393
407
|
"$ref": "#/$defs/_meta"
|
|
394
408
|
},
|
|
409
|
+
"_test": {
|
|
410
|
+
"$ref": "#/$defs/_test"
|
|
411
|
+
},
|
|
395
412
|
"$schema": {
|
|
396
413
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
397
414
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -986,7 +986,8 @@
|
|
|
986
986
|
"additionalProperties": false,
|
|
987
987
|
"required": [
|
|
988
988
|
"name",
|
|
989
|
-
"inherits"
|
|
989
|
+
"inherits",
|
|
990
|
+
"requires"
|
|
990
991
|
]
|
|
991
992
|
},
|
|
992
993
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1486,7 +1487,8 @@
|
|
|
1486
1487
|
"required": [
|
|
1487
1488
|
"name",
|
|
1488
1489
|
"rarity",
|
|
1489
|
-
"inherits"
|
|
1490
|
+
"inherits",
|
|
1491
|
+
"requires"
|
|
1490
1492
|
]
|
|
1491
1493
|
},
|
|
1492
1494
|
"magicvariantItem": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -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.25",
|
|
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": {
|
|
@@ -303,6 +303,20 @@
|
|
|
303
303
|
],
|
|
304
304
|
"additionalProperties": false
|
|
305
305
|
},
|
|
306
|
+
"_test": {
|
|
307
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"additionalImageSources": {
|
|
311
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"minProperties": 1
|
|
319
|
+
},
|
|
306
320
|
"spellList": {
|
|
307
321
|
"type": "array",
|
|
308
322
|
"items": {
|
|
@@ -390,6 +404,9 @@
|
|
|
390
404
|
"_meta": {
|
|
391
405
|
"$ref": "#/$defs/_meta"
|
|
392
406
|
},
|
|
407
|
+
"_test": {
|
|
408
|
+
"$ref": "#/$defs/_test"
|
|
409
|
+
},
|
|
393
410
|
"$schema": {
|
|
394
411
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
395
412
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -986,7 +986,8 @@
|
|
|
986
986
|
"additionalProperties": false,
|
|
987
987
|
"required": [
|
|
988
988
|
"name",
|
|
989
|
-
"inherits"
|
|
989
|
+
"inherits",
|
|
990
|
+
"requires"
|
|
990
991
|
]
|
|
991
992
|
},
|
|
992
993
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1486,7 +1487,8 @@
|
|
|
1486
1487
|
"required": [
|
|
1487
1488
|
"name",
|
|
1488
1489
|
"rarity",
|
|
1489
|
-
"inherits"
|
|
1490
|
+
"inherits",
|
|
1491
|
+
"requires"
|
|
1490
1492
|
]
|
|
1491
1493
|
},
|
|
1492
1494
|
"magicvariantItem": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
package/schema/ua/books.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
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.25",
|
|
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": {
|
|
@@ -305,6 +305,20 @@
|
|
|
305
305
|
],
|
|
306
306
|
"additionalProperties": false
|
|
307
307
|
},
|
|
308
|
+
"_test": {
|
|
309
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
310
|
+
"type": "object",
|
|
311
|
+
"properties": {
|
|
312
|
+
"additionalImageSources": {
|
|
313
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
314
|
+
"type": "array",
|
|
315
|
+
"items": {
|
|
316
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"minProperties": 1
|
|
321
|
+
},
|
|
308
322
|
"spellList": {
|
|
309
323
|
"type": "array",
|
|
310
324
|
"items": {
|
|
@@ -392,6 +406,9 @@
|
|
|
392
406
|
"_meta": {
|
|
393
407
|
"$ref": "#/$defs/_meta"
|
|
394
408
|
},
|
|
409
|
+
"_test": {
|
|
410
|
+
"$ref": "#/$defs/_test"
|
|
411
|
+
},
|
|
395
412
|
"$schema": {
|
|
396
413
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
397
414
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -1024,7 +1024,8 @@
|
|
|
1024
1024
|
"additionalProperties": false,
|
|
1025
1025
|
"required": [
|
|
1026
1026
|
"name",
|
|
1027
|
-
"inherits"
|
|
1027
|
+
"inherits",
|
|
1028
|
+
"requires"
|
|
1028
1029
|
]
|
|
1029
1030
|
},
|
|
1030
1031
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1543,7 +1544,8 @@
|
|
|
1543
1544
|
"required": [
|
|
1544
1545
|
"name",
|
|
1545
1546
|
"rarity",
|
|
1546
|
-
"inherits"
|
|
1547
|
+
"inherits",
|
|
1548
|
+
"requires"
|
|
1547
1549
|
]
|
|
1548
1550
|
},
|
|
1549
1551
|
"magicvariantItem": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "adventures.json",
|
|
4
|
-
"version": "1.10.
|
|
4
|
+
"version": "1.10.22",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"adventure": {
|
|
@@ -157,11 +157,6 @@
|
|
|
157
157
|
"description": "A sorting order for adventures within a single source.",
|
|
158
158
|
"type": "integer"
|
|
159
159
|
},
|
|
160
|
-
"coverUrl": {
|
|
161
|
-
"deprecated": true,
|
|
162
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
163
|
-
"type": "string"
|
|
164
|
-
},
|
|
165
160
|
"cover": {
|
|
166
161
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
167
162
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "books.json",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.13",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"book": {
|
|
@@ -51,11 +51,6 @@
|
|
|
51
51
|
"format": "date",
|
|
52
52
|
"description": "The date of publication of the book, in the format YYYY-MM-DD (RFC3339)."
|
|
53
53
|
},
|
|
54
|
-
"coverUrl": {
|
|
55
|
-
"deprecated": true,
|
|
56
|
-
"description": "A direct link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
57
|
-
"type": "string"
|
|
58
|
-
},
|
|
59
54
|
"cover": {
|
|
60
55
|
"description": "A link to an image which should be 300 x 300px in size. Larger images will be centred and cropped.",
|
|
61
56
|
"$ref": "entry.json#/$defs/mediaHref"
|
|
@@ -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.25",
|
|
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": {
|
|
@@ -303,6 +303,20 @@
|
|
|
303
303
|
],
|
|
304
304
|
"additionalProperties": false
|
|
305
305
|
},
|
|
306
|
+
"_test": {
|
|
307
|
+
"description": "Supplementary information used when testing this homebrew.",
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"additionalImageSources": {
|
|
311
|
+
"description": "Other sources from which this homebrew should be allowed to use images.",
|
|
312
|
+
"type": "array",
|
|
313
|
+
"items": {
|
|
314
|
+
"$ref": "util.json#/$defs/sourceJson"
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
"minProperties": 1
|
|
319
|
+
},
|
|
306
320
|
"spellList": {
|
|
307
321
|
"type": "array",
|
|
308
322
|
"items": {
|
|
@@ -390,6 +404,9 @@
|
|
|
390
404
|
"_meta": {
|
|
391
405
|
"$ref": "#/$defs/_meta"
|
|
392
406
|
},
|
|
407
|
+
"_test": {
|
|
408
|
+
"$ref": "#/$defs/_test"
|
|
409
|
+
},
|
|
393
410
|
"$schema": {
|
|
394
411
|
"description": "An optional key that allows you specify the schema you want to verify against in compatible IDEs.\nIt is advised that you leave this key out when submitting to the repo.",
|
|
395
412
|
"type": "string",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "magicvariants.json",
|
|
4
|
-
"version": "1.8.
|
|
4
|
+
"version": "1.8.19",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"_magicvariantItemBase": {
|
|
@@ -1024,7 +1024,8 @@
|
|
|
1024
1024
|
"additionalProperties": false,
|
|
1025
1025
|
"required": [
|
|
1026
1026
|
"name",
|
|
1027
|
-
"inherits"
|
|
1027
|
+
"inherits",
|
|
1028
|
+
"requires"
|
|
1028
1029
|
]
|
|
1029
1030
|
},
|
|
1030
1031
|
"_magicvariantItemBrewBaseRarity": {
|
|
@@ -1543,7 +1544,8 @@
|
|
|
1543
1544
|
"required": [
|
|
1544
1545
|
"name",
|
|
1545
1546
|
"rarity",
|
|
1546
|
-
"inherits"
|
|
1547
|
+
"inherits",
|
|
1548
|
+
"requires"
|
|
1547
1549
|
]
|
|
1548
1550
|
},
|
|
1549
1551
|
"magicvariantItem": {
|