linked-art / linked.art

Development of a specification for linked data in museums, using existing ontologies and frameworks to build usable, understandable APIs
https://linked.art/
Other
89 stars 12 forks source link

IIIF Images should have a format #7

Closed workergnome closed 4 years ago

workergnome commented 7 years ago

I think that the proposed model for IIIF Images should have a dc:format.

As a user, I'm likely to build a switch statement off of that property to evaluate how best to handle various representation formats (PDF vs MP3 vs JPG vs MOV), and having a value provided will allow that to make more sense.

I suggest something that mimics the Presentation API, perhaps:

   "format": "application/ld+json;profile=\"http://iiif.io/api/image/2/context.json\""

I would also (and possibly more likely?) be happy with a straight

   "format": "application/ld+json"
azaroth42 commented 7 years ago

I'm okay with it, but it does mix Resource and Representation in a strange way. We say that it's an Image (which it is, abstractly) so to then be very concrete about the format of the representation (after following a redirect) that isn't an image media type seems to be mixing something up?

The conformsTo field gives enough information to know its IIIF... but it would be nice to be consistent that all representations have a format.

Added an issue for IIIF as to the profile.

azaroth42 commented 7 years ago

Tagging as blocked up by upstream IIIF/iiif.io#1090

azaroth42 commented 5 years ago

Unblocked by IIIF/api#1090 being fixed. Still needs better modeling as to what is happening.

azaroth42 commented 5 years ago

@Habennin, @azaroth42 and Nicola Carboni (working with Thomas Hansli of ETH Zurich, part of linked art) are working on a revision of CRMDig (Digital) that includes the notion of a service. This would revamp the model for this issue.

Rob and George to report on a LA call to gather feedback.

azaroth42 commented 4 years ago

Closing -- Discussion of the New Dig model being proposed was that the image is a real image (thus format would be JPG or similar) and it would have a Service, that conforms_to IIIF.