|
|
@ -2,16 +2,20 @@
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
|
|
"$id": "https://ndumas.com/schemas/post.json",
|
|
|
|
"$id": "https://ndumas.com/schemas/post.json",
|
|
|
|
"title":"post",
|
|
|
|
"title":"post",
|
|
|
|
"description":"properties all notes must have",
|
|
|
|
"description":"Hugo blog posts",
|
|
|
|
"type":"object",
|
|
|
|
"type":"object",
|
|
|
|
"properties": {
|
|
|
|
"properties": {
|
|
|
|
"title": {
|
|
|
|
"note": {
|
|
|
|
|
|
|
|
"description":"base schema for notes",
|
|
|
|
"$ref":"https://ndumas.com/schemas/note.json"
|
|
|
|
"$ref":"https://ndumas.com/schemas/note.json"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"date": {
|
|
|
|
"date": {
|
|
|
|
"type":"date"
|
|
|
|
"description": "publishing date",
|
|
|
|
|
|
|
|
"type":"string",
|
|
|
|
|
|
|
|
"format":"date"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"series": {
|
|
|
|
"series": {
|
|
|
|
|
|
|
|
"description": "an array of names given to groups of related posts",
|
|
|
|
"type": "array",
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"items": {
|
|
|
|
"type":"string",
|
|
|
|
"type":"string",
|