The BagIt File Packaging Format (V0.97)
draft-kunze-bagit-12

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Authors John Kunze  , Justin Littman  , Liz Madden  , Ed Summers  , Andy Boyko  , Brian Vargas 
Last updated 2015-12-27
Stream ISE
Intended RFC status Informational
Formats pdf htmlized (tools) htmlized bibtex
IETF conflict review conflict-review-kunze-bagit
Stream ISE state Response to Review Needed
Consensus Boilerplate Unknown
Document shepherd Adrian Farrel
IESG IESG state I-D Exists::AD Followup
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                           J. Kunze
Internet-Draft                                California Digital Library
Expires: June 29, 2016                                        J. Littman
                                            George Washington University
                                                               Libraries
                                                               L. Madden
                                                     Library of Congress
                                                              E. Summers
                                                  University of Maryland
                                                                A. Boyko
                                                               B. Vargas
                                                       December 27, 2015

                The BagIt File Packaging Format (V0.97)
                        draft-kunze-bagit-12.txt

Abstract

   This document specifies BagIt, a hierarchical file packaging format
   for storage and transfer of arbitrary digital content.  A "bag" has
   just enough structure to enclose descriptive "tags" and a "payload"
   but does not require knowledge of the payload's internal semantics.
   This BagIt format should be suitable for disk-based or network-based
   storage and transfer.

Status of this Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at http://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on June 29, 2016.

Copyright Notice

   Copyright (c) 2015 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

Kunze, et al.             Expires June 29, 2016                 [Page 1]
Internet-Draft                    BagIt                    December 2015

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents
   carefully, as they describe your rights and restrictions with respect
   to this document.  Code Components extracted from this document must
   include Simplified BSD License text as described in Section 4.e of
   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.1.  Purpose  . . . . . . . . . . . . . . . . . . . . . . . . .  3
     1.2.  Requirements . . . . . . . . . . . . . . . . . . . . . . .  3
     1.3.  Terminology  . . . . . . . . . . . . . . . . . . . . . . .  3
   2.  Structure  . . . . . . . . . . . . . . . . . . . . . . . . . .  5
     2.1.  Required Elements  . . . . . . . . . . . . . . . . . . . .  5
       2.1.1.  Bag Declaration: bagit.txt . . . . . . . . . . . . . .  5
       2.1.2.  Payload Directory: data/ . . . . . . . . . . . . . . .  5
       2.1.3.  Payload Manifest: manifest-<alg>.txt . . . . . . . . .  6
     2.2.  Optional Elements  . . . . . . . . . . . . . . . . . . . .  6
       2.2.1.  Tag Manifest: tagmanifest-<alg>.txt  . . . . . . . . .  6
       2.2.2.  Bag Metadata: bag-info.txt . . . . . . . . . . . . . .  7
       2.2.3.  Fetch File: fetch.txt  . . . . . . . . . . . . . . . .  9
       2.2.4.  Other Tag Files  . . . . . . . . . . . . . . . . . . . 10
     2.3.  Text Tag File Format . . . . . . . . . . . . . . . . . . . 10
     2.4.  Bag Checksum Algorithms  . . . . . . . . . . . . . . . . . 10
   3.  Complete, Incomplete, and Valid bags . . . . . . . . . . . . . 11
   4.  Serialization  . . . . . . . . . . . . . . . . . . . . . . . . 12
   5.  Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
     5.1.  Example of a basic bag . . . . . . . . . . . . . . . . . . 13
     5.2.  Another example bag  . . . . . . . . . . . . . . . . . . . 13
   6.  Security Considerations  . . . . . . . . . . . . . . . . . . . 15
     6.1.  Special directory characters . . . . . . . . . . . . . . . 15
     6.2.  Control of URLs in fetch.txt . . . . . . . . . . . . . . . 15
     6.3.  File sizes in fetch.txt  . . . . . . . . . . . . . . . . . 15
   7.  Practical Considerations (non-normative) . . . . . . . . . . . 16
     7.1.  Disk and network transfer  . . . . . . . . . . . . . . . . 16
     7.2.  Interoperability . . . . . . . . . . . . . . . . . . . . . 16
Show full document text