schemas/note.schema.json aktualisiert
Some checks failed
Deploy mindnet to llm-node / deploy (push) Failing after 2s

This commit is contained in:
Lars 2025-09-09 19:43:12 +02:00
parent 51f08f193c
commit 78446c74d3

View File

@ -1,39 +1,45 @@
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "http://json-schema.org/draft-07/schema#",
"title": "mindnet_note", "title": "mindnet note payload",
"type": "object", "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": { "properties": {
"note_id": { "type": "string" }, "note_id": { "type": "string" },
"title": { "type": "string" }, "title": { "type": ["string","null"] },
"type": { "type": "string" }, "type": { "type": ["string","null"] },
"status": { "type": "string" }, "status": { "type": ["string","null"] },
"created": { "type": "string" }, "created": { "type": ["string","null"] },
"updated": { "type": "string" }, "updated": { "type": ["string","null"] },
"path": { "type": ["string","null"] },
"tags": { "type": ["array","null"], "items": { "type": "string" } },
"area": { "type": ["string","null"] },
"project": { "type": ["string","null"] },
"source": { "type": ["string","null"] },
"lang": { "type": ["string","null"] },
"slug": { "type": ["string","null"] },
"aliases": { "type": ["array","null"], "items": { "type": "string" } },
"tags": { "type": "array", "items": { "type": "string" } }, "fulltext": { "type": ["string","null"] },
"area": { "type": "string" }, "references": { "type": ["array","null"], "items": { "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" }, "hash_fulltext": { "type": ["string","null"], "pattern": "^[a-f0-9]{64}$" },
"hash_signature": { "type": ["string","null"] },
"references": { "type": "array", "items": { "type": "string" } }, "hash_body": { "type": ["string","null"], "pattern": "^[a-f0-9]{64}$" },
"depends_on": { "type": "array", "items": { "type": "string" } }, "hash_frontmatter": { "type": ["string","null"], "pattern": "^[a-f0-9]{64}$" },
"assigned_to": { "type": "array", "items": { "type": "string" } }, "hash_full": { "type": ["string","null"], "pattern": "^[a-f0-9]{64}$" },
"hash_fulltext":{ "type": "string" }, "hashes": {
"hash_raw_body":{ "type": "string" }, "type": ["object","null"],
"fulltext": { "type": "string" } "description": "Mapping: <mode>:<source>:<normalize> -> sha256 hex",
"patternProperties": {
"^(body|frontmatter|full):(parsed|raw):(canonical|none)$": {
"type": "string",
"pattern": "^[a-f0-9]{64}$"
}
}, },
"additionalProperties": false
}
},
"required": ["note_id"],
"additionalProperties": true "additionalProperties": true
} }