Skip to content

Commit

Permalink
fix: add an example with copyrightHolder
Browse files Browse the repository at this point in the history
  • Loading branch information
mhucka committed May 22, 2023
1 parent 717d2a7 commit 5699a06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions tests/data/fake-example/codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
"email": "mhucka@caltech.edu",
"@id": "https://orcid.org/0000-0001-9105-5960"
}],
"copyrightHolder": [
{
"@id": "https://ror.org/05dxps055",
"@type": "Organization",
"name": "California Institute of Technology"
}
],
"developmentStatus": "active",
"downloadUrl": "https://github.com/fakeaccount/fakerepo/archive/faketag.zip",
"keywords": [
Expand Down
4 changes: 3 additions & 1 deletion tests/data/fake-example/expected-metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{'metadata': {'additional_descriptions': [{'description': 'A fake description', 'type': {'id': 'other'}}],
'additional_titles': [],
'contributors': [],
'contributors': [{'person_or_org': {'name': 'California Institute of Technology',
'type': 'organizational'},
'role': {'id': 'rightsholder'}}],
'creators': [{'affiliations': [{'name': 'Caltech Library'}],
'person_or_org': {'family_name': 'Hucka',
'given_name': 'Michael',
Expand Down

0 comments on commit 5699a06

Please sign in to comment.