From 8ef1499490a3b3120ec43b20f61c617ac9506337 Mon Sep 17 00:00:00 2001 From: "cpfiffer (aider)" Date: Tue, 13 May 2025 09:44:19 -0700 Subject: [PATCH] feat: Add from and to arrays to lexicon records --- lexicons/me/comind/concept.json | 18 +++++++++++++++++- lexicons/me/comind/emotion.json | 18 +++++++++++++++++- lexicons/me/comind/thought.json | 18 +++++++++++++++++- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/lexicons/me/comind/concept.json b/lexicons/me/comind/concept.json index 89040d6..2f961a6 100644 --- a/lexicons/me/comind/concept.json +++ b/lexicons/me/comind/concept.json @@ -1,7 +1,7 @@ { "lexicon": 1, "id": "me.comind.concept", - "revision": 1, + "revision": 2, "description": "A concept node in the comind network. Contains a concept generated by some set of focused records. Concepts are abstractions of the content of records, like topics or themes. (PATTERN OF 'text': [a-z0-9 ]+)", "defs": { "main": { @@ -19,6 +19,22 @@ "type": "ref", "ref": "#generated", "description": "The generated concept." + }, + "from": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were inputs to this concept." + }, + "to": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were generated or derived from this concept." } } } diff --git a/lexicons/me/comind/emotion.json b/lexicons/me/comind/emotion.json index 2f5ddf6..99ee30d 100644 --- a/lexicons/me/comind/emotion.json +++ b/lexicons/me/comind/emotion.json @@ -1,7 +1,7 @@ { "lexicon": 1, "id": "me.comind.emotion", - "revision": 1, + "revision": 2, "description": "An emotion node in the comind network. Contains an emotion generated by some set of focused records.", "defs": { "main": { @@ -19,6 +19,22 @@ "type": "ref", "ref": "#generated", "description": "The generated emotion." + }, + "from": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were inputs to this emotion." + }, + "to": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were generated or derived from this emotion." } } } diff --git a/lexicons/me/comind/thought.json b/lexicons/me/comind/thought.json index 7537566..0a4661b 100644 --- a/lexicons/me/comind/thought.json +++ b/lexicons/me/comind/thought.json @@ -1,7 +1,7 @@ { "lexicon": 1, "id": "me.comind.thought", - "revision": 1, + "revision": 2, "description": "A thought node in the comind network. This references a generated thought and provides additional metadata.", "defs": { "main": { @@ -19,6 +19,22 @@ "type": "ref", "ref": "#generated", "description": "The generated thought." + }, + "from": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were inputs to this thought." + }, + "to": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + }, + "description": "An array of strong references to records that were generated or derived from this thought." } } } -- 2.51.2