Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/content/reference/mcf.md
Original file line number Diff line number Diff line change
Expand Up @@ -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, 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:
Expand Down
2 changes: 1 addition & 1 deletion pygeometa/schemas/iso19139/contact.j2
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
</gmd:CI_Contact>
</gmd:contactInfo>
<gmd:role>
<gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeSpace="ISOTC211/19115" codeListValue="{{ role }}">{{ role }}</gmd:CI_RoleCode>
<gmd:CI_RoleCode codeList="http://www.isotc211.org/2005/resources/Codelist/gmxCodelists.xml#CI_RoleCode" codeSpace="ISOTC211/19115" codeListValue="{{ role.split('_') | first }}">{{ role }}</gmd:CI_RoleCode>
</gmd:role>
</gmd:CI_ResponsibleParty>