Changeset View
Changeset View
Standalone View
Standalone View
docs/metadata.rst
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | - **the license/s** of the software | ||||
deposit *SHOULD* be provided [codemeta:license] | deposit *SHOULD* be provided [codemeta:license] | ||||
- other metadata *MAY* be added with terms defined by the schema in use. | - other metadata *MAY* be added with terms defined by the schema in use. | ||||
Examples | Examples | ||||
-------- | -------- | ||||
Using only Atom | Using only Atom | ||||
~~~~~~~~~~~~~~~ | ^^^^^^^^^^^^^^^ | ||||
.. 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:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | xmlns:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | ||||
<title>Awesome Compiler</title> | <title>Awesome Compiler</title> | ||||
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> | <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id> | ||||
<updated>2017-10-07T15:17:08Z</updated> | <updated>2017-10-07T15:17:08Z</updated> | ||||
<author>some awesome author</author> | <author>some awesome author</author> | ||||
<swhdeposit:deposit> | <swhdeposit:deposit> | ||||
<swhdeposit:create_origin> | <swhdeposit:create_origin> | ||||
<swhdeposit:origin url="http://example.com/my_project" /> | <swhdeposit:origin url="http://example.com/my_project" /> | ||||
</swhdeposit:create_origin> | </swhdeposit:create_origin> | ||||
</swhdeposit:deposit> | </swhdeposit:deposit> | ||||
</entry> | </entry> | ||||
Using Atom with CodeMeta | Using Atom with CodeMeta | ||||
~~~~~~~~~~~~~~~~~~~~~~~~ | ^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
.. 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:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | xmlns:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | ||||
<title>Awesome Compiler</title> | <title>Awesome Compiler</title> | ||||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Lines | <?xml version="1.0"?> | ||||
</codemeta:author> | </codemeta:author> | ||||
<codemeta:codeRepository>http://code.com</codemeta:codeRepository> | <codemeta:codeRepository>http://code.com</codemeta:codeRepository> | ||||
<codemeta:programmingLanguage>language 1</codemeta:programmingLanguage> | <codemeta:programmingLanguage>language 1</codemeta:programmingLanguage> | ||||
<codemeta:programmingLanguage>language 2</codemeta:programmingLanguage> | <codemeta:programmingLanguage>language 2</codemeta:programmingLanguage> | ||||
<codemeta:issueTracker>http://issuetracker.com</codemeta:issueTracker> | <codemeta:issueTracker>http://issuetracker.com</codemeta:issueTracker> | ||||
</entry> | </entry> | ||||
Using Atom with DublinCore and CodeMeta (multi-schema entry) | Using Atom with DublinCore and CodeMeta (multi-schema entry) | ||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||||
.. 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:dcterms="http://purl.org/dc/terms/" | xmlns:dcterms="http://purl.org/dc/terms/" | ||||
xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | xmlns:codemeta="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" | ||||
xmlns:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | xmlns:swhdeposit="https://www.softwareheritage.org/schema/2018/deposit"> | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |