Skip to content

Commit

Permalink
add information on XML schema and sample files
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochen Schirrwagen committed Nov 29, 2018
1 parent c0fb29b commit 5410e58
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 10 deletions.
19 changes: 18 additions & 1 deletion docs/application_profile.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _application_profile:

Application Profile Overview
----------------------------
============================

The properties of the Application Profile for OpenAIRE Literature Repository Guidelines are listed in this section.
The following requirement levels for the metadata properties are used:
Expand Down Expand Up @@ -65,6 +65,23 @@ OpenAIRE-Field Metadata Element Refinemen
:ref:`dct:audience` dcterms:audience
======================================== ============================= ========================================================================================

The application profile is implemented in XML Schema.
`The files <https://github.com/openaire/guidelines-literature-repositories/tree/master/schemas>`_
for the application profile and `sample XML files <https://github.com/openaire/guidelines-literature-repositories/tree/master/samples>`_ are part of these Guidelines and also available on the `GitHub repository <https://github.com/openaire/guidelines-literature-repositories>`_.

In the XML metadata documents the schema must be declared as follows:

.. code-block:: xml
:linenos:
<resource xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:datacite="http://datacite.org/schema/kernel-4"
xmlns="http://namespace.openaire.eu/schema/oaire/"
xsi:schemaLocation="http://namespace.openaire.eu/schema/oaire/ https://www.openaire.eu/schema/repo-lit/4.0/openaire.xsd">
.. _COAR Resource Type Vocabulary: http://vocabularies.coar-repositories.org/documentation/resource_types/
.. _COAR Access Right Vocabulary: http://vocabularies.coar-repositories.org/documentation/access_rights/
.. _COAR Version Vocabulary: http://vocabularies.coar-repositories.org/documentation/version_types/
Expand Down
16 changes: 7 additions & 9 deletions docs/introduction.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
.. _literature_intro:

Introduction
------------
============

Aim
^^^
---
The OpenAIRE Guidelines for Literature Repository Managers 4.0 provide
orientation for repository managers to define and implement their local data
management policies according to the requirements of the `OpenAIRE - Open Access
Expand All @@ -29,7 +29,7 @@ part of a set of OpenAIRE Guidelines that also include the OpenAIRE Guidelines
for Data Archive Managers, the OpenAIRE Guidelines for CRIS managers, the OpenAIRE Guidelines for Software Repository Managers, and the Guidelines for Other Research Products Repository Managers.

What's new
^^^^^^^^^^
----------
In comparison with previous versions of the Guidelines, this version introduces
the following major changes:

Expand All @@ -39,7 +39,7 @@ the following major changes:
* compliance with the `OpenAIRE Content Acquisition Policy <https://doi.org/10.5281/zenodo.1446407>`_, published on 05-Oct-2018.

How this document is structured
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------------------------

Chapter two provides a brief overview of how to configure and use OAI-PMH for OpenAIRE metadata harvesting.
Chapter three describes the application profile.
Expand All @@ -52,10 +52,8 @@ Each OpenAIRE field is described in detail by
* definition and usage instructions with regard to allowed values in properties, sub-properties and attributes
* example(s)

`XML Schema files <https://github.com/openaire/guidelines-literature-repositories/tree/master/schemas>`_ for the application profile and `sample XML files <https://github.com/openaire/guidelines-literature-repositories/tree/master/samples>`_ are part of these Guidelines but also available on the `GitHub repository <https://github.com/openaire/guidelines-literature-repositories>`_.

Acknowledgements & Contributors
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-------------------------------

**Editors**

Expand Down Expand Up @@ -94,8 +92,8 @@ Acknowledgements & Contributors
* Pierre Lasou (Université Laval, CA)

Versions
^^^^^^^^
* 4.0, November 2018 `doi:10.5281/zenodo.1299203 <http://dx.doi.org/10.5281/zenodo.1299203>`
--------
* 4.0, November 2018 `doi:10.5281/zenodo.1299203 <http://dx.doi.org/10.5281/zenodo.1299203>`_

* 4.0 draft, November 2017

Expand Down

0 comments on commit 5410e58

Please sign in to comment.