5etools-utils 0.9.4 → 0.9.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.9.4",
3
+ "version": "0.9.5",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1229,6 +1229,9 @@
1229
1229
  "items": {
1230
1230
  "type": "object",
1231
1231
  "properties": {
1232
+ "name": {
1233
+ "type": "string"
1234
+ },
1232
1235
  "value": {
1233
1236
  "type": "integer"
1234
1237
  },
@@ -2407,6 +2410,9 @@
2407
2410
  "items": {
2408
2411
  "type": "object",
2409
2412
  "properties": {
2413
+ "name": {
2414
+ "type": "string"
2415
+ },
2410
2416
  "value": {
2411
2417
  "type": "integer"
2412
2418
  },
@@ -3599,6 +3605,9 @@
3599
3605
  "items": {
3600
3606
  "type": "object",
3601
3607
  "properties": {
3608
+ "name": {
3609
+ "type": "string"
3610
+ },
3602
3611
  "value": {
3603
3612
  "type": "integer"
3604
3613
  },
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2431,6 +2431,9 @@
2431
2431
  },
2432
2432
  "note": {
2433
2433
  "type": "string"
2434
+ },
2435
+ "cond": {
2436
+ "const": true
2434
2437
  }
2435
2438
  },
2436
2439
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1229,6 +1229,9 @@
1229
1229
  "items": {
1230
1230
  "type": "object",
1231
1231
  "properties": {
1232
+ "name": {
1233
+ "type": "string"
1234
+ },
1232
1235
  "value": {
1233
1236
  "type": "integer"
1234
1237
  },
@@ -2407,6 +2410,9 @@
2407
2410
  "items": {
2408
2411
  "type": "object",
2409
2412
  "properties": {
2413
+ "name": {
2414
+ "type": "string"
2415
+ },
2410
2416
  "value": {
2411
2417
  "type": "integer"
2412
2418
  },
@@ -3599,6 +3605,9 @@
3599
3605
  "items": {
3600
3606
  "type": "object",
3601
3607
  "properties": {
3608
+ "name": {
3609
+ "type": "string"
3610
+ },
3602
3611
  "value": {
3603
3612
  "type": "integer"
3604
3613
  },
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2431,6 +2431,9 @@
2431
2431
  },
2432
2432
  "note": {
2433
2433
  "type": "string"
2434
+ },
2435
+ "cond": {
2436
+ "const": true
2434
2437
  }
2435
2438
  },
2436
2439
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2410,6 +2410,9 @@
2410
2410
  },
2411
2411
  "note": {
2412
2412
  "type": "string"
2413
+ },
2414
+ "cond": {
2415
+ "const": true
2413
2416
  }
2414
2417
  },
2415
2418
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2410,6 +2410,9 @@
2410
2410
  },
2411
2411
  "note": {
2412
2412
  "type": "string"
2413
+ },
2414
+ "cond": {
2415
+ "const": true
2413
2416
  }
2414
2417
  },
2415
2418
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2410,6 +2410,9 @@
2410
2410
  },
2411
2411
  "note": {
2412
2412
  "type": "string"
2413
+ },
2414
+ "cond": {
2415
+ "const": true
2413
2416
  }
2414
2417
  },
2415
2418
  "additionalProperties": false,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.18",
3
+ "version": "1.21.19",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -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.30",
6
+ "version": "1.13.31",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -2410,6 +2410,9 @@
2410
2410
  },
2411
2411
  "note": {
2412
2412
  "type": "string"
2413
+ },
2414
+ "cond": {
2415
+ "const": true
2413
2416
  }
2414
2417
  },
2415
2418
  "additionalProperties": false,
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }
@@ -1,85 +0,0 @@
1
- {
2
- "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.0.2",
4
- "$id": "traits.json",
5
- "type": "object",
6
- "$defs": {
7
- "trait": {
8
- "type": "object",
9
- "properties": {
10
- "name": {
11
- "type": "string"
12
- },
13
- "source": {
14
- "type": "string"
15
- },
16
- "page": {
17
- "$ref": "../util.json#/$defs/page"
18
- },
19
- "ref": {
20
- "type": "string"
21
- },
22
- "crMin": {
23
- "type": "string"
24
- },
25
- "crMax": {
26
- "type": "string"
27
- },
28
- "prerequisite": {
29
- "type": "object",
30
- "patternProperties": {
31
- "^.*$": {
32
- "oneOf": [
33
- {
34
- "type": "object",
35
- "properties": {
36
- "min": {},
37
- "max": {}
38
- },
39
- "additionalProperties": false
40
- },
41
- {
42
- "type": "object",
43
- "properties": {
44
- "oneOf": {
45
- "type": "array"
46
- }
47
- },
48
- "additionalProperties": false
49
- }
50
- ]
51
- }
52
- }
53
- },
54
- "apply": {
55
- "type": "object",
56
- "properties": {
57
- "_root": {
58
- "$ref": "bestiary.json#/$defs/creatureData"
59
- },
60
- "_mod": {
61
- "$ref": "../util.json#/$defs/_modObject"
62
- }
63
- }
64
- }
65
- },
66
- "additionalProperties": false,
67
- "required": [
68
- "name",
69
- "source",
70
- "apply"
71
- ]
72
- }
73
- },
74
- "properties": {
75
- "trait": {
76
- "type": "array",
77
- "minItems": 1,
78
- "uniqueItems": true,
79
- "items": {
80
- "$ref": "#/$defs/trait"
81
- }
82
- }
83
- },
84
- "additionalProperties": false
85
- }