Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/spec-meta-deposit.rst
Show All 37 Lines | |||||
=========================== | =========================== | ||||
The reference element is included in the metadata xml atomEntry under the | The reference element is included in the metadata xml atomEntry under the | ||||
swh namespace: | swh namespace: | ||||
.. code:: xml | .. code:: xml | ||||
<?xml version="1.0"?> | <?xml version="1.0"?> | ||||
<entry xmlns="http://www.w3.org/2005/Atom" | <entry xmlns="http://www.w3.org/2005/Atom" | ||||
xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | ||||
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"> | xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"> | ||||
<author> | <author> | ||||
<name>HAL</name> | <name>HAL</name> | ||||
<email>hal@ccsd.cnrs.fr</email> | <email>hal@ccsd.cnrs.fr</email> | ||||
</author> | </author> | ||||
<codemeta:name>The assignment problem</codemeta:name> | <codemeta:name>The assignment problem</codemeta:name> | ||||
<codemeta:url>https://hal.archives-ouvertes.fr/hal-01243573</codemeta:url> | <codemeta:url>https://hal.archives-ouvertes.fr/hal-01243573</codemeta:url> | ||||
<codemeta:identifier>other identifier, DOI, ARK</codemeta:identifier> | <codemeta:identifier>other identifier, DOI, ARK</codemeta:identifier> | ||||
<codemeta:applicationCategory>Domain</codemeta:applicationCategory> | <codemeta:applicationCategory>Domain</codemeta:applicationCategory> | ||||
<codemeta:description>description</codemeta:description> | <codemeta:description>description</codemeta:description> | ||||
<codemeta:author> | <codemeta:author> | ||||
<codemeta:name> author1 </codemeta:name> | <codemeta:name>Author1</codemeta:name> | ||||
<codemeta:affiliation> Inria </codemeta:affiliation> | <codemeta:affiliation>Inria</codemeta:affiliation> | ||||
<codemeta:affiliation> UPMC </codemeta:affiliation> | <codemeta:affiliation>UPMC</codemeta:affiliation> | ||||
</codemeta:author> | </codemeta:author> | ||||
<codemeta:author> | <codemeta:author> | ||||
<codemeta:name> author2 </codemeta:name> | <codemeta:name>Author2</codemeta:name> | ||||
<codemeta:affiliation> Inria </codemeta:affiliation> | <codemeta:affiliation>Inria</codemeta:affiliation> | ||||
<codemeta:affiliation> UPMC </codemeta:affiliation> | <codemeta:affiliation>UPMC</codemeta:affiliation> | ||||
</codemeta:author> | </codemeta:author> | ||||
<swh:deposit> | <swh:deposit> | ||||
<swh:reference> | <swh:reference> | ||||
<swh:origin url='https://github.com/user/repo'/> | <swh:origin url='https://github.com/user/repo'/> | ||||
</swh:reference> | </swh:reference> | ||||
</swh:deposit> | </swh:deposit> | ||||
</entry> | </entry> | ||||
References | References | ||||
========== | ========== | ||||
The metadata reference can be either on: | The metadata reference can be either on: | ||||
- an origin | - an origin | ||||
- a graph object (core SWHID with or without qualifiers) | - a graph object (core SWHID with or without qualifiers) | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |