gbif / literature-ws

Apache License 2.0
0 stars 1 forks source link

Exposed fields update #1

Closed dnoesgaard closed 3 years ago

dnoesgaard commented 3 years ago

I've gone through all the fields and my suggestions are as follows:

authored confirmed contentType country fileAttached groupId hidden privatePublication profileId read searchable starred userContext

gbifRegion

accessed -> discovered created -> added createdAt -> published updatedAt -> modified

mike-podolskiy90 commented 3 years ago

@dnoesgaard What's wrong with the gbifRegion field?

dnoesgaard commented 3 years ago

I just don't know what it means or what it's based on. It must be derived by the content-crawler somehow...

mike-podolskiy90 commented 3 years ago

I hope @fmendezh or @MortenHofft can help us

fmendezh commented 3 years ago

The gbifRegion field is derived thru the link we have to the "Vocabulary: Countries" content model

dnoesgaard commented 3 years ago

But what data from Mendeley is it based on?

fmendezh commented 3 years ago

But what data from Mendeley is it based on?

Sorry, I reviewed the contentful crawler, not the Mendeley one :) The region is interpreted from the Mendeley tags, it seems that we tag elements with something like "country_biodiversity" or something similar, and we derived the region from that country

dnoesgaard commented 3 years ago

Ok. I don't think this was ever used for anything, but it does seem consistent, e.g. http://api.gbif.org/v1/literature/search?q=cc612d90-460e-3dc9-9cb6-0418de9839dc has two different regions.

We can leave it, if you think it makes sense.