Adding more to the schema
continuous-integration/drone/push Build is passing Details

main
Nick Dumas 2 years ago
parent c2097ecca6
commit da0a6350c9

@ -9,11 +9,23 @@
"description":"base schema for notes", "description":"base schema for notes",
"$ref":"https://schemas.ndumas.com/note.schema.json" "$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": { "date": {
"description": "publishing date", "description": "publishing date",
"type":"string", "type":"string",
"format":"date" "format":"date"
}, },
"author": {
"description": "author name",
"type":"string"
},
"series": { "series": {
"description": "an array of names given to groups of related posts", "description": "an array of names given to groups of related posts",
"type": "array", "type": "array",
@ -23,5 +35,5 @@
} }
} }
}, },
"required": ["title","aliases", "date", "series"] "required": ["title","aliases", "date", "series", "draft", "showFullContent", "author"]
} }

Loading…
Cancel
Save