RustyCMS: File-based headless CMS with REST API, admin UI, multilingual support
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
27
schemas/navigation.schema.json
Normal file
27
schemas/navigation.schema.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"_slug": {
|
||||
"description": "Entry identifier (URL slug / filename without extension)",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Display name of navigation",
|
||||
"type": "string"
|
||||
},
|
||||
"internal": {
|
||||
"description": "Internal key (e.g. navigation-header, navigation-footer)",
|
||||
"type": "string"
|
||||
},
|
||||
"links": {
|
||||
"description": "References (slugs) to link, page or post",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"required": ["_slug", "name", "internal", "links"],
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user