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.
@@ -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",
@@ -1201,6 +1201,91 @@
1201
1201
  "uniqueItems": true,
1202
1202
  "minItems": 1
1203
1203
  },
1204
+ "abilityScores": {
1205
+ "type": "array",
1206
+ "minItems": 1,
1207
+ "items": {
1208
+ "type": "object",
1209
+ "properties": {
1210
+ "str": {
1211
+ "type": "integer"
1212
+ },
1213
+ "dex": {
1214
+ "type": "integer"
1215
+ },
1216
+ "con": {
1217
+ "type": "integer"
1218
+ },
1219
+ "int": {
1220
+ "type": "integer"
1221
+ },
1222
+ "wis": {
1223
+ "type": "integer"
1224
+ },
1225
+ "cha": {
1226
+ "type": "integer"
1227
+ },
1228
+ "choose": {
1229
+ "type": "object",
1230
+ "properties": {
1231
+ "from": {
1232
+ "type": "array",
1233
+ "items": {
1234
+ "enum": [
1235
+ "str",
1236
+ "dex",
1237
+ "con",
1238
+ "int",
1239
+ "wis",
1240
+ "cha"
1241
+ ]
1242
+ },
1243
+ "uniqueItems": true
1244
+ },
1245
+ "count": {
1246
+ "type": "integer"
1247
+ },
1248
+ "amount": {
1249
+ "type": "integer"
1250
+ },
1251
+ "weighted": {
1252
+ "type": "object",
1253
+ "properties": {
1254
+ "from": {
1255
+ "type": "array",
1256
+ "items": {
1257
+ "enum": [
1258
+ "str",
1259
+ "dex",
1260
+ "con",
1261
+ "int",
1262
+ "wis",
1263
+ "cha"
1264
+ ]
1265
+ },
1266
+ "uniqueItems": true
1267
+ },
1268
+ "weights": {
1269
+ "type": "array",
1270
+ "items": {
1271
+ "type": "integer"
1272
+ }
1273
+ }
1274
+ }
1275
+ },
1276
+ "entry": {
1277
+ "$ref": "entry.json"
1278
+ }
1279
+ },
1280
+ "additionalProperties": false
1281
+ },
1282
+ "hidden": {
1283
+ "type": "boolean"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false
1287
+ }
1288
+ },
1204
1289
  "additionalFeatsArray": {
1205
1290
  "type": "array",
1206
1291
  "items": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "backgrounds.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "backgroundData": {
@@ -55,6 +55,9 @@
55
55
  "additionalSpells": {
56
56
  "$ref": "util.json#/$defs/additionalSpellsArray"
57
57
  },
58
+ "ability": {
59
+ "$ref": "util.json#/$defs/abilityScores"
60
+ },
58
61
  "fromFeature": {
59
62
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
60
63
  "type": "object",
@@ -127,6 +130,9 @@
127
130
  "additionalSpells": {
128
131
  "$ref": "util.json#/$defs/additionalSpellsArray"
129
132
  },
133
+ "ability": {
134
+ "$ref": "util.json#/$defs/abilityScores"
135
+ },
130
136
  "fromFeature": {
131
137
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
132
138
  "type": "object",
@@ -203,6 +209,9 @@
203
209
  "additionalSpells": {
204
210
  "$ref": "util.json#/$defs/additionalSpellsArray"
205
211
  },
212
+ "ability": {
213
+ "$ref": "util.json#/$defs/abilityScores"
214
+ },
206
215
  "fromFeature": {
207
216
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
208
217
  "type": "object",
@@ -29,89 +29,7 @@
29
29
  }
30
30
  },
31
31
  "ability": {
32
- "type": "array",
33
- "minItems": 1,
34
- "items": {
35
- "type": "object",
36
- "properties": {
37
- "str": {
38
- "type": "integer"
39
- },
40
- "dex": {
41
- "type": "integer"
42
- },
43
- "con": {
44
- "type": "integer"
45
- },
46
- "int": {
47
- "type": "integer"
48
- },
49
- "wis": {
50
- "type": "integer"
51
- },
52
- "cha": {
53
- "type": "integer"
54
- },
55
- "choose": {
56
- "type": "object",
57
- "properties": {
58
- "from": {
59
- "type": "array",
60
- "items": {
61
- "enum": [
62
- "str",
63
- "dex",
64
- "con",
65
- "int",
66
- "wis",
67
- "cha"
68
- ]
69
- },
70
- "uniqueItems": true
71
- },
72
- "count": {
73
- "type": "integer"
74
- },
75
- "amount": {
76
- "type": "integer"
77
- },
78
- "weighted": {
79
- "type": "object",
80
- "properties": {
81
- "from": {
82
- "type": "array",
83
- "items": {
84
- "enum": [
85
- "str",
86
- "dex",
87
- "con",
88
- "int",
89
- "wis",
90
- "cha"
91
- ]
92
- },
93
- "uniqueItems": true
94
- },
95
- "weights": {
96
- "type": "array",
97
- "items": {
98
- "type": "integer"
99
- }
100
- }
101
- }
102
- },
103
- "entry": {
104
- "$ref": "entry.json"
105
- }
106
- },
107
- "additionalProperties": false
108
- },
109
- "hidden": {
110
- "type": "boolean"
111
- }
112
- },
113
- "additionalProperties": false
114
- }
32
+ "$ref": "util.json#/$defs/abilityScores"
115
33
  },
116
34
  "srd": {
117
35
  "$ref": "util.json#/$defs/srd"
@@ -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": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "backgrounds.json",
4
- "version": "1.3.1",
4
+ "version": "1.3.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "backgroundData": {
@@ -55,6 +55,9 @@
55
55
  "additionalSpells": {
56
56
  "$ref": "util.json#/$defs/additionalSpellsArray"
57
57
  },
58
+ "ability": {
59
+ "$ref": "util.json#/$defs/abilityScores"
60
+ },
58
61
  "fromFeature": {
59
62
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
60
63
  "type": "object",
@@ -127,6 +130,9 @@
127
130
  "additionalSpells": {
128
131
  "$ref": "util.json#/$defs/additionalSpellsArray"
129
132
  },
133
+ "ability": {
134
+ "$ref": "util.json#/$defs/abilityScores"
135
+ },
130
136
  "fromFeature": {
131
137
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
132
138
  "type": "object",
@@ -203,6 +209,9 @@
203
209
  "additionalSpells": {
204
210
  "$ref": "util.json#/$defs/additionalSpellsArray"
205
211
  },
212
+ "ability": {
213
+ "$ref": "util.json#/$defs/abilityScores"
214
+ },
206
215
  "fromFeature": {
207
216
  "description": "A lookup of other properties which should be tied to the \"Feature: ...\" entry. This is used when e.g. customizing a background during import to a VTT.",
208
217
  "type": "object",
@@ -29,89 +29,7 @@
29
29
  }
30
30
  },
31
31
  "ability": {
32
- "type": "array",
33
- "minItems": 1,
34
- "items": {
35
- "type": "object",
36
- "properties": {
37
- "str": {
38
- "type": "integer"
39
- },
40
- "dex": {
41
- "type": "integer"
42
- },
43
- "con": {
44
- "type": "integer"
45
- },
46
- "int": {
47
- "type": "integer"
48
- },
49
- "wis": {
50
- "type": "integer"
51
- },
52
- "cha": {
53
- "type": "integer"
54
- },
55
- "choose": {
56
- "type": "object",
57
- "properties": {
58
- "from": {
59
- "type": "array",
60
- "items": {
61
- "enum": [
62
- "str",
63
- "dex",
64
- "con",
65
- "int",
66
- "wis",
67
- "cha"
68
- ]
69
- },
70
- "uniqueItems": true
71
- },
72
- "count": {
73
- "type": "integer"
74
- },
75
- "amount": {
76
- "type": "integer"
77
- },
78
- "weighted": {
79
- "type": "object",
80
- "properties": {
81
- "from": {
82
- "type": "array",
83
- "items": {
84
- "enum": [
85
- "str",
86
- "dex",
87
- "con",
88
- "int",
89
- "wis",
90
- "cha"
91
- ]
92
- },
93
- "uniqueItems": true
94
- },
95
- "weights": {
96
- "type": "array",
97
- "items": {
98
- "type": "integer"
99
- }
100
- }
101
- }
102
- },
103
- "entry": {
104
- "$ref": "entry.json"
105
- }
106
- },
107
- "additionalProperties": false
108
- },
109
- "hidden": {
110
- "type": "boolean"
111
- }
112
- },
113
- "additionalProperties": false
114
- }
32
+ "$ref": "util.json#/$defs/abilityScores"
115
33
  },
116
34
  "srd": {
117
35
  "$ref": "util.json#/$defs/srd"