diff --git a/README.md b/README.md index 64b39cd..7bbd5cc 100644 --- a/README.md +++ b/README.md @@ -33,5 +33,7 @@ See one of our test files to check out the minimal requirements: we have one ### Collection and Resource level guidelines Collection and Resource level guidelines can be provided through file named dts-metadata.xml in each subfolder of a -given repository. We are currently looking at the reuse of former [Capitains V2 guidelines](https://github.com/Capitains/guidelines/blob/edde0323c2e94b3d0d687094e55cb32cac548752/capitains.rng) +given repository. We are currently looking at using external file that would help you ingest metadata, while leaving you +the option to load up metadata yourself. +The current schema for the collection catalog ingestion is available in [./tests/catalog/schema.rng](./tests/catalog/schema.rng). \ No newline at end of file diff --git a/tests/catalog/example-collection.xml b/tests/catalog/example-collection.xml new file mode 100644 index 0000000..122a343 --- /dev/null +++ b/tests/catalog/example-collection.xml @@ -0,0 +1,21 @@ + + + + A collection + + This is a perfect example of an absract. + Et je peux traduire en français + + + + A simple resource + With a description + + A simple resource + + + Truc + + + + \ No newline at end of file diff --git a/tests/catalog/schema.rng b/tests/catalog/schema.rng new file mode 100644 index 0000000..a40ca34 --- /dev/null +++ b/tests/catalog/schema.rng @@ -0,0 +1,191 @@ + + + + + + + + + + + + + Identifier of the Collection or Resource + + + + + Path to the relevant Collection or Resource + + + + + + + + + Identifier of the parent if required by a parent + collection + + + + + + + Title / name of a Collection or Resource + + + + + Description of a Collection or Resource + + + + + + + + + + Something + + abstract + accessRights + accrualMethod + accrualPeriodicity + accrualPolicy + alternative + audience + available + bibliographicCitation + conformsTo + contributor + coverage + created + creator + date + dateAccepted + dateCopyrighted + dateSubmitted + description + educationLevel + extent + format + hasFormat + hasPart + hasVersion + identifier + instructionalMethod + isFormatOf + isPartOf + isReferencedBy + isReplacedBy + isRequiredBy + issued + isVersionOf + language + license + mediator + medium + modified + provenance + publisher + references + relation + replaces + requires + rights + rightsHolder + source + spatial + subject + tableOfContents + temporal + title + type + valid + + + + + + + + + + + + + + + + Structured metadata contains any other optional metadata that are not part of + DublinCore Terms namespace + extensions + + + + + + + + + + + + + + + + + + + Children member of a collection or ressource + + members + + + + + + + Relative link to a secondary collection file + + collection + resource + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file