Metadata Schema
This page provides documentation for the JSON objects returned by Sherpa APIs. This is intended to be used as reference for developers while building against our APIs.
Phrases
Phrases for discrete value are included in the JSON returned by the API. The general pattern is that phrases appear in the same scope, with the same name as the field with a '_phrases' suffix. For example:
{ "colour" : "blue", "colour_phrases" : [ { "value" : "blue", "phrase" : "Blue", "language" : "en" } ], "person" : { "name" : "John Smith", "clothing" : ["tshirt", "jeans"], "clothing_phrases" : [ { "value" : "tshirt", "phrase" : "T-Shirt", "language" : "en" }, { "value" : "jeans", "phrase" : "Jeans", "language" : "en" } ] } }
Notes:
- Only English is currently supported, but there is scope for further language support.
- If a field does not have an associated _phrases, then it is a text, numeric or object type.
- Ordering of names in a JSON object is not defined. Be aware that an _phrases array may not be adjacent to its associated field.
Primary Objects
Notes:
- For brevity, _phrase elements are omitted.
- Preferred names and titles are generated automatically from the name and title fields to simplify objects in some contexts.
- Empty values should not be included. If something is missing, it's probably because it's not set.
common to all types
All types have a 'system_metadata' section with the following fields:
system_metadata |
|
---|
funder
funder_metadata |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
open_access_publications_policy |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
open_access_data_archiving_policy |
|
funder_group
funder_group_metadata | object: core metadata for this funder group
| ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
funders | array of objects: the funders that are part of this group
|
publisher
id | Integer: the Sherpa ID for this item | ||||||||
---|---|---|---|---|---|---|---|---|---|
name | array of objects: the name of the publisher
|
||||||||
url | URL: the url of the publisher | ||||||||
identifiers | array of objects: identifiers associated with this publisher
|
||||||||
country | value(two letter country code): the country of the publisher | ||||||||
notes | text: notes about the publisher record | ||||||||
imprint_of | publisher object: if the publisher is an imprint, which publisher is this an imprint of? Note that funder objects in this section will only include the following fields: id, name, url, country, notes, imprint_of_id, imprints_id, publication_count, uri | ||||||||
imprints | array of publisher object: imprints of this publisher. Note that funder objects in this section will only include the following fields: id, name, url, country, notes, imprint_of_id, imprints_id, publication_count, uri | ||||||||
policies | array of publisher_policy object: Note that publisher policy objects in this section will only include the following fields: id, internal_moniker, publication_count, permitted_oa, urls, open_access_prohibited, uri | ||||||||
publication_count | integer: the number of publication records in Sherpa for this publisher | ||||||||
publications | array of publication object: the publisher's publications. Note that publication objects in this section will only include the following fields: id, title, issns, type, uri |
publisher_policy
id | integer: the ID of the object | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
internal_moniker | text: a name used internally by Sherpa's editorial team | ||||||||||||||||||||||||||||||||||||||
urls | multiple object
| ||||||||||||||||||||||||||||||||||||||
open_access_prohibited | value('yes','no'): does the policy prohibit Open Access? | ||||||||||||||||||||||||||||||||||||||
notes | text: notes about the policy | ||||||||||||||||||||||||||||||||||||||
contributors | array of text: organisations and people that assisted with the curation of this policy record | ||||||||||||||||||||||||||||||||||||||
publisher | publisher object: the publisher that owns this policy. Note that only the following fields are available here: id, name, url, country, notes, imprint_of_id, imprints_id, publication_count, uri | ||||||||||||||||||||||||||||||||||||||
publication_count | integer: the number of publications this policy is attached to | ||||||||||||||||||||||||||||||||||||||
publications | array of publication object: Note that only the following fields are available here: id, title, issns, type, uri | ||||||||||||||||||||||||||||||||||||||
permitted_oa | array of objects: the OA this policy permits
| ||||||||||||||||||||||||||||||||||||||
workflow_dates | object
|
publication
id | integer: the Sherpa ID for this item | ||||||||
---|---|---|---|---|---|---|---|---|---|
title | array of objects: the multilingual title of the item
| ||||||||
issns | array of object
| ||||||||
type | value('journal', 'conference_proceedings', 'monographic_series'): the type of the publication | ||||||||
notes | text: notes about the publication record | ||||||||
url | URL: the url of the publication | ||||||||
listed_in_doaj | value('yes','no'): is the publication listed in DOAJ | ||||||||
tj_status | array of values('plan_s_approved','jisc_approved'): set when a publication is a tranformative journal approved by Plan S and/or Jisc | ||||||||
publishers | array of publisher objects: the publishers of this journal. Note that only the following fields are available here: id, title, issns, type, uri | ||||||||
publisher_policy | array of publisher_policy_objects: the set of policies that together define what can OA is available for articles published in this publication. Note that publisher policy objects in this section will only include the following fields: id, internal_moniker, publication_count, permitted_oa, urls, open_access_prohibited, uri |
repository
repository_metadata | object: core metadata for this repository
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
organisation | object: the organisation responsible for this repository
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
policies | object: repository policies. Note that this section is currently under review and may change soon. |