Skip to content

Commit

Permalink
adding XSD file for Openaire software
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazztok45 committed Nov 8, 2024
1 parent c33b860 commit 586c0a3
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions test/data/software/OpenAire-software-reference.xsd
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://datacite.org/schema/kernel-4" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="identifier">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="IdentifierType"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="creators">
<xs:complexType>
<xs:sequence>
<xs:element name="creator" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="creatorName">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="nameType" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element type="xs:string" name="givenName"/>
<xs:element type="xs:string" name="familyName"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="titles">
<xs:complexType>
<xs:sequence>
<xs:element type="xs:string" name="title"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="subjects">
<xs:complexType>
<xs:sequence>
<xs:element name="subject" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="subjectScheme" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="relatedIdentifiers">
<xs:complexType>
<xs:sequence>
<xs:element name="relatedIdentifier" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="relatedIdentifierType" use="optional"/>
<xs:attribute type="xs:string" name="relationType" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="rightsList">
<xs:complexType>
<xs:sequence>
<xs:element name="rights" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute type="xs:string" name="rightsURI" use="optional"/>
<xs:attribute ref="xml:lang"/>
<xs:attribute type="xs:string" name="schemeURI" use="optional"/>
<xs:attribute type="xs:string" name="rightsIdentifierScheme" use="optional"/>
<xs:attribute type="xs:string" name="rightsIdentifier" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>

0 comments on commit 586c0a3

Please sign in to comment.