5etools-utils 0.8.1 → 0.8.3
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/homebrew.json +4 -1
- package/schema/brew/items-base.json +34 -1
- package/schema/brew/util.json +26 -4
- package/schema/brew-fast/homebrew.json +4 -1
- package/schema/brew-fast/items-base.json +34 -1
- package/schema/brew-fast/util.json +26 -4
- package/schema/site/homebrew.json +4 -1
- package/schema/site/items-base.json +34 -1
- package/schema/site/util.json +26 -4
- package/schema/site-fast/homebrew.json +4 -1
- package/schema/site-fast/items-base.json +34 -1
- package/schema/site-fast/util.json +26 -4
package/package.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.8",
|
|
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": {
|
|
@@ -455,6 +455,9 @@
|
|
|
455
455
|
"itemTypeAdditionalEntries": {
|
|
456
456
|
"$ref": "items-base.json#/properties/itemTypeAdditionalEntries"
|
|
457
457
|
},
|
|
458
|
+
"itemMastery": {
|
|
459
|
+
"$ref": "items-base.json#/properties/itemMastery"
|
|
460
|
+
},
|
|
458
461
|
"magicvariant": {
|
|
459
462
|
"$ref": "magicvariants.json#/properties/magicvariant"
|
|
460
463
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "items-base.json",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.6",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"itemPropertyLookupArray": {
|
|
7
7
|
"type": "array",
|
|
@@ -472,6 +472,39 @@
|
|
|
472
472
|
},
|
|
473
473
|
"additionalProperties": false
|
|
474
474
|
}
|
|
475
|
+
},
|
|
476
|
+
"itemMastery": {
|
|
477
|
+
"type": "array",
|
|
478
|
+
"minItems": 1,
|
|
479
|
+
"items": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"properties": {
|
|
482
|
+
"name": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
},
|
|
485
|
+
"source": {
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"page": {
|
|
489
|
+
"$ref": "util.json#/$defs/page"
|
|
490
|
+
},
|
|
491
|
+
"prerequisite": {
|
|
492
|
+
"$ref": "util.json#/$defs/prerequisite"
|
|
493
|
+
},
|
|
494
|
+
"entries": {
|
|
495
|
+
"type": "array",
|
|
496
|
+
"items": {
|
|
497
|
+
"$ref": "entry.json"
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": [
|
|
502
|
+
"name",
|
|
503
|
+
"source",
|
|
504
|
+
"entries"
|
|
505
|
+
],
|
|
506
|
+
"additionalProperties": false
|
|
507
|
+
}
|
|
475
508
|
}
|
|
476
509
|
},
|
|
477
510
|
"additionalProperties": false
|
package/schema/brew/util.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.14",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaBlock": {
|
|
9
9
|
"type": "object",
|
|
@@ -1251,7 +1251,8 @@
|
|
|
1251
1251
|
"cha"
|
|
1252
1252
|
]
|
|
1253
1253
|
},
|
|
1254
|
-
"uniqueItems": true
|
|
1254
|
+
"uniqueItems": true,
|
|
1255
|
+
"minItems": 1
|
|
1255
1256
|
},
|
|
1256
1257
|
"count": {
|
|
1257
1258
|
"type": "integer"
|
|
@@ -1274,13 +1275,15 @@
|
|
|
1274
1275
|
"cha"
|
|
1275
1276
|
]
|
|
1276
1277
|
},
|
|
1277
|
-
"uniqueItems": true
|
|
1278
|
+
"uniqueItems": true,
|
|
1279
|
+
"minItems": 1
|
|
1278
1280
|
},
|
|
1279
1281
|
"weights": {
|
|
1280
1282
|
"type": "array",
|
|
1281
1283
|
"items": {
|
|
1282
1284
|
"type": "integer"
|
|
1283
|
-
}
|
|
1285
|
+
},
|
|
1286
|
+
"minItems": 1
|
|
1284
1287
|
}
|
|
1285
1288
|
}
|
|
1286
1289
|
},
|
|
@@ -1582,6 +1585,25 @@
|
|
|
1582
1585
|
"$ref": "entry.json"
|
|
1583
1586
|
}
|
|
1584
1587
|
},
|
|
1588
|
+
"itemType": {
|
|
1589
|
+
"type": "array",
|
|
1590
|
+
"items": {
|
|
1591
|
+
"$ref": "items-shared.json#/$defs/itemType"
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
"itemProperty": {
|
|
1595
|
+
"type": "array",
|
|
1596
|
+
"items": {
|
|
1597
|
+
"oneOf": [
|
|
1598
|
+
{
|
|
1599
|
+
"$ref": "items-shared.json#/$defs/itemProperty"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"type": "null"
|
|
1603
|
+
}
|
|
1604
|
+
]
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1585
1607
|
"other": {
|
|
1586
1608
|
"description": "A free text prerequisite",
|
|
1587
1609
|
"type": "string"
|
|
@@ -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.8",
|
|
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": {
|
|
@@ -453,6 +453,9 @@
|
|
|
453
453
|
"itemTypeAdditionalEntries": {
|
|
454
454
|
"$ref": "items-base.json#/properties/itemTypeAdditionalEntries"
|
|
455
455
|
},
|
|
456
|
+
"itemMastery": {
|
|
457
|
+
"$ref": "items-base.json#/properties/itemMastery"
|
|
458
|
+
},
|
|
456
459
|
"magicvariant": {
|
|
457
460
|
"$ref": "magicvariants.json#/properties/magicvariant"
|
|
458
461
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "items-base.json",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.6",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"itemPropertyLookupArray": {
|
|
7
7
|
"type": "array",
|
|
@@ -472,6 +472,39 @@
|
|
|
472
472
|
},
|
|
473
473
|
"additionalProperties": false
|
|
474
474
|
}
|
|
475
|
+
},
|
|
476
|
+
"itemMastery": {
|
|
477
|
+
"type": "array",
|
|
478
|
+
"minItems": 1,
|
|
479
|
+
"items": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"properties": {
|
|
482
|
+
"name": {
|
|
483
|
+
"type": "string"
|
|
484
|
+
},
|
|
485
|
+
"source": {
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"page": {
|
|
489
|
+
"$ref": "util.json#/$defs/page"
|
|
490
|
+
},
|
|
491
|
+
"prerequisite": {
|
|
492
|
+
"$ref": "util.json#/$defs/prerequisite"
|
|
493
|
+
},
|
|
494
|
+
"entries": {
|
|
495
|
+
"type": "array",
|
|
496
|
+
"items": {
|
|
497
|
+
"$ref": "entry.json"
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
},
|
|
501
|
+
"required": [
|
|
502
|
+
"name",
|
|
503
|
+
"source",
|
|
504
|
+
"entries"
|
|
505
|
+
],
|
|
506
|
+
"additionalProperties": false
|
|
507
|
+
}
|
|
475
508
|
}
|
|
476
509
|
},
|
|
477
510
|
"additionalProperties": false
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.14",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaBlock": {
|
|
9
9
|
"type": "object",
|
|
@@ -1251,7 +1251,8 @@
|
|
|
1251
1251
|
"cha"
|
|
1252
1252
|
]
|
|
1253
1253
|
},
|
|
1254
|
-
"uniqueItems": true
|
|
1254
|
+
"uniqueItems": true,
|
|
1255
|
+
"minItems": 1
|
|
1255
1256
|
},
|
|
1256
1257
|
"count": {
|
|
1257
1258
|
"type": "integer"
|
|
@@ -1274,13 +1275,15 @@
|
|
|
1274
1275
|
"cha"
|
|
1275
1276
|
]
|
|
1276
1277
|
},
|
|
1277
|
-
"uniqueItems": true
|
|
1278
|
+
"uniqueItems": true,
|
|
1279
|
+
"minItems": 1
|
|
1278
1280
|
},
|
|
1279
1281
|
"weights": {
|
|
1280
1282
|
"type": "array",
|
|
1281
1283
|
"items": {
|
|
1282
1284
|
"type": "integer"
|
|
1283
|
-
}
|
|
1285
|
+
},
|
|
1286
|
+
"minItems": 1
|
|
1284
1287
|
}
|
|
1285
1288
|
}
|
|
1286
1289
|
},
|
|
@@ -1582,6 +1585,25 @@
|
|
|
1582
1585
|
"$ref": "entry.json"
|
|
1583
1586
|
}
|
|
1584
1587
|
},
|
|
1588
|
+
"itemType": {
|
|
1589
|
+
"type": "array",
|
|
1590
|
+
"items": {
|
|
1591
|
+
"$ref": "items-shared.json#/$defs/itemType"
|
|
1592
|
+
}
|
|
1593
|
+
},
|
|
1594
|
+
"itemProperty": {
|
|
1595
|
+
"type": "array",
|
|
1596
|
+
"items": {
|
|
1597
|
+
"oneOf": [
|
|
1598
|
+
{
|
|
1599
|
+
"$ref": "items-shared.json#/$defs/itemProperty"
|
|
1600
|
+
},
|
|
1601
|
+
{
|
|
1602
|
+
"type": "null"
|
|
1603
|
+
}
|
|
1604
|
+
]
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1585
1607
|
"other": {
|
|
1586
1608
|
"description": "A free text prerequisite",
|
|
1587
1609
|
"type": "string"
|
|
@@ -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.8",
|
|
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": {
|
|
@@ -455,6 +455,9 @@
|
|
|
455
455
|
"itemTypeAdditionalEntries": {
|
|
456
456
|
"$ref": "items-base.json#/properties/itemTypeAdditionalEntries"
|
|
457
457
|
},
|
|
458
|
+
"itemMastery": {
|
|
459
|
+
"$ref": "items-base.json#/properties/itemMastery"
|
|
460
|
+
},
|
|
458
461
|
"magicvariant": {
|
|
459
462
|
"$ref": "magicvariants.json#/properties/magicvariant"
|
|
460
463
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "items-base.json",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.6",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"itemPropertyLookupArray": {
|
|
7
7
|
"type": "array",
|
|
@@ -437,6 +437,39 @@
|
|
|
437
437
|
},
|
|
438
438
|
"additionalProperties": false
|
|
439
439
|
}
|
|
440
|
+
},
|
|
441
|
+
"itemMastery": {
|
|
442
|
+
"type": "array",
|
|
443
|
+
"minItems": 1,
|
|
444
|
+
"items": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"name": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"source": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"page": {
|
|
454
|
+
"$ref": "util.json#/$defs/page"
|
|
455
|
+
},
|
|
456
|
+
"prerequisite": {
|
|
457
|
+
"$ref": "util.json#/$defs/prerequisite"
|
|
458
|
+
},
|
|
459
|
+
"entries": {
|
|
460
|
+
"type": "array",
|
|
461
|
+
"items": {
|
|
462
|
+
"$ref": "entry.json"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"name",
|
|
468
|
+
"source",
|
|
469
|
+
"entries"
|
|
470
|
+
],
|
|
471
|
+
"additionalProperties": false
|
|
472
|
+
}
|
|
440
473
|
}
|
|
441
474
|
},
|
|
442
475
|
"additionalProperties": false
|
package/schema/site/util.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.14",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaBlock": {
|
|
9
9
|
"type": "object",
|
|
@@ -1234,7 +1234,8 @@
|
|
|
1234
1234
|
"cha"
|
|
1235
1235
|
]
|
|
1236
1236
|
},
|
|
1237
|
-
"uniqueItems": true
|
|
1237
|
+
"uniqueItems": true,
|
|
1238
|
+
"minItems": 1
|
|
1238
1239
|
},
|
|
1239
1240
|
"count": {
|
|
1240
1241
|
"type": "integer"
|
|
@@ -1257,13 +1258,15 @@
|
|
|
1257
1258
|
"cha"
|
|
1258
1259
|
]
|
|
1259
1260
|
},
|
|
1260
|
-
"uniqueItems": true
|
|
1261
|
+
"uniqueItems": true,
|
|
1262
|
+
"minItems": 1
|
|
1261
1263
|
},
|
|
1262
1264
|
"weights": {
|
|
1263
1265
|
"type": "array",
|
|
1264
1266
|
"items": {
|
|
1265
1267
|
"type": "integer"
|
|
1266
|
-
}
|
|
1268
|
+
},
|
|
1269
|
+
"minItems": 1
|
|
1267
1270
|
}
|
|
1268
1271
|
}
|
|
1269
1272
|
},
|
|
@@ -1565,6 +1568,25 @@
|
|
|
1565
1568
|
"$ref": "entry.json"
|
|
1566
1569
|
}
|
|
1567
1570
|
},
|
|
1571
|
+
"itemType": {
|
|
1572
|
+
"type": "array",
|
|
1573
|
+
"items": {
|
|
1574
|
+
"$ref": "items-shared.json#/$defs/itemType"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"itemProperty": {
|
|
1578
|
+
"type": "array",
|
|
1579
|
+
"items": {
|
|
1580
|
+
"oneOf": [
|
|
1581
|
+
{
|
|
1582
|
+
"$ref": "items-shared.json#/$defs/itemProperty"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "null"
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1568
1590
|
"other": {
|
|
1569
1591
|
"description": "A free text prerequisite",
|
|
1570
1592
|
"type": "string"
|
|
@@ -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.8",
|
|
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": {
|
|
@@ -453,6 +453,9 @@
|
|
|
453
453
|
"itemTypeAdditionalEntries": {
|
|
454
454
|
"$ref": "items-base.json#/properties/itemTypeAdditionalEntries"
|
|
455
455
|
},
|
|
456
|
+
"itemMastery": {
|
|
457
|
+
"$ref": "items-base.json#/properties/itemMastery"
|
|
458
|
+
},
|
|
456
459
|
"magicvariant": {
|
|
457
460
|
"$ref": "magicvariants.json#/properties/magicvariant"
|
|
458
461
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"$id": "items-base.json",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.6",
|
|
5
5
|
"$defs": {
|
|
6
6
|
"itemPropertyLookupArray": {
|
|
7
7
|
"type": "array",
|
|
@@ -437,6 +437,39 @@
|
|
|
437
437
|
},
|
|
438
438
|
"additionalProperties": false
|
|
439
439
|
}
|
|
440
|
+
},
|
|
441
|
+
"itemMastery": {
|
|
442
|
+
"type": "array",
|
|
443
|
+
"minItems": 1,
|
|
444
|
+
"items": {
|
|
445
|
+
"type": "object",
|
|
446
|
+
"properties": {
|
|
447
|
+
"name": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
},
|
|
450
|
+
"source": {
|
|
451
|
+
"type": "string"
|
|
452
|
+
},
|
|
453
|
+
"page": {
|
|
454
|
+
"$ref": "util.json#/$defs/page"
|
|
455
|
+
},
|
|
456
|
+
"prerequisite": {
|
|
457
|
+
"$ref": "util.json#/$defs/prerequisite"
|
|
458
|
+
},
|
|
459
|
+
"entries": {
|
|
460
|
+
"type": "array",
|
|
461
|
+
"items": {
|
|
462
|
+
"$ref": "entry.json"
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"required": [
|
|
467
|
+
"name",
|
|
468
|
+
"source",
|
|
469
|
+
"entries"
|
|
470
|
+
],
|
|
471
|
+
"additionalProperties": false
|
|
472
|
+
}
|
|
440
473
|
}
|
|
441
474
|
},
|
|
442
475
|
"additionalProperties": false
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "util.json",
|
|
4
4
|
"title": "Util",
|
|
5
5
|
"description": "Utility definitions to be used in other schemas.",
|
|
6
|
-
"version": "1.13.
|
|
6
|
+
"version": "1.13.14",
|
|
7
7
|
"$defs": {
|
|
8
8
|
"metaBlock": {
|
|
9
9
|
"type": "object",
|
|
@@ -1234,7 +1234,8 @@
|
|
|
1234
1234
|
"cha"
|
|
1235
1235
|
]
|
|
1236
1236
|
},
|
|
1237
|
-
"uniqueItems": true
|
|
1237
|
+
"uniqueItems": true,
|
|
1238
|
+
"minItems": 1
|
|
1238
1239
|
},
|
|
1239
1240
|
"count": {
|
|
1240
1241
|
"type": "integer"
|
|
@@ -1257,13 +1258,15 @@
|
|
|
1257
1258
|
"cha"
|
|
1258
1259
|
]
|
|
1259
1260
|
},
|
|
1260
|
-
"uniqueItems": true
|
|
1261
|
+
"uniqueItems": true,
|
|
1262
|
+
"minItems": 1
|
|
1261
1263
|
},
|
|
1262
1264
|
"weights": {
|
|
1263
1265
|
"type": "array",
|
|
1264
1266
|
"items": {
|
|
1265
1267
|
"type": "integer"
|
|
1266
|
-
}
|
|
1268
|
+
},
|
|
1269
|
+
"minItems": 1
|
|
1267
1270
|
}
|
|
1268
1271
|
}
|
|
1269
1272
|
},
|
|
@@ -1565,6 +1568,25 @@
|
|
|
1565
1568
|
"$ref": "entry.json"
|
|
1566
1569
|
}
|
|
1567
1570
|
},
|
|
1571
|
+
"itemType": {
|
|
1572
|
+
"type": "array",
|
|
1573
|
+
"items": {
|
|
1574
|
+
"$ref": "items-shared.json#/$defs/itemType"
|
|
1575
|
+
}
|
|
1576
|
+
},
|
|
1577
|
+
"itemProperty": {
|
|
1578
|
+
"type": "array",
|
|
1579
|
+
"items": {
|
|
1580
|
+
"oneOf": [
|
|
1581
|
+
{
|
|
1582
|
+
"$ref": "items-shared.json#/$defs/itemProperty"
|
|
1583
|
+
},
|
|
1584
|
+
{
|
|
1585
|
+
"type": "null"
|
|
1586
|
+
}
|
|
1587
|
+
]
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1568
1590
|
"other": {
|
|
1569
1591
|
"description": "A free text prerequisite",
|
|
1570
1592
|
"type": "string"
|