-
Notifications
You must be signed in to change notification settings - Fork 0
/
numblock_save.xsd
70 lines (61 loc) · 1.83 KB
/
numblock_save.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="achievment">
<xs:complexType>
<xs:attribute name="ach_id" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="achievments">
<xs:complexType>
<xs:sequence>
<xs:element ref="achievment" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="friends">
<xs:complexType>
<xs:sequence>
<xs:element ref="score" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="highscores">
<xs:complexType>
<xs:sequence>
<xs:element ref="local" />
<xs:element ref="friends" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="local">
<xs:complexType>
<xs:sequence>
<xs:element ref="score" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="numblock">
<xs:complexType>
<xs:sequence>
<xs:element ref="playerinfo" />
<xs:element ref="highscores" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="playerinfo">
<xs:complexType>
<xs:sequence>
<xs:element ref="achievments" />
</xs:sequence>
<xs:attribute name="initials" type="xs:string" use="required" />
<xs:attribute name="combo" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="score">
<xs:complexType>
<xs:attribute name="value" type="xs:integer" use="required" />
<xs:attribute name="initials" type="xs:string" use="required" />
<xs:attribute name="level" type="xs:integer" use="required" />
</xs:complexType>
</xs:element>
</xs:schema>