dragonschildstudios.com/.vscode/astrowind/config-schema.json

401 lines
11 KiB
JSON
Raw Normal View History

2024-01-19 23:23:29 -08:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"site": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"site": {
"type": "string"
},
"base": {
"type": "string"
},
"trailingSlash": {
"type": "boolean"
},
"googleSiteVerificationId": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["name", "site", "base", "trailingSlash"],
2024-01-19 23:23:29 -08:00
"additionalProperties": false
},
"metadata": {
"type": "object",
"properties": {
"title": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"template": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["default", "template"]
2024-01-19 23:23:29 -08:00
},
"description": {
"type": "string"
},
"robots": {
"type": "object",
"properties": {
"index": {
"type": "boolean"
},
"follow": {
"type": "boolean"
}
},
2024-06-21 05:42:43 -07:00
"required": ["index", "follow"]
2024-01-19 23:23:29 -08:00
},
"openGraph": {
"type": "object",
"properties": {
"site_name": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["site_name", "type"]
2024-01-19 23:23:29 -08:00
},
"twitter": {
"type": "object",
"properties": {
"handle": {
"type": "string"
},
"site": {
"type": "string"
},
"cardType": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["handle", "site", "cardType"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["title", "description", "robots", "openGraph", "twitter"]
2024-01-19 23:23:29 -08:00
},
"i18n": {
"type": "object",
"properties": {
"language": {
"type": "string"
},
"textDirection": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["language", "textDirection"]
2024-01-19 23:23:29 -08:00
},
"apps": {
"type": "object",
"properties": {
"blog": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"postsPerPage": {
"type": "integer"
},
"post": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"permalink": {
"type": "string"
},
"robots": {
"type": "object",
"properties": {
"index": {
"type": "boolean"
},
"follow": {
"type": "boolean"
}
},
2024-06-21 05:42:43 -07:00
"required": ["index"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["isEnabled", "permalink", "robots"]
2024-01-19 23:23:29 -08:00
},
"list": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"pathname": {
"type": "string"
},
"robots": {
"type": "object",
"properties": {
"index": {
"type": "boolean"
},
"follow": {
"type": "boolean"
}
},
2024-06-21 05:42:43 -07:00
"required": ["index"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["isEnabled", "pathname", "robots"]
2024-01-19 23:23:29 -08:00
},
"category": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"pathname": {
"type": "string"
},
"robots": {
"type": "object",
"properties": {
"index": {
"type": "boolean"
},
"follow": {
"type": "boolean"
}
},
2024-06-21 05:42:43 -07:00
"required": ["index"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["isEnabled", "pathname", "robots"]
2024-01-19 23:23:29 -08:00
},
"tag": {
"type": "object",
"properties": {
"isEnabled": {
"type": "boolean"
},
"pathname": {
"type": "string"
},
"robots": {
"type": "object",
"properties": {
"index": {
"type": "boolean"
},
"follow": {
"type": "boolean"
}
},
2024-06-21 05:42:43 -07:00
"required": ["index"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["isEnabled", "pathname", "robots"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["isEnabled", "postsPerPage", "post", "list", "category", "tag"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["blog"]
2024-01-19 23:23:29 -08:00
},
"analytics": {
"type": "object",
"properties": {
"vendors": {
"type": "object",
"properties": {
"googleAnalytics": {
"type": "object",
"properties": {
"id": {
2024-06-21 05:42:43 -07:00
"type": ["string", "null"]
2024-01-19 23:23:29 -08:00
},
"partytown": {
"type": "boolean",
"default": true
}
},
2024-06-21 05:42:43 -07:00
"required": ["id"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["googleAnalytics"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["vendors"]
2024-01-19 23:23:29 -08:00
},
"ui": {
"type": "object",
"properties": {
"theme": {
"type": "string"
},
"tokens": {
"type": "object",
"properties": {
"default": {
"type": "object",
"properties": {
"colors": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"heading": {
"type": "string"
},
"muted": {
"type": "string"
},
"bgPage": {
"type": "string"
},
"primary": {
"type": "string"
},
"secondary": {
"type": "string"
},
"accent": {
"type": "string"
},
"info": {
"type": "string"
},
"success": {
"type": "string"
},
"warning": {
"type": "string"
},
"error": {
"type": "string"
},
"link": {
"type": "string"
},
"linkActive": {
"type": "string"
}
},
"required": [
"default",
"heading",
"muted",
"bgPage",
"primary",
"secondary",
"accent",
"info",
"success",
"warning",
"error",
"link",
"linkActive"
]
},
"fonts": {
"type": "object",
"properties": {
"sans": {
"type": "string"
},
"serif": {
"type": "string"
},
"heading": {
"type": "string"
}
},
2024-06-21 05:42:43 -07:00
"required": ["sans", "serif", "heading"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["colors", "fonts"]
2024-01-19 23:23:29 -08:00
},
"dark": {
"type": "object",
"properties": {
"colors": {
"type": "object",
"properties": {
"default": {
"type": "string"
},
"heading": {
"type": "string"
},
"muted": {
"type": "string"
},
"bgPage": {
"type": "string"
},
"primary": {
"type": "string"
},
"secondary": {
"type": "string"
},
"accent": {
"type": "string"
},
"info": {
"type": "string"
},
"success": {
"type": "string"
},
"warning": {
"type": "string"
},
"error": {
"type": "string"
},
"link": {
"type": "string"
},
"linkActive": {
"type": "string"
}
},
"required": [
"default",
"heading",
"muted",
"bgPage",
"primary",
"secondary",
"accent",
"info",
"success",
"warning",
"error",
"link",
"linkActive"
]
},
"fonts": {
"type": "object"
}
},
2024-06-21 05:42:43 -07:00
"required": ["colors", "fonts"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["default", "dark"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["theme", "tokens"]
2024-01-19 23:23:29 -08:00
}
},
2024-06-21 05:42:43 -07:00
"required": ["site", "metadata", "i18n", "apps", "analytics", "ui"]
}