5etools-utils 0.6.0 → 0.6.1

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.11",
3
+ "version": "1.21.12",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -645,27 +645,34 @@
645
645
  }
646
646
  },
647
647
  "bonus": {
648
- "type": "array",
649
- "minItems": 1,
650
- "items": {
651
- "type": "object",
652
- "properties": {
653
- "name": {
654
- "type": "string"
655
- },
656
- "entries": {
657
- "type": "array",
658
- "items": {
659
- "$ref": "../entry.json"
660
- }
648
+ "oneOf": [
649
+ {
650
+ "type": "array",
651
+ "minItems": 1,
652
+ "items": {
653
+ "type": "object",
654
+ "properties": {
655
+ "name": {
656
+ "type": "string"
657
+ },
658
+ "entries": {
659
+ "type": "array",
660
+ "items": {
661
+ "$ref": "../entry.json"
662
+ }
663
+ }
664
+ },
665
+ "required": [
666
+ "name",
667
+ "entries"
668
+ ],
669
+ "additionalProperties": false
661
670
  }
662
671
  },
663
- "required": [
664
- "name",
665
- "entries"
666
- ],
667
- "additionalProperties": false
668
- }
672
+ {
673
+ "type": "null"
674
+ }
675
+ ]
669
676
  },
670
677
  "reactionNote": {
671
678
  "type": "string"
@@ -678,27 +685,34 @@
678
685
  }
679
686
  },
680
687
  "reaction": {
681
- "type": "array",
682
- "minItems": 1,
683
- "items": {
684
- "type": "object",
685
- "properties": {
686
- "name": {
687
- "type": "string"
688
- },
689
- "entries": {
690
- "type": "array",
691
- "items": {
692
- "$ref": "../entry.json"
693
- }
688
+ "oneOf": [
689
+ {
690
+ "type": "array",
691
+ "minItems": 1,
692
+ "items": {
693
+ "type": "object",
694
+ "properties": {
695
+ "name": {
696
+ "type": "string"
697
+ },
698
+ "entries": {
699
+ "type": "array",
700
+ "items": {
701
+ "$ref": "../entry.json"
702
+ }
703
+ }
704
+ },
705
+ "required": [
706
+ "name",
707
+ "entries"
708
+ ],
709
+ "additionalProperties": false
694
710
  }
695
711
  },
696
- "required": [
697
- "name",
698
- "entries"
699
- ],
700
- "additionalProperties": false
701
- }
712
+ {
713
+ "type": "null"
714
+ }
715
+ ]
702
716
  },
703
717
  "legendaryGroup": {
704
718
  "type": "object",
@@ -758,32 +772,46 @@
758
772
  }
759
773
  },
760
774
  "mythic": {
761
- "type": "array",
762
- "minItems": 1,
763
- "items": {
764
- "type": "object",
765
- "properties": {
766
- "name": {
767
- "type": "string"
768
- },
769
- "entries": {
770
- "type": "array",
771
- "items": {
772
- "$ref": "../entry.json"
773
- }
775
+ "oneOf": [
776
+ {
777
+ "type": "array",
778
+ "minItems": 1,
779
+ "items": {
780
+ "type": "object",
781
+ "properties": {
782
+ "name": {
783
+ "type": "string"
784
+ },
785
+ "entries": {
786
+ "type": "array",
787
+ "items": {
788
+ "$ref": "../entry.json"
789
+ }
790
+ }
791
+ },
792
+ "required": [
793
+ "entries"
794
+ ],
795
+ "additionalProperties": false
774
796
  }
775
797
  },
776
- "required": [
777
- "entries"
778
- ],
779
- "additionalProperties": false
780
- }
798
+ {
799
+ "type": "null"
800
+ }
801
+ ]
781
802
  },
782
803
  "variant": {
783
- "type": "array",
784
- "items": {
785
- "$ref": "#/$defs/entryVariantBestiary"
786
- }
804
+ "oneOf": [
805
+ {
806
+ "type": "array",
807
+ "items": {
808
+ "$ref": "#/$defs/entryVariantBestiary"
809
+ }
810
+ },
811
+ {
812
+ "type": "null"
813
+ }
814
+ ]
787
815
  },
788
816
  "page": {
789
817
  "$ref": "../util.json#/$defs/page"
@@ -1671,27 +1699,34 @@
1671
1699
  }
1672
1700
  },
1673
1701
  "bonus": {
1674
- "type": "array",
1675
- "minItems": 1,
1676
- "items": {
1677
- "type": "object",
1678
- "properties": {
1679
- "name": {
1680
- "type": "string"
1681
- },
1682
- "entries": {
1683
- "type": "array",
1684
- "items": {
1685
- "$ref": "../entry.json"
1686
- }
1702
+ "oneOf": [
1703
+ {
1704
+ "type": "array",
1705
+ "minItems": 1,
1706
+ "items": {
1707
+ "type": "object",
1708
+ "properties": {
1709
+ "name": {
1710
+ "type": "string"
1711
+ },
1712
+ "entries": {
1713
+ "type": "array",
1714
+ "items": {
1715
+ "$ref": "../entry.json"
1716
+ }
1717
+ }
1718
+ },
1719
+ "required": [
1720
+ "name",
1721
+ "entries"
1722
+ ],
1723
+ "additionalProperties": false
1687
1724
  }
1688
1725
  },
1689
- "required": [
1690
- "name",
1691
- "entries"
1692
- ],
1693
- "additionalProperties": false
1694
- }
1726
+ {
1727
+ "type": "null"
1728
+ }
1729
+ ]
1695
1730
  },
1696
1731
  "reactionNote": {
1697
1732
  "type": "string"
@@ -1704,27 +1739,34 @@
1704
1739
  }
1705
1740
  },
1706
1741
  "reaction": {
1707
- "type": "array",
1708
- "minItems": 1,
1709
- "items": {
1710
- "type": "object",
1711
- "properties": {
1712
- "name": {
1713
- "type": "string"
1714
- },
1715
- "entries": {
1716
- "type": "array",
1717
- "items": {
1718
- "$ref": "../entry.json"
1719
- }
1742
+ "oneOf": [
1743
+ {
1744
+ "type": "array",
1745
+ "minItems": 1,
1746
+ "items": {
1747
+ "type": "object",
1748
+ "properties": {
1749
+ "name": {
1750
+ "type": "string"
1751
+ },
1752
+ "entries": {
1753
+ "type": "array",
1754
+ "items": {
1755
+ "$ref": "../entry.json"
1756
+ }
1757
+ }
1758
+ },
1759
+ "required": [
1760
+ "name",
1761
+ "entries"
1762
+ ],
1763
+ "additionalProperties": false
1720
1764
  }
1721
1765
  },
1722
- "required": [
1723
- "name",
1724
- "entries"
1725
- ],
1726
- "additionalProperties": false
1727
- }
1766
+ {
1767
+ "type": "null"
1768
+ }
1769
+ ]
1728
1770
  },
1729
1771
  "legendaryGroup": {
1730
1772
  "type": "object",
@@ -1784,32 +1826,46 @@
1784
1826
  }
1785
1827
  },
1786
1828
  "mythic": {
1787
- "type": "array",
1788
- "minItems": 1,
1789
- "items": {
1790
- "type": "object",
1791
- "properties": {
1792
- "name": {
1793
- "type": "string"
1794
- },
1795
- "entries": {
1796
- "type": "array",
1797
- "items": {
1798
- "$ref": "../entry.json"
1799
- }
1829
+ "oneOf": [
1830
+ {
1831
+ "type": "array",
1832
+ "minItems": 1,
1833
+ "items": {
1834
+ "type": "object",
1835
+ "properties": {
1836
+ "name": {
1837
+ "type": "string"
1838
+ },
1839
+ "entries": {
1840
+ "type": "array",
1841
+ "items": {
1842
+ "$ref": "../entry.json"
1843
+ }
1844
+ }
1845
+ },
1846
+ "required": [
1847
+ "entries"
1848
+ ],
1849
+ "additionalProperties": false
1800
1850
  }
1801
1851
  },
1802
- "required": [
1803
- "entries"
1804
- ],
1805
- "additionalProperties": false
1806
- }
1852
+ {
1853
+ "type": "null"
1854
+ }
1855
+ ]
1807
1856
  },
1808
1857
  "variant": {
1809
- "type": "array",
1810
- "items": {
1811
- "$ref": "#/$defs/entryVariantBestiary"
1812
- }
1858
+ "oneOf": [
1859
+ {
1860
+ "type": "array",
1861
+ "items": {
1862
+ "$ref": "#/$defs/entryVariantBestiary"
1863
+ }
1864
+ },
1865
+ {
1866
+ "type": "null"
1867
+ }
1868
+ ]
1813
1869
  },
1814
1870
  "page": {
1815
1871
  "$ref": "../util.json#/$defs/page"
@@ -2712,27 +2768,34 @@
2712
2768
  }
2713
2769
  },
2714
2770
  "bonus": {
2715
- "type": "array",
2716
- "minItems": 1,
2717
- "items": {
2718
- "type": "object",
2719
- "properties": {
2720
- "name": {
2721
- "type": "string"
2722
- },
2723
- "entries": {
2724
- "type": "array",
2725
- "items": {
2726
- "$ref": "../entry.json"
2727
- }
2771
+ "oneOf": [
2772
+ {
2773
+ "type": "array",
2774
+ "minItems": 1,
2775
+ "items": {
2776
+ "type": "object",
2777
+ "properties": {
2778
+ "name": {
2779
+ "type": "string"
2780
+ },
2781
+ "entries": {
2782
+ "type": "array",
2783
+ "items": {
2784
+ "$ref": "../entry.json"
2785
+ }
2786
+ }
2787
+ },
2788
+ "required": [
2789
+ "name",
2790
+ "entries"
2791
+ ],
2792
+ "additionalProperties": false
2728
2793
  }
2729
2794
  },
2730
- "required": [
2731
- "name",
2732
- "entries"
2733
- ],
2734
- "additionalProperties": false
2735
- }
2795
+ {
2796
+ "type": "null"
2797
+ }
2798
+ ]
2736
2799
  },
2737
2800
  "reactionNote": {
2738
2801
  "type": "string"
@@ -2745,27 +2808,34 @@
2745
2808
  }
2746
2809
  },
2747
2810
  "reaction": {
2748
- "type": "array",
2749
- "minItems": 1,
2750
- "items": {
2751
- "type": "object",
2752
- "properties": {
2753
- "name": {
2754
- "type": "string"
2755
- },
2756
- "entries": {
2757
- "type": "array",
2758
- "items": {
2759
- "$ref": "../entry.json"
2760
- }
2811
+ "oneOf": [
2812
+ {
2813
+ "type": "array",
2814
+ "minItems": 1,
2815
+ "items": {
2816
+ "type": "object",
2817
+ "properties": {
2818
+ "name": {
2819
+ "type": "string"
2820
+ },
2821
+ "entries": {
2822
+ "type": "array",
2823
+ "items": {
2824
+ "$ref": "../entry.json"
2825
+ }
2826
+ }
2827
+ },
2828
+ "required": [
2829
+ "name",
2830
+ "entries"
2831
+ ],
2832
+ "additionalProperties": false
2761
2833
  }
2762
2834
  },
2763
- "required": [
2764
- "name",
2765
- "entries"
2766
- ],
2767
- "additionalProperties": false
2768
- }
2835
+ {
2836
+ "type": "null"
2837
+ }
2838
+ ]
2769
2839
  },
2770
2840
  "legendaryGroup": {
2771
2841
  "type": "object",
@@ -2825,32 +2895,46 @@
2825
2895
  }
2826
2896
  },
2827
2897
  "mythic": {
2828
- "type": "array",
2829
- "minItems": 1,
2830
- "items": {
2831
- "type": "object",
2832
- "properties": {
2833
- "name": {
2834
- "type": "string"
2835
- },
2836
- "entries": {
2837
- "type": "array",
2838
- "items": {
2839
- "$ref": "../entry.json"
2840
- }
2898
+ "oneOf": [
2899
+ {
2900
+ "type": "array",
2901
+ "minItems": 1,
2902
+ "items": {
2903
+ "type": "object",
2904
+ "properties": {
2905
+ "name": {
2906
+ "type": "string"
2907
+ },
2908
+ "entries": {
2909
+ "type": "array",
2910
+ "items": {
2911
+ "$ref": "../entry.json"
2912
+ }
2913
+ }
2914
+ },
2915
+ "required": [
2916
+ "entries"
2917
+ ],
2918
+ "additionalProperties": false
2841
2919
  }
2842
2920
  },
2843
- "required": [
2844
- "entries"
2845
- ],
2846
- "additionalProperties": false
2847
- }
2921
+ {
2922
+ "type": "null"
2923
+ }
2924
+ ]
2848
2925
  },
2849
2926
  "variant": {
2850
- "type": "array",
2851
- "items": {
2852
- "$ref": "#/$defs/entryVariantBestiary"
2853
- }
2927
+ "oneOf": [
2928
+ {
2929
+ "type": "array",
2930
+ "items": {
2931
+ "$ref": "#/$defs/entryVariantBestiary"
2932
+ }
2933
+ },
2934
+ {
2935
+ "type": "null"
2936
+ }
2937
+ ]
2854
2938
  },
2855
2939
  "page": {
2856
2940
  "$ref": "../util.json#/$defs/page"