diff options
| author | William Hergès <anhgelus@anhgelus.world> | 2024-12-10 20:47:56 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-10 20:47:56 +0100 |
| commit | 0149f9905c2830441d9ccfeccbb02e4ebf60a0d8 (patch) | |
| tree | 52ffaeaea8534a2f4771a2c8a353b37f6a97f566 /config.schema.json | |
| parent | 730ec347582289efbc0cd1c48e4c243d4c4920d6 (diff) | |
| parent | 40fe301b5462b84e06747ff30add26b4259d38a4 (diff) | |
Merge pull request #1 from anhgelus/feat/custom-page
[Feat] Custom page
Diffstat (limited to 'config.schema.json')
| -rw-r--r-- | config.schema.json | 193 |
1 files changed, 193 insertions, 0 deletions
diff --git a/config.schema.json b/config.schema.json new file mode 100644 index 0000000..9b325c3 --- /dev/null +++ b/config.schema.json @@ -0,0 +1,193 @@ +{ + "type": "object", + "properties": { + "colors": { + "type": "object", + "properties": { + "background": { + "type": "object", + "properties": { + "angle": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 359 + }, + "colors": { + "type": "array", + "items": { + "type": "object", + "properties": { + "color": { + "type": "string" + }, + "position": { + "type": "integer", + "format": "int32", + "minimum": 0, + "maximum": 100 + } + }, + "additionalProperties": false, + "required": [ + "color", + "position" + ] + } + }, + "type": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "type", + "angle", + "colors" + ] + }, + "buttons": { + "type": "object", + "properties": { + "background": { + "type": "string" + }, + "background_hover": { + "type": "string" + }, + "text": { + "type": "string" + }, + "text_hover": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "text", + "text_hover", + "background", + "background_hover" + ] + }, + "text": { + "type": "string" + }, + "tag_hover": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "background", + "buttons", + "text", + "tag_hover" + ] + }, + "description": { + "type": "string" + }, + "image": { + "type": "string" + }, + "legal": { + "type": "object", + "properties": { + "font_source": { + "type": "string" + }, + "images_source": { + "type": "array", + "items": { + "type": "string" + } + }, + "legal_information_link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "legal_information_link", + "images_source", + "font_source" + ] + }, + "links": { + "type": "array", + "items": { + "type": "object", + "properties": { + "content": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "link", + "content" + ] + } + }, + "person": { + "type": "object", + "properties": { + "image": { + "type": "string" + }, + "name": { + "type": "string" + }, + "pronouns": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "name": { + "type": "string" + }, + "link": { + "type": "string" + } + }, + "additionalProperties": false, + "required": [ + "name", + "description", + "link" + ] + } + } + }, + "additionalProperties": false, + "required": [ + "name", + "pronouns", + "image", + "tags" + ] + }, + "custom_pages": { + "type": "array" + } + }, + "additionalProperties": false, + "required": [ + "image", + "description", + "person", + "colors", + "links", + "legal" + ] +} |
