-
Notifications
You must be signed in to change notification settings - Fork 36
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
Remove heuristic for nested ro-crate metadata files #365
base: main
Are you sure you want to change the base?
Conversation
I think the fall-back algorithm was added by @simleo in #198 -- so Simone, was there some cases of RO-Crates with absolute URI for their |
Since 1.2, detached RO-Crates can have an absolute URI for their |
https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/root-data-entity.html says:
|
Well spotted, and that would be why this algorithm was there. That would however be inconsistent with https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/root-data-entity.html#ro-crate-metadata-descriptor which locks down the name:
Perhaps a second MUST should be included there on the @ptsefton you have been making detached crates, what have you named the metadata descriptor? In Dataverse for instance it is just called |
There is another hint at the fact that
|
Decided 2024-11-14 Delete "If the root data entity @id is an absolute URI, the RO-Crate is considered web-based: in this case, the metadata descriptor SHOULD also have an absolute URI as its @id, which MUST have ro-crate-metadata.json (or ro-crate-metadata.jsonld in legacy crates) as its last path segment" Add Fallback for "ro-crate-metadata.jsonld" for RO-Crate 1.0 |
This algorithm appendum to look for
..../ro-crate-metadata.json
URLs seems unnecessary as such JSON-LDs is not conforming to 1.2, 1.1, 1.0 nor 0.2