Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

WADM JSON-LD: what goes into //target/format? #197

Open
kimpham54 opened this issue May 25, 2017 · 2 comments
Open

WADM JSON-LD: what goes into //target/format? #197

kimpham54 opened this issue May 25, 2017 · 2 comments

Comments

@kimpham54
Copy link
Contributor

According to https://www.w3.org/TR/annotation-model/#external-web-resources under note, the //target/format property should indicate media types, such as from this list http://www.iana.org/assignments/media-types/media-types.xhtml#audio - right now it’s just “image” or “video”. Since we were annotating the presentation derivatives based on known viewers, we could declare the format based on that format (for instance, Basic Image viewer using image/jpeg). However, in the case where a different format is used, this value would need to be changed. Possibly a feature in the future to determine the mimetype of the presentation resource and write that into the format of the json-ld datastream.

@kstapelfeldt kstapelfeldt modified the milestone: 7.x-1.9 Release Jun 20, 2017
@MarcusBarnes MarcusBarnes modified the milestones: 7.x -1.10 Release, 7.x-1.9 Release Jun 20, 2017
@kstapelfeldt kstapelfeldt removed this from the 7.x -1.10 Release milestone Sep 13, 2017
@kstapelfeldt
Copy link
Member

This is definitely a priority, but as the work is less reusable and we are anticipating a CLAW version, we will try to get this right in the CLAW version.

@Natkeeran
Copy link
Contributor

Yes, the value we currently have for format property is not complaint with the standard. This does not impact any user facing functionality.

Determining the mime type will be different for the current release and CLAW.

Scope:

  • Create a function to determine the mimetype of the datastream.
  • Adjust the logic to handle the new format value

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants