-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathDesignSpace.xsd
108 lines (108 loc) · 4.74 KB
/
DesignSpace.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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="designspace">
<xs:complexType>
<xs:sequence>
<xs:element name="sources" minOccurs="1" maxOccurs="1" type="sources" />
<xs:element name="instances" minOccurs="1" maxOccurs="1" type="instances" />
</xs:sequence>
<xs:attribute name="format" type="xs:unsignedByte" use="required" />
</xs:complexType>
</xs:element>
<xs:complexType name="sources">
<xs:sequence>
<xs:element name="source" minOccurs="1" maxOccurs="unbounded" type="source" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="instances">
<xs:sequence>
<xs:element name="instance" minOccurs="1" maxOccurs="unbounded" type="instance" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="source">
<xs:sequence>
<xs:element name="location" minOccurs="1" maxOccurs="1" type="location" />
<xs:element name="lib" minOccurs="0" maxOccurs="1" type="copyOnly" />
<xs:element name="groups" minOccurs="0" maxOccurs="1" type="copyOnly" />
<xs:element name="info" minOccurs="0" maxOccurs="1" type="copyAndMute" />
<xs:element name="kerning" minOccurs="0" maxOccurs="1" type="muteOnly" />
<xs:element name="glyph" minOccurs="0" maxOccurs="unbounded" type="muteGlyph" />
</xs:sequence>
<xs:attribute name="filename" type="xs:string" use="required" />
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
<xs:complexType mixed="true" name="instance">
<xs:sequence>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="location" />
<xs:element name="info" minOccurs="0" maxOccurs="1" type="info" />
<xs:element name="kerning" minOccurs="0" maxOccurs="1" type="kerning" />
<xs:element name="glyphs" minOccurs="0" maxOccurs="1" type="glyphs" />
</xs:sequence>
<xs:attribute name="filename" type="xs:string" use="required" />
<xs:attribute name="familyname" type="xs:string" use="required" />
<xs:attribute name="stylename" type="xs:string" use="required" />
<xs:attribute name="postscriptfontname" type="xs:string" use="optional" />
<xs:attribute name="stylemapfamilyname" type="xs:string" use="optional" />
<xs:attribute name="stylemapstylename" type="xs:string" use="optional" />
</xs:complexType>
<xs:complexType name="location">
<xs:sequence>
<xs:element name="dimension" minOccurs="0" maxOccurs="unbounded" type="dimension" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="copyOnly">
<xs:attribute name="copy" type="xs:unsignedByte" use="required" />
</xs:complexType>
<xs:complexType name="muteOnly">
<xs:attribute name="mute" type="xs:unsignedByte" use="optional" />
</xs:complexType>
<xs:complexType name="copyAndMute">
<xs:attribute name="copy" type="xs:unsignedByte" use="optional" />
<xs:attribute name="mute" type="xs:unsignedByte" use="optional" />
</xs:complexType>
<xs:complexType name="muteGlyph">
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="mute" type="xs:unsignedByte" use="required" />
</xs:complexType>
<xs:complexType name="glyphs">
<xs:sequence>
<xs:element name="glyph" minOccurs="1" maxOccurs="unbounded" type="glyph" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="masters">
<xs:sequence>
<xs:element name="master" minOccurs="1" maxOccurs="unbounded" type="master" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="master">
<xs:sequence>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="location" />
</xs:sequence>
<xs:attribute name="source" type="xs:string" use="required" />
<xs:attribute name="glyphname" type="xs:string" use="required" />
</xs:complexType>
<xs:complexType name="glyph">
<xs:sequence>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="location" />
<xs:element name="note" minOccurs="0" maxOccurs="1" type="xs:string" />
<xs:element name="masters" minOccurs="0" maxOccurs="1" type="masters" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="unicode" type="xs:string" use="required" />
</xs:complexType>
<xs:complexType name="info">
<xs:sequence>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="location" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="kerning">
<xs:sequence>
<xs:element name="location" minOccurs="0" maxOccurs="1" type="location" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="dimension">
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="xvalue" type="xs:decimal" use="required" />
<xs:attribute name="yvalue" type="xs:decimal" use="required" />
</xs:complexType>
</xs:schema>