From 06ea3f5e50fc3c72d24c4e4002279a451c41a08c Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 30 Sep 2024 21:37:54 -0300 Subject: validators: isAdditionalName: expect name as content string In practice additional names are presented as content strings, so this is just improved accuracy. --- src/data/validators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/validators.js b/src/data/validators.js index 354de6fa..4bdbe5cd 100644 --- a/src/data/validators.js +++ b/src/data/validators.js @@ -918,7 +918,7 @@ export function validateWikiData({ } export const isAdditionalName = validateProperties({ - name: isName, + name: isContentString, annotation: optional(isContentString), // TODO: This only allows indicating sourcing from a track. -- cgit 1.3.0-6-gf8a5