- Extension Name: NNNN-content-subpath
- Authors: Jürgen Enge (Basel)
- Minimum OCFL Version: 1.0
- OCFL Community Extensions Version: 1.0
- Obsoletes: n/a
- Obsoleted by: n/a
This object extension permits the creation of an additional path hierarchy within the content folder of an object version. In essence, the concept of an "area" encompasses both a folder name and a description. This allows for the alteration of subfolders while ensuring that the gocfl tools are able to identify the location of the content. It is imperative that one ˋareaˋ is designated as "content" to guarantee that the payload can be readily accessed by any ocfl tool.
This extra path layer lets you create subfolders for meta, data and log, for example. The data folder is where you'll find the payload for the archived object. You can use these three folders to organise content, metadata and logging.
- Name:
subPath
- Description: map of named
PathDescription
. The entry name is thearea
. - Type: map
- Default:
- Description: map of named
-
Name:
path
- Description: subpath in object content
- Type: string
- Default:
-
Name:
description
- Description: description of content belonging to this subfolder
- Type: string
- Default:
There MUST exist an area
called content
since this is the default area for adding payload
files.
When adding a content file the subfolder will be automatically inserted into the content path of the
manifest. Within the version content
folder write a readme.md
file containing the description of
the folders.
It is not necessary to specify any parameters to use the default configuration. However, if you were to do so, it would look like the following:
{
"extensionName": "NNNN-content-subpath",
"subPath": {
"content": {
"path": "data",
"description": "Payload of archival object"
},
"metadata": {
"path": "meta",
"description": "additional semantic metadata"
},
"index": {
"path": "index",
"description": "additional technical metadata"
}
}
}
\---content
| README.md
|
+---data
| | [...]
| |
| \---[...]
+---meta
| | [...]
|
\---index
indexer_v1.jsonl
### Description of folders
##### data
Payload of archival object
##### meta
additional semantic metadata
##### index
additional technical metadata