5etools-utils 0.12.44 → 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.
@@ -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
  },
@@ -286,6 +289,9 @@
286
289
  "reprintedAs": {
287
290
  "$ref": "util.json#/$defs/reprintedAs"
288
291
  },
292
+ "edition": {
293
+ "$ref": "util-edition.json#/$defs/edition"
294
+ },
289
295
  "ability": {
290
296
  "$ref": "util.json#/$defs/abilityScores"
291
297
  },
@@ -619,6 +625,9 @@
619
625
  "reprintedAs": {
620
626
  "$ref": "util.json#/$defs/reprintedAs"
621
627
  },
628
+ "edition": {
629
+ "$ref": "util-edition.json#/$defs/edition"
630
+ },
622
631
  "ability": {
623
632
  "$ref": "util.json#/$defs/abilityScores"
624
633
  },
@@ -874,6 +883,9 @@
874
883
  "reprintedAs": {
875
884
  "$ref": "util.json#/$defs/reprintedAs"
876
885
  },
886
+ "edition": {
887
+ "$ref": "util-edition.json#/$defs/edition"
888
+ },
877
889
  "ability": {
878
890
  "$ref": "util.json#/$defs/abilityScores"
879
891
  },
@@ -1135,6 +1147,9 @@
1135
1147
  "reprintedAs": {
1136
1148
  "$ref": "util.json#/$defs/reprintedAs"
1137
1149
  },
1150
+ "edition": {
1151
+ "$ref": "util-edition.json#/$defs/edition"
1152
+ },
1138
1153
  "ability": {
1139
1154
  "$ref": "util.json#/$defs/abilityScores"
1140
1155
  },
@@ -1401,6 +1416,9 @@
1401
1416
  "reprintedAs": {
1402
1417
  "$ref": "util.json#/$defs/reprintedAs"
1403
1418
  },
1419
+ "edition": {
1420
+ "$ref": "util-edition.json#/$defs/edition"
1421
+ },
1404
1422
  "ability": {
1405
1423
  "$ref": "util.json#/$defs/abilityScores"
1406
1424
  },
@@ -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.7",
6
+ "version": "1.17.10",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -225,33 +225,37 @@
225
225
  ]
226
226
  },
227
227
  "languageNameLower": {
228
- "type": "string",
229
- "enum": [
230
- "abyssal",
231
- "aquan",
232
- "auran",
233
- "celestial",
234
- "common",
235
- "common sign language",
236
- "deep speech",
237
- "draconic",
238
- "druidic",
239
- "dwarvish",
240
- "elvish",
241
- "giant",
242
- "gith",
243
- "gnomish",
244
- "goblin",
245
- "halfling",
246
- "ignan",
247
- "infernal",
248
- "orc",
249
- "other",
250
- "primordial",
251
- "sylvan",
252
- "terran",
253
- "thieves' cant",
254
- "undercommon"
228
+ "oneOf": [
229
+ {
230
+ "type": "string",
231
+ "enum": [
232
+ "abyssal",
233
+ "aquan",
234
+ "auran",
235
+ "celestial",
236
+ "common",
237
+ "common sign language",
238
+ "deep speech",
239
+ "draconic",
240
+ "druidic",
241
+ "dwarvish",
242
+ "elvish",
243
+ "giant",
244
+ "gith",
245
+ "gnomish",
246
+ "goblin",
247
+ "halfling",
248
+ "ignan",
249
+ "infernal",
250
+ "orc",
251
+ "other",
252
+ "primordial",
253
+ "sylvan",
254
+ "terran",
255
+ "thieves' cant",
256
+ "undercommon"
257
+ ]
258
+ }
255
259
  ]
256
260
  },
257
261
  "languageProficiencies": {
@@ -488,6 +492,9 @@
488
492
  "forgery kit": {
489
493
  "const": true
490
494
  },
495
+ "anyGamingSet": {
496
+ "type": "integer"
497
+ },
491
498
  "gaming set": {
492
499
  "const": true
493
500
  },
@@ -864,6 +871,9 @@
864
871
  "forgery kit": {
865
872
  "const": true
866
873
  },
874
+ "anyGamingSet": {
875
+ "type": "integer"
876
+ },
867
877
  "gaming set": {
868
878
  "const": true
869
879
  },
@@ -1097,123 +1107,6 @@
1097
1107
  "improvised": {
1098
1108
  "const": true
1099
1109
  },
1100
- "battleaxe|phb": {
1101
- "const": true
1102
- },
1103
- "club|phb": {
1104
- "const": true
1105
- },
1106
- "dagger|phb": {
1107
- "const": true
1108
- },
1109
- "flail|phb": {
1110
- "const": true
1111
- },
1112
- "glaive|phb": {
1113
- "const": true
1114
- },
1115
- "greataxe|phb": {
1116
- "const": true
1117
- },
1118
- "greatclub|phb": {
1119
- "const": true
1120
- },
1121
- "greatsword|phb": {
1122
- "const": true
1123
- },
1124
- "halberd|phb": {
1125
- "const": true
1126
- },
1127
- "handaxe|phb": {
1128
- "const": true
1129
- },
1130
- "javelin|phb": {
1131
- "const": true
1132
- },
1133
- "lance|phb": {
1134
- "const": true
1135
- },
1136
- "light hammer|phb": {
1137
- "const": true
1138
- },
1139
- "longsword|phb": {
1140
- "const": true
1141
- },
1142
- "mace|phb": {
1143
- "const": true
1144
- },
1145
- "maul|phb": {
1146
- "const": true
1147
- },
1148
- "morningstar|phb": {
1149
- "const": true
1150
- },
1151
- "pike|phb": {
1152
- "const": true
1153
- },
1154
- "quarterstaff|phb": {
1155
- "const": true
1156
- },
1157
- "rapier|phb": {
1158
- "const": true
1159
- },
1160
- "scimitar|phb": {
1161
- "const": true
1162
- },
1163
- "shortsword|phb": {
1164
- "const": true
1165
- },
1166
- "sickle|phb": {
1167
- "const": true
1168
- },
1169
- "spear|phb": {
1170
- "const": true
1171
- },
1172
- "staff|phb": {
1173
- "const": true
1174
- },
1175
- "trident|phb": {
1176
- "const": true
1177
- },
1178
- "war pick|phb": {
1179
- "const": true
1180
- },
1181
- "warhammer|phb": {
1182
- "const": true
1183
- },
1184
- "whip|phb": {
1185
- "const": true
1186
- },
1187
- "blowgun|phb": {
1188
- "const": true
1189
- },
1190
- "dart|phb": {
1191
- "const": true
1192
- },
1193
- "hand crossbow|phb": {
1194
- "const": true
1195
- },
1196
- "heavy crossbow|phb": {
1197
- "const": true
1198
- },
1199
- "light crossbow|phb": {
1200
- "const": true
1201
- },
1202
- "longbow|phb": {
1203
- "const": true
1204
- },
1205
- "net|phb": {
1206
- "const": true
1207
- },
1208
- "shortbow|phb": {
1209
- "const": true
1210
- },
1211
- "sling|phb": {
1212
- "const": true
1213
- },
1214
- "double-bladed scimitar|erlw": {
1215
- "const": true
1216
- },
1217
1110
  "choose": {
1218
1111
  "type": "object",
1219
1112
  "properties": {
@@ -1244,6 +1137,11 @@
1244
1137
  "additionalProperties": false
1245
1138
  }
1246
1139
  },
1140
+ "patternProperties": {
1141
+ "^[^|]+\\|.+$": {
1142
+ "const": true
1143
+ }
1144
+ },
1247
1145
  "additionalProperties": false
1248
1146
  },
1249
1147
  "uniqueItems": true,
@@ -1653,7 +1551,12 @@
1653
1551
  "additionalProperties": false
1654
1552
  }
1655
1553
  },
1656
- "additionalProperties": true
1554
+ "patternProperties": {
1555
+ "^[^|]+\\|.+$": {
1556
+ "const": true
1557
+ }
1558
+ },
1559
+ "additionalProperties": false
1657
1560
  }
1658
1561
  ]
1659
1562
  },