5etools-utils 0.17.18 → 0.17.19

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": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.11.0",
6
+ "version": "1.11.1",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1149,175 +1149,358 @@
1149
1149
  "additionalProperties": false
1150
1150
  },
1151
1151
  "abilityGeneric": {
1152
- "type": "object",
1153
- "properties": {
1154
- "name": {
1155
- "type": "string"
1156
- },
1157
- "type": {
1158
- "type": "string",
1159
- "const": "abilityGeneric"
1160
- },
1161
- "source": {
1162
- "$ref": "util.json#/$defs/source"
1163
- },
1164
- "page": {
1165
- "$ref": "util.json#/$defs/page"
1166
- },
1167
- "data": {
1168
- "$ref": "#/$defs/_entryDataData"
1169
- },
1170
- "id": {
1171
- "type": "string"
1172
- },
1173
- "text": {
1174
- "type": "string"
1152
+ "anyOf": [
1153
+ {
1154
+ "type": "object",
1155
+ "deprecated": true,
1156
+ "properties": {
1157
+ "name": {
1158
+ "type": "string"
1159
+ },
1160
+ "type": {
1161
+ "type": "string",
1162
+ "const": "abilityGeneric"
1163
+ },
1164
+ "source": {
1165
+ "$ref": "util.json#/$defs/source"
1166
+ },
1167
+ "page": {
1168
+ "$ref": "util.json#/$defs/page"
1169
+ },
1170
+ "data": {
1171
+ "$ref": "#/$defs/_entryDataData"
1172
+ },
1173
+ "id": {
1174
+ "type": "string"
1175
+ },
1176
+ "text": {
1177
+ "type": "string"
1178
+ },
1179
+ "attributes": {
1180
+ "type": "array",
1181
+ "items": {
1182
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1183
+ }
1184
+ }
1185
+ },
1186
+ "required": [
1187
+ "type",
1188
+ "text"
1189
+ ],
1190
+ "additionalProperties": false
1175
1191
  },
1176
- "attributes": {
1177
- "type": "array",
1178
- "items": {
1179
- "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1180
- }
1192
+ {
1193
+ "type": "object",
1194
+ "properties": {
1195
+ "name": {
1196
+ "type": "string"
1197
+ },
1198
+ "type": {
1199
+ "type": "string",
1200
+ "const": "abilityGeneric"
1201
+ },
1202
+ "source": {
1203
+ "$ref": "util.json#/$defs/source"
1204
+ },
1205
+ "page": {
1206
+ "$ref": "util.json#/$defs/page"
1207
+ },
1208
+ "data": {
1209
+ "$ref": "#/$defs/_entryDataData"
1210
+ },
1211
+ "id": {
1212
+ "type": "string"
1213
+ },
1214
+ "entry": {
1215
+ "type": "string"
1216
+ },
1217
+ "attributes": {
1218
+ "type": "array",
1219
+ "items": {
1220
+ "$ref": "util.json#/$defs/abilityScoreAbbreviation"
1221
+ }
1222
+ }
1223
+ },
1224
+ "required": [
1225
+ "type",
1226
+ "entry"
1227
+ ],
1228
+ "additionalProperties": false
1181
1229
  }
1182
- },
1183
- "required": [
1184
- "type",
1185
- "text"
1186
1230
  ],
1187
- "additionalProperties": false
1231
+ "$comment": "Ditto \"entryStatblockInline\"."
1188
1232
  },
1189
1233
  "entryLink": {
1190
- "type": "object",
1191
- "properties": {
1192
- "name": {
1193
- "type": "string"
1194
- },
1195
- "type": {
1196
- "type": "string",
1197
- "const": "link"
1198
- },
1199
- "source": {
1200
- "$ref": "util.json#/$defs/source"
1201
- },
1202
- "page": {
1203
- "$ref": "util.json#/$defs/page"
1204
- },
1205
- "data": {
1206
- "$ref": "#/$defs/_entryDataData"
1207
- },
1208
- "id": {
1209
- "type": "string"
1210
- },
1211
- "text": {
1212
- "type": "string"
1213
- },
1214
- "href": {
1215
- "oneOf": [
1216
- {
1217
- "type": "object",
1218
- "properties": {
1219
- "type": {
1220
- "const": "internal"
1221
- },
1222
- "path": {
1223
- "type": "string"
1224
- },
1225
- "hash": {
1226
- "type": "string"
1227
- },
1228
- "hashPreEncoded": {
1229
- "type": "boolean"
1230
- },
1231
- "subhashes": {
1232
- "type": "array",
1233
- "items": {
1234
- "oneOf": [
1235
- {
1236
- "type": "object",
1237
- "properties": {
1238
- "key": {
1239
- "type": "string"
1240
- },
1241
- "values": {
1242
- "type": "array",
1243
- "items": {
1244
- "type": "string"
1245
- }
1234
+ "anyOf": [
1235
+ {
1236
+ "type": "object",
1237
+ "deprecated": true,
1238
+ "properties": {
1239
+ "name": {
1240
+ "type": "string"
1241
+ },
1242
+ "type": {
1243
+ "type": "string",
1244
+ "const": "link"
1245
+ },
1246
+ "source": {
1247
+ "$ref": "util.json#/$defs/source"
1248
+ },
1249
+ "page": {
1250
+ "$ref": "util.json#/$defs/page"
1251
+ },
1252
+ "data": {
1253
+ "$ref": "#/$defs/_entryDataData"
1254
+ },
1255
+ "id": {
1256
+ "type": "string"
1257
+ },
1258
+ "text": {
1259
+ "type": "string"
1260
+ },
1261
+ "href": {
1262
+ "oneOf": [
1263
+ {
1264
+ "type": "object",
1265
+ "properties": {
1266
+ "type": {
1267
+ "const": "internal"
1268
+ },
1269
+ "path": {
1270
+ "type": "string"
1271
+ },
1272
+ "hash": {
1273
+ "type": "string"
1274
+ },
1275
+ "hashPreEncoded": {
1276
+ "type": "boolean"
1277
+ },
1278
+ "subhashes": {
1279
+ "type": "array",
1280
+ "items": {
1281
+ "oneOf": [
1282
+ {
1283
+ "type": "object",
1284
+ "properties": {
1285
+ "key": {
1286
+ "type": "string"
1287
+ },
1288
+ "values": {
1289
+ "type": "array",
1290
+ "items": {
1291
+ "type": "string"
1292
+ }
1293
+ },
1294
+ "preEncoded": {
1295
+ "type": "boolean"
1296
+ }
1297
+ },
1298
+ "required": [
1299
+ "key",
1300
+ "values"
1301
+ ],
1302
+ "additionalProperties": false
1246
1303
  },
1247
- "preEncoded": {
1248
- "type": "boolean"
1304
+ {
1305
+ "type": "object",
1306
+ "properties": {
1307
+ "key": {
1308
+ "type": "string"
1309
+ },
1310
+ "value": {
1311
+ "type": "string"
1312
+ },
1313
+ "preEncoded": {
1314
+ "type": "boolean"
1315
+ }
1316
+ },
1317
+ "required": [
1318
+ "key",
1319
+ "value"
1320
+ ],
1321
+ "additionalProperties": false
1249
1322
  }
1323
+ ]
1324
+ }
1325
+ },
1326
+ "hover": {
1327
+ "type": "object",
1328
+ "properties": {
1329
+ "page": {
1330
+ "$ref": "util.json#/$defs/page"
1250
1331
  },
1251
- "required": [
1252
- "key",
1253
- "values"
1254
- ],
1255
- "additionalProperties": false
1256
- },
1257
- {
1258
- "type": "object",
1259
- "properties": {
1260
- "key": {
1261
- "type": "string"
1262
- },
1263
- "value": {
1264
- "type": "string"
1265
- },
1266
- "preEncoded": {
1267
- "type": "boolean"
1268
- }
1332
+ "source": {
1333
+ "$ref": "util.json#/$defs/source"
1269
1334
  },
1270
- "required": [
1271
- "key",
1272
- "value"
1273
- ],
1274
- "additionalProperties": false
1275
- }
1276
- ]
1277
- }
1335
+ "hash": {
1336
+ "description": "Optional; overrides the href hash for hover handlers.",
1337
+ "type": "string",
1338
+ "markdownDescription": "Optional; overrides the href hash for hover handlers."
1339
+ },
1340
+ "hashPreEncoded": {
1341
+ "type": "boolean"
1342
+ }
1343
+ },
1344
+ "additionalProperties": false,
1345
+ "required": [
1346
+ "page",
1347
+ "source"
1348
+ ]
1349
+ }
1350
+ },
1351
+ "required": [
1352
+ "path"
1353
+ ],
1354
+ "additionalProperties": false
1278
1355
  },
1279
- "hover": {
1356
+ {
1357
+ "$ref": "#/$defs/mediaHrefExternal"
1358
+ }
1359
+ ]
1360
+ }
1361
+ },
1362
+ "required": [
1363
+ "type",
1364
+ "text",
1365
+ "href"
1366
+ ],
1367
+ "additionalProperties": false
1368
+ },
1369
+ {
1370
+ "type": "object",
1371
+ "properties": {
1372
+ "name": {
1373
+ "type": "string"
1374
+ },
1375
+ "type": {
1376
+ "type": "string",
1377
+ "const": "link"
1378
+ },
1379
+ "source": {
1380
+ "$ref": "util.json#/$defs/source"
1381
+ },
1382
+ "page": {
1383
+ "$ref": "util.json#/$defs/page"
1384
+ },
1385
+ "data": {
1386
+ "$ref": "#/$defs/_entryDataData"
1387
+ },
1388
+ "id": {
1389
+ "type": "string"
1390
+ },
1391
+ "entry": {
1392
+ "type": "string"
1393
+ },
1394
+ "href": {
1395
+ "oneOf": [
1396
+ {
1280
1397
  "type": "object",
1281
1398
  "properties": {
1282
- "page": {
1283
- "$ref": "util.json#/$defs/page"
1399
+ "type": {
1400
+ "const": "internal"
1284
1401
  },
1285
- "source": {
1286
- "$ref": "util.json#/$defs/source"
1402
+ "path": {
1403
+ "type": "string"
1287
1404
  },
1288
1405
  "hash": {
1289
- "description": "Optional; overrides the href hash for hover handlers.",
1290
- "type": "string",
1291
- "markdownDescription": "Optional; overrides the href hash for hover handlers."
1406
+ "type": "string"
1292
1407
  },
1293
1408
  "hashPreEncoded": {
1294
1409
  "type": "boolean"
1410
+ },
1411
+ "subhashes": {
1412
+ "type": "array",
1413
+ "items": {
1414
+ "oneOf": [
1415
+ {
1416
+ "type": "object",
1417
+ "properties": {
1418
+ "key": {
1419
+ "type": "string"
1420
+ },
1421
+ "values": {
1422
+ "type": "array",
1423
+ "items": {
1424
+ "type": "string"
1425
+ }
1426
+ },
1427
+ "preEncoded": {
1428
+ "type": "boolean"
1429
+ }
1430
+ },
1431
+ "required": [
1432
+ "key",
1433
+ "values"
1434
+ ],
1435
+ "additionalProperties": false
1436
+ },
1437
+ {
1438
+ "type": "object",
1439
+ "properties": {
1440
+ "key": {
1441
+ "type": "string"
1442
+ },
1443
+ "value": {
1444
+ "type": "string"
1445
+ },
1446
+ "preEncoded": {
1447
+ "type": "boolean"
1448
+ }
1449
+ },
1450
+ "required": [
1451
+ "key",
1452
+ "value"
1453
+ ],
1454
+ "additionalProperties": false
1455
+ }
1456
+ ]
1457
+ }
1458
+ },
1459
+ "hover": {
1460
+ "type": "object",
1461
+ "properties": {
1462
+ "page": {
1463
+ "$ref": "util.json#/$defs/page"
1464
+ },
1465
+ "source": {
1466
+ "$ref": "util.json#/$defs/source"
1467
+ },
1468
+ "hash": {
1469
+ "description": "Optional; overrides the href hash for hover handlers.",
1470
+ "type": "string",
1471
+ "markdownDescription": "Optional; overrides the href hash for hover handlers."
1472
+ },
1473
+ "hashPreEncoded": {
1474
+ "type": "boolean"
1475
+ }
1476
+ },
1477
+ "additionalProperties": false,
1478
+ "required": [
1479
+ "page",
1480
+ "source"
1481
+ ]
1295
1482
  }
1296
1483
  },
1297
- "additionalProperties": false,
1298
1484
  "required": [
1299
- "page",
1300
- "source"
1301
- ]
1485
+ "path"
1486
+ ],
1487
+ "additionalProperties": false
1488
+ },
1489
+ {
1490
+ "$ref": "#/$defs/mediaHrefExternal"
1302
1491
  }
1303
- },
1304
- "required": [
1305
- "path"
1306
- ],
1307
- "additionalProperties": false
1308
- },
1309
- {
1310
- "$ref": "#/$defs/mediaHrefExternal"
1492
+ ]
1311
1493
  }
1312
- ]
1494
+ },
1495
+ "required": [
1496
+ "type",
1497
+ "entry",
1498
+ "href"
1499
+ ],
1500
+ "additionalProperties": false
1313
1501
  }
1314
- },
1315
- "required": [
1316
- "type",
1317
- "text",
1318
- "href"
1319
1502
  ],
1320
- "additionalProperties": false
1503
+ "$comment": "Ditto \"entryStatblockInline\"."
1321
1504
  },
1322
1505
  "entryOptFeature": {
1323
1506
  "description": "For e.g. Eldritch Invocations which require prerequisite text. Deprecated; prefer \"refOptionalfeature\" or \"statblock\" entries instead.",