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

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://schemas.ndumas.com/post.schema.json",
"title":"post",
"description":"Hugo blog posts",
"type":"object",
"properties": {
"note": {
"description":"base schema for notes",
"$ref":"https://schemas.ndumas.com/note.schema.json"
},
"draft": {
"description": "publishing status",
"type":"boolean"
},
"showFullContent": {
"description": "when summarizing content, use description instead of full text",
"type":"boolean"
},
"date": {
"description": "publishing date",
"type":"string",
"format":"date"
},
"author": {
"description": "author name",
"type":"string"
},
"series": {
"description": "an array of names given to groups of related posts",
"type": "array",
"items": {
"type":"string",
"uniqueItems": true
}
}
},
"required": ["title","aliases", "date", "series", "draft", "showFullContent", "author"]
}