From 75ef8f1660cbd04627d93db90084f28cee8c3267 Mon Sep 17 00:00:00 2001 From: paul van genuchten Date: Thu, 1 Dec 2022 09:21:49 +0100 Subject: [PATCH] suggestion for allowing multiple contacts having the same role --- docs/content/reference/mcf.md | 2 +- pygeometa/schemas/iso19139/contact.j2 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/reference/mcf.md b/docs/content/reference/mcf.md index e88e9f3..4786696 100644 --- a/docs/content/reference/mcf.md +++ b/docs/content/reference/mcf.md @@ -173,7 +173,7 @@ keywords_codelist|Optional|specific code list URL (for advanced use cases, else ### `contact` -MCFs can have 1..n `contact` sections as required using nesting. Example: +MCFs can have 1..n `contact` sections as required using nesting. Role is used as key for any contact, if multiple contacts have the same role (e.g. `author`), you can add each of them by postfixing the role with an underscore and a unique string e.g. (`author_1`, `author_2`). Example: ```yaml contact: diff --git a/pygeometa/schemas/iso19139/contact.j2 b/pygeometa/schemas/iso19139/contact.j2 index 60e041a..5298c0a 100644 --- a/pygeometa/schemas/iso19139/contact.j2 +++ b/pygeometa/schemas/iso19139/contact.j2 @@ -52,6 +52,6 @@ - {{ role }} + {{ role }}