5etools-utils 0.4.7 → 0.4.8

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.1",
4
+ "version": "1.12.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "sharedData": {
@@ -29,7 +29,7 @@
29
29
  "$ref": "util.json#/$defs/reprintedAs"
30
30
  },
31
31
  "ability": {
32
- "$ref": "#/$defs/abilityScores"
32
+ "$ref": "util.json#/$defs/abilityScores"
33
33
  },
34
34
  "size": {
35
35
  "type": "array",
@@ -248,7 +248,7 @@
248
248
  "$ref": "util.json#/$defs/reprintedAs"
249
249
  },
250
250
  "ability": {
251
- "$ref": "#/$defs/abilityScores"
251
+ "$ref": "util.json#/$defs/abilityScores"
252
252
  },
253
253
  "size": {
254
254
  "type": "array",
@@ -480,82 +480,6 @@
480
480
  }
481
481
  ]
482
482
  },
483
- "abilityScores": {
484
- "type": "array",
485
- "items": {
486
- "type": "object",
487
- "properties": {
488
- "str": {
489
- "type": "integer"
490
- },
491
- "dex": {
492
- "type": "integer"
493
- },
494
- "con": {
495
- "type": "integer"
496
- },
497
- "int": {
498
- "type": "integer"
499
- },
500
- "wis": {
501
- "type": "integer"
502
- },
503
- "cha": {
504
- "type": "integer"
505
- },
506
- "choose": {
507
- "type": "object",
508
- "properties": {
509
- "from": {
510
- "type": "array",
511
- "items": {
512
- "enum": [
513
- "str",
514
- "dex",
515
- "con",
516
- "int",
517
- "wis",
518
- "cha"
519
- ]
520
- },
521
- "uniqueItems": true
522
- },
523
- "count": {
524
- "type": "integer"
525
- },
526
- "amount": {
527
- "type": "integer"
528
- },
529
- "weighted": {
530
- "type": "object",
531
- "properties": {
532
- "from": {
533
- "type": "array",
534
- "items": {
535
- "enum": [
536
- "str",
537
- "dex",
538
- "con",
539
- "int",
540
- "wis",
541
- "cha"
542
- ]
543
- },
544
- "uniqueItems": true
545
- },
546
- "weights": {
547
- "type": "array",
548
- "items": {
549
- "type": "integer"
550
- }
551
- }
552
- }
553
- }
554
- }
555
- }
556
- }
557
- }
558
- },
559
483
  "heightAndWeight": {
560
484
  "type": "object",
561
485
  "properties": {
@@ -634,7 +558,7 @@
634
558
  "$ref": "util.json#/$defs/reprintedAs"
635
559
  },
636
560
  "ability": {
637
- "$ref": "#/$defs/abilityScores"
561
+ "$ref": "util.json#/$defs/abilityScores"
638
562
  },
639
563
  "size": {
640
564
  "type": "array",
@@ -857,7 +781,7 @@
857
781
  "$ref": "util.json#/$defs/reprintedAs"
858
782
  },
859
783
  "ability": {
860
- "$ref": "#/$defs/abilityScores"
784
+ "$ref": "util.json#/$defs/abilityScores"
861
785
  },
862
786
  "size": {
863
787
  "type": "array",
@@ -1141,7 +1065,7 @@
1141
1065
  "$ref": "util.json#/$defs/reprintedAs"
1142
1066
  },
1143
1067
  "ability": {
1144
- "$ref": "#/$defs/abilityScores"
1068
+ "$ref": "util.json#/$defs/abilityScores"
1145
1069
  },
1146
1070
  "size": {
1147
1071
  "type": "array",
@@ -1375,7 +1299,7 @@
1375
1299
  "$ref": "util.json#/$defs/reprintedAs"
1376
1300
  },
1377
1301
  "ability": {
1378
- "$ref": "#/$defs/abilityScores"
1302
+ "$ref": "util.json#/$defs/abilityScores"
1379
1303
  },
1380
1304
  "size": {
1381
1305
  "type": "array",
@@ -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.13.4",
6
+ "version": "1.13.5",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -1191,6 +1191,91 @@
1191
1191
  "uniqueItems": true,
1192
1192
  "minItems": 1
1193
1193
  },
1194
+ "abilityScores": {
1195
+ "type": "array",
1196
+ "minItems": 1,
1197
+ "items": {
1198
+ "type": "object",
1199
+ "properties": {
1200
+ "str": {
1201
+ "type": "integer"
1202
+ },
1203
+ "dex": {
1204
+ "type": "integer"
1205
+ },
1206
+ "con": {
1207
+ "type": "integer"
1208
+ },
1209
+ "int": {
1210
+ "type": "integer"
1211
+ },
1212
+ "wis": {
1213
+ "type": "integer"
1214
+ },
1215
+ "cha": {
1216
+ "type": "integer"
1217
+ },
1218
+ "choose": {
1219
+ "type": "object",
1220
+ "properties": {
1221
+ "from": {
1222
+ "type": "array",
1223
+ "items": {
1224
+ "enum": [
1225
+ "str",
1226
+ "dex",
1227
+ "con",
1228
+ "int",
1229
+ "wis",
1230
+ "cha"
1231
+ ]
1232
+ },
1233
+ "uniqueItems": true
1234
+ },
1235
+ "count": {
1236
+ "type": "integer"
1237
+ },
1238
+ "amount": {
1239
+ "type": "integer"
1240
+ },
1241
+ "weighted": {
1242
+ "type": "object",
1243
+ "properties": {
1244
+ "from": {
1245
+ "type": "array",
1246
+ "items": {
1247
+ "enum": [
1248
+ "str",
1249
+ "dex",
1250
+ "con",
1251
+ "int",
1252
+ "wis",
1253
+ "cha"
1254
+ ]
1255
+ },
1256
+ "uniqueItems": true
1257
+ },
1258
+ "weights": {
1259
+ "type": "array",
1260
+ "items": {
1261
+ "type": "integer"
1262
+ }
1263
+ }
1264
+ }
1265
+ },
1266
+ "entry": {
1267
+ "$ref": "entry.json"
1268
+ }
1269
+ },
1270
+ "additionalProperties": false
1271
+ },
1272
+ "hidden": {
1273
+ "type": "boolean"
1274
+ }
1275
+ },
1276
+ "additionalProperties": false
1277
+ }
1278
+ },
1194
1279
  "additionalFeatsArray": {
1195
1280
  "type": "array",
1196
1281
  "items": {