NationalMuseumAustralia / Collection-API

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

Linked art included_in type field #17

Closed f27wood closed 6 years ago

f27wood commented 6 years ago

In the linked art JSON format, the included_in has a type value of PhysicalObject. However, this is a collection, so should the type be 'Collection' or something similar to indicate it is a collection?

Example code:

"included_in" : 
{ "type" : "PhysicalObject",
  "value" : "American-Australian Scientific Expedition to Arnhem Land (AASEAL) collection",
  "classified_as" : 
  { "id" : "http:\/\/vocab.getty.edu\/aat\/300025976",
    "type" : "Type",
    "label" : "collection (object grouping)" } } }
Conal-Tuohy commented 6 years ago

I agree: the resource's type should be "Collection", representing the CIDOC CRM class E78_Collection.

We can use this class now by linking to "Linked Art's' cidoc-extension.json JSON-LD context.

f27wood commented 6 years ago

Seems good to me

Conal-Tuohy commented 6 years ago

Collections are now represented using the E78_Collection class. e.g. http://nma.conaltuohy.com/object/165539#