-
Hi, I am currently working on adding support for the first features of the 1.2-DRAFT to ro-crate-java. I start by supporting "conformsTo" to be an array (or not) when reading the crate. If I understand it correctly, this is a specific feature of 1.2. I hope I did not just miss the part in the specification that explains my question: I also saw that the "finding the root data entity" algorithm changed. I think this change makes a lot of sense, but now I wonder how to handle the fact that when reading a crate, I do not know which algorithm should be applied. My questions are:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Sorry this is an old question.. could you check if algorithm in https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/root-data-entity.html#finding-the-root-data-entity is now clearer? The algorithm would be backward compatible to 1.1 as there was no way to rename I would try 1.1 algorithm first, then revert to 1.0 algorithm which should also find 0.2. Do you think we need a note in 1.2 (#353) about the backward compatibility and other algorithms? |
Beta Was this translation helpful? Give feedback.
Sorry this is an old question.. could you check if algorithm in https://www.researchobject.org/ro-crate/specification/1.2-DRAFT/root-data-entity.html#finding-the-root-data-entity is now clearer?
The algorithm would be backward compatible to 1.1 as there was no way to rename
ro-crate-metadata.json
entity in 1.1, however older versions 1.0 could havero-crate-metadata.jsonld
which would fail the 1.2 algorithm. Would you consider that a breaking change?I would try 1.1 algorithm first, then revert to 1.0 algorithm which should also find 0.2.
Do you think we need a note in 1.2 (#353) about the backward compatibility and other algorithms?