NationalMuseumAustralia / Collection-API

The public web API of the National Museum of Australia
10 stars 0 forks source link

Add secondary type field #45

Closed staplegun closed 5 years ago

staplegun commented 6 years ago

Adds more typing information, from EMu TitSecondaryObjectType field.

staplegun commented 6 years ago

Searchable as a separate field additionalType : https://csapi-test.nma.gov.au/object?additionalType=prints

f27wood commented 6 years ago

This is OK as is, but noting (if you can confirm) that the AdditionalType is using the EMU field TitObjectName rather than TitSecondaryObjectType?

And at some stage, we would also like to include an additional additional type, as some objects have the TitSecondaryObjectType populated. I will add that as a separate issue/task.

staplegun commented 6 years ago

Both TitObjectName and TitSecondaryObjectType are going into the same field: crm:P2_has_type in JSON-LD, which goes into additionalType in simple format.

For example: https://csapi-test.nma.gov.au/apiexplorer.html?id=object/230903

f27wood commented 6 years ago

OK great, already done! I can see this in the DC format. However, I cannot find where the additional types are referenced in the linked art version... what am I looking for?

Conal-Tuohy commented 6 years ago

https://csapi-test.nma.gov.au/object/230903?format=json-ld

See 'classified_as'