-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathlibrary-oriente-types.xsd
33 lines (26 loc) · 984 Bytes
/
library-oriente-types.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:simpleType name="stringType">
<xs:restriction base="xs:string" />
</xs:simpleType>
<xs:complexType name="documentType">
<xs:sequence>
<xs:element name="title" type="stringType" />
<xs:element name="author" type="stringType" maxOccurs="unbounded" />
<xs:element name="year" type="stringType" />
<xs:element name="edition" type="stringType" minOccurs="0" />
</xs:sequence>
<xs:attribute name="type" type="stringType" />
</xs:complexType>
<xs:complexType name="documentsType">
<xs:sequence>
<xs:element name="document" type="documentType" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="libraryType">
<xs:sequence>
<xs:element name="documents" type="documentsType" />
</xs:sequence>
</xs:complexType>
<xs:element name="library" type="libraryType" />
</xs:schema>