summaryrefslogtreecommitdiffstats
path: root/echo
diff options
context:
space:
mode:
authorJorge L. Williams <jorge.williams@rackspace.com>2011-04-15 06:02:58 -0500
committerJorge L. Williams <jorge.williams@rackspace.com>2011-04-15 06:02:58 -0500
commitc97b1d47a86f1cdb4b6bd7de7cf1f040af785a68 (patch)
tree6d5b6021c865608f7bfe0a1fd12f7f0534f80772 /echo
parenta3bde4e19f9867f7d297f80b7792a291e69a4f50 (diff)
XSD for echo service.
Diffstat (limited to 'echo')
-rw-r--r--echo/xsd/echo.xsd48
1 files changed, 48 insertions, 0 deletions
diff --git a/echo/xsd/echo.xsd b/echo/xsd/echo.xsd
new file mode 100644
index 00000000..3d5c2a51
--- /dev/null
+++ b/echo/xsd/echo.xsd
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<schema
+ elementFormDefault="qualified"
+ attributeFormDefault="unqualified"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns="http://www.w3.org/2001/XMLSchema"
+ xmlns:echo="http://docs.openstack.org/echo/api/v1.0"
+ targetNamespace="http://docs.openstack.org/echo/api/v1.0">
+
+ <!-- Elements -->
+ <element name="echo" type="echo:Echo" />
+
+ <!-- Complex Type -->
+ <complexType name="Echo">
+ <sequence>
+ <element name="content" type="echo:Content" />
+ </sequence>
+ <attribute name="method" type="echo:Method" use="required"/>
+ <attribute name="pathInfo" type="xsd:string" use="required"/>
+ <attribute name="queryString" type="xsd:string" use="optional"/>
+ </complexType>
+
+ <complexType name="Content">
+ <simpleContent>
+ <extension base="xsd:string">
+ <attribute name="type" type="xsd:string" use="required"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+
+ <!-- Simple Types -->
+ <simpleType name="Method">
+ <restriction base="xsd:string">
+ <enumeration value="GET" />
+ <enumeration value="DELETE" />
+ <enumeration value="POST" />
+ <enumeration value="PUT" />
+ <enumeration value="HEAD" />
+ <enumeration value="OPTIONS" />
+ <enumeration value="CONNECT" />
+ <enumeration value="TRACE" />
+
+ <enumeration value="ALL" />
+ </restriction>
+ </simpleType>
+
+</schema>