From 79e19c85eb46b005010be75e8efaf09d983783e2 Mon Sep 17 00:00:00 2001 From: Lars Date: Tue, 9 Sep 2025 16:15:53 +0200 Subject: [PATCH] schemas/note.schema.json aktualisiert --- schemas/note.schema.json | 68 ++++++++++++++++++---------------------- 1 file changed, 30 insertions(+), 38 deletions(-) diff --git a/schemas/note.schema.json b/schemas/note.schema.json index 5f3c940..de90ca3 100644 --- a/schemas/note.schema.json +++ b/schemas/note.schema.json @@ -2,46 +2,38 @@ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "mindnet_note", "type": "object", + "description": "Note-Payload (Qdrant). Erweitert um fulltext/hash_raw_body für verlustfreien Export.", + "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" } + "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" } }, + "lang": { "type": "string" }, + + "path": { "type": "string" }, + + "references": { "type": "array", "items": { "type": "string" } }, + "depends_on": { "type": "array", "items": { "type": "string" } }, + "assigned_to": { "type": "array", "items": { "type": "string" } }, + + "hash_fulltext":{ "type": "string" }, + "hash_raw_body":{ "type": "string" }, + "fulltext": { "type": "string" } }, + "additionalProperties": true }