1<?xml version="1.0" encoding="UTF-8"?>
2<schema
3  targetNamespace="urn:oasis:names:tc:SAML:metadata:ui"
4  xmlns="http://www.w3.org/2001/XMLSchema"
5  xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
6  xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"
7  elementFormDefault="unqualified"
8  attributeFormDefault="unqualified"
9  blockDefault="substitution"
10  version="1.0">
11
12  <annotation>
13    <documentation>
14      Document title: Metadata Extension Schema for SAML V2.0 Metadata Extensions for Login and Discovery User Interface Version 1.0
15      Document identifier: sstc-saml-metadata-ui-v1.0.xsd
16      Location: http://docs.oasis-open.org/security/saml/Post2.0/
17      Revision history:
18      16 November 2010:
19        Added Keywords element/type.
20      01 November 2010
21        Changed filename.
22      September 2010:
23        Initial version.
24    </documentation>
25  </annotation>
26
27  <import namespace="urn:oasis:names:tc:SAML:2.0:metadata"
28    schemaLocation="saml-schema-metadata-2.0.xsd"/>
29  <import namespace="http://www.w3.org/XML/1998/namespace"
30    schemaLocation="xml.xsd"/>
31
32  <element name="UIInfo" type="mdui:UIInfoType" />
33  <complexType name="UIInfoType">
34    <choice minOccurs="0" maxOccurs="unbounded">
35      <element ref="mdui:DisplayName"/>
36      <element ref="mdui:Description"/>
37      <element ref="mdui:Keywords"/>
38      <element ref="mdui:Logo"/>
39      <element ref="mdui:InformationURL"/>
40      <element ref="mdui:PrivacyStatementURL"/>
41      <any namespace="##other" processContents="lax"/>
42    </choice>
43  </complexType>
44
45  <element name="DisplayName" type="md:localizedNameType"/>
46  <element name="Description" type="md:localizedNameType"/>
47  <element name="InformationURL" type="md:localizedURIType"/>
48  <element name="PrivacyStatementURL" type="md:localizedURIType"/>
49
50  <element name="Keywords" type="mdui:KeywordsType"/>
51  <complexType name="KeywordsType">
52    <simpleContent>
53      <extension base="mdui:listOfStrings">
54        <attribute ref="xml:lang" use="required"/>
55      </extension>
56    </simpleContent>
57  </complexType>
58
59  <simpleType name="listOfStrings">
60    <list itemType="string"/>
61  </simpleType>
62
63  <element name="Logo" type="mdui:LogoType"/>
64  <complexType name="LogoType">
65    <simpleContent>
66      <extension base="anyURI">
67        <attribute name="height" type="positiveInteger" use="required"/>
68        <attribute name="width" type="positiveInteger" use="required"/>
69        <attribute ref="xml:lang"/>
70      </extension>
71    </simpleContent>
72  </complexType>
73
74  <element name="DiscoHints" type="mdui:DiscoHintsType"/>
75  <complexType name="DiscoHintsType">
76    <choice minOccurs="0" maxOccurs="unbounded">
77      <element ref="mdui:IPHint"/>
78      <element ref="mdui:DomainHint"/>
79      <element ref="mdui:GeolocationHint"/>
80      <any namespace="##other" processContents="lax"/>
81    </choice>
82  </complexType>
83
84  <element name="IPHint" type="string"/>
85  <element name="DomainHint" type="string"/>
86  <element name="GeolocationHint" type="anyURI"/>
87
88</schema>
89
90