From a848b6d83a02719a13d2891f1d9265c586870870 Mon Sep 17 00:00:00 2001 From: "Brenton M. Wiernik" Date: Sun, 2 Aug 2020 11:42:52 -0400 Subject: [PATCH] Add `label` attribute to names schema Used to override the default label rendered for a role. Following the discussion at https://github.com/citation-style-language/schema/issues/293 and https://forums.zotero.org/discussion/84042/tromso-recommendations-for-citation-of-research-data-in-linguistics this lets a user enter a more specific role label without requiring such things to have their own variable types. For example, a linguist might cite the person whose speech they are studying as an `author` with `label: "speaker"`. --- schemas/input/csl-data.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/schemas/input/csl-data.json b/schemas/input/csl-data.json index 6f58f742..c26a0beb 100644 --- a/schemas/input/csl-data.json +++ b/schemas/input/csl-data.json @@ -256,6 +256,10 @@ "description": "E.g. rendered as 'Smith, J. [@JSmith]'", "type": "string" }, + "label": { + "title": "Non-default label to use when rendering name", + "description": "Overrides the default label for the role. e.g. to indicate a subtype of a role or specific MARC or CRediT roles." + }, "parse-names": { "type": "boolean" },