You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
2 years ago
|
{
|
||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||
2 years ago
|
"$id": "https://schemas.ndumas.com/hugo/post.schema.json",
|
||
2 years ago
|
"title":"post",
|
||
|
"description":"Hugo blog posts",
|
||
|
"type":"object",
|
||
|
"properties": {
|
||
|
"note": {
|
||
|
"description":"base schema for notes",
|
||
2 years ago
|
"$ref":"https://schemas.ndumas.com/obsidian/note.schema.json"
|
||
2 years ago
|
},
|
||
2 years ago
|
"draft": {
|
||
|
"description": "publishing status",
|
||
|
"type":"boolean"
|
||
|
},
|
||
|
"showFullContent": {
|
||
|
"description": "when summarizing content, use description instead of full text",
|
||
|
"type":"boolean"
|
||
|
},
|
||
2 years ago
|
"date": {
|
||
|
"description": "publishing date",
|
||
|
"type":"string",
|
||
|
"format":"date"
|
||
|
},
|
||
2 years ago
|
"author": {
|
||
|
"description": "author name",
|
||
|
"type":"string"
|
||
|
},
|
||
2 years ago
|
"series": {
|
||
|
"description": "an array of names given to groups of related posts",
|
||
|
"type": "array",
|
||
|
"items": {
|
||
|
"type":"string",
|
||
|
"uniqueItems": true
|
||
|
}
|
||
|
}
|
||
|
},
|
||
2 years ago
|
"required": ["date", "series", "draft", "showFullContent", "author"]
|
||
2 years ago
|
}
|