From 61b85fd9ba9e9ee92c2d20f2a64621959b5b59d2 Mon Sep 17 00:00:00 2001 From: Nick Dumas Date: Wed, 17 May 2023 11:00:28 -0400 Subject: [PATCH] not keeping these in here --- schemas/note.json | 23 ----------------------- schemas/post.json | 27 --------------------------- 2 files changed, 50 deletions(-) delete mode 100644 schemas/note.json delete mode 100644 schemas/post.json 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"] -}