~ziad-sawalha/keystone/trunk

« back to all changes in this revision

Viewing changes to examples/echo/echo/xsd/echo.xsd

  • Committer: Ziad Sawalha
  • Date: 2011-05-26 01:24:05 UTC
  • mfrom: (87.5.8)
  • Revision ID: git-v1:b0d12a558f590a501a42afd1283148961563920e
Merge pull request 53

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
 
 
3
<schema
 
4
        elementFormDefault="qualified"
 
5
        attributeFormDefault="unqualified"
 
6
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 
7
        xmlns="http://www.w3.org/2001/XMLSchema"
 
8
        xmlns:echo="http://docs.openstack.org/echo/api/v1.0"
 
9
        targetNamespace="http://docs.openstack.org/echo/api/v1.0">
 
10
 
 
11
    <!-- Elements -->
 
12
    <element name="echo" type="echo:Echo" />
 
13
 
 
14
    <!-- Complex Type -->
 
15
    <complexType name="Echo">
 
16
        <sequence>
 
17
            <element name="content" type="echo:Content" />
 
18
        </sequence>
 
19
        <attribute name="method" type="echo:Method" use="required"/>
 
20
        <attribute name="pathInfo" type="xsd:string" use="required"/>
 
21
        <attribute name="queryString" type="xsd:string" use="optional"/>
 
22
    </complexType>
 
23
 
 
24
    <complexType name="Content">
 
25
        <simpleContent>
 
26
            <extension base="xsd:string">
 
27
                <attribute name="type" type="xsd:string" use="required"/>
 
28
            </extension>
 
29
        </simpleContent>
 
30
    </complexType>
 
31
 
 
32
    <!-- Simple Types -->
 
33
    <simpleType name="Method">
 
34
        <restriction base="xsd:string">
 
35
            <enumeration value="GET" />
 
36
            <enumeration value="DELETE" />
 
37
            <enumeration value="POST" />
 
38
            <enumeration value="PUT" />
 
39
            <enumeration value="HEAD" />
 
40
            <enumeration value="OPTIONS" />
 
41
            <enumeration value="CONNECT" />
 
42
            <enumeration value="TRACE" />
 
43
            
 
44
            <enumeration value="ALL" />
 
45
        </restriction>
 
46
    </simpleType>
 
47
 
 
48
</schema>