annotate _test/Resources/resources.xsd @ 218:358f867712b4

sync
author sergey
date Mon, 20 Aug 2012 17:24:48 +0400
parents
children c477f24f1980
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"?>
sergey
parents:
diff changeset
2 <schema targetNamespace="uri:impl-web-application/resources" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="uri:impl-web-application/resources">
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>
sergey
parents:
diff changeset
7 <element name="typeMap">
sergey
parents:
diff changeset
8 <complexType>
sergey
parents:
diff changeset
9 <sequence>
sergey
parents:
diff changeset
10 <element name="item">
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>
sergey
parents:
diff changeset
23 </complexType></element>
sergey
parents:
diff changeset
24 </sequence>
sergey
parents:
diff changeset
25 </complexType>
sergey
parents:
diff changeset
26 </element>
sergey
parents:
diff changeset
27
sergey
parents:
diff changeset
28 <complexType name="restResource">
sergey
parents:
diff changeset
29 <sequence>
sergey
parents:
diff changeset
30 <element name="get" type="tns:restOperation" minOccurs="0">
sergey
parents:
diff changeset
31 </element>
sergey
parents:
diff changeset
32 <element name="post" type="tns:restOperation" minOccurs="0">
sergey
parents:
diff changeset
33 </element>
sergey
parents:
diff changeset
34 <element name="put" type="tns:restOperation" minOccurs="0">
sergey
parents:
diff changeset
35 </element>
sergey
parents:
diff changeset
36 <element name="delete" type="tns:restOperation" minOccurs="0">
sergey
parents:
diff changeset
37 </element>
sergey
parents:
diff changeset
38 <element name="resource" type="string" maxOccurs="unbounded" minOccurs="0"></element>
sergey
parents:
diff changeset
39 </sequence>
sergey
parents:
diff changeset
40 </complexType>
sergey
parents:
diff changeset
41
sergey
parents:
diff changeset
42 <complexType name="restOperation">
sergey
parents:
diff changeset
43 <sequence>
sergey
parents:
diff changeset
44 <element name="invoke" type="string"></element>
sergey
parents:
diff changeset
45 <element name="parameters" type="string"></element>
sergey
parents:
diff changeset
46 <element name="result" type="string"></element>
sergey
parents:
diff changeset
47 </sequence>
sergey
parents:
diff changeset
48 </complexType>
sergey
parents:
diff changeset
49 </schema>