Issue 18327

Store, index and expose full citation object

18327
Reporter: mdoering
Type: NewFeature
Summary: Store, index and expose full citation object
Priority: Unassessed
Status: Open
Created: 2016-03-17 17:15:32.815
Updated: 2016-03-17 17:17:59.558
        
Description: When we index the reference extension for checklists we only really store the full citation - either as it came in via bibliographicCitation or assembled from the pieces. But we do not store the atomized reference and expose it in our API!

The citation table in checklistbank is normalised and shared across datasets. That causes problems sharing the normalization if different datasets parse a reference differently. Similar to the name string table. We might have to stop normalizing those tables]]>
    


Author: mdoering@gbif.org
Created: 2016-03-17 17:17:48.877
Updated: 2016-03-17 17:17:59.5
        
Looking at http://www.gbif.org/species/4158305/references one can see:

publication
Acta Bot. Yunnan., 21: 12, 1999
Source: The Plant List (with publication details)
The API call is http://api.gbif.org/v1/species/4158305/references which gives

{noformat}
{"offset":0,"limit":20,"endOfRecords":true,"results":[
  {"citation":"Acta Bot. Yunnan., 21: 12, 1999",
  "type":"publication",
  "source":"The Plant List (with publication details)",
  "sourceTaxonKey":117914588}
]}
{noformat}

Expected would be sth like this:
{noformat}
{"offset":0,"limit":20,"endOfRecords":true,"results":[{
  “title”:"云南秋海棠属植物小志”,
  “author”:"税玉民;黄素华”,
  “date”:”1999”,
  “doi”:"10.3969/j.issn.2095-0845.1999.01.002”,
  "citation":"Acta Bot. Yunnan., 21: 12, 1999",
  "type":"publication",
  "source":"The Plant List (with publication details)",
  "sourceTaxonKey":117914588}]
}
{noformat}