5etools-utils 0.12.43 → 0.12.45

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.
@@ -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.17.6",
6
+ "version": "1.17.10",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -230,33 +230,41 @@
230
230
  ]
231
231
  },
232
232
  "languageNameLower": {
233
- "type": "string",
234
- "enum": [
235
- "abyssal",
236
- "aquan",
237
- "auran",
238
- "celestial",
239
- "common",
240
- "common sign language",
241
- "deep speech",
242
- "draconic",
243
- "druidic",
244
- "dwarvish",
245
- "elvish",
246
- "giant",
247
- "gith",
248
- "gnomish",
249
- "goblin",
250
- "halfling",
251
- "ignan",
252
- "infernal",
253
- "orc",
254
- "other",
255
- "primordial",
256
- "sylvan",
257
- "terran",
258
- "thieves' cant",
259
- "undercommon"
233
+ "oneOf": [
234
+ {
235
+ "type": "string",
236
+ "enum": [
237
+ "abyssal",
238
+ "aquan",
239
+ "auran",
240
+ "celestial",
241
+ "common",
242
+ "common sign language",
243
+ "deep speech",
244
+ "draconic",
245
+ "druidic",
246
+ "dwarvish",
247
+ "elvish",
248
+ "giant",
249
+ "gith",
250
+ "gnomish",
251
+ "goblin",
252
+ "halfling",
253
+ "ignan",
254
+ "infernal",
255
+ "orc",
256
+ "other",
257
+ "primordial",
258
+ "sylvan",
259
+ "terran",
260
+ "thieves' cant",
261
+ "undercommon"
262
+ ]
263
+ },
264
+ {
265
+ "type": "string",
266
+ "pattern": "^[^|]+\\|.+$"
267
+ }
260
268
  ]
261
269
  },
262
270
  "languageProficiencies": {
@@ -273,6 +281,9 @@
273
281
  "anyExotic": {
274
282
  "type": "integer"
275
283
  },
284
+ "anyRare": {
285
+ "type": "integer"
286
+ },
276
287
  "abyssal": {
277
288
  "const": true
278
289
  },
@@ -365,8 +376,11 @@
365
376
  "additionalProperties": false
366
377
  }
367
378
  },
368
- "additionalProperties": {
369
- "const": true
379
+ "additionalProperties": false,
380
+ "patternProperties": {
381
+ "^[^|]+\\|.+$": {
382
+ "const": true
383
+ }
370
384
  }
371
385
  },
372
386
  "uniqueItems": true,
@@ -492,6 +506,9 @@
492
506
  "forgery kit": {
493
507
  "const": true
494
508
  },
509
+ "anyGamingSet": {
510
+ "type": "integer"
511
+ },
495
512
  "gaming set": {
496
513
  "const": true
497
514
  },
@@ -725,6 +742,9 @@
725
742
  "anyExoticLanguage": {
726
743
  "type": "integer"
727
744
  },
745
+ "anyRareLanguage": {
746
+ "type": "integer"
747
+ },
728
748
  "abyssal": {
729
749
  "const": true
730
750
  },
@@ -869,6 +889,9 @@
869
889
  "forgery kit": {
870
890
  "const": true
871
891
  },
892
+ "anyGamingSet": {
893
+ "type": "integer"
894
+ },
872
895
  "gaming set": {
873
896
  "const": true
874
897
  },
@@ -1030,7 +1053,8 @@
1030
1053
  "anyMusicalInstrument",
1031
1054
  "anyLanguage",
1032
1055
  "anyStandardLanguage",
1033
- "anyExoticLanguage"
1056
+ "anyExoticLanguage",
1057
+ "anyRareLanguage"
1034
1058
  ]
1035
1059
  }
1036
1060
  ]
@@ -1103,123 +1127,6 @@
1103
1127
  "improvised": {
1104
1128
  "const": true
1105
1129
  },
1106
- "battleaxe|phb": {
1107
- "const": true
1108
- },
1109
- "club|phb": {
1110
- "const": true
1111
- },
1112
- "dagger|phb": {
1113
- "const": true
1114
- },
1115
- "flail|phb": {
1116
- "const": true
1117
- },
1118
- "glaive|phb": {
1119
- "const": true
1120
- },
1121
- "greataxe|phb": {
1122
- "const": true
1123
- },
1124
- "greatclub|phb": {
1125
- "const": true
1126
- },
1127
- "greatsword|phb": {
1128
- "const": true
1129
- },
1130
- "halberd|phb": {
1131
- "const": true
1132
- },
1133
- "handaxe|phb": {
1134
- "const": true
1135
- },
1136
- "javelin|phb": {
1137
- "const": true
1138
- },
1139
- "lance|phb": {
1140
- "const": true
1141
- },
1142
- "light hammer|phb": {
1143
- "const": true
1144
- },
1145
- "longsword|phb": {
1146
- "const": true
1147
- },
1148
- "mace|phb": {
1149
- "const": true
1150
- },
1151
- "maul|phb": {
1152
- "const": true
1153
- },
1154
- "morningstar|phb": {
1155
- "const": true
1156
- },
1157
- "pike|phb": {
1158
- "const": true
1159
- },
1160
- "quarterstaff|phb": {
1161
- "const": true
1162
- },
1163
- "rapier|phb": {
1164
- "const": true
1165
- },
1166
- "scimitar|phb": {
1167
- "const": true
1168
- },
1169
- "shortsword|phb": {
1170
- "const": true
1171
- },
1172
- "sickle|phb": {
1173
- "const": true
1174
- },
1175
- "spear|phb": {
1176
- "const": true
1177
- },
1178
- "staff|phb": {
1179
- "const": true
1180
- },
1181
- "trident|phb": {
1182
- "const": true
1183
- },
1184
- "war pick|phb": {
1185
- "const": true
1186
- },
1187
- "warhammer|phb": {
1188
- "const": true
1189
- },
1190
- "whip|phb": {
1191
- "const": true
1192
- },
1193
- "blowgun|phb": {
1194
- "const": true
1195
- },
1196
- "dart|phb": {
1197
- "const": true
1198
- },
1199
- "hand crossbow|phb": {
1200
- "const": true
1201
- },
1202
- "heavy crossbow|phb": {
1203
- "const": true
1204
- },
1205
- "light crossbow|phb": {
1206
- "const": true
1207
- },
1208
- "longbow|phb": {
1209
- "const": true
1210
- },
1211
- "net|phb": {
1212
- "const": true
1213
- },
1214
- "shortbow|phb": {
1215
- "const": true
1216
- },
1217
- "sling|phb": {
1218
- "const": true
1219
- },
1220
- "double-bladed scimitar|erlw": {
1221
- "const": true
1222
- },
1223
1130
  "choose": {
1224
1131
  "type": "object",
1225
1132
  "properties": {
@@ -1250,6 +1157,11 @@
1250
1157
  "additionalProperties": false
1251
1158
  }
1252
1159
  },
1160
+ "patternProperties": {
1161
+ "^[^|]+\\|.+$": {
1162
+ "const": true
1163
+ }
1164
+ },
1253
1165
  "additionalProperties": false
1254
1166
  },
1255
1167
  "uniqueItems": true,
@@ -1659,7 +1571,12 @@
1659
1571
  "additionalProperties": false
1660
1572
  }
1661
1573
  },
1662
- "additionalProperties": true
1574
+ "patternProperties": {
1575
+ "^[^|]+\\|.+$": {
1576
+ "const": true
1577
+ }
1578
+ },
1579
+ "additionalProperties": false
1663
1580
  }
1664
1581
  ]
1665
1582
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.39",
3
+ "version": "1.21.40",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1012,6 +1012,7 @@
1012
1012
  "Antimagic Susceptibility",
1013
1013
  "Beast of Burden",
1014
1014
  "Brute",
1015
+ "Camouflage",
1015
1016
  "Charge",
1016
1017
  "Damage Absorption",
1017
1018
  "Death Burst",
@@ -2167,6 +2168,7 @@
2167
2168
  "Antimagic Susceptibility",
2168
2169
  "Beast of Burden",
2169
2170
  "Brute",
2171
+ "Camouflage",
2170
2172
  "Charge",
2171
2173
  "Damage Absorption",
2172
2174
  "Death Burst",
@@ -3327,6 +3329,7 @@
3327
3329
  "Antimagic Susceptibility",
3328
3330
  "Beast of Burden",
3329
3331
  "Brute",
3332
+ "Camouflage",
3330
3333
  "Charge",
3331
3334
  "Damage Absorption",
3332
3335
  "Death Burst",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "races.json",
4
- "version": "1.12.8",
4
+ "version": "1.12.9",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "sharedData": {
@@ -35,6 +35,9 @@
35
35
  "reprintedAs": {
36
36
  "$ref": "util.json#/$defs/reprintedAs"
37
37
  },
38
+ "edition": {
39
+ "$ref": "util-edition.json#/$defs/edition"
40
+ },
38
41
  "ability": {
39
42
  "$ref": "util.json#/$defs/abilityScores"
40
43
  },
@@ -283,6 +286,9 @@
283
286
  "reprintedAs": {
284
287
  "$ref": "util.json#/$defs/reprintedAs"
285
288
  },
289
+ "edition": {
290
+ "$ref": "util-edition.json#/$defs/edition"
291
+ },
286
292
  "ability": {
287
293
  "$ref": "util.json#/$defs/abilityScores"
288
294
  },
@@ -613,6 +619,9 @@
613
619
  "reprintedAs": {
614
620
  "$ref": "util.json#/$defs/reprintedAs"
615
621
  },
622
+ "edition": {
623
+ "$ref": "util-edition.json#/$defs/edition"
624
+ },
616
625
  "ability": {
617
626
  "$ref": "util.json#/$defs/abilityScores"
618
627
  },
@@ -865,6 +874,9 @@
865
874
  "reprintedAs": {
866
875
  "$ref": "util.json#/$defs/reprintedAs"
867
876
  },
877
+ "edition": {
878
+ "$ref": "util-edition.json#/$defs/edition"
879
+ },
868
880
  "ability": {
869
881
  "$ref": "util.json#/$defs/abilityScores"
870
882
  },
@@ -1123,6 +1135,9 @@
1123
1135
  "reprintedAs": {
1124
1136
  "$ref": "util.json#/$defs/reprintedAs"
1125
1137
  },
1138
+ "edition": {
1139
+ "$ref": "util-edition.json#/$defs/edition"
1140
+ },
1126
1141
  "ability": {
1127
1142
  "$ref": "util.json#/$defs/abilityScores"
1128
1143
  },
@@ -1386,6 +1401,9 @@
1386
1401
  "reprintedAs": {
1387
1402
  "$ref": "util.json#/$defs/reprintedAs"
1388
1403
  },
1404
+ "edition": {
1405
+ "$ref": "util-edition.json#/$defs/edition"
1406
+ },
1389
1407
  "ability": {
1390
1408
  "$ref": "util.json#/$defs/abilityScores"
1391
1409
  },
@@ -5,6 +5,7 @@
5
5
  "title": "Util: Edition",
6
6
  "$defs": {
7
7
  "edition": {
8
+ "description": "A context-sensitive behaviour hint. Generally, entities marked with `\"edition\": \"one\"` will not be modified (as they are assumed to be up-to-date) prior to display/use, and entities lacking an `\"edition\"` or using `\"edition\": \"classic\"` may be modified to better suit modern rules. For example:\n- Classes/subclasses: an edition mismatch between class and subclass will prompt the renderer to add a note that the subclass is from a different game edition, and that feature levels may have to be adjusted accordingly (notably, when rendering synthetic subclass copies)\n- Plutonium, when using the \"Modern (2024)\" rules version: non-\"one\" species will be stripped of their ability scores; non-\"one\" backgrounds will gain extra ability scores; etc.",
8
9
  "type": "string",
9
10
  "enum": [
10
11
  "classic",
@@ -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.17.6",
6
+ "version": "1.17.10",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -214,33 +214,37 @@
214
214
  ]
215
215
  },
216
216
  "languageNameLower": {
217
- "type": "string",
218
- "enum": [
219
- "abyssal",
220
- "aquan",
221
- "auran",
222
- "celestial",
223
- "common",
224
- "common sign language",
225
- "deep speech",
226
- "draconic",
227
- "druidic",
228
- "dwarvish",
229
- "elvish",
230
- "giant",
231
- "gith",
232
- "gnomish",
233
- "goblin",
234
- "halfling",
235
- "ignan",
236
- "infernal",
237
- "orc",
238
- "other",
239
- "primordial",
240
- "sylvan",
241
- "terran",
242
- "thieves' cant",
243
- "undercommon"
217
+ "oneOf": [
218
+ {
219
+ "type": "string",
220
+ "enum": [
221
+ "abyssal",
222
+ "aquan",
223
+ "auran",
224
+ "celestial",
225
+ "common",
226
+ "common sign language",
227
+ "deep speech",
228
+ "draconic",
229
+ "druidic",
230
+ "dwarvish",
231
+ "elvish",
232
+ "giant",
233
+ "gith",
234
+ "gnomish",
235
+ "goblin",
236
+ "halfling",
237
+ "ignan",
238
+ "infernal",
239
+ "orc",
240
+ "other",
241
+ "primordial",
242
+ "sylvan",
243
+ "terran",
244
+ "thieves' cant",
245
+ "undercommon"
246
+ ]
247
+ }
244
248
  ]
245
249
  },
246
250
  "languageProficiencies": {
@@ -257,6 +261,9 @@
257
261
  "anyExotic": {
258
262
  "type": "integer"
259
263
  },
264
+ "anyRare": {
265
+ "type": "integer"
266
+ },
260
267
  "abyssal": {
261
268
  "const": true
262
269
  },
@@ -474,6 +481,9 @@
474
481
  "forgery kit": {
475
482
  "const": true
476
483
  },
484
+ "anyGamingSet": {
485
+ "type": "integer"
486
+ },
477
487
  "gaming set": {
478
488
  "const": true
479
489
  },
@@ -703,6 +713,9 @@
703
713
  "anyExoticLanguage": {
704
714
  "type": "integer"
705
715
  },
716
+ "anyRareLanguage": {
717
+ "type": "integer"
718
+ },
706
719
  "abyssal": {
707
720
  "const": true
708
721
  },
@@ -847,6 +860,9 @@
847
860
  "forgery kit": {
848
861
  "const": true
849
862
  },
863
+ "anyGamingSet": {
864
+ "type": "integer"
865
+ },
850
866
  "gaming set": {
851
867
  "const": true
852
868
  },
@@ -1008,7 +1024,8 @@
1008
1024
  "anyMusicalInstrument",
1009
1025
  "anyLanguage",
1010
1026
  "anyStandardLanguage",
1011
- "anyExoticLanguage"
1027
+ "anyExoticLanguage",
1028
+ "anyRareLanguage"
1012
1029
  ]
1013
1030
  }
1014
1031
  ]
@@ -1079,123 +1096,6 @@
1079
1096
  "improvised": {
1080
1097
  "const": true
1081
1098
  },
1082
- "battleaxe|phb": {
1083
- "const": true
1084
- },
1085
- "club|phb": {
1086
- "const": true
1087
- },
1088
- "dagger|phb": {
1089
- "const": true
1090
- },
1091
- "flail|phb": {
1092
- "const": true
1093
- },
1094
- "glaive|phb": {
1095
- "const": true
1096
- },
1097
- "greataxe|phb": {
1098
- "const": true
1099
- },
1100
- "greatclub|phb": {
1101
- "const": true
1102
- },
1103
- "greatsword|phb": {
1104
- "const": true
1105
- },
1106
- "halberd|phb": {
1107
- "const": true
1108
- },
1109
- "handaxe|phb": {
1110
- "const": true
1111
- },
1112
- "javelin|phb": {
1113
- "const": true
1114
- },
1115
- "lance|phb": {
1116
- "const": true
1117
- },
1118
- "light hammer|phb": {
1119
- "const": true
1120
- },
1121
- "longsword|phb": {
1122
- "const": true
1123
- },
1124
- "mace|phb": {
1125
- "const": true
1126
- },
1127
- "maul|phb": {
1128
- "const": true
1129
- },
1130
- "morningstar|phb": {
1131
- "const": true
1132
- },
1133
- "pike|phb": {
1134
- "const": true
1135
- },
1136
- "quarterstaff|phb": {
1137
- "const": true
1138
- },
1139
- "rapier|phb": {
1140
- "const": true
1141
- },
1142
- "scimitar|phb": {
1143
- "const": true
1144
- },
1145
- "shortsword|phb": {
1146
- "const": true
1147
- },
1148
- "sickle|phb": {
1149
- "const": true
1150
- },
1151
- "spear|phb": {
1152
- "const": true
1153
- },
1154
- "staff|phb": {
1155
- "const": true
1156
- },
1157
- "trident|phb": {
1158
- "const": true
1159
- },
1160
- "war pick|phb": {
1161
- "const": true
1162
- },
1163
- "warhammer|phb": {
1164
- "const": true
1165
- },
1166
- "whip|phb": {
1167
- "const": true
1168
- },
1169
- "blowgun|phb": {
1170
- "const": true
1171
- },
1172
- "dart|phb": {
1173
- "const": true
1174
- },
1175
- "hand crossbow|phb": {
1176
- "const": true
1177
- },
1178
- "heavy crossbow|phb": {
1179
- "const": true
1180
- },
1181
- "light crossbow|phb": {
1182
- "const": true
1183
- },
1184
- "longbow|phb": {
1185
- "const": true
1186
- },
1187
- "net|phb": {
1188
- "const": true
1189
- },
1190
- "shortbow|phb": {
1191
- "const": true
1192
- },
1193
- "sling|phb": {
1194
- "const": true
1195
- },
1196
- "double-bladed scimitar|erlw": {
1197
- "const": true
1198
- },
1199
1099
  "choose": {
1200
1100
  "type": "object",
1201
1101
  "properties": {
@@ -1226,6 +1126,11 @@
1226
1126
  "additionalProperties": false
1227
1127
  }
1228
1128
  },
1129
+ "patternProperties": {
1130
+ "^[^|]+\\|.+$": {
1131
+ "const": true
1132
+ }
1133
+ },
1229
1134
  "additionalProperties": false
1230
1135
  },
1231
1136
  "uniqueItems": true,
@@ -1635,7 +1540,12 @@
1635
1540
  "additionalProperties": false
1636
1541
  }
1637
1542
  },
1638
- "additionalProperties": true
1543
+ "patternProperties": {
1544
+ "^[^|]+\\|.+$": {
1545
+ "const": true
1546
+ }
1547
+ },
1548
+ "additionalProperties": false
1639
1549
  }
1640
1550
  ]
1641
1551
  },
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.39",
3
+ "version": "1.21.40",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1012,6 +1012,7 @@
1012
1012
  "Antimagic Susceptibility",
1013
1013
  "Beast of Burden",
1014
1014
  "Brute",
1015
+ "Camouflage",
1015
1016
  "Charge",
1016
1017
  "Damage Absorption",
1017
1018
  "Death Burst",
@@ -2167,6 +2168,7 @@
2167
2168
  "Antimagic Susceptibility",
2168
2169
  "Beast of Burden",
2169
2170
  "Brute",
2171
+ "Camouflage",
2170
2172
  "Charge",
2171
2173
  "Damage Absorption",
2172
2174
  "Death Burst",
@@ -3327,6 +3329,7 @@
3327
3329
  "Antimagic Susceptibility",
3328
3330
  "Beast of Burden",
3329
3331
  "Brute",
3332
+ "Camouflage",
3330
3333
  "Charge",
3331
3334
  "Damage Absorption",
3332
3335
  "Death Burst",