Skip to content

Instantly share code, notes, and snippets.

@SkySails
Created March 24, 2025 15:51
Show Gist options
  • Save SkySails/a32830a7b606f7ec4b6b7cdef49de9f5 to your computer and use it in GitHub Desktop.
Save SkySails/a32830a7b606f7ec4b6b7cdef49de9f5 to your computer and use it in GitHub Desktop.
A JSON Schema that validates Fumadocs `meta.json` files.
{
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Name of the folder"
},
"icon": {
"type": "string",
"description": "Icon name for the folder"
},
"pages": {
"type": "array",
"items": {
"type": "string"
},
"description": "Order of items in the folder"
},
"defaultOpen": {
"type": "boolean",
"description": "Force folder to open by default"
},
"root": {
"type": "boolean",
"description": "Mark folder as a root"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment