Add back alias support for attributes.
[shibboleth/sp.git] / schemas / shibboleth-2.0-sp-notify.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <schema targetNamespace="urn:mace:shibboleth:2.0:sp:notify"
3         xmlns="http://www.w3.org/2001/XMLSchema"
4         xmlns:notify="urn:mace:shibboleth:2.0:sp:notify"
5         elementFormDefault="qualified">
6
7     <annotation>
8         <documentation>
9             Defines local application notification protocol used by SP.
10         </documentation>
11     </annotation>
12
13     <simpleType name="string">
14         <restriction base="string">
15             <minLength value="1"/>
16         </restriction>
17     </simpleType>
18
19     <element name="OK" type="notify:OKType"/>
20     <complexType name="OKType">
21         <sequence/>
22     </complexType>
23
24     <element name="LogoutNotification" type="notify:LogoutNotificationType"/>
25     <complexType name="LogoutNotificationType">
26         <annotation>
27             <documentation>Notifies application of a logout event.</documentation>
28         </annotation>
29         <sequence>
30             <element name="SessionID" type="notify:string" maxOccurs="unbounded"/>
31         </sequence>
32         <attribute name="type">
33             <simpleType>
34                 <restriction base="string">
35                     <enumeration value="local"/>
36                     <enumeration value="global"/>
37                 </restriction>
38             </simpleType>
39         </attribute>
40     </complexType>
41
42 </schema>