{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://github.com/stadeummwt/dsh-supreme/schemas/ledger-note.schema.json", "title": "DSH Supreme Ledger Note", "description": "One append-only JSONL line of the supreme-memory-policy note ledger (v1.2). Notes are bounded, credential-bearing notes are rejected at admission, and injection is gated by deterministic instinct params (minConfidence, maxInjected, relevanceRanking).", "type": "object", "required": ["id", "text", "tags", "priority", "confidence", "createdAt", "source"], "properties": { "id": { "type": "string", "minLength": 1, "maxLength": 128 }, "text": { "type": "string", "minLength": 1, "maxLength": 2000 }, "tags": { "type": "array", "maxItems": 16, "items": { "type": "string", "maxLength": 64 } }, "priority": { "type": "number", "minimum": 0, "maximum": 100 }, "confidence": { "type": "number", "minimum": 0, "maximum": 1, "description": "Recorded evidence quality — never model self-assessment." }, "createdAt": { "type": "number" }, "source": { "type": "string", "minLength": 1, "maxLength": 128 } }, "additionalProperties": false }