Files
rustycms/schemas/page_config.schema.json

72 lines
1.7 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"blogPostsPageHeadline": {
"description": "Headline for blog overview page",
"type": "string"
},
"blogPostsPageSubHeadline": {
"description": "Subheadline for blog overview page",
"type": "string"
},
"blogTagPageHeadline": {
"description": "Headline for tag page (blog)",
"type": "string"
},
"footerText1": {
"description": "Footer text (e.g. copyright)",
"type": "string"
},
"logo": {
"description": "Logo image (reference to img)",
"oneOf": [
{
"description": "Reference (slug) to collection 'img'",
"type": "string"
},
{
"properties": {
"description": {
"description": "Alt text / description",
"type": "string"
},
"src": {
"description": "Image URL",
"type": "string"
}
},
"required": [
"src"
],
"type": "object"
}
]
},
"seoDescription": {
"description": "Default meta description",
"type": "string"
},
"seoTitle": {
"description": "Default SEO title for website",
"type": "string"
},
"website": {
"description": "Website-URL",
"type": "string"
}
},
"required": [
"_slug",
"logo",
"footerText1",
"seoTitle",
"seoDescription",
"website"
],
"type": "object"
}