Skip to content

Commit 01e88fb

Browse files
authored
Add codemeta.xsd
1 parent 6210774 commit 01e88fb

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

test/data/software/codemeta.xsd

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="https://doi.org/10.5063/SCHEMA/CODEMETA-2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
2+
<xs:element name="author">
3+
<xs:complexType>
4+
<xs:sequence>
5+
<xs:element type="xs:string" name="name"/>
6+
</xs:sequence>
7+
</xs:complexType>
8+
</xs:element>
9+
<xs:element name="name" type="xs:string"/>
10+
<xs:element name="description" type="xs:string"/>
11+
<xs:element name="sameAs" type="xs:anyURI"/>
12+
<xs:element name="keywords" type="xs:string"/>
13+
<xs:element name="relatedLink" type="xs:string"/>
14+
<xs:element name="supportingData">
15+
<xs:complexType>
16+
<xs:sequence>
17+
<xs:element type="xs:string" name="name"/>
18+
<xs:element type="xs:string" name="id"/>
19+
</xs:sequence>
20+
</xs:complexType>
21+
</xs:element>
22+
<xs:element name="referencePublication">
23+
<xs:complexType>
24+
<xs:sequence>
25+
<xs:element type="xs:string" name="id"/>
26+
<xs:element type="xs:short" name="datePublished"/>
27+
</xs:sequence>
28+
</xs:complexType>
29+
</xs:element>
30+
<xs:element name="citation">
31+
<xs:complexType>
32+
<xs:sequence>
33+
<xs:element type="xs:string" name="id"/>
34+
</xs:sequence>
35+
</xs:complexType>
36+
</xs:element>
37+
<xs:element name="url" type="xs:string"/>
38+
</xs:schema>

0 commit comments

Comments
 (0)