Fix backslashes in SHIBSP_PREFIX variable by manually creating it during the script...
[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         xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
6         xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
7         elementFormDefault="qualified">
8
9     <annotation>
10         <documentation>
11             Defines local application notification protocol used by SP.
12         </documentation>
13     </annotation>
14
15     <import namespace="urn:oasis:names:tc:SAML:2.0:assertion"
16         schemaLocation="saml-schema-assertion-2.0.xsd"/>
17
18     <import namespace="urn:oasis:names:tc:SAML:2.0:protocol"
19         schemaLocation="saml-schema-protocol-2.0.xsd"/>
20
21     <simpleType name="string">
22         <restriction base="string">
23             <minLength value="1"/>
24         </restriction>
25     </simpleType>
26     
27     <element name="OK" type="notify:OKType"/>
28     <complexType name="OKType">
29         <sequence/>
30     </complexType>
31
32     <element name="LogoutNotification" type="notify:LogoutNotificationType"/>
33     <complexType name="LogoutNotificationType">
34         <annotation>
35             <documentation>Notifies application of a logout event.</documentation>
36         </annotation>
37         <sequence>
38             <element name="SessionID" type="notify:string" maxOccurs="unbounded"/>
39         </sequence>
40         <attribute name="type">
41             <simpleType>
42                 <restriction base="string">
43                     <enumeration value="local"/>
44                     <enumeration value="global"/>
45                 </restriction>
46             </simpleType>
47         </attribute>
48     </complexType>
49
50     <element name="NameIDNotification" type="notify:NameIDNotificationType"/>
51     <complexType name="NameIDNotificationType">
52         <annotation>
53             <documentation>Notifies application of a NameID management event.</documentation>
54         </annotation>
55         <sequence>
56             <element ref="saml:NameID"/>
57             <choice>
58                 <element ref="samlp:NewID"/>
59                 <element ref="samlp:Terminate"/>
60             </choice>
61         </sequence>
62     </complexType>
63
64 </schema>