Skip to content
Merged
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
34 changes: 34 additions & 0 deletions examples/licenses/publisher_page_user_license.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"identifiers": {
"pmid": "32664016",
"pmcid": null,
"doi": "10.1016/j.jad.2020.05.145",
"preprint_dois": null,
"preprint_pmid": null,
"preprint_pmcid": null,
"publication_status": "published"
},
"text_copy": {
"route": "publisher",
"version": "am",
"access": "unrecorded",
"url": "https://doi.org/10.1016/j.jad.2020.05.145",
"license": {
"license_id": "cc-by-nc-nd",
"determination": "stated",
"stated_by": "publisher_page",
"stated_as": "http://creativecommons.org/licenses/by-nc-nd/4.0/"
}
},
"bibliography": {
"title": "Alterations of regional homogeneity in Parkinson's disease with “pure” apathy: A resting-state fMRI study",
"journal": "Journal of Affective Disorders",
"publication_year": 2020,
"license": {
"license_id": "all-rights-reserved",
"determination": "assumed"
},
"oa_status": "closed",
"provider": "pubmed"
}
}
1 change: 1 addition & 0 deletions src/study_schema/jsonschema/coordinate-parse.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,7 @@
"jats",
"elsevier",
"pmc_cloud",
"publisher_page",
"pubmed",
"crossref",
"openalex",
Expand Down
1 change: 1 addition & 0 deletions src/study_schema/jsonschema/parsed-paper.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,7 @@
"jats",
"elsevier",
"pmc_cloud",
"publisher_page",
"pubmed",
"crossref",
"openalex",
Expand Down
1 change: 1 addition & 0 deletions src/study_schema/jsonschema/storage-study.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3058,6 +3058,7 @@
"jats",
"elsevier",
"pmc_cloud",
"publisher_page",
"pubmed",
"crossref",
"openalex",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ enums:
pmc_cloud:
in_subset: [mvp, deterministic]
description: PubMed Central's cloud record of a held copy.
publisher_page:
in_subset: [mvp, deterministic]
description: >-
A held copy's web page at its publisher: the rights metadata it carries
(`dc.rights`, `prism.copyright`), the copyright line it prints, or the user
licence it names.
pubmed:
in_subset: [mvp, deterministic]
crossref:
Expand Down
4 changes: 4 additions & 0 deletions src/study_schema/models/paper_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,10 @@ class MetadataSource(str, Enum):
"""
PubMed Central's cloud record of a held copy.
"""
publisher_page = "publisher_page"
"""
A held copy's web page at its publisher: the rights metadata it carries (`dc.rights`, `prism.copyright`), the copyright line it prints, or the user licence it names.
"""
pubmed = "pubmed"
crossref = "crossref"
openalex = "openalex"
Expand Down
4 changes: 4 additions & 0 deletions src/study_schema/models/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -809,6 +809,10 @@ class MetadataSource(str, Enum):
"""
PubMed Central's cloud record of a held copy.
"""
publisher_page = "publisher_page"
"""
A held copy's web page at its publisher: the rights metadata it carries (`dc.rights`, `prism.copyright`), the copyright line it prints, or the user licence it names.
"""
pubmed = "pubmed"
crossref = "crossref"
openalex = "openalex"
Expand Down
1 change: 1 addition & 0 deletions tests/test_licensing.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"tdm_manuscript_of_open_article": (False, True),
"preprint_only": (True, True),
"assumed_all_rights_reserved": (False, False),
"publisher_page_user_license": (False, False),
}
# Refused by the models and the JSON Schema alike.
INVALID = {
Expand Down
Loading