5etools-utils 0.9.61 → 0.9.63

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.
Files changed (37) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/bestiary/bestiary.json +31 -175
  3. package/schema/brew/items-base.json +91 -1
  4. package/schema/brew/magicvariants.json +1411 -368
  5. package/schema/brew/objects.json +10 -4
  6. package/schema/brew/util-token.json +161 -0
  7. package/schema/brew/vehicles.json +28 -10
  8. package/schema/brew-fast/bestiary/bestiary.json +31 -175
  9. package/schema/brew-fast/items-base.json +91 -1
  10. package/schema/brew-fast/magicvariants.json +1411 -368
  11. package/schema/brew-fast/objects.json +10 -4
  12. package/schema/brew-fast/util-token.json +161 -0
  13. package/schema/brew-fast/vehicles.json +28 -10
  14. package/schema/site/bestiary/bestiary.json +4 -91
  15. package/schema/site/items-base.json +91 -1
  16. package/schema/site/magicvariants.json +1286 -328
  17. package/schema/site/objects.json +1 -4
  18. package/schema/site/util-token.json +152 -0
  19. package/schema/site/vehicles.json +1 -1
  20. package/schema/site-fast/bestiary/bestiary.json +4 -91
  21. package/schema/site-fast/items-base.json +91 -1
  22. package/schema/site-fast/magicvariants.json +1286 -328
  23. package/schema/site-fast/objects.json +1 -4
  24. package/schema/site-fast/util-token.json +152 -0
  25. package/schema/site-fast/vehicles.json +1 -1
  26. package/schema/ua/bestiary/bestiary.json +31 -91
  27. package/schema/ua/items-base.json +91 -1
  28. package/schema/ua/magicvariants.json +1338 -342
  29. package/schema/ua/objects.json +10 -4
  30. package/schema/ua/util-token.json +152 -0
  31. package/schema/ua/vehicles.json +28 -1
  32. package/schema/ua-fast/bestiary/bestiary.json +31 -91
  33. package/schema/ua-fast/items-base.json +91 -1
  34. package/schema/ua-fast/magicvariants.json +1338 -342
  35. package/schema/ua-fast/objects.json +10 -4
  36. package/schema/ua-fast/util-token.json +152 -0
  37. package/schema/ua-fast/vehicles.json +28 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "objects.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "object": {
@@ -125,9 +125,6 @@
125
125
  "$ref": "entry.json"
126
126
  }
127
127
  },
128
- "tokenUrl": {
129
- "type": "string"
130
- },
131
128
  "tokenCredit": {
132
129
  "type": "string"
133
130
  },
@@ -155,6 +152,15 @@
155
152
  },
156
153
  "foundryImg": {
157
154
  "$ref": "util-foundry.json#/$defs/foundryImg"
155
+ },
156
+ "tokenUrl": {
157
+ "$ref": "util-token.json#/$defs/tokenUrl"
158
+ },
159
+ "token": {
160
+ "$ref": "util-token.json#/$defs/token"
161
+ },
162
+ "tokenHref": {
163
+ "$ref": "util-token.json#/$defs/tokenHref"
158
164
  }
159
165
  },
160
166
  "additionalProperties": false,
@@ -0,0 +1,161 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "util-token.json",
4
+ "version": "1.0.0",
5
+ "title": "Util: Token",
6
+ "$defs": {
7
+ "tokenUrl": {
8
+ "deprecated": true,
9
+ "description": "A full token URL for the entity. Prefer \"tokenHref\" instead.",
10
+ "$ref": "util.json#/$defs/url"
11
+ },
12
+ "token": {
13
+ "description": "A name/source pair used to construct a token URL for the entity. For example `\"name\": \"Goblin\", \"source\": \"MM\"` for a creature token would refer to the MM Goblin's token.",
14
+ "type": "object",
15
+ "properties": {
16
+ "name": {
17
+ "type": "string"
18
+ },
19
+ "source": {
20
+ "$ref": "util.json#/$defs/source"
21
+ }
22
+ },
23
+ "required": [
24
+ "name",
25
+ "source"
26
+ ],
27
+ "additionalProperties": false
28
+ },
29
+ "tokenHref": {
30
+ "$ref": "entry.json#/$defs/mediaHref"
31
+ },
32
+ "_altArtItemSite": {
33
+ "type": "object",
34
+ "properties": {
35
+ "name": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
41
+ "page": {
42
+ "$ref": "util.json#/$defs/page"
43
+ },
44
+ "tokenCredit": {
45
+ "type": "string"
46
+ }
47
+ },
48
+ "required": [
49
+ "name",
50
+ "source"
51
+ ],
52
+ "additionalProperties": false
53
+ },
54
+ "_altArtItemHomebrewTokenUrl": {
55
+ "deprecated": true,
56
+ "type": "object",
57
+ "properties": {
58
+ "tokenUrl": {
59
+ "type": "string"
60
+ },
61
+ "name": {
62
+ "type": "string"
63
+ },
64
+ "source": {
65
+ "$ref": "util.json#/$defs/source"
66
+ },
67
+ "page": {
68
+ "$ref": "util.json#/$defs/page"
69
+ },
70
+ "tokenCredit": {
71
+ "type": "string"
72
+ },
73
+ "foundryTokenScale": {
74
+ "$ref": "util-foundry.json#/$defs/foundryTokenScale"
75
+ }
76
+ },
77
+ "required": [
78
+ "tokenUrl"
79
+ ],
80
+ "additionalProperties": false
81
+ },
82
+ "_altArtItemHomebrewToken": {
83
+ "type": "object",
84
+ "properties": {
85
+ "token": {
86
+ "$ref": "#/$defs/token"
87
+ },
88
+ "name": {
89
+ "type": "string"
90
+ },
91
+ "source": {
92
+ "$ref": "util.json#/$defs/source"
93
+ },
94
+ "page": {
95
+ "$ref": "util.json#/$defs/page"
96
+ },
97
+ "tokenCredit": {
98
+ "type": "string"
99
+ },
100
+ "foundryTokenScale": {
101
+ "$ref": "util-foundry.json#/$defs/foundryTokenScale"
102
+ }
103
+ },
104
+ "required": [
105
+ "token"
106
+ ],
107
+ "additionalProperties": false
108
+ },
109
+ "_altArtItemHomebrewTokenHref": {
110
+ "type": "object",
111
+ "properties": {
112
+ "tokenHref": {
113
+ "$ref": "#/$defs/tokenHref"
114
+ },
115
+ "name": {
116
+ "type": "string"
117
+ },
118
+ "source": {
119
+ "$ref": "util.json#/$defs/source"
120
+ },
121
+ "page": {
122
+ "$ref": "util.json#/$defs/page"
123
+ },
124
+ "tokenCredit": {
125
+ "type": "string"
126
+ },
127
+ "foundryTokenScale": {
128
+ "$ref": "util-foundry.json#/$defs/foundryTokenScale"
129
+ }
130
+ },
131
+ "required": [
132
+ "tokenHref"
133
+ ],
134
+ "additionalProperties": false
135
+ },
136
+ "_altArtItem": {
137
+ "oneOf": [
138
+ {
139
+ "$ref": "#/$defs/_altArtItemSite"
140
+ },
141
+ {
142
+ "$ref": "#/$defs/_altArtItemHomebrewTokenUrl"
143
+ },
144
+ {
145
+ "$ref": "#/$defs/_altArtItemHomebrewToken"
146
+ },
147
+ {
148
+ "$ref": "#/$defs/_altArtItemHomebrewTokenHref"
149
+ }
150
+ ]
151
+ },
152
+ "altArt": {
153
+ "type": "array",
154
+ "items": {
155
+ "$ref": "#/$defs/_altArtItem"
156
+ },
157
+ "minItems": 1,
158
+ "uniqueItems": true
159
+ }
160
+ }
161
+ }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "vehicles.json",
4
- "version": "1.7.4",
4
+ "version": "1.7.5",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "vehicleTerrain": {
@@ -454,9 +454,6 @@
454
454
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
455
455
  "$ref": "util.json#/$defs/fluffObject"
456
456
  },
457
- "tokenUrl": {
458
- "type": "string"
459
- },
460
457
  "foundryTokenScale": {
461
458
  "$ref": "util-foundry.json#/$defs/foundryTokenScale"
462
459
  },
@@ -468,6 +465,15 @@
468
465
  },
469
466
  "foundryImg": {
470
467
  "$ref": "util-foundry.json#/$defs/foundryImg"
468
+ },
469
+ "tokenUrl": {
470
+ "$ref": "util-token.json#/$defs/tokenUrl"
471
+ },
472
+ "token": {
473
+ "$ref": "util-token.json#/$defs/token"
474
+ },
475
+ "tokenHref": {
476
+ "$ref": "util-token.json#/$defs/tokenHref"
471
477
  }
472
478
  },
473
479
  "required": [
@@ -636,9 +642,6 @@
636
642
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
637
643
  "$ref": "util.json#/$defs/fluffObject"
638
644
  },
639
- "tokenUrl": {
640
- "type": "string"
641
- },
642
645
  "foundryTokenScale": {
643
646
  "$ref": "util-foundry.json#/$defs/foundryTokenScale"
644
647
  },
@@ -650,6 +653,15 @@
650
653
  },
651
654
  "foundryImg": {
652
655
  "$ref": "util-foundry.json#/$defs/foundryImg"
656
+ },
657
+ "tokenUrl": {
658
+ "$ref": "util-token.json#/$defs/tokenUrl"
659
+ },
660
+ "token": {
661
+ "$ref": "util-token.json#/$defs/token"
662
+ },
663
+ "tokenHref": {
664
+ "$ref": "util-token.json#/$defs/tokenHref"
653
665
  }
654
666
  },
655
667
  "required": [
@@ -818,9 +830,6 @@
818
830
  "description": "This is intended to be used for Homebrew only - site data should include a fluff file per source",
819
831
  "$ref": "util.json#/$defs/fluffObject"
820
832
  },
821
- "tokenUrl": {
822
- "type": "string"
823
- },
824
833
  "foundryTokenScale": {
825
834
  "$ref": "util-foundry.json#/$defs/foundryTokenScale"
826
835
  },
@@ -832,6 +841,15 @@
832
841
  },
833
842
  "foundryImg": {
834
843
  "$ref": "util-foundry.json#/$defs/foundryImg"
844
+ },
845
+ "tokenUrl": {
846
+ "$ref": "util-token.json#/$defs/tokenUrl"
847
+ },
848
+ "token": {
849
+ "$ref": "util-token.json#/$defs/token"
850
+ },
851
+ "tokenHref": {
852
+ "$ref": "util-token.json#/$defs/tokenHref"
835
853
  }
836
854
  },
837
855
  "required": [
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.23",
3
+ "version": "1.21.24",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -856,9 +856,6 @@
856
856
  "hasToken": {
857
857
  "type": "boolean"
858
858
  },
859
- "tokenUrl": {
860
- "type": "string"
861
- },
862
859
  "tokenCredit": {
863
860
  "type": "string"
864
861
  },
@@ -866,33 +863,7 @@
866
863
  "$ref": "../util-foundry.json#/$defs/foundryTokenScale"
867
864
  },
868
865
  "altArt": {
869
- "type": "array",
870
- "items": {
871
- "anyOf": [
872
- {
873
- "type": "object",
874
- "properties": {
875
- "name": {
876
- "type": "string"
877
- },
878
- "source": {
879
- "$ref": "../util.json#/$defs/source"
880
- },
881
- "page": {
882
- "$ref": "../util.json#/$defs/page"
883
- },
884
- "tokenCredit": {
885
- "type": "string"
886
- }
887
- },
888
- "required": [
889
- "name",
890
- "source"
891
- ],
892
- "additionalProperties": false
893
- }
894
- ]
895
- }
866
+ "$ref": "../util-token.json#/$defs/altArt"
896
867
  },
897
868
  "isNamedCreature": {
898
869
  "type": "boolean"
@@ -1949,9 +1920,6 @@
1949
1920
  "hasToken": {
1950
1921
  "type": "boolean"
1951
1922
  },
1952
- "tokenUrl": {
1953
- "type": "string"
1954
- },
1955
1923
  "tokenCredit": {
1956
1924
  "type": "string"
1957
1925
  },
@@ -1959,33 +1927,7 @@
1959
1927
  "$ref": "../util-foundry.json#/$defs/foundryTokenScale"
1960
1928
  },
1961
1929
  "altArt": {
1962
- "type": "array",
1963
- "items": {
1964
- "anyOf": [
1965
- {
1966
- "type": "object",
1967
- "properties": {
1968
- "name": {
1969
- "type": "string"
1970
- },
1971
- "source": {
1972
- "$ref": "../util.json#/$defs/source"
1973
- },
1974
- "page": {
1975
- "$ref": "../util.json#/$defs/page"
1976
- },
1977
- "tokenCredit": {
1978
- "type": "string"
1979
- }
1980
- },
1981
- "required": [
1982
- "name",
1983
- "source"
1984
- ],
1985
- "additionalProperties": false
1986
- }
1987
- ]
1988
- }
1930
+ "$ref": "../util-token.json#/$defs/altArt"
1989
1931
  },
1990
1932
  "isNamedCreature": {
1991
1933
  "type": "boolean"
@@ -3047,9 +2989,6 @@
3047
2989
  "hasToken": {
3048
2990
  "type": "boolean"
3049
2991
  },
3050
- "tokenUrl": {
3051
- "type": "string"
3052
- },
3053
2992
  "tokenCredit": {
3054
2993
  "type": "string"
3055
2994
  },
@@ -3057,33 +2996,7 @@
3057
2996
  "$ref": "../util-foundry.json#/$defs/foundryTokenScale"
3058
2997
  },
3059
2998
  "altArt": {
3060
- "type": "array",
3061
- "items": {
3062
- "anyOf": [
3063
- {
3064
- "type": "object",
3065
- "properties": {
3066
- "name": {
3067
- "type": "string"
3068
- },
3069
- "source": {
3070
- "$ref": "../util.json#/$defs/source"
3071
- },
3072
- "page": {
3073
- "$ref": "../util.json#/$defs/page"
3074
- },
3075
- "tokenCredit": {
3076
- "type": "string"
3077
- }
3078
- },
3079
- "required": [
3080
- "name",
3081
- "source"
3082
- ],
3083
- "additionalProperties": false
3084
- }
3085
- ]
3086
- }
2999
+ "$ref": "../util-token.json#/$defs/altArt"
3087
3000
  },
3088
3001
  "isNamedCreature": {
3089
3002
  "type": "boolean"
@@ -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.16",
4
+ "version": "1.5.17",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "itemLookupBase": {
@@ -120,9 +120,39 @@
120
120
  "age": {
121
121
  "$ref": "items-shared.json#/$defs/itemAge"
122
122
  },
123
+ "bonusAc": {
124
+ "type": "string"
125
+ },
123
126
  "bonusWeapon": {
124
127
  "type": "string"
125
128
  },
129
+ "bonusWeaponAttack": {
130
+ "type": "string"
131
+ },
132
+ "bonusWeaponDamage": {
133
+ "type": "string"
134
+ },
135
+ "bonusWeaponCritDamage": {
136
+ "type": "string"
137
+ },
138
+ "bonusSpellAttack": {
139
+ "type": "string"
140
+ },
141
+ "bonusSpellDamage": {
142
+ "type": "string"
143
+ },
144
+ "bonusSpellSaveDc": {
145
+ "type": "string"
146
+ },
147
+ "bonusSavingThrow": {
148
+ "type": "string"
149
+ },
150
+ "bonusAbilityCheck": {
151
+ "type": "string"
152
+ },
153
+ "bonusProficiencyBonus": {
154
+ "type": "string"
155
+ },
126
156
  "dmg1": {
127
157
  "type": "string"
128
158
  },
@@ -381,9 +411,39 @@
381
411
  "age": {
382
412
  "$ref": "items-shared.json#/$defs/itemAge"
383
413
  },
414
+ "bonusAc": {
415
+ "type": "string"
416
+ },
384
417
  "bonusWeapon": {
385
418
  "type": "string"
386
419
  },
420
+ "bonusWeaponAttack": {
421
+ "type": "string"
422
+ },
423
+ "bonusWeaponDamage": {
424
+ "type": "string"
425
+ },
426
+ "bonusWeaponCritDamage": {
427
+ "type": "string"
428
+ },
429
+ "bonusSpellAttack": {
430
+ "type": "string"
431
+ },
432
+ "bonusSpellDamage": {
433
+ "type": "string"
434
+ },
435
+ "bonusSpellSaveDc": {
436
+ "type": "string"
437
+ },
438
+ "bonusSavingThrow": {
439
+ "type": "string"
440
+ },
441
+ "bonusAbilityCheck": {
442
+ "type": "string"
443
+ },
444
+ "bonusProficiencyBonus": {
445
+ "type": "string"
446
+ },
387
447
  "dmg1": {
388
448
  "type": "string"
389
449
  },
@@ -646,9 +706,39 @@
646
706
  "age": {
647
707
  "$ref": "items-shared.json#/$defs/itemAge"
648
708
  },
709
+ "bonusAc": {
710
+ "type": "string"
711
+ },
649
712
  "bonusWeapon": {
650
713
  "type": "string"
651
714
  },
715
+ "bonusWeaponAttack": {
716
+ "type": "string"
717
+ },
718
+ "bonusWeaponDamage": {
719
+ "type": "string"
720
+ },
721
+ "bonusWeaponCritDamage": {
722
+ "type": "string"
723
+ },
724
+ "bonusSpellAttack": {
725
+ "type": "string"
726
+ },
727
+ "bonusSpellDamage": {
728
+ "type": "string"
729
+ },
730
+ "bonusSpellSaveDc": {
731
+ "type": "string"
732
+ },
733
+ "bonusSavingThrow": {
734
+ "type": "string"
735
+ },
736
+ "bonusAbilityCheck": {
737
+ "type": "string"
738
+ },
739
+ "bonusProficiencyBonus": {
740
+ "type": "string"
741
+ },
652
742
  "dmg1": {
653
743
  "type": "string"
654
744
  },