-
Notifications
You must be signed in to change notification settings - Fork 0
/
mysqldump.xsd
79 lines (68 loc) · 2.85 KB
/
mysqldump.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
71
72
73
74
75
76
77
78
79
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="unqualified"
attributeFormDefault="unqualified"
xmlns:ext="http://xsd.mysql.com/extension/"
>
<xs:import namespace="http://xsd.mysql.com/extension/" schemaLocation="mysqldumpext.xsd"/>
<xs:complexType name="mysqldump">
<xs:sequence>
<xs:element name="database" type="database" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="database">
<xs:sequence>
<xs:element name="table_structure" type="table_structure" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
<xs:complexType name="table_structure">
<xs:sequence>
<xs:element name="field" type="field" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="key" type="key" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="options" type="options"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attributeGroup ref="ext:descriptionExt"/>
</xs:complexType>
<xs:complexType name="field">
<xs:attribute name="Field" type="xs:string"/>
<xs:attribute name="Type" type="xs:string"/>
<xs:attribute name="Null" type="xs:string"/>
<xs:attribute name="Key" type="xs:string"/>
<xs:attribute name="Extra" type="xs:string"/>
<xs:attribute name="Comment" type="xs:string"/>
<xs:attributeGroup ref="ext:fieldExt"/>
</xs:complexType>
<xs:complexType name="key">
<xs:attribute name="Table" type="xs:string"/>
<xs:attribute name="Non_unique" type="xs:int"/>
<xs:attribute name="Key_name" type="xs:string"/>
<xs:attribute name="Seq_in_index" type="xs:int"/>
<xs:attribute name="Column_name" type="xs:string"/>
<xs:attribute name="Collation" type="xs:string"/>
<xs:attribute name="Null" type="xs:string"/>
<xs:attribute name="Index_type" type="xs:string"/>
<xs:attribute name="Comment" type="xs:string"/>
</xs:complexType>
<xs:complexType name="options">
<xs:attribute name="Name" type="xs:string"/>
<xs:attribute name="Engine" type="xs:string"/>
<xs:attribute name="Version" type="xs:string"/>
<xs:attribute name="Row_format" type="xs:string"/>
<xs:attribute name="Rows" type="xs:string"/>
<xs:attribute name="Avg_row_length" type="xs:int"/>
<xs:attribute name="Data_length" type="xs:long"/>
<xs:attribute name="Max_data_length" type="xs:long"/>
<xs:attribute name="Index_length" type="xs:long"/>
<xs:attribute name="Data_free" type="xs:int"/>
<xs:attribute name="Create_time" type="xs:date"/>
<xs:attribute name="Update_time" type="xs:date"/>
<xs:attribute name="Check_time" type="xs:date"/>
<xs:attribute name="Collation" type="xs:string"/>
<xs:attribute name="Checksum" type="xs:string"/>
<xs:attribute name="Create_options" type="xs:string"/>
<xs:attribute name="Comment" type="xs:string"/>
</xs:complexType>
<xs:element name="mysqldump" type="mysqldump"/>
</xs:schema>