BagIt Profile Required Tag Presence Checker

Check which bag-info metadata elements required by a BagIt profile are absent, using the case-insensitive element-name comparison required by RFC 8493 while preserving the requested spelling in the result.

Description

Compare required and present bag-info metadata element names and report missing BagIt profile tags case-insensitively.

Check which bag-info metadata elements required by a BagIt profile are absent, using the case-insensitive element-name comparison required by RFC 8493 while preserving the requested spelling in the result.

When to use BagIt Profile Required Tag Presence Checker

  • Compare required and present bag-info metadata element names and report missing BagIt profile tags case-insensitively.
  • Apply the same explicit rule consistently during ingest, quality control, reporting, or preservation planning.
  • Expose records that need human review without silently rewriting the source data.

How the calculation works

RFC 8493 metadata element names are case-insensitive, so Bagging-Date and bagging-date identify the same element.1

missing = unique(required) − casefold(present)

Interpreting the result

RFC 8493 metadata element names are case-insensitive, so Bagging-Date and bagging-date identify the same element.

Assumptions and limitations

  • This checks name presence only; it does not parse bag-info.txt, validate values, check repeatability, or verify payload/tag manifests.
  • Preserve the original value and record the rule version when using this result in an archival workflow.

References

  1. RFC 8493: The BagIt File Packaging Format — RFC Editor

Don't forget to set a bookmark for tool.io!
Privacy | Imprint | Cookies