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