5etools-utils 0.16.25 → 0.16.26

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.16.25",
3
+ "version": "0.16.26",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -659,6 +659,15 @@
659
659
  }
660
660
  ]
661
661
  },
662
+ "_proficiencies_armor": {
663
+ "type": "string",
664
+ "examples": [
665
+ "light",
666
+ "medium",
667
+ "heavy",
668
+ "shield"
669
+ ]
670
+ },
662
671
  "proficiencies": {
663
672
  "type": "object",
664
673
  "properties": {
@@ -667,26 +676,13 @@
667
676
  "items": {
668
677
  "oneOf": [
669
678
  {
670
- "type": "string",
671
- "enum": [
672
- "light",
673
- "medium",
674
- "heavy",
675
- "shield"
676
- ]
679
+ "$ref": "#/$defs/_proficiencies_armor"
677
680
  },
678
681
  {
679
682
  "type": "object",
680
683
  "properties": {
681
684
  "proficiency": {
682
- "type": "string",
683
- "enum": [
684
- "light",
685
- "medium",
686
- "heavy",
687
- "shield",
688
- "special"
689
- ]
685
+ "$ref": "#/$defs/_proficiencies_armor"
690
686
  },
691
687
  "full": {
692
688
  "description": "The complete text for this proficiency.",
@@ -702,6 +698,11 @@
702
698
  ]
703
699
  }
704
700
  },
701
+ "armorProficiencies": {
702
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
703
+ "$ref": "../util.json#/$defs/armorProficiencies",
704
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
705
+ },
705
706
  "weapons": {
706
707
  "type": "array",
707
708
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1290,6 +1290,11 @@
1290
1290
  "const": true
1291
1291
  }
1292
1292
  },
1293
+ "patternProperties": {
1294
+ "^[^|]+\\|.+$": {
1295
+ "const": true
1296
+ }
1297
+ },
1293
1298
  "minProperties": 1,
1294
1299
  "additionalProperties": false
1295
1300
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -659,6 +659,15 @@
659
659
  }
660
660
  ]
661
661
  },
662
+ "_proficiencies_armor": {
663
+ "type": "string",
664
+ "examples": [
665
+ "light",
666
+ "medium",
667
+ "heavy",
668
+ "shield"
669
+ ]
670
+ },
662
671
  "proficiencies": {
663
672
  "type": "object",
664
673
  "properties": {
@@ -667,26 +676,13 @@
667
676
  "items": {
668
677
  "oneOf": [
669
678
  {
670
- "type": "string",
671
- "enum": [
672
- "light",
673
- "medium",
674
- "heavy",
675
- "shield"
676
- ]
679
+ "$ref": "#/$defs/_proficiencies_armor"
677
680
  },
678
681
  {
679
682
  "type": "object",
680
683
  "properties": {
681
684
  "proficiency": {
682
- "type": "string",
683
- "enum": [
684
- "light",
685
- "medium",
686
- "heavy",
687
- "shield",
688
- "special"
689
- ]
685
+ "$ref": "#/$defs/_proficiencies_armor"
690
686
  },
691
687
  "full": {
692
688
  "description": "The complete text for this proficiency.",
@@ -702,6 +698,11 @@
702
698
  ]
703
699
  }
704
700
  },
701
+ "armorProficiencies": {
702
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
703
+ "$ref": "../util.json#/$defs/armorProficiencies",
704
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
705
+ },
705
706
  "weapons": {
706
707
  "type": "array",
707
708
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1290,6 +1290,11 @@
1290
1290
  "const": true
1291
1291
  }
1292
1292
  },
1293
+ "patternProperties": {
1294
+ "^[^|]+\\|.+$": {
1295
+ "const": true
1296
+ }
1297
+ },
1293
1298
  "minProperties": 1,
1294
1299
  "additionalProperties": false
1295
1300
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -515,6 +515,15 @@
515
515
  }
516
516
  ]
517
517
  },
518
+ "_proficiencies_armor": {
519
+ "type": "string",
520
+ "enum": [
521
+ "light",
522
+ "medium",
523
+ "heavy",
524
+ "shield"
525
+ ]
526
+ },
518
527
  "proficiencies": {
519
528
  "type": "object",
520
529
  "properties": {
@@ -523,26 +532,13 @@
523
532
  "items": {
524
533
  "oneOf": [
525
534
  {
526
- "type": "string",
527
- "enum": [
528
- "light",
529
- "medium",
530
- "heavy",
531
- "shield"
532
- ]
535
+ "$ref": "#/$defs/_proficiencies_armor"
533
536
  },
534
537
  {
535
538
  "type": "object",
536
539
  "properties": {
537
540
  "proficiency": {
538
- "type": "string",
539
- "enum": [
540
- "light",
541
- "medium",
542
- "heavy",
543
- "shield",
544
- "special"
545
- ]
541
+ "$ref": "#/$defs/_proficiencies_armor"
546
542
  },
547
543
  "full": {
548
544
  "description": "The complete text for this proficiency.",
@@ -558,6 +554,11 @@
558
554
  ]
559
555
  }
560
556
  },
557
+ "armorProficiencies": {
558
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
559
+ "$ref": "../util.json#/$defs/armorProficiencies",
560
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
561
+ },
561
562
  "weapons": {
562
563
  "type": "array",
563
564
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1240,6 +1240,11 @@
1240
1240
  "const": true
1241
1241
  }
1242
1242
  },
1243
+ "patternProperties": {
1244
+ "^[^|]+\\|.+$": {
1245
+ "const": true
1246
+ }
1247
+ },
1243
1248
  "minProperties": 1,
1244
1249
  "additionalProperties": false
1245
1250
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -515,6 +515,15 @@
515
515
  }
516
516
  ]
517
517
  },
518
+ "_proficiencies_armor": {
519
+ "type": "string",
520
+ "enum": [
521
+ "light",
522
+ "medium",
523
+ "heavy",
524
+ "shield"
525
+ ]
526
+ },
518
527
  "proficiencies": {
519
528
  "type": "object",
520
529
  "properties": {
@@ -523,26 +532,13 @@
523
532
  "items": {
524
533
  "oneOf": [
525
534
  {
526
- "type": "string",
527
- "enum": [
528
- "light",
529
- "medium",
530
- "heavy",
531
- "shield"
532
- ]
535
+ "$ref": "#/$defs/_proficiencies_armor"
533
536
  },
534
537
  {
535
538
  "type": "object",
536
539
  "properties": {
537
540
  "proficiency": {
538
- "type": "string",
539
- "enum": [
540
- "light",
541
- "medium",
542
- "heavy",
543
- "shield",
544
- "special"
545
- ]
541
+ "$ref": "#/$defs/_proficiencies_armor"
546
542
  },
547
543
  "full": {
548
544
  "description": "The complete text for this proficiency.",
@@ -558,6 +554,11 @@
558
554
  ]
559
555
  }
560
556
  },
557
+ "armorProficiencies": {
558
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
559
+ "$ref": "../util.json#/$defs/armorProficiencies",
560
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
561
+ },
561
562
  "weapons": {
562
563
  "type": "array",
563
564
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1240,6 +1240,11 @@
1240
1240
  "const": true
1241
1241
  }
1242
1242
  },
1243
+ "patternProperties": {
1244
+ "^[^|]+\\|.+$": {
1245
+ "const": true
1246
+ }
1247
+ },
1243
1248
  "minProperties": 1,
1244
1249
  "additionalProperties": false
1245
1250
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -467,6 +467,15 @@
467
467
  }
468
468
  ]
469
469
  },
470
+ "_proficiencies_armor": {
471
+ "type": "string",
472
+ "enum": [
473
+ "light",
474
+ "medium",
475
+ "heavy",
476
+ "shield"
477
+ ]
478
+ },
470
479
  "proficiencies": {
471
480
  "type": "object",
472
481
  "properties": {
@@ -475,26 +484,13 @@
475
484
  "items": {
476
485
  "oneOf": [
477
486
  {
478
- "type": "string",
479
- "enum": [
480
- "light",
481
- "medium",
482
- "heavy",
483
- "shield"
484
- ]
487
+ "$ref": "#/$defs/_proficiencies_armor"
485
488
  },
486
489
  {
487
490
  "type": "object",
488
491
  "properties": {
489
492
  "proficiency": {
490
- "type": "string",
491
- "enum": [
492
- "light",
493
- "medium",
494
- "heavy",
495
- "shield",
496
- "special"
497
- ]
493
+ "$ref": "#/$defs/_proficiencies_armor"
498
494
  },
499
495
  "full": {
500
496
  "description": "The complete text for this proficiency.",
@@ -510,6 +506,11 @@
510
506
  ]
511
507
  }
512
508
  },
509
+ "armorProficiencies": {
510
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
511
+ "$ref": "../util.json#/$defs/armorProficiencies",
512
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
513
+ },
513
514
  "weapons": {
514
515
  "type": "array",
515
516
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1251,6 +1251,11 @@
1251
1251
  "const": true
1252
1252
  }
1253
1253
  },
1254
+ "patternProperties": {
1255
+ "^[^|]+\\|.+$": {
1256
+ "const": true
1257
+ }
1258
+ },
1254
1259
  "minProperties": 1,
1255
1260
  "additionalProperties": false
1256
1261
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "2.12.13",
3
+ "version": "2.12.14",
4
4
  "$id": "class.json",
5
5
  "type": "object",
6
6
  "$defs": {
@@ -467,6 +467,15 @@
467
467
  }
468
468
  ]
469
469
  },
470
+ "_proficiencies_armor": {
471
+ "type": "string",
472
+ "enum": [
473
+ "light",
474
+ "medium",
475
+ "heavy",
476
+ "shield"
477
+ ]
478
+ },
470
479
  "proficiencies": {
471
480
  "type": "object",
472
481
  "properties": {
@@ -475,26 +484,13 @@
475
484
  "items": {
476
485
  "oneOf": [
477
486
  {
478
- "type": "string",
479
- "enum": [
480
- "light",
481
- "medium",
482
- "heavy",
483
- "shield"
484
- ]
487
+ "$ref": "#/$defs/_proficiencies_armor"
485
488
  },
486
489
  {
487
490
  "type": "object",
488
491
  "properties": {
489
492
  "proficiency": {
490
- "type": "string",
491
- "enum": [
492
- "light",
493
- "medium",
494
- "heavy",
495
- "shield",
496
- "special"
497
- ]
493
+ "$ref": "#/$defs/_proficiencies_armor"
498
494
  },
499
495
  "full": {
500
496
  "description": "The complete text for this proficiency.",
@@ -510,6 +506,11 @@
510
506
  ]
511
507
  }
512
508
  },
509
+ "armorProficiencies": {
510
+ "description": "Well-structured armor proficiency data, used by e.g. Plutonium.",
511
+ "$ref": "../util.json#/$defs/armorProficiencies",
512
+ "markdownDescription": "Well-structured armor proficiency data, used by e.g. Plutonium."
513
+ },
513
514
  "weapons": {
514
515
  "type": "array",
515
516
  "items": {
@@ -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.19.1",
6
+ "version": "1.19.2",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -1251,6 +1251,11 @@
1251
1251
  "const": true
1252
1252
  }
1253
1253
  },
1254
+ "patternProperties": {
1255
+ "^[^|]+\\|.+$": {
1256
+ "const": true
1257
+ }
1258
+ },
1254
1259
  "minProperties": 1,
1255
1260
  "additionalProperties": false
1256
1261
  },