annotate _test/Resources/resources.xsd @ 220:5c82c15b25b1

sync, updated schema
author sergey
date Thu, 23 Aug 2012 17:44:31 +0400
parents c477f24f1980
children e997e6fbac0b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
218
sergey
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
219
sergey
parents: 218
diff changeset
2 <schema targetNamespace="http://implab.org/schemas/resources" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://implab.org/schemas/resources">
218
sergey
parents:
diff changeset
3 <element name="resources">
sergey
parents:
diff changeset
4 <complexType>
sergey
parents:
diff changeset
5 <sequence>
sergey
parents:
diff changeset
6 <element name="root" type="tns:restResource"></element>
219
sergey
parents: 218
diff changeset
7 <element name="typeMap" minOccurs="0">
218
sergey
parents:
diff changeset
8 <complexType>
sergey
parents:
diff changeset
9 <sequence>
219
sergey
parents: 218
diff changeset
10 <element name="item" maxOccurs="unbounded">
218
sergey
parents:
diff changeset
11 <complexType>
sergey
parents:
diff changeset
12 <complexContent>
sergey
parents:
diff changeset
13 <extension
sergey
parents:
diff changeset
14 base="tns:restResource">
sergey
parents:
diff changeset
15 <sequence></sequence>
sergey
parents:
diff changeset
16 <attribute
sergey
parents:
diff changeset
17 name="type" type="string">
sergey
parents:
diff changeset
18 </attribute>
sergey
parents:
diff changeset
19 </extension>
sergey
parents:
diff changeset
20 </complexContent>
sergey
parents:
diff changeset
21 </complexType></element>
sergey
parents:
diff changeset
22 </sequence>
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
23 </complexType>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
24 </element>
218
sergey
parents:
diff changeset
25 </sequence>
sergey
parents:
diff changeset
26 </complexType>
sergey
parents:
diff changeset
27 </element>
sergey
parents:
diff changeset
28
219
sergey
parents: 218
diff changeset
29 <!-- abstract types -->
sergey
parents: 218
diff changeset
30 <complexType name="abstractBinding" abstract="true"/>
sergey
parents: 218
diff changeset
31 <complexType name="abstractTransformation" abstract="true" />
sergey
parents: 218
diff changeset
32 <complexType name="abstractResult" abstract="true" />
sergey
parents: 218
diff changeset
33
218
sergey
parents:
diff changeset
34 <complexType name="restResource">
sergey
parents:
diff changeset
35 <sequence>
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
36 <element name="get" type="tns:restOperation" minOccurs="0"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
37 <element name="post" type="tns:restOperation" minOccurs="0"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
38 <element name="put" type="tns:restOperation" minOccurs="0"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
39 <element name="delete" type="tns:restOperation" minOccurs="0"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
40 <element name="resource" type="string" maxOccurs="unbounded" minOccurs="0"/>
218
sergey
parents:
diff changeset
41 </sequence>
sergey
parents:
diff changeset
42 </complexType>
sergey
parents:
diff changeset
43
sergey
parents:
diff changeset
44 <complexType name="restOperation">
sergey
parents:
diff changeset
45 <sequence>
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
46 <element name="bind" type="tns:methodBinding"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
47 <element name="parameters" type="tns:transformation" minOccurs="0"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
48 <element name="result" type="tns:abstractResult" minOccurs="0"/>
218
sergey
parents:
diff changeset
49 </sequence>
sergey
parents:
diff changeset
50 </complexType>
219
sergey
parents: 218
diff changeset
51
sergey
parents: 218
diff changeset
52 <complexType name="methodBinding" >
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
53 <sequence>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
54 <element name="var" type="tns:bindingVariable" minOccurs="0" maxOccurs="unbounded"/>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
55 </sequence>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
56 <attribute name="text" type="string" use="required" />
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
57 </complexType>
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
58
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
59 <complexType name="bindingVariable">
219
sergey
parents: 218
diff changeset
60 <complexContent>
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
61 <extension base="tns:methodBinding">
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
62 <attribute name="name" type="string"/>
219
sergey
parents: 218
diff changeset
63 </extension>
sergey
parents: 218
diff changeset
64 </complexContent>
sergey
parents: 218
diff changeset
65 </complexType>
sergey
parents: 218
diff changeset
66
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
67
219
sergey
parents: 218
diff changeset
68 <complexType name="transformation">
sergey
parents: 218
diff changeset
69 <attribute name="class" type="string" />
sergey
parents: 218
diff changeset
70 </complexType>
sergey
parents: 218
diff changeset
71
sergey
parents: 218
diff changeset
72 <complexType name="resourceLocator">
sergey
parents: 218
diff changeset
73 <sequence>
220
5c82c15b25b1 sync, updated schema
sergey
parents: 219
diff changeset
74 <element name="var" type="tns:bindingVariable" minOccurs="0" maxOccurs="unbounded"/>
219
sergey
parents: 218
diff changeset
75 <element name="template" type="string" />
sergey
parents: 218
diff changeset
76 </sequence>
sergey
parents: 218
diff changeset
77 </complexType>
sergey
parents: 218
diff changeset
78
sergey
parents: 218
diff changeset
79 <simpleType name="redirectCodes">
sergey
parents: 218
diff changeset
80 <restriction base="string">
sergey
parents: 218
diff changeset
81 <enumeration value="moved-permanently"/>
sergey
parents: 218
diff changeset
82 <enumeration value="temporary-redirect"/>
sergey
parents: 218
diff changeset
83 <enumeration value="see-other"/>
sergey
parents: 218
diff changeset
84 </restriction>
sergey
parents: 218
diff changeset
85 </simpleType>
sergey
parents: 218
diff changeset
86
sergey
parents: 218
diff changeset
87 <complexType name="redirectResult">
sergey
parents: 218
diff changeset
88 <complexContent>
sergey
parents: 218
diff changeset
89 <extension base="tns:abstractResult">
sergey
parents: 218
diff changeset
90 <sequence>
sergey
parents: 218
diff changeset
91 <element name="locator" type="tns:resourceLocator" />
sergey
parents: 218
diff changeset
92 <element name="status" type="tns:redirectCodes" minOccurs="0"/>
sergey
parents: 218
diff changeset
93 </sequence>
sergey
parents: 218
diff changeset
94 </extension>
sergey
parents: 218
diff changeset
95 </complexContent>
sergey
parents: 218
diff changeset
96 </complexType>
sergey
parents: 218
diff changeset
97
218
sergey
parents:
diff changeset
98 </schema>