Mercurial > pub > Impl
view _test/Resources/resources.xsd @ 218:358f867712b4
sync
author | sergey |
---|---|
date | Mon, 20 Aug 2012 17:24:48 +0400 |
parents | |
children | c477f24f1980 |
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?> <schema targetNamespace="uri:impl-web-application/resources" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tns="uri:impl-web-application/resources"> <element name="resources"> <complexType> <sequence> <element name="root" type="tns:restResource"></element> <element name="typeMap"> <complexType> <sequence> <element name="item"> <complexType> <complexContent> <extension base="tns:restResource"> <sequence></sequence> <attribute name="type" type="string"> </attribute> </extension> </complexContent> </complexType></element> </sequence> </complexType></element> </sequence> </complexType> </element> <complexType name="restResource"> <sequence> <element name="get" type="tns:restOperation" minOccurs="0"> </element> <element name="post" type="tns:restOperation" minOccurs="0"> </element> <element name="put" type="tns:restOperation" minOccurs="0"> </element> <element name="delete" type="tns:restOperation" minOccurs="0"> </element> <element name="resource" type="string" maxOccurs="unbounded" minOccurs="0"></element> </sequence> </complexType> <complexType name="restOperation"> <sequence> <element name="invoke" type="string"></element> <element name="parameters" type="string"></element> <element name="result" type="string"></element> </sequence> </complexType> </schema>