From 1b47acea45062b2f0c7dff5746901ddf7b94c2bd Mon Sep 17 00:00:00 2001 From: Lars Date: Wed, 3 Sep 2025 07:26:50 +0200 Subject: [PATCH] =?UTF-8?q?schemas/note.schema.json=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/note.schema.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 schemas/note.schema.json diff --git a/schemas/note.schema.json b/schemas/note.schema.json new file mode 100644 index 0000000..0611cdd --- /dev/null +++ b/schemas/note.schema.json @@ -0,0 +1,33 @@ +cd ~/mindnet +mkdir -p schemas +cat > schemas/note.schema.json << 'JSON' +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "mindnet_note", + "type": "object", + "required": ["note_id", "title", "type", "status", "created", "path"], + "properties": { + "note_id": { "type": "string" }, + "title": { "type": "string" }, + "type": { "type": "string" }, + "status": { "type": "string" }, + "created": { "type": "string" }, + "updated": { "type": "string" }, + "tags": { "type": "array", "items": { "type": "string" } }, + "area": { "type": "string" }, + "project": { "type": "string" }, + "priority": { "type": "number" }, + "effort_min": { "type": "number" }, + "due": { "type": "string" }, + "people": { "type": "array", "items": { "type": "string" } }, + "aliases": { "type": "array", "items": { "type": "string" } }, + "references": { "type": "array", "items": { "type": "string" } }, + "depends_on": { "type": "array", "items": { "type": "string" } }, + "assigned_to":{ "type": "array", "items": { "type": "string" } }, + "lang": { "type": "string" }, + "path": { "type": "string" }, + "hash_fulltext": { "type": "string" } + }, + "additionalProperties": true +} +JSON