You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/_specification/1.2-DRAFT/appendix/implementation-notes.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,15 @@ When implementing tools to work with RO-Crate it is not necessary to use JSON-LD
46
46
47
47
## Combining with other packaging schemes
48
48
49
-
RO-Crates may co-exist with other packaging schemes, such as [BagIt] using two general approaches; either (a) _adding_ RO-Crate into a package as part of the payload or (b) _wrapping_ another kind of package. Examples using BagIt follow.
49
+
RO-Crates may co-exist with other packaging schemes, such as [BagIt] or [ELN] using two general approaches; either (a) _adding_ RO-Crate into a package as part of the payload or (b) _wrapping_ another kind of package.
50
+
51
+
### ELN examples
52
+
53
+
An "ELN" archive (with file extension **.eln**, see [IANA assignment](https://www.iana.org/assignments/media-types/application/vnd.eln+zip) and [specification](https://github.com/TheELNConsortium/TheELNFileFormat/blob/master/SPECIFICATION.md)), is a valid RO-Crate packaged in a certain way. It is a ZIP file that contains a folder, and this folder _is_ the RO-Crate and contains the `ro-crate-metadata.json` file. See [Structure of the archive](https://github.com/TheELNConsortium/TheELNFileFormat/blob/master/SPECIFICATION.md#structure-of-the-archive) from the specification.
54
+
55
+
As such, when processing a **.eln** file, one needs to extract the ZIP archive, look for the only folder present at root directory of the ZIP archive, and process its content as a normal RO-Crate.
56
+
57
+
### BagIt examples
50
58
51
59
BagIt is described in [RFC 8493]:
52
60
@@ -59,7 +67,7 @@ BagIt is described in [RFC 8493]:
59
67
BagIt and RO-Crate have largely separate concerns - RO-Crate is focussed on rich
60
68
metadata, the semantics of data, while BagIt is about reliable transfer.
61
69
62
-
### Adding RO-Crate to Bagit
70
+
####Adding RO-Crate to Bagit
63
71
64
72
RO-Crate can be combined with BagIt simply by placing the RO-Crate files
in combination with a secure PGP key exchange or equivalent trust network.
138
146
139
-
#### Base URI in BagIt
147
+
#####Base URI in BagIt
140
148
141
149
The arcp specification suggests how [BagIt UUID identifiers] can be used to calculate the base URI of a bag, see section [Establishing a base URI inside a ZIP file](relative-uris#establishing-a-base-uri-inside-a-zip-file). For this purpose it is RECOMMENDED that `bag-info.txt` includes a fresh UUID like:
0 commit comments