Implement disco/UI extensions
[shibboleth/cpp-opensaml.git] / schemas / sstc-saml-metadata-ui.xsd
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <schema \r
3   targetNamespace="urn:oasis:names:tc:SAML:metadata:ui"\r
4   xmlns="http://www.w3.org/2001/XMLSchema"\r
5   xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"\r
6   elementFormDefault="unqualified"\r
7   attributeFormDefault="unqualified"\r
8   blockDefault="substitution"\r
9   version="1.0">\r
10 \r
11   <annotation>\r
12     <documentation>\r
13       Document title: Metadata Extension Schema for SAML V2.0 Metadata Extensions for Login and Discovery User Interface Version 1.0\r
14       Document identifier: sstc-saml-metadata-ui.xsd\r
15       Location: http://docs.oasis-open.org/security/saml/Post2.0/\r
16       Revision history:\r
17       V1.0 (September 2010):\r
18         Initial version.\r
19     </documentation>\r
20   </annotation>\r
21 \r
22   <import namespace="urn:oasis:names:tc:SAML:2.0:metadata"\r
23     schemaLocation="saml-schema-metadata-2.0.xsd"/>\r
24   <import namespace="http://www.w3.org/XML/1998/namespace"\r
25     schemaLocation="http://www.w3.org/2001/xml.xsd"/>\r
26 \r
27   <element name="UIInfo" type="mdui:UIInfoType" />\r
28   <complexType name="UIInfoType">\r
29     <choice minOccurs="0" maxOccurs="unbounded">\r
30       <element ref="mdui:DisplayName"/>\r
31       <element ref="mdui:Description"/>\r
32       <element ref="mdui:Logo"/>\r
33       <element ref="mdui:InformationURL"/>\r
34       <element ref="mdui:PrivacyStatementURL"/>\r
35       <any namespace="##other" processContents="lax"/>\r
36     </choice>\r
37   </complexType>\r
38 \r
39   <element name="DisplayName" type="md:localizedNameType"/>\r
40   <element name="Description" type="md:localizedNameType"/>\r
41   <element name="InformationURL" type="md:localizedURIType"/>\r
42   <element name="PrivacyStatementURL" type="md:localizedURIType"/>\r
43 \r
44   <element name="Logo" type="mdui:LogoType"/>\r
45   <complexType name="LogoType">\r
46     <simpleContent>\r
47       <extension base="anyURI">\r
48         <attribute name="height" type="positiveInteger" use="required"/>\r
49         <attribute name="width" type="positiveInteger" use="required"/>\r
50         <attribute ref="xml:lang"/>\r
51       </extension>\r
52     </simpleContent>\r
53   </complexType>\r
54 \r
55   <element name="DiscoHints" type="mdui:DiscoHintsType"/>\r
56   <complexType name="DiscoHintsType">\r
57     <choice minOccurs="0" maxOccurs="unbounded">\r
58       <element ref="mdui:IPHint"/>\r
59       <element ref="mdui:DomainHint"/>\r
60       <element ref="mdui:GeolocationHint"/>\r
61       <any namespace="##other" processContents="lax"/>\r
62     </choice>\r
63   </complexType>\r
64 \r
65   <element name="IPHint" type="string"/>\r
66   <element name="DomainHint" type="string"/>    \r
67   <element name="GeolocationHint" type="anyURI"/>\r
68 \r
69 </schema>\r
70 \r