diff --git a/schemas/base.json b/schemas/note.json similarity index 100% rename from schemas/base.json rename to schemas/note.json diff --git a/schemas/blog.json b/schemas/post.json similarity index 61% rename from schemas/blog.json rename to schemas/post.json index e69b01a..4143d06 100644 --- a/schemas/blog.json +++ b/schemas/post.json @@ -2,16 +2,20 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://ndumas.com/schemas/post.json", "title":"post", - "description":"properties all notes must have", + "description":"Hugo blog posts", "type":"object", "properties": { - "title": { + "note": { + "description":"base schema for notes", "$ref":"https://ndumas.com/schemas/note.json" }, "date": { - "type":"date" + "description": "publishing date", + "type":"string", + "format":"date" }, "series": { + "description": "an array of names given to groups of related posts", "type": "array", "items": { "type":"string",