Page MenuHomeSoftware Heritage

D5436.id19435.diff
No OneTemporary

D5436.id19435.diff

diff --git a/docs/specs/protocol-reference.rst b/docs/specs/protocol-reference.rst
--- a/docs/specs/protocol-reference.rst
+++ b/docs/specs/protocol-reference.rst
@@ -210,7 +210,7 @@
We also highly recommend their CodeMeta equivalent, and any other relevant
metadata, but this is not enforced.
-.. _metatadata-only-deposit
+.. _metatadata-only-deposit:
Metadata-only deposit
---------------------
@@ -271,6 +271,16 @@
:ref:`metadata deposit specification <spec-metadata-deposit>`
+Schema
+------
+
+Here is an XML schema to summarize the syntax described in this document:
+
+.. literalinclude:: swh.xsd
+ :language: xml
+
+
+
.. _SWORDv2: http://swordapp.github.io/SWORDv2-Profile/SWORDProfile.html
.. _AtomPub: https://tools.ietf.org/html/rfc5023
.. _DublinCore: https://www.dublincore.org/
diff --git a/docs/specs/swh.xsd b/docs/specs/swh.xsd
--- a/docs/specs/swh.xsd
+++ b/docs/specs/swh.xsd
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
+<?xml version="1.0" encoding="utf-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.softwareheritage.org/schema/2018/deposit"
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit"
@@ -45,7 +45,7 @@
<!-- references an origin by URL -->
<xsd:element name="origin">
<xsd:complexType>
- <xsd:attribute type="xsd:string" name="url"/>
+ <xsd:attribute type="xsd:string" name="url"/>
</xsd:complexType>
</xsd:element>
</xsd:schema>

File Metadata

Mime Type
text/plain
Expires
Wed, Jul 2, 10:51 AM (1 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216899

Event Timeline