From ebb6fdce39ba2d394b0606acd761abb1ca1cf2b7 Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Thu, 8 May 2025 14:25:29 -0700 Subject: [PATCH] content, move title out of defs --- lexicons/my/spoor/content/external.json | 2 +- lexicons/my/spoor/content/media.json | 2 +- lexicons/my/spoor/content/{defs.json => title.json} | 8 +++----- 3 files changed, 5 insertions(+), 7 deletions(-) rename lexicons/my/spoor/content/{defs.json => title.json} (78%) diff --git a/lexicons/my/spoor/content/external.json b/lexicons/my/spoor/content/external.json index fd272af..fc6f470 100644 --- a/lexicons/my/spoor/content/external.json +++ b/lexicons/my/spoor/content/external.json @@ -14,7 +14,7 @@ "minLength": 1, "items": { "type": "ref", - "ref": "my.spoor.content.defs#title" + "ref": "my.spoor.content.title" } }, "source": { diff --git a/lexicons/my/spoor/content/media.json b/lexicons/my/spoor/content/media.json index ec383d1..e8897c2 100644 --- a/lexicons/my/spoor/content/media.json +++ b/lexicons/my/spoor/content/media.json @@ -14,7 +14,7 @@ "minLength": 1, "items": { "type": "ref", - "ref": "my.spoor.content.defs#title" + "ref": "my.spoor.content.title" } }, "durationData": { diff --git a/lexicons/my/spoor/content/defs.json b/lexicons/my/spoor/content/title.json similarity index 78% rename from lexicons/my/spoor/content/defs.json rename to lexicons/my/spoor/content/title.json index f13f8fd..3368a47 100644 --- a/lexicons/my/spoor/content/defs.json +++ b/lexicons/my/spoor/content/title.json @@ -1,17 +1,15 @@ { "lexicon": 1, - "id": "my.spoor.content.defs", + "id": "my.spoor.content.title", "defs": { - "title": { + "main": { "type": "object", "properties": { "translationType": { "type": "string", "format": "nsid", "knownValues": [ - "my.spoor.content.defs#titleHomophonic", - "my.spoor.content.defs#titleNative", - "my.spoor.content.defs#titleTranslation" + "#titleHomophonic", "#titleNative", "#titleTranslation" ] }, "lang": {