Skip to content

Unexpected validation error regarding file ID format in E-ARK AIP package #345

@pecajt

Description

@pecajt

In our E-ARK AIP packages, we use UUIDs to identify files.
During validation (using profile 2.2.0), we encounter the following error:
     "specification": "AIP-",
      "id": "AIP9",
"name": "File ID",
"location": "file/@id",
"description": "Identifier of a file which is part of the AIP File identifier; must be unique and start with the prefix ID",
"cardinality": "0..1",
"level": "MUST",
"testing": {
"outcome": "FAILED",
"issues": [
"The mets/fileSec/fileGrp/file/@id must start with ID in uuid-aa3dd72c-9a2d-4dd4-b9f6-3b5fae69295cdoes not start with ID"
],
"warnings": [],
"notes": []
}

However, this validation rule (AIP9) does not appear in the official AIP specification at https://earkaip.dilcis.eu/, and it is unclear which rule this check is based on.
In our understanding, using a prefix in file identifiers is recommended but not mandatory. Moreover, the documentation explicitly mentions UUIDs (without the "ID" prefix) as an alternative example.
See section 5.1.7 of the AIP specification 2.2.0: https://earkaip.dilcis.eu/#metsidentifier
Here is an example of the fileSec from our package that triggers the error:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions