5etools-utils 0.16.29 → 0.16.30

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.16.29",
3
+ "version": "0.16.30",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "corpus-shared.json",
4
- "version": "1.0.2",
4
+ "version": "1.0.3",
5
5
  "$defs": {
6
6
  "corpusCover": {
7
7
  "description": "A link to an image. Preferred sizes are 300 x 300px or 600 x 600px.",
@@ -32,11 +32,17 @@
32
32
  {
33
33
  "type": "object",
34
34
  "properties": {
35
+ "header": {
36
+ "type": "string"
37
+ },
38
+ "source": {
39
+ "$ref": "util.json#/$defs/source"
40
+ },
35
41
  "depth": {
36
42
  "type": "integer"
37
43
  },
38
- "header": {
39
- "type": "string"
44
+ "statblock": {
45
+ "const": true
40
46
  },
41
47
  "index": {
42
48
  "description": "The relative index of this header in the current chapter, i.e. if \"Treasure\" appears twice and you wish the contents entry to link to the second instance, set the \"index\" to 1.",
@@ -44,6 +50,7 @@
44
50
  "markdownDescription": "The relative index of this header in the current chapter, i.e. if "Treasure" appears twice and you wish the contents entry to link to the second instance, set the "index" to 1."
45
51
  }
46
52
  },
53
+ "additionalProperties": false,
47
54
  "required": [
48
55
  "header"
49
56
  ]