From 4bb6a0a354a95bd117ca8ef3897a146ddb5f0f3f Mon Sep 17 00:00:00 2001 From: Orual Date: Fri, 31 Oct 2025 11:15:11 -0400 Subject: [PATCH] fixing lexicons --- lexicons/sh/weaver/actor/defs.json | 26 ++++++++++++++++++++------ lexicons/sh/weaver/actor/profile.json | 19 ++----------------- 2 files changed, 22 insertions(+), 23 deletions(-) diff --git a/lexicons/sh/weaver/actor/defs.json b/lexicons/sh/weaver/actor/defs.json index a1c852f..bc18f37 100644 --- a/lexicons/sh/weaver/actor/defs.json +++ b/lexicons/sh/weaver/actor/defs.json @@ -41,7 +41,7 @@ "pinned": { "description": "Notebooks or other records pinned for display." "type": "ref", - "ref": "sh.weaver.actor.profile#pinnedList" + "ref": "#pinnedList" } "labels": { "type": "array", @@ -50,7 +50,7 @@ "pronouns": { "type": "ref", "description": "Pronouns to use in user-generated content.", - "ref": "sh.weaver.actor.profile#pronounsList" + "ref": "#pronounsList" }, "subscriberCount": { "type": "integer" @@ -81,7 +81,7 @@ "pronouns": { "type": "ref", "description": "Pronouns to use in user-generated content.", - "ref": "sh.weaver.actor.profile#pronounsList" + "ref": "#pronounsList" }, } }, @@ -91,7 +91,7 @@ "properties": { "inner": { "type": "union", - "refs": ["sh.weaver.actor.defs#profileView", "app.bsky.actor.defs#profileViewDetailed", "#tangledProfileView"] + "refs": ["#profileView", "app.bsky.actor.defs#profileViewDetailed", "#tangledProfileView"] } } }, @@ -101,7 +101,7 @@ "properties": { "inner": { "type": "union", - "refs": ["sh.weaver.actor.defs#profileViewBasic", "app.bsky.actor.defs#profileViewBasic", "#tangledProfileView"] + "refs": ["#profileViewBasic", "app.bsky.actor.defs#profileViewBasic", "#tangledProfileView"] } } }, @@ -119,7 +119,21 @@ } } }, - + "pronounsList": { + "type": "array", + "items": { + "type": "string", + "maxLength": "50", + "knownValues": ["she/her", "he/him", "they/them", "it/its", "she/they", "he/they", "they/he", "they/she", "any/all"] + } + }, + "pinnedList": { + "type": "array", + "items": { + "type": "ref", + "ref": "com.atproto.repo.strongRef" + } + }, "tangledProfileView": { "type": "object", "required": ["bluesky", "did", "handle"], diff --git a/lexicons/sh/weaver/actor/profile.json b/lexicons/sh/weaver/actor/profile.json index 306efb1..2dde9e8 100644 --- a/lexicons/sh/weaver/actor/profile.json +++ b/lexicons/sh/weaver/actor/profile.json @@ -48,12 +48,12 @@ "pronouns": { "type": "ref", "description": "Pronouns to use in user-generated content.", - "ref": "#pronounsList" + "ref": "sh.weaver.actor.defs#pronounsList" }, "pinned": { "description": "Notebooks or other records pinned for display." "type": "ref", - "ref": "#pinnedList" + "ref": "sh.weaver.actor.defs#pinnedList" }, "bluesky": { "type": "boolean", @@ -83,21 +83,6 @@ "createdAt": { "type": "string", "format": "datetime" } } } - }, - "pronounsList": { - "type": "array", - "items": { - "type": "string", - "maxLength": "50", - "knownValues": ["she/her", "he/him", "they/them", "it/its", "she/they", "he/they", "they/he", "they/she", "any/all"] - } - }, - "pinnedList": { - "type": "array", - "items": { - "type": "ref", - "ref": "com.atproto.repo.strongRef" - } } } } -- 2.54.0