Metadata AIPu

Každé AIP XML reprezentující metadatovou verzi AIP je kompletní a obsahuje úplný popis datové části.

AIP XML je ve formátu METS dle specifikace http://www.loc.gov/standards/mets/. Obsahuje:

  • METS hlavičku

  • Popisná metadata archivní entity, uložená ve vlastním AIS UK standardu

  • Metadata ZIP balíčku a jednotlivých souborů, uložená v PREMIS standardu

  • Původcovská metadata archiválie extrahovaná ze vstupního balíčku (SIP) v EAD standardu

  • Metadata agentů a událostí v METS standardu

  • METS fileSec

  • METS structMap

Strukturální mapa

Strukturální mapa je povinnou součástí metadat AIPu a zajišťuje vazbu mezi metadady a jednotlivými komponentami v balíčku (jeho datová část). Balíček obsahuje právě jednu takovouto mapu. Vzniká při příjmu archiválií.

Hlavní účely strukturální mapy jsou:

  • zajišťuje vazbu mezi fyzickou komponentou (počítačovým souborem) a jeho metadaty

  • zachycuje vnitřní hierarchickou strukturu balíčku a jeho částí

Obsahová podoba strukturální mapy je odlišná pro typy archivních balíčků (NSESSS, volné soubory). Z hlediska vlastní struktury je tvořena sadou úrovní (elementy div) a odkazy na jednotlivé soubory/komponenty (elementy fptr). Každá úroveň má vždy uveden atribut TYPE= definující její typ a také název v atributu LABEL=.

Todo

Kde jsou specifikovány typy vstupních dat? NSESSS vs volné soubory

Strukturální mapa pro NSESSS

Strukturální mapa pro archiválie přejímané na základě NSESSS obsahuje hierachii entit začínající od spisového plánu, věcných skupin až po jednotlivé komponenty tvořící obsah balíčku. V úrovni základní entity (díl typového spisu, spis, dokument) je odkazován XML soubor se zdrojovými metadaty předaný v rámci SIPu (sip.xml).

Přípustné hodnoty pro atribut TYPE v elementu <div> jsou:

  • spisový plán - v kořenovém elementu <div>

  • věcná skupina

  • typový spis

  • díl typového spisu

  • spis

  • dokument

  • připojený dokument

  • připojený spis

  • komponenta - pro fyzický soubor, dále obsahují vnořený element <fptr>

Strukturální mapa pro volné soubory

Strukturální mapa pro archiválie přejímané výběrem z volných souborů. V úrovni kořenového elementu (type="dataset") je odkazován XML soubor se zdrojovými metadaty předaný v rámci SIPu (sip.xml).

Přípustné hodnoty pro atribut TYPE v elementu <div> jsou:

  • dataset - v kořenovém elementu <div>

  • složka - pro logické úrovně odpovídající složkám souborového systému

  • komponenta - pro fyzický soubor, dále obsahují vnořený element <fptr>

Ukázka podoby metadat

Ukázka metadat AIPu vzniklého na základě výběru z volných souborů.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<METS:mets xmlns:AIS="http://ais.cuni.cz/AIS_XS" xmlns:METS="http://www.loc.gov/METS/" xmlns:ns2="http://www.w3.org/1999/xlink" xmlns:ns3="http://ead3.archivists.org/schema/" xmlns:premis="http://www.loc.gov/premis/v3" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" OBJID="a_00288577">
    <METS:metsHdr CREATEDATE="2021-09-02T06:25:48.536579Z" ID="a_00288577_aip_v00001_1"/>
    <METS:dmdSec ID="AIS_ARCHIVE">
        <METS:mdWrap MDTYPE="OTHER">
            <METS:xmlData>
                <!-- Popisná metadata archivní entity ve vlastním AIS UK standardu (kořenový element dle typu entity: listNad, vnejsiZmena, vnitrniZmena, archivalie, archivniPomucka). -->
            </METS:xmlData>
        </METS:mdWrap>
    </METS:dmdSec>
    <METS:amdSec>
        <METS:techMD ID="AIS_ZIP">
            <!-- Metadata AIP objektu (ZIP souboru). -->
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:object version="3.0" xsi:type="premis:file">
                        <premis:objectIdentifier>
                            <!-- Interní identifikátor. -->
                            <premis:objectIdentifierType>hdl</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>cf492b1a-42e2-475f-b38f-3f0b771285e2</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:objectIdentifier>
                            <!-- Externí identifikátor. -->
                            <premis:objectIdentifierType>local</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>a_00288577_v00002</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:preservationLevel>
                            <premis:preservationLevelValue>ORIGINAL</premis:preservationLevelValue>
                        </premis:preservationLevel>
                        <premis:objectCharacteristics>
                            <premis:compositionLevel>0</premis:compositionLevel>
                            <premis:fixity>
                                <premis:messageDigestAlgorithm>SHA-512</premis:messageDigestAlgorithm>
                                <premis:messageDigest>e2bf540e9f3371faee83a94098483f0f6886ac3980c0fbcccfc72b2e384f749b9ca19e7b19648afd7ed49af78ff1df282f62433e7f9bd60e3f1495d9eab2d1a2</premis:messageDigest>
                            </premis:fixity>
                            <premis:size>53711833</premis:size>
                            <premis:format>
                                <premis:formatDesignation>
                                    <premis:formatName>ZIP Format</premis:formatName>
                                </premis:formatDesignation>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>PRONOM</premis:formatRegistryName>
                                    <premis:formatRegistryKey>x-fmt/263</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                            <premis:format>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>MIME</premis:formatRegistryName>
                                    <premis:formatRegistryKey>application/zip</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                        </premis:objectCharacteristics>
                    </premis:object>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:techMD>
    </METS:amdSec>
    <METS:amdSec>
        <METS:techMD ID="AIS_obj_00000">
            <!-- Metadata souboru vnořeného v ZIP. -->
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:object version="3.0" xsi:type="premis:file">
                        <premis:objectIdentifier>
                            <premis:objectIdentifierType>hdl</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>0242b4ce-3999-4606-a68e-41d7a28a882f</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:objectIdentifier>
                            <premis:objectIdentifierType>local</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>a_00288577_sip_v00001</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:preservationLevel>
                            <!-- LQ_COPY/HQ_COPY/LTP_COPY/ORIGINAL/NOT_ORIGINAL/METADATA/ATTACHMENT -->
                            <premis:preservationLevelValue>METADATA</premis:preservationLevelValue>
                        </premis:preservationLevel>
                        <premis:objectCharacteristics>
                            <premis:compositionLevel>1</premis:compositionLevel>
                            <premis:fixity>
                                <premis:messageDigestAlgorithm>SHA-512</premis:messageDigestAlgorithm>
                                <premis:messageDigest>22f1304ed2fde58fec3e59bb3fb64a7af2131708cff56ab11e27debe493adf202580f1a7ac855ac11fadde0bc3e2b68bc738070d90387a1ad2447cfcdda39ca2</premis:messageDigest>
                            </premis:fixity>
                            <premis:size>26742</premis:size>
                            <premis:format>
                                <premis:formatDesignation>
                                    <premis:formatName>Extensible Markup Language 1.0</premis:formatName>
                                </premis:formatDesignation>
                                <premis:formatRegistry>
                                    <!-- Identifikátor v AIS formátovém modulu. -->
                                    <premis:formatRegistryName>AIS_FORMAT_MODULE</premis:formatRegistryName>
                                    <premis:formatRegistryKey>4af91b4a-4952-47a9-a123-682999743d64</premis:formatRegistryKey>
                                </premis:formatRegistry>
                                <!-- VALID/NOT_VALID/NOT_VALIDATED -->
                                <premis:formatNote>VALID</premis:formatNote>
                            </premis:format>
                            <premis:format>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>MIME</premis:formatRegistryName>
                                    <premis:formatRegistryKey>application/xml</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                            <premis:format>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>PRONOM</premis:formatRegistryName>
                                    <premis:formatRegistryKey>fmt/101</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                        </premis:objectCharacteristics>
                        <premis:originalName>sip.xml</premis:originalName>
                    </premis:object>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:techMD>
    </METS:amdSec>
    <METS:amdSec>
        <METS:techMD ID="AIS_obj_00014">
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:object version="3.0" xsi:type="premis:file">
                        <premis:objectIdentifier>
                            <premis:objectIdentifierType>hdl</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>7e3972ed-8285-45d2-9e49-e22949436719</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:objectIdentifier>
                            <premis:objectIdentifierType>local</premis:objectIdentifierType>
                            <premis:objectIdentifierValue>a_00288577_dok00014_f001_v00001</premis:objectIdentifierValue>
                        </premis:objectIdentifier>
                        <premis:preservationLevel>
                            <premis:preservationLevelValue>ORIGINAL</premis:preservationLevelValue>
                        </premis:preservationLevel>
                        <premis:objectCharacteristics>
                            <premis:compositionLevel>1</premis:compositionLevel>
                            <premis:fixity>
                                <premis:messageDigestAlgorithm>SHA-512</premis:messageDigestAlgorithm>
                                <premis:messageDigest>693c33d21772d1efc882e34a0d014e9255a7535ad5c504027810b11fd53f3264f8f7e94bc4d28691655ff1e3c07e75c6a4729c9ddb0e1f200214e6f6925bae27</premis:messageDigest>
                            </premis:fixity>
                            <premis:size>3486567</premis:size>
                            <premis:format>
                                <premis:formatDesignation>
                                    <premis:formatName>JP2 (JPEG 2000 part 1)</premis:formatName>
                                </premis:formatDesignation>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>AIS_FORMAT_MODULE</premis:formatRegistryName>
                                    <premis:formatRegistryKey>2650eecb-bcc2-4b84-bfb5-ee84db45226a</premis:formatRegistryKey>
                                </premis:formatRegistry>
                                <premis:formatNote>VALID</premis:formatNote>
                            </premis:format>
                            <premis:format>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>MIME</premis:formatRegistryName>
                                    <premis:formatRegistryKey>image/jp2</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                            <premis:format>
                                <premis:formatRegistry>
                                    <premis:formatRegistryName>PRONOM</premis:formatRegistryName>
                                    <premis:formatRegistryKey>x-fmt/392</premis:formatRegistryKey>
                                </premis:formatRegistry>
                            </premis:format>
                            <premis:objectCharacteristicsExtension>
                                <mix xmlns="http://www.loc.gov/mix/v20">
                                    <BasicDigitalObjectInformation>
                                        <Compression>
                                            <compressionScheme>JPEG 2000</compressionScheme>
                                        </Compression>
                                    </BasicDigitalObjectInformation>
                                    <BasicImageInformation>
                                        <BasicImageCharacteristics>
                                            <imageWidth>2541</imageWidth>
                                            <imageHeight>3658</imageHeight>
                                        </BasicImageCharacteristics>
                                    </BasicImageInformation>
                                </mix>
                            </premis:objectCharacteristicsExtension>
                        </premis:objectCharacteristics>
                        <premis:originalName>komponenty/607/df53c210-d3f7-11e6-a1de-001018b3eb4c/usercopy/uc_df53c210-d3f7-11e6-a1de-001018b3eb4c_0002.jp2</premis:originalName>
                    </premis:object>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:techMD>
    </METS:amdSec>
    <METS:amdSec>
        <METS:sourceMD ID="AIS_SOURCE">
            <METS:mdWrap MDTYPE="EAD">
                <METS:xmlData>
                    <ns3:ead relatedencoding="nacr.cz/digiarch/2021">
                        <!-- Původcovská metadata archiválie přebraná ze vstupního SIP. -->
                    </ns3:ead>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:sourceMD>
    </METS:amdSec>
    <METS:amdSec ID="agents">
        <METS:digiprovMD ID="AGENT_SW_AIS">
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:agent version="3.0">
                        <!-- Metadata SW agenta, v tomto případě obecného agenta AIS, vázaného na některou událost. -->
                        <premis:agentIdentifier>
                            <premis:agentIdentifierType>AIS_SoftwareID</premis:agentIdentifierType>
                            <premis:agentIdentifierValue>AIS</premis:agentIdentifierValue>
                        </premis:agentIdentifier>
                        <premis:agentName>AIS</premis:agentName>
                        <premis:agentType>software</premis:agentType>
                    </premis:agent>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:digiprovMD>
        <METS:digiprovMD ID="AGENT_U_00000123">
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:agent version="3.0">
                        <!-- Metadata agenta osoby vázané na některou událost. -->
                        <premis:agentIdentifier>
                            <premis:agentIdentifierType>AIS_UserID</premis:agentIdentifierType>
                            <premis:agentIdentifierValue>00000123</premis:agentIdentifierValue>
                        </premis:agentIdentifier>
                        <premis:agentName>Příjmení, Jméno</premis:agentName>
                        <premis:agentType>person</premis:agentType>
                    </premis:agent>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:digiprovMD>
    </METS:amdSec>
    <METS:amdSec ID="events">
        <METS:digiprovMD ID="EVENT_1">
            <METS:mdWrap MDTYPE="PREMIS">
                <METS:xmlData>
                    <premis:event version="3.0">
                        <premis:eventIdentifier>
                            <premis:eventIdentifierType>EventId</premis:eventIdentifierType>
                            <premis:eventIdentifierValue>EVENT_1</premis:eventIdentifierValue>
                        </premis:eventIdentifier>
                        <!-- creation / metadata modification / accession / capture / deacession / information package splitting / information package creation -->
                        <premis:eventType>accession</premis:eventType>
                        <premis:eventDateTime>2021-09-02T06:25:48.596890Z</premis:eventDateTime>
                        <premis:linkingAgentIdentifier>
                            <premis:linkingAgentIdentifierType>AIS_SoftwareID</premis:linkingAgentIdentifierType>
                            <premis:linkingAgentIdentifierValue>AIS</premis:linkingAgentIdentifierValue>
                        </premis:linkingAgentIdentifier>
                        <premis:linkingAgentIdentifier>
                            <premis:linkingAgentIdentifierType>AIS_UserID</premis:linkingAgentIdentifierType>
                            <premis:linkingAgentIdentifierValue>00000123</premis:linkingAgentIdentifierValue>
                        </premis:linkingAgentIdentifier>
                        <premis:linkingObjectIdentifier>
                            <premis:linkingObjectIdentifierType>ObjectId</premis:linkingObjectIdentifierType>
                            <premis:linkingObjectIdentifierValue>a_00288577_dok00014_f001_v00001</premis:linkingObjectIdentifierValue>
                        </premis:linkingObjectIdentifier>
                    </premis:event>
                </METS:xmlData>
            </METS:mdWrap>
        </METS:digiprovMD>
    </METS:amdSec>
    <METS:fileSec>
        <METS:fileGrp USE="METADATA">
            <METS:fileGrp>
                <METS:file ID="a_00288577_sip_v00001" SEQ="1">
                    <METS:FLocat LOCTYPE="OTHER" xlink:href="a_00288577_sip_v00001.xml"/>
                </METS:file>
            </METS:fileGrp>
        </METS:fileGrp>
        <METS:fileGrp USE="ATTACHMENT"/>
        <METS:fileGrp USE="NOT_ORIGINAL"/>
        <METS:fileGrp USE="ORIGINAL">
            <METS:fileGrp>
                <METS:file GROUPID="dok00001_v00001" ID="a_00288577_dok00014_f001_v00001" SEQ="1">
                    <METS:FLocat LOCTYPE="OTHER" xlink:href="a_00288577_dok00014_f001_v00001.xml"/>
                </METS:file>
            </METS:fileGrp>
        </METS:fileGrp>
        <METS:fileGrp USE="LTP_COPY"/>
        <METS:fileGrp USE="LQ_COPY"/>
        <METS:fileGrp USE="HQ_COPY"/>
    </METS:fileSec>
    <METS:structMap>
        <!-- Strukturální mapa, částečně přebraná ze vstupního SIP. Hodnoty v AMDID mohou odkazovat do Původcovských metadat. -->
        <METS:div ADMID="ds_1" LABEL="a_00288577" TYPE="dataset">
			<METS:fptr FILEID="a_00288577_sip_v00001"/>
            <METS:div ADMID="sl_2" LABEL="df53c210-d3f7-11e6-a1de-001018b3eb4c" TYPE="složka">
                <METS:div ADMID="sl_3" LABEL="alto" TYPE="složka">
                    <METS:div ADMID="k_21 AIS_obj_00014" LABEL="uc_df53c210-d3f7-11e6-a1de-001018b3eb4c_0002.jp2" TYPE="komponenta">
                        <METS:fptr FILEID="a_00288577_dok00014_f001_v00001"/>
                    </METS:div>
                </METS:div>
            </METS:div>
        </METS:div>
    </METS:structMap>
</METS:mets>