5etools-utils 0.10.4 → 0.10.6

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": "deities.json",
4
- "version": "1.2.7",
4
+ "version": "1.2.8",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "deityData": {
@@ -26,6 +26,7 @@
26
26
  "pantheon": {
27
27
  "type": "string",
28
28
  "enum": [
29
+ "Amaranthine",
29
30
  "Celtic",
30
31
  "Dawn War",
31
32
  "Dragonlance",
@@ -62,6 +63,7 @@
62
63
  "type": "string",
63
64
  "enum": [
64
65
  "Arcana",
66
+ "Community",
65
67
  "Death",
66
68
  "Forge",
67
69
  "Grave",
@@ -70,6 +72,7 @@
70
72
  "Light",
71
73
  "Moon",
72
74
  "Nature",
75
+ "Night",
73
76
  "Order",
74
77
  "Peace",
75
78
  "Tempest",
@@ -87,6 +90,9 @@
87
90
  "symbol": {
88
91
  "type": "string"
89
92
  },
93
+ "dogma": {
94
+ "type": "string"
95
+ },
90
96
  "source": {
91
97
  "$ref": "util.json#/$defs/source"
92
98
  },
@@ -156,6 +162,7 @@
156
162
  "pantheon": {
157
163
  "type": "string",
158
164
  "enum": [
165
+ "Amaranthine",
159
166
  "Celtic",
160
167
  "Dawn War",
161
168
  "Dragonlance",
@@ -192,6 +199,7 @@
192
199
  "type": "string",
193
200
  "enum": [
194
201
  "Arcana",
202
+ "Community",
195
203
  "Death",
196
204
  "Forge",
197
205
  "Grave",
@@ -200,6 +208,7 @@
200
208
  "Light",
201
209
  "Moon",
202
210
  "Nature",
211
+ "Night",
203
212
  "Order",
204
213
  "Peace",
205
214
  "Tempest",
@@ -217,6 +226,9 @@
217
226
  "symbol": {
218
227
  "type": "string"
219
228
  },
229
+ "dogma": {
230
+ "type": "string"
231
+ },
220
232
  "source": {
221
233
  "$ref": "util.json#/$defs/source"
222
234
  },
@@ -289,6 +301,7 @@
289
301
  "pantheon": {
290
302
  "type": "string",
291
303
  "enum": [
304
+ "Amaranthine",
292
305
  "Celtic",
293
306
  "Dawn War",
294
307
  "Dragonlance",
@@ -325,6 +338,7 @@
325
338
  "type": "string",
326
339
  "enum": [
327
340
  "Arcana",
341
+ "Community",
328
342
  "Death",
329
343
  "Forge",
330
344
  "Grave",
@@ -333,6 +347,7 @@
333
347
  "Light",
334
348
  "Moon",
335
349
  "Nature",
350
+ "Night",
336
351
  "Order",
337
352
  "Peace",
338
353
  "Tempest",
@@ -350,6 +365,9 @@
350
365
  "symbol": {
351
366
  "type": "string"
352
367
  },
368
+ "dogma": {
369
+ "type": "string"
370
+ },
353
371
  "source": {
354
372
  "$ref": "util.json#/$defs/source"
355
373
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.17",
6
+ "version": "1.8.18",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -37,37 +37,46 @@
37
37
  "inset"
38
38
  ]
39
39
  },
40
+ "mediaHrefInternal": {
41
+ "type": "object",
42
+ "properties": {
43
+ "type": {
44
+ "const": "internal"
45
+ },
46
+ "path": {
47
+ "type": "string"
48
+ }
49
+ },
50
+ "required": [
51
+ "path"
52
+ ],
53
+ "additionalProperties": false
54
+ },
55
+ "mediaHrefExternal": {
56
+ "type": "object",
57
+ "properties": {
58
+ "type": {
59
+ "const": "external"
60
+ },
61
+ "url": {
62
+ "type": "string",
63
+ "description": "\"uri-reference\" is unsuitable for brew, as it requires URL-encoding \"'\" (see: https://www.ietf.org/rfc/rfc3986.txt)",
64
+ "format": "uri-reference",
65
+ "pattern": "^https?://"
66
+ }
67
+ },
68
+ "required": [
69
+ "url"
70
+ ],
71
+ "additionalProperties": false
72
+ },
40
73
  "mediaHref": {
41
74
  "oneOf": [
42
75
  {
43
- "type": "object",
44
- "properties": {
45
- "type": {
46
- "const": "internal"
47
- },
48
- "path": {
49
- "type": "string"
50
- }
51
- },
52
- "required": [
53
- "path"
54
- ],
55
- "additionalProperties": false
76
+ "$ref": "#/$defs/mediaHrefInternal"
56
77
  },
57
78
  {
58
- "type": "object",
59
- "properties": {
60
- "type": {
61
- "const": "external"
62
- },
63
- "url": {
64
- "$ref": "util.json#/$defs/url"
65
- }
66
- },
67
- "required": [
68
- "url"
69
- ],
70
- "additionalProperties": false
79
+ "$ref": "#/$defs/mediaHrefExternal"
71
80
  }
72
81
  ]
73
82
  },
@@ -1280,19 +1289,7 @@
1280
1289
  "additionalProperties": false
1281
1290
  },
1282
1291
  {
1283
- "type": "object",
1284
- "properties": {
1285
- "type": {
1286
- "const": "external"
1287
- },
1288
- "url": {
1289
- "$ref": "util.json#/$defs/url"
1290
- }
1291
- },
1292
- "required": [
1293
- "url"
1294
- ],
1295
- "additionalProperties": false
1292
+ "$ref": "#/$defs/mediaHrefExternal"
1296
1293
  }
1297
1294
  ]
1298
1295
  }
@@ -156,7 +156,7 @@
156
156
  "itemType": {
157
157
  "type": "string",
158
158
  "$comment": "Dumped from `Object(Parser.ITEM_TYPE_JSON_TO_ABV)`",
159
- "description": "$: Treasure\n $A: Treasure (Art Object)\n $A: Treasure (Coinage)\n $G: Treasure (Gemstone)\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
159
+ "description": "$: Treasure\n $A: Treasure (Art Object)\n $C: Treasure (Coinage)\n $G: Treasure (Gemstone)\n A: Ammunition\n AF: Ammunition (futuristic)\n AIR: Vehicle (air)\n AT: Artisan Tool\n EM: Eldritch Machine\n EXP: Explosive\n FD: Food and Drink\n G: Adventuring Gear\n GS: Gaming Set\n GV: Generic Variant\n HA: Heavy Armor\n IDG: Illegal Drug\n INS: Instrument\n LA: Light Armor\n M: Melee Weapon\n MA: Medium Armor\n MNT: Mount\n MR: Master Rune \n OTH: Other\n P: Potion\n R: Ranged Weapon\n RD: Rod\n RG: Ring\n S: Shield\n SC: Scroll\n SCF: Spellcasting Focus\n SHP: Vehicle (water)\n SPC: Vehicle (space)\n T: Tool\n TAH: Tack and Harness\n TG: Trade Good\n VEH: Vehicle (land)\n WD: Wand",
160
160
  "enum": [
161
161
  "$",
162
162
  "$A",