File System Structure

The file system structure is compatible with the following standards:

[OCFL]
Oxford Common File Layout Specification 0.3. Edited by Andrew Hankinson (Bodleian Libraries, University of Oxford), Neil Jefferies (Bodleian Libraries, University of Oxford), Rosalyn Metz (Emory University), Julian Morley (Stanford University), Simeon Warner (Cornell University), and Andrew Woods (DuraSpace).
[BagIt]
The BagIt File Packaging Format (V1.0). Edited by J. Kunze (California Digital Library), J. Littman (Stanford Libraries), E. Madden (Library of Congress), J. Scancella (Library of Congress), C. Adams (Library of Congress).
Contents

System Root Directory

Contains one or more repository root directories.

[root]
├── {repository}
├── {repository}
├── {repository}
│   ...

Repository Root Directory

Contains the 6 main subdirectories of a repository.

[root]
└── {repository}
    ├── cache/ 1
    ├── config/ 2
    ├── data/ 3
    ├── deposit/ 4
    ├── log/ 5
    └── staging/ 6

Cache Directory

Contains media derivatives as produced and used by the Media API. Media derivatives can be managed with the WebDAV API.

Example:
[root]
└── {repository}
    ├── data
    │   └── myCollection
    │       └── myBundle
    │           └── v1
    │               └── content
    │                   └── Media
    │                       └── ZAG_EOI_20141009_1.wav 1
    └── cache
        └── myCollection
            └── myBundle
                └── v1
                    └── content
                        └── Media
                            └── ZAG_EOI_20141009_1.wav 2
                                └── full
                                    └── full
                                        └── 12000,150
                                            └── 0
                                                ├── spectrum
                                                │   └── default.png 3
                                                └── waveform
                                                    └── default.png 4

Config Directory

Contains configuration files needed by the Ingest API. Configuration files can be authored with the WebDAV API.

Example:
[root]
└── {repository}
    └── config
        ├── blam-cmdi2oai_dc.xsl 3
        ├── identity.xsl 2
        └── repository.xml 1

Data Directory

Contains the actual repository data according to the Oxford Common File Layout (OCFL) specification plus File System ACLs, an implementation specific OCFL extension. OCFL directories and ACLs can be managed with the WebDAV API.

Example:
[root]
└── {repository}
    └── data 1
        ├── 0=ocfl_1.0 2
        ├── acl.json 3
        ├── mol 4
        │   ├── altan_galab_qagan 5
        │   │   ├── 0=ocfl_object_1.0 6
        │   │   ├── acl.json 7
        │   │   ├── inventory.json 8
        │   │   ├── inventory.json.sha512 9
        │   │   └── v1 10
        │   │       ├── content 11
        │   │       │   ├── altan_galab_qagan.xml
        │   │       │   └── Resources
        │   │       │       ├── 2_Altan_Galab_Khan.pdf
        │   │       │       ├── 2_Altan_Galab_ Khan_Summary.pdf
        │   │       │       └── 2_Altan_Galab_Khan.wav
        │   │       ├── inventory.json 12
        │   │       └── inventory.json.sha512 13
        │   ├── arban_tabudugar_tang_ulus
        │   │   ├── 0=ocfl_object_1.0
        │   │   ├── inventory.json
        │   │   └── v1
        │   │       └── content
        │   │           ├── arban_tabudugar_tang_ulus.xml
        ...

Deposit Directory

Contains data uploaded with the Deposit API.

Example:
[root]
└── {repository}
    └── deposit
        ├── gtest@uni-koeln.de 1
        │   ├── 72bef2fb-fb87-4d1d-96e5-b904a54217fb 2
        │   │   ├── bagit.txt 3
        │   │   ├── data 4
        │   │   ├── manifest-sha-256.txt 5
        │   │   ├── tagmanifest-sha-256.txt 6
        │   │   └── metadata 7
        │   │       └── sword.json 8
        │   ├── 051391fa-8f40-4ea9-b7e3-905f0e854cf2
        │   │   ├── bagit.txt
        │   │   ├── data
        │   │   ├── ...
        ...
        ├── user@example.com
        ...

Log Directory

Contains log files of the Ingest API. Log files can be checked with the WebDAV API.

[root]
└── {repository}
    └── log
        ├── reindex.log
        ├── ...

Staging Directory

Contains temporary file segments uploaded with the Deposit API.

[root]
└── {repository}
    └── deposit
        ├── gtest@uni-koeln.de
        │   ├── 72bef2fb-fb87-4d1d-96e5-b904a54217fb
        │   │   ├── ...
        │   │   ├── ...