diff options
| author | Julia Diaz <[email protected]> | 2023-08-30 17:13:03 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-30 08:13:03 -0700 |
| commit | e6470e3f7dc3cf1851e62a2b3773a7f9cd9eb8c2 (patch) | |
| tree | 7d52a24ee6652b627880e343ff73681698df3f8b /test/jats-reader.native | |
| parent | 09de84fff41d4a6e8d227baeea0037531fcef9e2 (diff) | |
JATS reader: Multilevel support for `<permissions>` metadata (#9037)
This revises the earlier support for `<permissions>`: now metadata objects
with multiple fields are created, matching the structure in JATS.
Diffstat (limited to 'test/jats-reader.native')
| -rw-r--r-- | test/jats-reader.native | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/jats-reader.native b/test/jats-reader.native index 83172527e..d1c36405d 100644 --- a/test/jats-reader.native +++ b/test/jats-reader.native @@ -8,6 +8,30 @@ Pandoc , MetaInlines [ Str "Anonymous" ] ] ) + , ( "copyright" + , MetaMap + (fromList + [ ( "holder" , MetaString "MacFarlane et al" ) + , ( "statement" + , MetaString "\169 2023, MacFarlane et al" + ) + , ( "year" , MetaString "2023" ) + ]) + ) + , ( "license" + , MetaMap + (fromList + [ ( "link" + , MetaString + "https://creativecommons.org/licenses/by/4.0/" + ) + , ( "text" + , MetaString + "This document is distributed under a Creative Commons Attribution 4.0 International license." + ) + , ( "type" , MetaString "open-access" ) + ]) + ) , ( "references" , MetaList [ MetaMap (fromList [ ( "id" , MetaString "note_1" ) ]) |
