Closed jamieu closed 8 months ago
legal.rights.usage_terms
I believe use of this should have been superseded by the new ‘License’ field in iBase, which was added to the index during the iBase upgrade in Phase 1 of CO 2.0.
Do we need logic to fall back to using ‘usage_terms’ if License is blank though?
There is an update waiting to take place in iBase to parse and clean license info from the Rights Usage Terms field into the new License field.
UPDATE 7th Feb (LB):
legal.right.usage_terms / licence
We should be using "licence": null
in iBase API response to hold (constrained list of) CC licences going forward.
As for the plan, both Licence and Rights Usage Terms will continue to be used in iBase, with the Licence holding a specific set of licences (from a controlled list) whilst Rights Usage Terms will continue to host more detailed/complex licencing information where necessary.
caption
title.value[type=caption] / COLLECTIONS_ONLINE_CAPTION
This field (COLLECTIONS_ONLINE_CAPTION) was intended to host captions that were applicable to specific images, rather than repeating the title info, as the original caption was doing.
It appears that during the upgrade to iBase, all/most data from the ‘Caption’ field was copied across to this field which was not the goal, so we may need to clear most of the data out in iBase first. That would then leave ‘Caption’ as a native iBase field that’s just used for the iBase frontend UI, to caption thumbnails, the ‘Title’ field to represent the object title, and the ‘Collections Online Caption’ to host captions that uniquely described a certain image.
Q. Clarify the order of fallback for what we display as the caption texrt under an image.
SHOWSTOPPER: We are not seeing COLLECTIONS_ONLINE_CAPTION in the iBase API response, despite seeing it in iBase UI
previously named credit in public index and labeled "credit":"Science Museum Group Collection" in API response
credit
field to CIIM ( "credit":"Science Museum Group Collection" from iBase API response) [AP: JU / KI]credit
to public ES index [AP: JU / KI]Example of record with new CC 'licence' field
"licence":"CC BY-NC-SA 4.0"}
http://medialibrary.sciencemuseum.ac.uk/api/v2/items/3563
licence
needs extracting (from iBase API) into CIIM and pushed to public index. [AP: KI / JU]current legal.right.usage_terms
(no longer is use) [AP: KI / JU]licence
needs plumbing in, in place of current legal.right.usage_terms
to drive CC licence block/logic [AP: JU]COLLECTIONS_ONLINE_CAPTION
needs adding to iBase API [AP: AH / iBase]COLLECTIONS_ONLINE_CAPTION
needs extracting (from API) into CIIM and pushed to public index [AP: JU / KI]In progress KI #5229, awaiting index update & testing + minor refactoring
http://localhost:8000/objects/co8829091
Need example with a CC licence to test
Also credit is now an array?
Example - co8829091/ media-555502
The screenshot here is of the multimedia block on the object, where you can see there is credit, position and then usage_rights is removed Licence is actually already being pulled in but in this record the licence value is null.
CC licence (constrained): multimedia.legal.rights.licence
(was multimedia.legal.right.usage_terms
)
Credit: multimedia.credit
(no change)
Copyright: multimedia.legal.rights.copyright
(was multimedia.legal.right.details
)
Caption: multimedia.title.caption
(same as before, but now populated with COLLECTIONS_ONLINE_CAPTION
)
http://localhost:8000/api/objects/co8384537
https://collection.sciencemuseumgroup.org.uk/api/objects/co8384537
Needs testing http://localhost:8000/objects/co8384537
Working as intended, type='catalogue name' values surpassed.
Now that we have media we need to check this values and mappings are correct, we also seem to be missing 'credit' do we still need that?
live: https://collection.sciencemuseumgroup.org.uk/objects/co65065/the-munition-girls-oil-painting dev: http://localhost:8000/objects/co65065/
Using iBase ID 27827 (Painting, The Munition Girls, by Alexander Stanhope Forbes) as an example (see API response here)
"credit": "Science Museum Group Collection",
(see live index below). Do we still need this field/value?legal rights.details
in current index"licence": null
in iBase API response;)caption
(this is 'record title' in iBase, so not for public use)COLLECTIONS_ONLINE_CAPTION
COLLECTIONS_ONLINE_CAPTION
needs adding to iBase API / needs adding to CIIM & Index / Fallback to the Mimsy title for this page (effectively repeat the page title under the image, poss. truncated)credit
in public index and labeled"credit":"Science Museum Group Collection"
in API response / KI need to extractcredit
from iBase API to CIIM and add to public index /See also https://github.com/TheScienceMuseum/collectionsonline/issues/1549 and https://github.com/TheScienceMuseum/collectionsonline/issues/1548 as these may be related. Be good to package up any index changes here (and in those issues) into a single KI ticket.
dev
live
Other notes:
[1] The CIIM holds two title values, one is the actual iBase record title I assume and one is a field named caption. We seem to be using
caption
.See API response for 27827 here