-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we use @container:@set to ensure arrays? #26
Comments
Tagging as priority as it will break all of our JSON. We should make it before it gets even harder to change. Thankfully the cromulent library can take care of the serialization invisibly ... but anyone with other code / pipelines might have a lot of work to do. |
None of my pipelines will have problems, since they're native RDF and use framing to take care of this. And the read scripts need to accommodate arrays OR objects, so they're already prepared for this. It will make it easier for everyone I the future, though. I'm a strong yes on this. |
My main misgiving is Other questions are:
I'll try and implement in crom as an optional flag and turn it on in a branch. |
azaroth42 marks this issue as being discussed in slack |
My first cut at a profile for whether properties should be multiples or not:
|
Re |
Done, and explained in the context design section. |
As demonstrated by @workergnome here:
https://gist.github.com/workergnome/e6e5bc219c7349ad64190b18e551e051
The trade-off is between having to test for the type and having lots of singleton arrays everywhere.
The equivalent discussion in IIIF is: IIIF/api#1131
The text was updated successfully, but these errors were encountered: