Best practices regarding data integrity and authenticity when archiving (hosting) a resource in our CLARIN centre: == Data acceptance for ingestion == * Data provided by the data depositor is only accepted for ingestion ... * if it matches the IMS repository's focus on "corpora and corpus tools, adaptable tools and web services" <
> . (see the [[http://clarin04.ims.uni-stuttgart.de/repo/|repository's description]]; otherwise she is referred to [[https://www.clarin-d.net/en/preparation/find-a-clarin-centre|corresponding CLARIN centres]]) and<
> * after the identity of the depositor could be verified upon direct personal contact.<
> * Only non-propietary, text-based data formats are accepted (as is usual in this field) - this facilitates long-term readability and preservation of the data. == Data integrity == * The integrity of the data is fostered by using checksums (MD5) in Fedora. There is also a version control mechanism in the Fedora Commons backend. CMDI metadata (according to [[http://www.clarin.eu/cmdi/|ISO 24622-1)]] are represented as a data stream within Fedora Digital Objects, and as such they can be version-controlled like all other object data. == Data checks == * An integrity and quality check of the data and the metadata is brought about semi-automatically, e.g. well-formedness and validity can be checked automatically for XML metadata, but they are also manually probed in order to check that descriptions actually make sense. The object data are tested for syntactic correctness if possible, depending on the data type and format. For this purpose, a front-end is used that helps creating valid CMDI metadata using components and profiles stored in the [[http://catalog.clarin.eu/ds/ComponentRegistry/|Component Registry]].The [[https://wiki.ims.uni-stuttgart.de/extern/CLARIN-D|CMDI creation workflow]] is described on a wiki page. == Data changes == * The data provided by the data depositor is considered to be fixed and immutable - in case of format transformations (by the data depositor), the modified version of the data is treated like a new submission, with a link to the previous version. Changes to primary data will always result in a new data stream or digital object and, accordingly, a newly registered and associated persistent identifier. * In contrast, changes to metadata will generally not result in a new PID being registered. However, we make use of the built-in Fedora-internal versioning mechanism in order to keep track of changes to the CMDI metadata files. Hence,respective changes can still be traced and old versions remain accessible at least in principle. ---- [[CategoryCLARIN-D]]