Files
rustycms/schemas/navigation.schema.json

33 lines
800 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": true,
"properties": {
"_slug": {
"description": "Entry identifier (URL slug / filename without extension)",
"type": "string"
},
"internal": {
"description": "Internal key (e.g. navigation-header, navigation-footer)",
"type": "string"
},
"links": {
"description": "Navigation entries (references to link, page or post)",
"items": {
"description": "Reference (slug) to one of: link, page, post",
"type": "string"
},
"type": "array"
},
"name": {
"description": "Display name of navigation",
"type": "string"
}
},
"required": [
"_slug",
"name",
"internal",
"links"
],
"type": "object"
}