diff --git a/schemas/note.json b/schemas/note.json deleted file mode 100644 index 6158582..0000000 --- a/schemas/note.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ndumas.com/schemas/note.json", - "title":"note", - "description":"properties all notes must have", - "type":"object", - "properties": { - "title": { - "description":"Title of the note", - "type": "string" - }, - "aliases": { - "description":"alternate names for the notes", - "type": "array", - "items": { - "type":"string", - "uniqueItems": true, - "minItems": 1 - } - } - }, - "required": ["title","aliases"] -} diff --git a/schemas/post.json b/schemas/post.json deleted file mode 100644 index 4143d06..0000000 --- a/schemas/post.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$id": "https://ndumas.com/schemas/post.json", - "title":"post", - "description":"Hugo blog posts", - "type":"object", - "properties": { - "note": { - "description":"base schema for notes", - "$ref":"https://ndumas.com/schemas/note.json" - }, - "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", - "uniqueItems": true - } - } - }, - "required": ["title","aliases"] -}