From 6c1b020ac06832cd6f530430b9b20c12c7389082 Mon Sep 17 00:00:00 2001 From: Lars Date: Tue, 2 Sep 2025 19:37:42 +0200 Subject: [PATCH] =?UTF-8?q?schemas/edge.schema.json=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- schemas/edge.schema.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 schemas/edge.schema.json diff --git a/schemas/edge.schema.json b/schemas/edge.schema.json new file mode 100644 index 0000000..47f0826 --- /dev/null +++ b/schemas/edge.schema.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "title": "mindnet_edge", + "type": "object", + "required": ["src_id", "dst_id", "edge_type", "scope"], + "properties": { + "src_id": {"type": "string"}, + "dst_id": {"type": "string"}, + "edge_type": {"type": "string"}, + "scope": {"type": "string", "enum": ["note","chunk"]}, + "weight": {"type": "number"}, + "meta": {"type": "object"}, + "created_at": {"type": "string"} + }, + "additionalProperties": true +}