Add drafts of JSON schemas

This commit is contained in:
Exter-N 2025-01-17 01:45:37 +01:00
parent df148b556a
commit a1931a93fb
4 changed files with 768 additions and 0 deletions

25
schemas/default_mod.json Normal file
View file

@ -0,0 +1,25 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/xivdev/Penumbra/master/schemas/container.json",
"allOf": [
{
"type": "object",
"properties": {
"Version": {
"description": "???",
"type": ["integer", "null"]
},
"Description": {
"description": "Description of the sub-mod.",
"type": ["string", "null"]
},
"Image": {
"description": "Unused by Penumbra.",
"type": ["string", "null"]
}
}
}, {
"$ref": "https://raw.githubusercontent.com/xivdev/Penumbra/master/schemas/container.json"
}
]
}