api icon indicating copy to clipboard operation
api copied to clipboard

Possible discrepancy between Pres. API spec. and JSON-LD Context re. viewingDirection

Open milvld opened this issue 1 year ago • 2 comments

While browsing the Presentation API specification and the accompanying JSON-LD Context, I've noticed that the specification states that the value of viewingDirection 'MUST be a String', whereas the Context views this as an @ container of @ set.

Is it possible that this is a contradiction? Since it results in the fact that the manifest outputted using this context, uses an array of strings for viewingDirection rather than a single string value.

milvld avatar May 15 '24 14:05 milvld

Great catch, thank you! It shouldn't be @container:@set in the context

azaroth42 avatar Jun 06 '24 20:06 azaroth42

Dawn and Rob note that this can be fixed at any time as context is not semantically versioned

azaroth42 avatar Jun 07 '24 00:06 azaroth42