Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2306

BagIt Profile for Perseids (Research Object Bundle)

    Details

      Description

      Perseids will export BagIt bags according to the Research Object Bundle BagIt Profile which we would like to be able to ingest into Fedora via the import/export feature. The profile is follows, per https://github.com/ResearchObject/bagit-ro/blob/master/profile.json

      ```
      {
         "BagIt-Profile-Info":{
            "BagIt-Profile-Identifier":"https://w3id.org/ro/bagit/profile",
            "Source-Organization":"researchobject.org",
            "Contact-Name":"Stian Soiland-Reyes",
            "Contact-Email":"soiland-reyes@cs.manchester.ac.uk",
            "External-Description":"BagIt profile for Research Objects. See https://w3id.org/ro/bagit",
            "Version":"0.2.20160422"
         },
         "Bag-Info": {
            "Bag-Size": {
               "required":true
            },
            "Payload-Oxum": {
               "required":true
            }
         },
         "Manifests-Required":[
            "md5", "sha1"
         ],
         "Allow-Fetch.txt": true,
         "Serialization": "required",
         "Accept-Serialization":[
            "application/zip",
            "application/x-tar",
            "application/x-tar+gzip"
         ],
         "Tag-Manifests-Required":[
           "md5", "sha1"
         ],
         "Tag-Files-Required":[
           "metadata/manifest.json"
         ],
         "Accept-BagIt-Version":[
            "0.97"
         ]
      }
      ```

      Functional differences from the default profile specified in FCREPO-2224 include Serialization (required not optional), specification of Accept-Serialization, specification of Tag-Files-Required, additional md5 checksum manifest and tag-manifest required

      Diff :

      ```
       {
      + Accept-Serialization: [
      + "application/zip"
      + "application/x-tar"
      + "application/x-tar+gzip"
      + ]
      + Tag-Files-Required: [
      + "metadata/manifest.json"
      + ]
         BagIt-Profile-Info: {
      - BagIt-Profile-Identifier: "http://fedora.info/fcrepoBagProfile.json"
      + BagIt-Profile-Identifier: "https://w3id.org/ro/bagit/profile"
      - Source-Organization: "Duraspace"
      + Source-Organization: "researchobject.org"
      - Contact-Name: "Nick Ruest"
      + Contact-Name: "Stian Soiland-Reyes"
      - Contact-Email: "ruestn@yorku.ca"
      + Contact-Email: "soiland-reyes@cs.manchester.ac.uk"
      - External-Description: "Default Bag Profile for Fedora."
      + External-Description: "BagIt profile for Research Objects. See https://w3id.org/ro/bagit"
      - Version: "1.2"
      + Version: "0.2.20160422"
         }
         Bag-Info: {
      - Source-Organization: {
      - required: true
      - }
      - Organization-Address: {
      - required: false
      - }
      - Contact-Name: {
      - required: false
      - }
      - Contact-Phone: {
      - required: false
      - }
      - Contact-Email: {
      - required: false
      - }
      - External-Description: {
      - required: false
      - }
      - External-Identifier: {
      - required: false
      - }
      - Bag-Group-Identifier: {
      - required: false
      - }
      - Bag-Count: {
      - required: false
      - }
      - Internal-Sender-Identifier: {
      - required: false
      - }
      - Internal-Sender-Description: {
      - required: false
      - }
      - Bagging-Date: {
      - required: true
      - }
         }
         Manifests-Required: [
      + "md5"
           "sha1"
         ]
      - Allow-Fetch.txt: false
      + Allow-Fetch.txt: true
      - Serialization: "optional"
      + Serialization: "required"
         Tag-Manifests-Required: [
      + "md5"
           "sha1"
         ]


      ```

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                esc Esmé Cowles
                Reporter:
                bridget.almas Bridget Almas
                Reviewer:
                Nick Ruest
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: