5etools-utils 0.9.60 → 0.9.62

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 (43) 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 +6 -0
  5. package/schema/brew/objects.json +10 -4
  6. package/schema/brew/util-token.json +161 -0
  7. package/schema/brew/util.json +18 -4
  8. package/schema/brew/vehicles.json +28 -10
  9. package/schema/brew-fast/bestiary/bestiary.json +31 -175
  10. package/schema/brew-fast/items-base.json +91 -1
  11. package/schema/brew-fast/magicvariants.json +6 -0
  12. package/schema/brew-fast/objects.json +10 -4
  13. package/schema/brew-fast/util-token.json +161 -0
  14. package/schema/brew-fast/util.json +18 -4
  15. package/schema/brew-fast/vehicles.json +28 -10
  16. package/schema/site/bestiary/bestiary.json +4 -91
  17. package/schema/site/items-base.json +91 -1
  18. package/schema/site/magicvariants.json +6 -0
  19. package/schema/site/objects.json +1 -4
  20. package/schema/site/util-token.json +152 -0
  21. package/schema/site/util.json +18 -4
  22. package/schema/site/vehicles.json +1 -1
  23. package/schema/site-fast/bestiary/bestiary.json +4 -91
  24. package/schema/site-fast/items-base.json +91 -1
  25. package/schema/site-fast/magicvariants.json +6 -0
  26. package/schema/site-fast/objects.json +1 -4
  27. package/schema/site-fast/util-token.json +152 -0
  28. package/schema/site-fast/util.json +18 -4
  29. package/schema/site-fast/vehicles.json +1 -1
  30. package/schema/ua/bestiary/bestiary.json +31 -91
  31. package/schema/ua/items-base.json +91 -1
  32. package/schema/ua/magicvariants.json +6 -0
  33. package/schema/ua/objects.json +10 -4
  34. package/schema/ua/util-token.json +152 -0
  35. package/schema/ua/util.json +18 -4
  36. package/schema/ua/vehicles.json +28 -1
  37. package/schema/ua-fast/bestiary/bestiary.json +31 -91
  38. package/schema/ua-fast/items-base.json +91 -1
  39. package/schema/ua-fast/magicvariants.json +6 -0
  40. package/schema/ua-fast/objects.json +10 -4
  41. package/schema/ua-fast/util-token.json +152 -0
  42. package/schema/ua-fast/util.json +18 -4
  43. package/schema/ua-fast/vehicles.json +28 -1
@@ -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
  },
@@ -144,6 +144,9 @@
144
144
  "bonusWeaponDamage": {
145
145
  "type": "string"
146
146
  },
147
+ "bonusWeaponCritDamage": {
148
+ "type": "string"
149
+ },
147
150
  "bonusSpellAttack": {
148
151
  "type": "string"
149
152
  },
@@ -159,6 +162,9 @@
159
162
  "bonusAbilityCheck": {
160
163
  "type": "string"
161
164
  },
165
+ "bonusProficiencyBonus": {
166
+ "type": "string"
167
+ },
162
168
  "dmg1": {
163
169
  "type": "string"
164
170
  },
@@ -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
  },
@@ -0,0 +1,152 @@
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
+ },
143
+ "altArt": {
144
+ "type": "array",
145
+ "items": {
146
+ "$ref": "#/$defs/_altArtItem"
147
+ },
148
+ "minItems": 1,
149
+ "uniqueItems": true
150
+ }
151
+ }
152
+ }
@@ -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.15.3",
6
+ "version": "1.15.4",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2689,15 +2689,29 @@
2689
2689
  },
2690
2690
  "spellSchool": {
2691
2691
  "type": "string",
2692
+ "description": "A: Abjuration\n C: Conjuration\n D: Divination\n E: Enchantment\n V: Evocation\n I: Illusion\n N: Necromancy\n T: Transmutation\n P: Psychic",
2693
+ "not": {
2694
+ "enum": [
2695
+ "Abjuration",
2696
+ "Conjuration",
2697
+ "Divination",
2698
+ "Enchantment",
2699
+ "Evocation",
2700
+ "Illusion",
2701
+ "Necromancy",
2702
+ "Transmutation",
2703
+ "Psychic"
2704
+ ]
2705
+ },
2692
2706
  "enum": [
2693
2707
  "A",
2694
- "V",
2708
+ "C",
2709
+ "D",
2695
2710
  "E",
2711
+ "V",
2696
2712
  "I",
2697
- "D",
2698
2713
  "N",
2699
2714
  "T",
2700
- "C",
2701
2715
  "P"
2702
2716
  ]
2703
2717
  },
@@ -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": {
@@ -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"
@@ -1197,6 +1168,15 @@
1197
1168
  },
1198
1169
  "hasFluffImages": {
1199
1170
  "type": "boolean"
1171
+ },
1172
+ "tokenUrl": {
1173
+ "$ref": "../util-token.json#/$defs/tokenUrl"
1174
+ },
1175
+ "token": {
1176
+ "$ref": "../util-token.json#/$defs/token"
1177
+ },
1178
+ "tokenHref": {
1179
+ "$ref": "../util-token.json#/$defs/tokenHref"
1200
1180
  }
1201
1181
  },
1202
1182
  "additionalProperties": false
@@ -1949,9 +1929,6 @@
1949
1929
  "hasToken": {
1950
1930
  "type": "boolean"
1951
1931
  },
1952
- "tokenUrl": {
1953
- "type": "string"
1954
- },
1955
1932
  "tokenCredit": {
1956
1933
  "type": "string"
1957
1934
  },
@@ -1959,33 +1936,7 @@
1959
1936
  "$ref": "../util-foundry.json#/$defs/foundryTokenScale"
1960
1937
  },
1961
1938
  "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
- }
1939
+ "$ref": "../util-token.json#/$defs/altArt"
1989
1940
  },
1990
1941
  "isNamedCreature": {
1991
1942
  "type": "boolean"
@@ -2290,6 +2241,15 @@
2290
2241
  },
2291
2242
  "hasFluffImages": {
2292
2243
  "type": "boolean"
2244
+ },
2245
+ "tokenUrl": {
2246
+ "$ref": "../util-token.json#/$defs/tokenUrl"
2247
+ },
2248
+ "token": {
2249
+ "$ref": "../util-token.json#/$defs/token"
2250
+ },
2251
+ "tokenHref": {
2252
+ "$ref": "../util-token.json#/$defs/tokenHref"
2293
2253
  }
2294
2254
  },
2295
2255
  "additionalProperties": false,
@@ -3047,9 +3007,6 @@
3047
3007
  "hasToken": {
3048
3008
  "type": "boolean"
3049
3009
  },
3050
- "tokenUrl": {
3051
- "type": "string"
3052
- },
3053
3010
  "tokenCredit": {
3054
3011
  "type": "string"
3055
3012
  },
@@ -3057,33 +3014,7 @@
3057
3014
  "$ref": "../util-foundry.json#/$defs/foundryTokenScale"
3058
3015
  },
3059
3016
  "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
- }
3017
+ "$ref": "../util-token.json#/$defs/altArt"
3087
3018
  },
3088
3019
  "isNamedCreature": {
3089
3020
  "type": "boolean"
@@ -3389,6 +3320,15 @@
3389
3320
  "hasFluffImages": {
3390
3321
  "type": "boolean"
3391
3322
  },
3323
+ "tokenUrl": {
3324
+ "$ref": "../util-token.json#/$defs/tokenUrl"
3325
+ },
3326
+ "token": {
3327
+ "$ref": "../util-token.json#/$defs/token"
3328
+ },
3329
+ "tokenHref": {
3330
+ "$ref": "../util-token.json#/$defs/tokenHref"
3331
+ },
3392
3332
  "_copy": {
3393
3333
  "$ref": "../util.json#/$defs/copyBlock_copy_generic"
3394
3334
  }