forked from robotlegs/swiftsuspenders
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SwiftSuspendersConfigurationSchema.xsd
53 lines (53 loc) · 2.06 KB
/
SwiftSuspendersConfigurationSchema.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
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://github.com/tschneidereit/SwiftSuspenders" elementFormDefault="qualified">
<xs:element name="types">
<xs:complexType>
<xs:sequence>
<xs:element name="type" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="field" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="injectionname" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="postconstruct" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="order" type="xs:integer" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="method" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="arg">
<xs:complexType>
<xs:attribute name="injectionname" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="injectionname" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="constructor" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="arg">
<xs:complexType>
<xs:attribute name="injectionname" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>