Changeset View
Changeset View
Standalone View
Standalone View
docs/specs/swh.xsd
<?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" | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||||
targetNamespace="https://www.softwareheritage.org/schema/2018/deposit" | targetNamespace="https://www.softwareheritage.org/schema/2018/deposit" | ||||
xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit" | xmlns:swh="https://www.softwareheritage.org/schema/2018/deposit" | ||||
elementFormDefault="qualified" | elementFormDefault="qualified" | ||||
> | > | ||||
<xsd:element name="deposit"> | <xsd:element name="deposit"> | ||||
<xsd:complexType> | <xsd:complexType> | ||||
<xsd:choice> | <xsd:choice> | ||||
Show All 30 Lines | <xsd:element name="object"> | ||||
<xsd:complexType> | <xsd:complexType> | ||||
<xsd:attribute type="xsd:string" name="swhid"/> | <xsd:attribute type="xsd:string" name="swhid"/> | ||||
</xsd:complexType> | </xsd:complexType> | ||||
</xsd:element> | </xsd:element> | ||||
<!-- references an origin by URL --> | <!-- references an origin by URL --> | ||||
<xsd:element name="origin"> | <xsd:element name="origin"> | ||||
<xsd:complexType> | <xsd:complexType> | ||||
<xsd:attribute type="xsd:string" name="url"/> | <xsd:attribute type="xsd:string" name="url"/> | ||||
</xsd:complexType> | </xsd:complexType> | ||||
</xsd:element> | </xsd:element> | ||||
</xsd:schema> | </xsd:schema> |