Skip to main content

Patchouli JSON Schemas

hexdoc automatically generates JSON Schema definitions for several Patchouli file types.

Types

TypeSchema
Book/schema/patchouli/Book.json
Category/schema/patchouli/Category.json
Entry/schema/patchouli/Entry.json

VSCode configuration

To use these schemas in VSCode, add the following content to your settings.json file:

{
"json.schemas": [
{
"fileMatch": ["**/patchouli_books/*/book.json"],
"url": "https://hexdoc.hexxy.media/schema/patchouli/Book.json",
},
{
"fileMatch": ["**/patchouli_books/*/*/categories/**/*.json"],
"url": "https://hexdoc.hexxy.media/schema/patchouli/Category.json",
},
{
"fileMatch": ["**/patchouli_books/*/*/entries/**/*.json"],
"url": "https://hexdoc.hexxy.media/schema/patchouli/Entry.json",
},
],
}