Skip to content

Commit

Permalink
fix: require entry types
Browse files Browse the repository at this point in the history
  • Loading branch information
TheGiddyLimit committed Nov 21, 2022
1 parent 816056b commit 4d24642
Show file tree
Hide file tree
Showing 201 changed files with 13,755 additions and 6,922 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
.vs/
node_modules/
scratch/
_scratch/
2 changes: 2 additions & 0 deletions _schema-fast/bestiary/bestiary.json
Original file line number Diff line number Diff line change
Expand Up @@ -3512,6 +3512,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -3615,6 +3616,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down
59 changes: 55 additions & 4 deletions _schema-fast/entry.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@
"id": {
"type": "string"
}
}
},
"required": [
"type"
]
},
"entrySection": {
"type": "object",
Expand Down Expand Up @@ -144,6 +147,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -191,6 +195,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -245,6 +250,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -286,6 +292,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -327,6 +334,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -375,6 +383,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -483,6 +492,7 @@
}
},
"required": [
"type",
"rows"
],
"additionalProperties": false
Expand Down Expand Up @@ -525,6 +535,7 @@
}
},
"required": [
"type",
"tables"
],
"additionalProperties": false
Expand Down Expand Up @@ -569,6 +580,7 @@
}
},
"required": [
"type",
"row"
],
"additionalProperties": false
Expand Down Expand Up @@ -647,6 +659,9 @@
"$ref": "#"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"entryList": {
Expand Down Expand Up @@ -702,6 +717,7 @@
}
},
"required": [
"type",
"items"
],
"additionalProperties": false
Expand Down Expand Up @@ -740,6 +756,7 @@
}
},
"required": [
"type",
"value"
],
"additionalProperties": false
Expand Down Expand Up @@ -778,6 +795,7 @@
}
},
"required": [
"type",
"value"
],
"additionalProperties": false
Expand Down Expand Up @@ -841,6 +859,9 @@
"type": "boolean"
}
},
"required": [
"type"
],
"additionalProperties": false
},
"entryAbilityDc": {
Expand Down Expand Up @@ -889,6 +910,7 @@
}
},
"required": [
"type",
"name",
"attributes"
],
Expand Down Expand Up @@ -940,6 +962,7 @@
}
},
"required": [
"type",
"name",
"attributes"
],
Expand Down Expand Up @@ -993,6 +1016,7 @@
}
},
"required": [
"type",
"text"
],
"additionalProperties": false
Expand Down Expand Up @@ -1142,6 +1166,7 @@
}
},
"required": [
"type",
"text",
"href"
],
Expand Down Expand Up @@ -1188,6 +1213,7 @@
}
},
"required": [
"type",
"name"
],
"additionalProperties": false
Expand Down Expand Up @@ -1232,6 +1258,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -1276,6 +1303,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -1317,6 +1345,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -1359,6 +1388,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -1401,6 +1431,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -1448,6 +1479,7 @@
}
},
"required": [
"type",
"entry"
],
"additionalProperties": false
Expand Down Expand Up @@ -1495,6 +1527,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down Expand Up @@ -1538,6 +1571,7 @@
}
},
"required": [
"type",
"name",
"entry"
],
Expand Down Expand Up @@ -1577,6 +1611,7 @@
}
},
"required": [
"type",
"name",
"entry"
],
Expand Down Expand Up @@ -1750,6 +1785,7 @@
}
},
"required": [
"type",
"href"
],
"additionalProperties": false
Expand Down Expand Up @@ -1791,6 +1827,7 @@
}
},
"required": [
"type",
"images"
],
"additionalProperties": false
Expand Down Expand Up @@ -1832,6 +1869,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -1888,6 +1926,7 @@
}
},
"required": [
"type",
"attackType",
"attackEntries",
"hitEntries"
Expand Down Expand Up @@ -1931,6 +1970,7 @@
}
},
"required": [
"type",
"blocks"
],
"additionalProperties": false
Expand Down Expand Up @@ -1971,6 +2011,9 @@
}
}
},
"required": [
"type"
],
"additionalProperties": false
},
"entryIngredient": {
Expand Down Expand Up @@ -2006,14 +2049,15 @@
"$ref": "#"
}
},
"required": [
"type",
"entry"
],
"patternProperties": {
"^amount\\d+$": {
"type": "number"
}
},
"required": [
"entry"
],
"additionalProperties": false
},
"entryStatblockInline": {
Expand Down Expand Up @@ -2822,6 +2866,7 @@
}
},
"required": [
"type",
"tag",
"name"
],
Expand Down Expand Up @@ -2873,6 +2918,7 @@
}
},
"required": [
"type",
"prop",
"name",
"source"
Expand Down Expand Up @@ -3097,6 +3143,7 @@
}
},
"required": [
"type",
"name"
],
"additionalProperties": false
Expand Down Expand Up @@ -3215,6 +3262,7 @@
"wrapped": {}
},
"required": [
"type",
"wrapped"
],
"additionalProperties": false
Expand Down Expand Up @@ -3344,6 +3392,9 @@
}
}
},
"required": [
"type"
],
"additionalProperties": false
}
},
Expand Down
2 changes: 2 additions & 0 deletions _schema/bestiary/bestiary.json
Original file line number Diff line number Diff line change
Expand Up @@ -3512,6 +3512,7 @@
}
},
"required": [
"type",
"name",
"entries"
],
Expand Down Expand Up @@ -3615,6 +3616,7 @@
}
},
"required": [
"type",
"entries"
],
"additionalProperties": false
Expand Down
Loading

0 comments on commit 4d24642

Please sign in to comment.