5etools-utils 0.9.30 → 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 (97) 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/magicvariants.json +4 -1
  14. package/schema/brew/races.json +2 -128
  15. package/schema/brew/recipes.json +1 -64
  16. package/schema/brew/spells/spells.json +1 -64
  17. package/schema/brew/util.json +90 -117
  18. package/schema/brew-fast/backgrounds.json +1 -64
  19. package/schema/brew-fast/bestiary/bestiary.json +1 -64
  20. package/schema/brew-fast/bestiary/legendarygroups.json +1 -64
  21. package/schema/brew-fast/bestiary/template.json +1 -64
  22. package/schema/brew-fast/class/class.json +2 -128
  23. package/schema/brew-fast/decks.json +2 -128
  24. package/schema/brew-fast/deities.json +1 -64
  25. package/schema/brew-fast/fluff-races.json +1 -64
  26. package/schema/brew-fast/foundry-races.json +2 -128
  27. package/schema/brew-fast/items-base.json +246 -149
  28. package/schema/brew-fast/items.json +1 -64
  29. package/schema/brew-fast/magicvariants.json +4 -1
  30. package/schema/brew-fast/races.json +2 -128
  31. package/schema/brew-fast/recipes.json +1 -64
  32. package/schema/brew-fast/spells/spells.json +1 -64
  33. package/schema/brew-fast/util.json +90 -117
  34. package/schema/site/backgrounds.json +1 -64
  35. package/schema/site/bestiary/bestiary.json +1 -64
  36. package/schema/site/bestiary/legendarygroups.json +1 -64
  37. package/schema/site/bestiary/template.json +1 -64
  38. package/schema/site/class/class.json +2 -128
  39. package/schema/site/decks.json +2 -128
  40. package/schema/site/deities.json +1 -64
  41. package/schema/site/fluff-races.json +1 -64
  42. package/schema/site/foundry-races.json +2 -128
  43. package/schema/site/items-base.json +249 -152
  44. package/schema/site/items.json +1 -64
  45. package/schema/site/magicvariants.json +4 -1
  46. package/schema/site/races.json +2 -128
  47. package/schema/site/recipes.json +1 -64
  48. package/schema/site/spells/spells.json +1 -64
  49. package/schema/site/util.json +90 -117
  50. package/schema/site-fast/backgrounds.json +1 -64
  51. package/schema/site-fast/bestiary/bestiary.json +1 -64
  52. package/schema/site-fast/bestiary/legendarygroups.json +1 -64
  53. package/schema/site-fast/bestiary/template.json +1 -64
  54. package/schema/site-fast/class/class.json +2 -128
  55. package/schema/site-fast/decks.json +2 -128
  56. package/schema/site-fast/deities.json +1 -64
  57. package/schema/site-fast/fluff-races.json +1 -64
  58. package/schema/site-fast/foundry-races.json +2 -128
  59. package/schema/site-fast/items-base.json +249 -152
  60. package/schema/site-fast/items.json +1 -64
  61. package/schema/site-fast/magicvariants.json +4 -1
  62. package/schema/site-fast/races.json +2 -128
  63. package/schema/site-fast/recipes.json +1 -64
  64. package/schema/site-fast/spells/spells.json +1 -64
  65. package/schema/site-fast/util.json +90 -117
  66. package/schema/ua/backgrounds.json +1 -64
  67. package/schema/ua/bestiary/bestiary.json +1 -64
  68. package/schema/ua/bestiary/legendarygroups.json +1 -64
  69. package/schema/ua/bestiary/template.json +1 -64
  70. package/schema/ua/class/class.json +2 -128
  71. package/schema/ua/decks.json +2 -128
  72. package/schema/ua/deities.json +1 -64
  73. package/schema/ua/fluff-races.json +1 -64
  74. package/schema/ua/foundry-races.json +2 -128
  75. package/schema/ua/items-base.json +249 -152
  76. package/schema/ua/items.json +1 -64
  77. package/schema/ua/magicvariants.json +4 -1
  78. package/schema/ua/races.json +2 -128
  79. package/schema/ua/recipes.json +1 -64
  80. package/schema/ua/spells/spells.json +1 -64
  81. package/schema/ua/util.json +90 -117
  82. package/schema/ua-fast/backgrounds.json +1 -64
  83. package/schema/ua-fast/bestiary/bestiary.json +1 -64
  84. package/schema/ua-fast/bestiary/legendarygroups.json +1 -64
  85. package/schema/ua-fast/bestiary/template.json +1 -64
  86. package/schema/ua-fast/class/class.json +2 -128
  87. package/schema/ua-fast/decks.json +2 -128
  88. package/schema/ua-fast/deities.json +1 -64
  89. package/schema/ua-fast/fluff-races.json +1 -64
  90. package/schema/ua-fast/foundry-races.json +2 -128
  91. package/schema/ua-fast/items-base.json +249 -152
  92. package/schema/ua-fast/items.json +1 -64
  93. package/schema/ua-fast/magicvariants.json +4 -1
  94. package/schema/ua-fast/races.json +2 -128
  95. package/schema/ua-fast/recipes.json +1 -64
  96. package/schema/ua-fast/spells/spells.json +1 -64
  97. package/schema/ua-fast/util.json +90 -117
@@ -120,70 +120,7 @@
120
120
  "type": "boolean"
121
121
  },
122
122
  "_copy": {
123
- "type": "object",
124
- "properties": {
125
- "name": {
126
- "type": "string"
127
- },
128
- "source": {
129
- "$ref": "util.json#/$defs/source"
130
- },
131
- "pantheon": {
132
- "description": "Used in deity data",
133
- "type": "string"
134
- },
135
- "shortName": {
136
- "description": "Used in subclass data",
137
- "type": "string"
138
- },
139
- "className": {
140
- "description": "Used in subclass data",
141
- "type": "string"
142
- },
143
- "classSource": {
144
- "description": "Used in subclass data",
145
- "$ref": "util.json#/$defs/source"
146
- },
147
- "raceName": {
148
- "description": "Used in race feature data",
149
- "type": "string"
150
- },
151
- "raceSource": {
152
- "description": "Used in race feature data",
153
- "$ref": "util.json#/$defs/source"
154
- },
155
- "_mod": {
156
- "$ref": "util.json#/$defs/_modObject"
157
- },
158
- "_trait": {
159
- "type": "object",
160
- "properties": {
161
- "name": {
162
- "type": "string"
163
- },
164
- "source": {
165
- "$ref": "util.json#/$defs/source"
166
- }
167
- },
168
- "required": [
169
- "name",
170
- "source"
171
- ]
172
- },
173
- "_preserve": {
174
- "type": "object",
175
- "patternProperties": {
176
- ".*": {
177
- "const": true
178
- }
179
- }
180
- }
181
- },
182
- "required": [
183
- "name",
184
- "source"
185
- ],
186
- "additionalProperties": false
123
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
187
124
  }
188
125
  },
189
126
  "additionalProperties": false,
@@ -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,11 +20,7 @@
35
20
  "type": "string"
36
21
  }
37
22
  },
38
- "additionalProperties": false,
39
- "required": [
40
- "abbreviation",
41
- "source"
42
- ]
23
+ "additionalProperties": false
43
24
  },
44
25
  "itemPropertyLookup": {
45
26
  "anyOf": [
@@ -107,66 +88,6 @@
107
88
  }
108
89
  ]
109
90
  },
110
- "itemTypeLookup": {
111
- "anyOf": [
112
- {
113
- "type": "object",
114
- "properties": {
115
- "abbreviation": {
116
- "type": "string"
117
- },
118
- "source": {
119
- "$ref": "util.json#/$defs/source"
120
- },
121
- "page": {
122
- "$ref": "util.json#/$defs/page"
123
- },
124
- "name": {
125
- "type": "string"
126
- },
127
- "entries": {
128
- "type": "array",
129
- "items": {
130
- "$ref": "entry.json"
131
- }
132
- }
133
- },
134
- "additionalProperties": false,
135
- "required": [
136
- "abbreviation",
137
- "source"
138
- ]
139
- },
140
- {
141
- "type": "object",
142
- "properties": {
143
- "abbreviation": {
144
- "type": "string"
145
- },
146
- "source": {
147
- "$ref": "util.json#/$defs/source"
148
- },
149
- "page": {
150
- "$ref": "util.json#/$defs/page"
151
- },
152
- "name": {
153
- "type": "string"
154
- },
155
- "entriesTemplate": {
156
- "type": "array",
157
- "items": {
158
- "$ref": "entry.json"
159
- }
160
- }
161
- },
162
- "additionalProperties": false,
163
- "required": [
164
- "abbreviation",
165
- "source"
166
- ]
167
- }
168
- ]
169
- },
170
91
  "baseitemData": {
171
92
  "type": "object",
172
93
  "properties": {
@@ -1025,70 +946,234 @@
1025
946
  "$ref": "items-shared.json#/$defs/fluff"
1026
947
  },
1027
948
  "_copy": {
1028
- "type": "object",
1029
- "properties": {
1030
- "name": {
1031
- "type": "string"
1032
- },
1033
- "source": {
1034
- "$ref": "util.json#/$defs/source"
1035
- },
1036
- "pantheon": {
1037
- "description": "Used in deity data",
1038
- "type": "string"
1039
- },
1040
- "shortName": {
1041
- "description": "Used in subclass data",
1042
- "type": "string"
1043
- },
1044
- "className": {
1045
- "description": "Used in subclass data",
1046
- "type": "string"
1047
- },
1048
- "classSource": {
1049
- "description": "Used in subclass data",
1050
- "$ref": "util.json#/$defs/source"
1051
- },
1052
- "raceName": {
1053
- "description": "Used in race feature data",
1054
- "type": "string"
1055
- },
1056
- "raceSource": {
1057
- "description": "Used in race feature data",
1058
- "$ref": "util.json#/$defs/source"
1059
- },
1060
- "_mod": {
1061
- "$ref": "util.json#/$defs/_modObject"
1062
- },
1063
- "_trait": {
1064
- "type": "object",
1065
- "properties": {
1066
- "name": {
1067
- "type": "string"
1068
- },
1069
- "source": {
1070
- "$ref": "util.json#/$defs/source"
1071
- }
1072
- },
1073
- "required": [
1074
- "name",
1075
- "source"
1076
- ]
1077
- },
1078
- "_preserve": {
1079
- "type": "object",
1080
- "patternProperties": {
1081
- ".*": {
1082
- "const": true
1083
- }
1084
- }
1085
- }
1086
- },
1087
- "required": [
1088
- "name",
1089
- "source"
1090
- ],
1091
- "additionalProperties": false
949
+ "$ref": "util.json#/$defs/copyBlock_copy_generic"
950
+ }
951
+ },
952
+ "additionalProperties": false,
953
+ "required": [
954
+ "_copy"
955
+ ]
956
+ }
957
+ ]
958
+ },
959
+ "copyBlock_copy_itemType": {
960
+ "type": "object",
961
+ "properties": {
962
+ "_mod": {
963
+ "$ref": "util.json#/$defs/_modObject"
964
+ },
965
+ "_trait": {
966
+ "type": "object",
967
+ "properties": {
968
+ "name": {
969
+ "type": "string"
970
+ },
971
+ "source": {
972
+ "$ref": "util.json#/$defs/source"
973
+ }
974
+ },
975
+ "required": [
976
+ "name",
977
+ "source"
978
+ ]
979
+ },
980
+ "_preserve": {
981
+ "type": "object",
982
+ "patternProperties": {
983
+ ".*": {
984
+ "const": true
985
+ }
986
+ }
987
+ },
988
+ "abbreviation": {
989
+ "type": "string"
990
+ },
991
+ "source": {
992
+ "$ref": "util.json#/$defs/source"
993
+ }
994
+ },
995
+ "additionalProperties": false,
996
+ "required": [
997
+ "abbreviation",
998
+ "source"
999
+ ]
1000
+ },
1001
+ "copyBlockItemType": {
1002
+ "type": "object",
1003
+ "properties": {
1004
+ "_copy": {
1005
+ "$ref": "#/$defs/copyBlock_copy_itemType"
1006
+ }
1007
+ },
1008
+ "required": [
1009
+ "_copy"
1010
+ ]
1011
+ },
1012
+ "itemTypeData_entries": {
1013
+ "type": "object",
1014
+ "properties": {
1015
+ "abbreviation": {
1016
+ "type": "string"
1017
+ },
1018
+ "source": {
1019
+ "$ref": "util.json#/$defs/source"
1020
+ },
1021
+ "page": {
1022
+ "$ref": "util.json#/$defs/page"
1023
+ },
1024
+ "name": {
1025
+ "type": "string"
1026
+ },
1027
+ "entries": {
1028
+ "type": "array",
1029
+ "items": {
1030
+ "$ref": "entry.json"
1031
+ }
1032
+ }
1033
+ },
1034
+ "additionalProperties": false
1035
+ },
1036
+ "itemTypeData_entriesTemplate": {
1037
+ "type": "object",
1038
+ "properties": {
1039
+ "abbreviation": {
1040
+ "type": "string"
1041
+ },
1042
+ "source": {
1043
+ "$ref": "util.json#/$defs/source"
1044
+ },
1045
+ "page": {
1046
+ "$ref": "util.json#/$defs/page"
1047
+ },
1048
+ "name": {
1049
+ "type": "string"
1050
+ },
1051
+ "entriesTemplate": {
1052
+ "type": "array",
1053
+ "items": {
1054
+ "$ref": "entry.json"
1055
+ }
1056
+ }
1057
+ },
1058
+ "additionalProperties": false
1059
+ },
1060
+ "itemTypeData_requirements": {
1061
+ "required": [
1062
+ "abbreviation",
1063
+ "source"
1064
+ ]
1065
+ },
1066
+ "itemType": {
1067
+ "anyOf": [
1068
+ {
1069
+ "type": "object",
1070
+ "properties": {
1071
+ "abbreviation": {
1072
+ "type": "string"
1073
+ },
1074
+ "source": {
1075
+ "$ref": "util.json#/$defs/source"
1076
+ },
1077
+ "page": {
1078
+ "$ref": "util.json#/$defs/page"
1079
+ },
1080
+ "name": {
1081
+ "type": "string"
1082
+ },
1083
+ "entries": {
1084
+ "type": "array",
1085
+ "items": {
1086
+ "$ref": "entry.json"
1087
+ }
1088
+ }
1089
+ },
1090
+ "additionalProperties": false,
1091
+ "required": [
1092
+ "abbreviation",
1093
+ "source"
1094
+ ]
1095
+ },
1096
+ {
1097
+ "type": "object",
1098
+ "properties": {
1099
+ "abbreviation": {
1100
+ "type": "string"
1101
+ },
1102
+ "source": {
1103
+ "$ref": "util.json#/$defs/source"
1104
+ },
1105
+ "page": {
1106
+ "$ref": "util.json#/$defs/page"
1107
+ },
1108
+ "name": {
1109
+ "type": "string"
1110
+ },
1111
+ "entries": {
1112
+ "type": "array",
1113
+ "items": {
1114
+ "$ref": "entry.json"
1115
+ }
1116
+ },
1117
+ "_copy": {
1118
+ "$ref": "#/$defs/copyBlock_copy_itemType"
1119
+ }
1120
+ },
1121
+ "additionalProperties": false,
1122
+ "required": [
1123
+ "_copy"
1124
+ ]
1125
+ },
1126
+ {
1127
+ "type": "object",
1128
+ "properties": {
1129
+ "abbreviation": {
1130
+ "type": "string"
1131
+ },
1132
+ "source": {
1133
+ "$ref": "util.json#/$defs/source"
1134
+ },
1135
+ "page": {
1136
+ "$ref": "util.json#/$defs/page"
1137
+ },
1138
+ "name": {
1139
+ "type": "string"
1140
+ },
1141
+ "entriesTemplate": {
1142
+ "type": "array",
1143
+ "items": {
1144
+ "$ref": "entry.json"
1145
+ }
1146
+ }
1147
+ },
1148
+ "additionalProperties": false,
1149
+ "required": [
1150
+ "abbreviation",
1151
+ "source"
1152
+ ]
1153
+ },
1154
+ {
1155
+ "type": "object",
1156
+ "properties": {
1157
+ "abbreviation": {
1158
+ "type": "string"
1159
+ },
1160
+ "source": {
1161
+ "$ref": "util.json#/$defs/source"
1162
+ },
1163
+ "page": {
1164
+ "$ref": "util.json#/$defs/page"
1165
+ },
1166
+ "name": {
1167
+ "type": "string"
1168
+ },
1169
+ "entriesTemplate": {
1170
+ "type": "array",
1171
+ "items": {
1172
+ "$ref": "entry.json"
1173
+ }
1174
+ },
1175
+ "_copy": {
1176
+ "$ref": "#/$defs/copyBlock_copy_itemType"
1092
1177
  }
1093
1178
  },
1094
1179
  "additionalProperties": false,
@@ -1099,8 +1184,10 @@
1099
1184
  ]
1100
1185
  }
1101
1186
  },
1102
- "type": "object",
1103
1187
  "properties": {
1188
+ "_meta": {
1189
+ "$ref": "util.json#/$defs/metaBlock"
1190
+ },
1104
1191
  "baseitem": {
1105
1192
  "type": "array",
1106
1193
  "minItems": 1,
@@ -1110,10 +1197,20 @@
1110
1197
  }
1111
1198
  },
1112
1199
  "itemProperty": {
1113
- "$ref": "#/$defs/itemPropertyLookupArray"
1200
+ "type": "array",
1201
+ "minItems": 1,
1202
+ "uniqueItems": true,
1203
+ "items": {
1204
+ "$ref": "#/$defs/itemPropertyLookup"
1205
+ }
1114
1206
  },
1115
1207
  "itemType": {
1116
- "$ref": "#/$defs/itemTypeLookupArray"
1208
+ "type": "array",
1209
+ "minItems": 1,
1210
+ "uniqueItems": true,
1211
+ "items": {
1212
+ "$ref": "#/$defs/itemType"
1213
+ }
1117
1214
  },
1118
1215
  "itemEntry": {
1119
1216
  "type": "array",