5etools-utils 0.9.31 → 0.9.32

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 (91) hide show
  1. package/package.json +1 -1
  2. package/schema/brew/backgrounds.json +1 -64
  3. package/schema/brew/bestiary/bestiary.json +1 -64
  4. package/schema/brew/bestiary/legendarygroups.json +1 -64
  5. package/schema/brew/bestiary/template.json +1 -64
  6. package/schema/brew/class/class.json +2 -128
  7. package/schema/brew/decks.json +2 -128
  8. package/schema/brew/deities.json +1 -64
  9. package/schema/brew/fluff-races.json +1 -64
  10. package/schema/brew/foundry-races.json +2 -128
  11. package/schema/brew/items-base.json +246 -149
  12. package/schema/brew/items.json +1 -64
  13. package/schema/brew/races.json +2 -128
  14. package/schema/brew/recipes.json +1 -64
  15. package/schema/brew/spells/spells.json +1 -64
  16. package/schema/brew/util.json +90 -117
  17. package/schema/brew-fast/backgrounds.json +1 -64
  18. package/schema/brew-fast/bestiary/bestiary.json +1 -64
  19. package/schema/brew-fast/bestiary/legendarygroups.json +1 -64
  20. package/schema/brew-fast/bestiary/template.json +1 -64
  21. package/schema/brew-fast/class/class.json +2 -128
  22. package/schema/brew-fast/decks.json +2 -128
  23. package/schema/brew-fast/deities.json +1 -64
  24. package/schema/brew-fast/fluff-races.json +1 -64
  25. package/schema/brew-fast/foundry-races.json +2 -128
  26. package/schema/brew-fast/items-base.json +246 -149
  27. package/schema/brew-fast/items.json +1 -64
  28. package/schema/brew-fast/races.json +2 -128
  29. package/schema/brew-fast/recipes.json +1 -64
  30. package/schema/brew-fast/spells/spells.json +1 -64
  31. package/schema/brew-fast/util.json +90 -117
  32. package/schema/site/backgrounds.json +1 -64
  33. package/schema/site/bestiary/bestiary.json +1 -64
  34. package/schema/site/bestiary/legendarygroups.json +1 -64
  35. package/schema/site/bestiary/template.json +1 -64
  36. package/schema/site/class/class.json +2 -128
  37. package/schema/site/decks.json +2 -128
  38. package/schema/site/deities.json +1 -64
  39. package/schema/site/fluff-races.json +1 -64
  40. package/schema/site/foundry-races.json +2 -128
  41. package/schema/site/items-base.json +249 -152
  42. package/schema/site/items.json +1 -64
  43. package/schema/site/races.json +2 -128
  44. package/schema/site/recipes.json +1 -64
  45. package/schema/site/spells/spells.json +1 -64
  46. package/schema/site/util.json +90 -117
  47. package/schema/site-fast/backgrounds.json +1 -64
  48. package/schema/site-fast/bestiary/bestiary.json +1 -64
  49. package/schema/site-fast/bestiary/legendarygroups.json +1 -64
  50. package/schema/site-fast/bestiary/template.json +1 -64
  51. package/schema/site-fast/class/class.json +2 -128
  52. package/schema/site-fast/decks.json +2 -128
  53. package/schema/site-fast/deities.json +1 -64
  54. package/schema/site-fast/fluff-races.json +1 -64
  55. package/schema/site-fast/foundry-races.json +2 -128
  56. package/schema/site-fast/items-base.json +249 -152
  57. package/schema/site-fast/items.json +1 -64
  58. package/schema/site-fast/races.json +2 -128
  59. package/schema/site-fast/recipes.json +1 -64
  60. package/schema/site-fast/spells/spells.json +1 -64
  61. package/schema/site-fast/util.json +90 -117
  62. package/schema/ua/backgrounds.json +1 -64
  63. package/schema/ua/bestiary/bestiary.json +1 -64
  64. package/schema/ua/bestiary/legendarygroups.json +1 -64
  65. package/schema/ua/bestiary/template.json +1 -64
  66. package/schema/ua/class/class.json +2 -128
  67. package/schema/ua/decks.json +2 -128
  68. package/schema/ua/deities.json +1 -64
  69. package/schema/ua/fluff-races.json +1 -64
  70. package/schema/ua/foundry-races.json +2 -128
  71. package/schema/ua/items-base.json +249 -152
  72. package/schema/ua/items.json +1 -64
  73. package/schema/ua/races.json +2 -128
  74. package/schema/ua/recipes.json +1 -64
  75. package/schema/ua/spells/spells.json +1 -64
  76. package/schema/ua/util.json +90 -117
  77. package/schema/ua-fast/backgrounds.json +1 -64
  78. package/schema/ua-fast/bestiary/bestiary.json +1 -64
  79. package/schema/ua-fast/bestiary/legendarygroups.json +1 -64
  80. package/schema/ua-fast/bestiary/template.json +1 -64
  81. package/schema/ua-fast/class/class.json +2 -128
  82. package/schema/ua-fast/decks.json +2 -128
  83. package/schema/ua-fast/deities.json +1 -64
  84. package/schema/ua-fast/fluff-races.json +1 -64
  85. package/schema/ua-fast/foundry-races.json +2 -128
  86. package/schema/ua-fast/items-base.json +249 -152
  87. package/schema/ua-fast/items.json +1 -64
  88. package/schema/ua-fast/races.json +2 -128
  89. package/schema/ua-fast/recipes.json +1 -64
  90. package/schema/ua-fast/spells/spells.json +1 -64
  91. package/schema/ua-fast/util.json +90 -117
@@ -72,70 +72,7 @@
72
72
  "$ref": "foundry-shared.json#/$defs/entryDataObject"
73
73
  },
74
74
  "_copy": {
75
- "type": "object",
76
- "properties": {
77
- "name": {
78
- "type": "string"
79
- },
80
- "source": {
81
- "$ref": "util.json#/$defs/source"
82
- },
83
- "pantheon": {
84
- "description": "Used in deity data",
85
- "type": "string"
86
- },
87
- "shortName": {
88
- "description": "Used in subclass data",
89
- "type": "string"
90
- },
91
- "className": {
92
- "description": "Used in subclass data",
93
- "type": "string"
94
- },
95
- "classSource": {
96
- "description": "Used in subclass data",
97
- "$ref": "util.json#/$defs/source"
98
- },
99
- "raceName": {
100
- "description": "Used in race feature data",
101
- "type": "string"
102
- },
103
- "raceSource": {
104
- "description": "Used in race feature data",
105
- "$ref": "util.json#/$defs/source"
106
- },
107
- "_mod": {
108
- "$ref": "util.json#/$defs/_modObject"
109
- },
110
- "_trait": {
111
- "type": "object",
112
- "properties": {
113
- "name": {
114
- "type": "string"
115
- },
116
- "source": {
117
- "$ref": "util.json#/$defs/source"
118
- }
119
- },
120
- "required": [
121
- "name",
122
- "source"
123
- ]
124
- },
125
- "_preserve": {
126
- "type": "object",
127
- "patternProperties": {
128
- ".*": {
129
- "const": true
130
- }
131
- }
132
- }
133
- },
134
- "required": [
135
- "name",
136
- "source"
137
- ],
138
- "additionalProperties": false
75
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
139
76
  }
140
77
  },
141
78
  "required": [
@@ -262,70 +199,7 @@
262
199
  "$ref": "util.json#/$defs/source"
263
200
  },
264
201
  "_copy": {
265
- "type": "object",
266
- "properties": {
267
- "name": {
268
- "type": "string"
269
- },
270
- "source": {
271
- "$ref": "util.json#/$defs/source"
272
- },
273
- "pantheon": {
274
- "description": "Used in deity data",
275
- "type": "string"
276
- },
277
- "shortName": {
278
- "description": "Used in subclass data",
279
- "type": "string"
280
- },
281
- "className": {
282
- "description": "Used in subclass data",
283
- "type": "string"
284
- },
285
- "classSource": {
286
- "description": "Used in subclass data",
287
- "$ref": "util.json#/$defs/source"
288
- },
289
- "raceName": {
290
- "description": "Used in race feature data",
291
- "type": "string"
292
- },
293
- "raceSource": {
294
- "description": "Used in race feature data",
295
- "$ref": "util.json#/$defs/source"
296
- },
297
- "_mod": {
298
- "$ref": "util.json#/$defs/_modObject"
299
- },
300
- "_trait": {
301
- "type": "object",
302
- "properties": {
303
- "name": {
304
- "type": "string"
305
- },
306
- "source": {
307
- "$ref": "util.json#/$defs/source"
308
- }
309
- },
310
- "required": [
311
- "name",
312
- "source"
313
- ]
314
- },
315
- "_preserve": {
316
- "type": "object",
317
- "patternProperties": {
318
- ".*": {
319
- "const": true
320
- }
321
- }
322
- }
323
- },
324
- "required": [
325
- "name",
326
- "source"
327
- ],
328
- "additionalProperties": false
202
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
329
203
  }
330
204
  },
331
205
  "required": [
@@ -1,24 +1,9 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "items-base.json",
4
- "version": "1.5.13",
4
+ "version": "1.5.14",
5
+ "type": "object",
5
6
  "$defs": {
6
- "itemPropertyLookupArray": {
7
- "type": "array",
8
- "minItems": 1,
9
- "uniqueItems": true,
10
- "items": {
11
- "$ref": "#/$defs/itemPropertyLookup"
12
- }
13
- },
14
- "itemTypeLookupArray": {
15
- "type": "array",
16
- "minItems": 1,
17
- "uniqueItems": true,
18
- "items": {
19
- "$ref": "#/$defs/itemTypeLookup"
20
- }
21
- },
22
7
  "itemLookupBase": {
23
8
  "type": "object",
24
9
  "properties": {
@@ -35,12 +20,7 @@
35
20
  "type": "string"
36
21
  }
37
22
  },
38
- "additionalProperties": false,
39
- "required": [
40
- "abbreviation",
41
- "source",
42
- "page"
43
- ]
23
+ "additionalProperties": false
44
24
  },
45
25
  "itemPropertyLookup": {
46
26
  "anyOf": [
@@ -110,68 +90,6 @@
110
90
  }
111
91
  ]
112
92
  },
113
- "itemTypeLookup": {
114
- "anyOf": [
115
- {
116
- "type": "object",
117
- "properties": {
118
- "abbreviation": {
119
- "type": "string"
120
- },
121
- "source": {
122
- "$ref": "util.json#/$defs/source"
123
- },
124
- "page": {
125
- "$ref": "util.json#/$defs/page"
126
- },
127
- "name": {
128
- "type": "string"
129
- },
130
- "entries": {
131
- "type": "array",
132
- "items": {
133
- "$ref": "entry.json"
134
- }
135
- }
136
- },
137
- "additionalProperties": false,
138
- "required": [
139
- "abbreviation",
140
- "source",
141
- "page"
142
- ]
143
- },
144
- {
145
- "type": "object",
146
- "properties": {
147
- "abbreviation": {
148
- "type": "string"
149
- },
150
- "source": {
151
- "$ref": "util.json#/$defs/source"
152
- },
153
- "page": {
154
- "$ref": "util.json#/$defs/page"
155
- },
156
- "name": {
157
- "type": "string"
158
- },
159
- "entriesTemplate": {
160
- "type": "array",
161
- "items": {
162
- "$ref": "entry.json"
163
- }
164
- }
165
- },
166
- "additionalProperties": false,
167
- "required": [
168
- "abbreviation",
169
- "source",
170
- "page"
171
- ]
172
- }
173
- ]
174
- },
175
93
  "baseitemData": {
176
94
  "type": "object",
177
95
  "properties": {
@@ -928,70 +846,237 @@
928
846
  "$ref": "items-shared.json#/$defs/customProperties"
929
847
  },
930
848
  "_copy": {
931
- "type": "object",
932
- "properties": {
933
- "name": {
934
- "type": "string"
935
- },
936
- "source": {
937
- "$ref": "util.json#/$defs/source"
938
- },
939
- "pantheon": {
940
- "description": "Used in deity data",
941
- "type": "string"
942
- },
943
- "shortName": {
944
- "description": "Used in subclass data",
945
- "type": "string"
946
- },
947
- "className": {
948
- "description": "Used in subclass data",
949
- "type": "string"
950
- },
951
- "classSource": {
952
- "description": "Used in subclass data",
953
- "$ref": "util.json#/$defs/source"
954
- },
955
- "raceName": {
956
- "description": "Used in race feature data",
957
- "type": "string"
958
- },
959
- "raceSource": {
960
- "description": "Used in race feature data",
961
- "$ref": "util.json#/$defs/source"
962
- },
963
- "_mod": {
964
- "$ref": "util.json#/$defs/_modObject"
965
- },
966
- "_trait": {
967
- "type": "object",
968
- "properties": {
969
- "name": {
970
- "type": "string"
971
- },
972
- "source": {
973
- "$ref": "util.json#/$defs/source"
974
- }
975
- },
976
- "required": [
977
- "name",
978
- "source"
979
- ]
980
- },
981
- "_preserve": {
982
- "type": "object",
983
- "patternProperties": {
984
- ".*": {
985
- "const": true
986
- }
987
- }
988
- }
989
- },
990
- "required": [
991
- "name",
992
- "source"
993
- ],
994
- "additionalProperties": false
849
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
850
+ }
851
+ },
852
+ "additionalProperties": false,
853
+ "required": [
854
+ "_copy"
855
+ ]
856
+ }
857
+ ]
858
+ },
859
+ "copyBlock_copy_itemType": {
860
+ "type": "object",
861
+ "properties": {
862
+ "_mod": {
863
+ "$ref": "util.json#/$defs/_modObject"
864
+ },
865
+ "_trait": {
866
+ "type": "object",
867
+ "properties": {
868
+ "name": {
869
+ "type": "string"
870
+ },
871
+ "source": {
872
+ "$ref": "util.json#/$defs/source"
873
+ }
874
+ },
875
+ "required": [
876
+ "name",
877
+ "source"
878
+ ]
879
+ },
880
+ "_preserve": {
881
+ "type": "object",
882
+ "patternProperties": {
883
+ ".*": {
884
+ "const": true
885
+ }
886
+ }
887
+ },
888
+ "abbreviation": {
889
+ "type": "string"
890
+ },
891
+ "source": {
892
+ "$ref": "util.json#/$defs/source"
893
+ }
894
+ },
895
+ "additionalProperties": false,
896
+ "required": [
897
+ "abbreviation",
898
+ "source"
899
+ ]
900
+ },
901
+ "copyBlockItemType": {
902
+ "type": "object",
903
+ "properties": {
904
+ "_copy": {
905
+ "$ref": "#/$defs/copyBlock_copy_itemType"
906
+ }
907
+ },
908
+ "required": [
909
+ "_copy"
910
+ ]
911
+ },
912
+ "itemTypeData_entries": {
913
+ "type": "object",
914
+ "properties": {
915
+ "abbreviation": {
916
+ "type": "string"
917
+ },
918
+ "source": {
919
+ "$ref": "util.json#/$defs/source"
920
+ },
921
+ "page": {
922
+ "$ref": "util.json#/$defs/page"
923
+ },
924
+ "name": {
925
+ "type": "string"
926
+ },
927
+ "entries": {
928
+ "type": "array",
929
+ "items": {
930
+ "$ref": "entry.json"
931
+ }
932
+ }
933
+ },
934
+ "additionalProperties": false
935
+ },
936
+ "itemTypeData_entriesTemplate": {
937
+ "type": "object",
938
+ "properties": {
939
+ "abbreviation": {
940
+ "type": "string"
941
+ },
942
+ "source": {
943
+ "$ref": "util.json#/$defs/source"
944
+ },
945
+ "page": {
946
+ "$ref": "util.json#/$defs/page"
947
+ },
948
+ "name": {
949
+ "type": "string"
950
+ },
951
+ "entriesTemplate": {
952
+ "type": "array",
953
+ "items": {
954
+ "$ref": "entry.json"
955
+ }
956
+ }
957
+ },
958
+ "additionalProperties": false
959
+ },
960
+ "itemTypeData_requirements": {
961
+ "required": [
962
+ "abbreviation",
963
+ "source",
964
+ "page"
965
+ ]
966
+ },
967
+ "itemType": {
968
+ "anyOf": [
969
+ {
970
+ "type": "object",
971
+ "properties": {
972
+ "abbreviation": {
973
+ "type": "string"
974
+ },
975
+ "source": {
976
+ "$ref": "util.json#/$defs/source"
977
+ },
978
+ "page": {
979
+ "$ref": "util.json#/$defs/page"
980
+ },
981
+ "name": {
982
+ "type": "string"
983
+ },
984
+ "entries": {
985
+ "type": "array",
986
+ "items": {
987
+ "$ref": "entry.json"
988
+ }
989
+ }
990
+ },
991
+ "additionalProperties": false,
992
+ "required": [
993
+ "abbreviation",
994
+ "source",
995
+ "page"
996
+ ]
997
+ },
998
+ {
999
+ "type": "object",
1000
+ "properties": {
1001
+ "abbreviation": {
1002
+ "type": "string"
1003
+ },
1004
+ "source": {
1005
+ "$ref": "util.json#/$defs/source"
1006
+ },
1007
+ "page": {
1008
+ "$ref": "util.json#/$defs/page"
1009
+ },
1010
+ "name": {
1011
+ "type": "string"
1012
+ },
1013
+ "entries": {
1014
+ "type": "array",
1015
+ "items": {
1016
+ "$ref": "entry.json"
1017
+ }
1018
+ },
1019
+ "_copy": {
1020
+ "$ref": "#/$defs/copyBlock_copy_itemType"
1021
+ }
1022
+ },
1023
+ "additionalProperties": false,
1024
+ "required": [
1025
+ "_copy"
1026
+ ]
1027
+ },
1028
+ {
1029
+ "type": "object",
1030
+ "properties": {
1031
+ "abbreviation": {
1032
+ "type": "string"
1033
+ },
1034
+ "source": {
1035
+ "$ref": "util.json#/$defs/source"
1036
+ },
1037
+ "page": {
1038
+ "$ref": "util.json#/$defs/page"
1039
+ },
1040
+ "name": {
1041
+ "type": "string"
1042
+ },
1043
+ "entriesTemplate": {
1044
+ "type": "array",
1045
+ "items": {
1046
+ "$ref": "entry.json"
1047
+ }
1048
+ }
1049
+ },
1050
+ "additionalProperties": false,
1051
+ "required": [
1052
+ "abbreviation",
1053
+ "source",
1054
+ "page"
1055
+ ]
1056
+ },
1057
+ {
1058
+ "type": "object",
1059
+ "properties": {
1060
+ "abbreviation": {
1061
+ "type": "string"
1062
+ },
1063
+ "source": {
1064
+ "$ref": "util.json#/$defs/source"
1065
+ },
1066
+ "page": {
1067
+ "$ref": "util.json#/$defs/page"
1068
+ },
1069
+ "name": {
1070
+ "type": "string"
1071
+ },
1072
+ "entriesTemplate": {
1073
+ "type": "array",
1074
+ "items": {
1075
+ "$ref": "entry.json"
1076
+ }
1077
+ },
1078
+ "_copy": {
1079
+ "$ref": "#/$defs/copyBlock_copy_itemType"
995
1080
  }
996
1081
  },
997
1082
  "additionalProperties": false,
@@ -1002,8 +1087,10 @@
1002
1087
  ]
1003
1088
  }
1004
1089
  },
1005
- "type": "object",
1006
1090
  "properties": {
1091
+ "_meta": {
1092
+ "$ref": "util.json#/$defs/metaBlock"
1093
+ },
1007
1094
  "baseitem": {
1008
1095
  "type": "array",
1009
1096
  "minItems": 1,
@@ -1013,10 +1100,20 @@
1013
1100
  }
1014
1101
  },
1015
1102
  "itemProperty": {
1016
- "$ref": "#/$defs/itemPropertyLookupArray"
1103
+ "type": "array",
1104
+ "minItems": 1,
1105
+ "uniqueItems": true,
1106
+ "items": {
1107
+ "$ref": "#/$defs/itemPropertyLookup"
1108
+ }
1017
1109
  },
1018
1110
  "itemType": {
1019
- "$ref": "#/$defs/itemTypeLookupArray"
1111
+ "type": "array",
1112
+ "minItems": 1,
1113
+ "uniqueItems": true,
1114
+ "items": {
1115
+ "$ref": "#/$defs/itemType"
1116
+ }
1020
1117
  },
1021
1118
  "itemEntry": {
1022
1119
  "type": "array",
@@ -1662,70 +1662,7 @@
1662
1662
  "$ref": "items-shared.json#/$defs/customProperties"
1663
1663
  },
1664
1664
  "_copy": {
1665
- "type": "object",
1666
- "properties": {
1667
- "name": {
1668
- "type": "string"
1669
- },
1670
- "source": {
1671
- "$ref": "util.json#/$defs/source"
1672
- },
1673
- "pantheon": {
1674
- "description": "Used in deity data",
1675
- "type": "string"
1676
- },
1677
- "shortName": {
1678
- "description": "Used in subclass data",
1679
- "type": "string"
1680
- },
1681
- "className": {
1682
- "description": "Used in subclass data",
1683
- "type": "string"
1684
- },
1685
- "classSource": {
1686
- "description": "Used in subclass data",
1687
- "$ref": "util.json#/$defs/source"
1688
- },
1689
- "raceName": {
1690
- "description": "Used in race feature data",
1691
- "type": "string"
1692
- },
1693
- "raceSource": {
1694
- "description": "Used in race feature data",
1695
- "$ref": "util.json#/$defs/source"
1696
- },
1697
- "_mod": {
1698
- "$ref": "util.json#/$defs/_modObject"
1699
- },
1700
- "_trait": {
1701
- "type": "object",
1702
- "properties": {
1703
- "name": {
1704
- "type": "string"
1705
- },
1706
- "source": {
1707
- "$ref": "util.json#/$defs/source"
1708
- }
1709
- },
1710
- "required": [
1711
- "name",
1712
- "source"
1713
- ]
1714
- },
1715
- "_preserve": {
1716
- "type": "object",
1717
- "patternProperties": {
1718
- ".*": {
1719
- "const": true
1720
- }
1721
- }
1722
- }
1723
- },
1724
- "required": [
1725
- "name",
1726
- "source"
1727
- ],
1728
- "additionalProperties": false
1665
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
1729
1666
  }
1730
1667
  },
1731
1668
  "additionalProperties": false,