Use shibboleth-sp as package name for compatibility.
[shibboleth/cpp-sp.git] / schemas / shibboleth-2.0-native-sp-protocols.xsd
1 <?xml version="1.0" encoding="US-ASCII"?>
2 <schema targetNamespace="urn:mace:shibboleth:2.0:native:sp:protocols"
3         xmlns:prot="urn:mace:shibboleth:2.0:native:sp:protocols"
4         xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
5         xmlns="http://www.w3.org/2001/XMLSchema"
6         attributeFormDefault="unqualified"
7         elementFormDefault="qualified"
8         blockDefault="substitution"
9         version="2.4">
10
11   <annotation>
12     <documentation>
13       Schema for specifying protocols, services, and bindings, and defaults for the locations of handlers.
14       First appearing in Shibboleth 2.4 release.
15     </documentation>
16   </annotation>
17   
18   <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />
19
20   <simpleType name="string">
21     <restriction base="string">
22       <minLength value="1"/>
23     </restriction>
24   </simpleType>
25
26   <element name="Protocols">
27     <complexType>
28       <sequence>
29         <element name="Protocol" maxOccurs="unbounded">
30           <complexType>
31             <sequence>
32               <element name="Service" maxOccurs="unbounded">
33                 <complexType>
34                   <sequence>
35                     <element name="Initiator" minOccurs="0">
36                       <complexType>
37                         <attribute name="id" type="prot:string" use="required" />
38                       </complexType>
39                     </element>
40                     <element name="Binding" minOccurs="0" maxOccurs="unbounded">
41                       <complexType>
42                         <attribute name="id" type="prot:string" use="required" />
43                         <attribute name="path" type="prot:string" use="required" />
44                       </complexType>
45                     </element>
46                   </sequence>
47                   <attribute name="id" type="prot:string" use="required" />
48                 </complexType>
49               </element>
50             </sequence>
51             <attribute name="id" type="prot:string" use="required" />
52           </complexType>
53         </element>
54         <element ref="ds:Signature" minOccurs="0"/>
55       </sequence>
56     </complexType>
57   </element>
58
59 </schema>