1 <?xml version="1.0" encoding="UTF-8"?>
3 targetNamespace="urn:oasis:names:tc:SAML:2.0:metadata"
4 xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
5 xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
6 xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"
7 xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
8 xmlns="http://www.w3.org/2001/XMLSchema"
9 elementFormDefault="unqualified"
10 attributeFormDefault="unqualified"
11 blockDefault="substitution"
13 <import namespace="http://www.w3.org/2000/09/xmldsig#"
14 schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
15 <import namespace="http://www.w3.org/2001/04/xmlenc#"
16 schemaLocation="http://www.w3.org/TR/2002/REC-xmlenc-core-20021210/xenc-schema.xsd"/>
17 <import namespace="urn:oasis:names:tc:SAML:2.0:assertion"
18 schemaLocation="saml-schema-assertion-2.0.xsd"/>
19 <import namespace="http://www.w3.org/XML/1998/namespace"
20 schemaLocation="http://www.w3.org/2001/xml.xsd"/>
23 Document identifier: saml-schema-metadata-2.0
24 Location: http://docs.oasis-open.org/security/saml/v2.0/
27 Schema for SAML metadata, first published in SAML 2.0.
31 <simpleType name="entityIDType">
32 <restriction base="anyURI">
33 <maxLength value="1024"/>
36 <complexType name="localizedNameType">
38 <extension base="string">
39 <attribute ref="xml:lang" use="required"/>
43 <complexType name="localizedURIType">
45 <extension base="anyURI">
46 <attribute ref="xml:lang" use="required"/>
51 <element name="Extensions" type="md:ExtensionsType"/>
52 <complexType final="#all" name="ExtensionsType">
54 <any namespace="##other" processContents="lax" maxOccurs="unbounded"/>
58 <complexType name="EndpointType">
60 <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
62 <attribute name="Binding" type="anyURI" use="required"/>
63 <attribute name="Location" type="anyURI" use="required"/>
64 <attribute name="ResponseLocation" type="anyURI" use="optional"/>
65 <anyAttribute namespace="##other" processContents="lax"/>
68 <complexType name="IndexedEndpointType">
70 <extension base="md:EndpointType">
71 <attribute name="index" type="unsignedShort" use="required"/>
72 <attribute name="isDefault" type="boolean" use="optional"/>
77 <element name="EntitiesDescriptor" type="md:EntitiesDescriptorType"/>
78 <complexType name="EntitiesDescriptorType">
80 <element ref="ds:Signature" minOccurs="0"/>
81 <element ref="md:Extensions" minOccurs="0"/>
82 <choice minOccurs="1" maxOccurs="unbounded">
83 <element ref="md:EntityDescriptor"/>
84 <element ref="md:EntitiesDescriptor"/>
87 <attribute name="validUntil" type="dateTime" use="optional"/>
88 <attribute name="cacheDuration" type="duration" use="optional"/>
89 <attribute name="ID" type="ID" use="optional"/>
90 <attribute name="Name" type="string" use="optional"/>
93 <element name="EntityDescriptor" type="md:EntityDescriptorType"/>
94 <complexType name="EntityDescriptorType">
96 <element ref="ds:Signature" minOccurs="0"/>
97 <element ref="md:Extensions" minOccurs="0"/>
99 <choice maxOccurs="unbounded">
100 <element ref="md:RoleDescriptor"/>
101 <element ref="md:IDPSSODescriptor"/>
102 <element ref="md:SPSSODescriptor"/>
103 <element ref="md:AuthnAuthorityDescriptor"/>
104 <element ref="md:AttributeAuthorityDescriptor"/>
105 <element ref="md:PDPDescriptor"/>
107 <element ref="md:AffiliationDescriptor"/>
109 <element ref="md:Organization" minOccurs="0"/>
110 <element ref="md:ContactPerson" minOccurs="0" maxOccurs="unbounded"/>
111 <element ref="md:AdditionalMetadataLocation" minOccurs="0" maxOccurs="unbounded"/>
113 <attribute name="entityID" type="md:entityIDType" use="required"/>
114 <attribute name="validUntil" type="dateTime" use="optional"/>
115 <attribute name="cacheDuration" type="duration" use="optional"/>
116 <attribute name="ID" type="ID" use="optional"/>
117 <anyAttribute namespace="##other" processContents="lax"/>
120 <element name="Organization" type="md:OrganizationType"/>
121 <complexType name="OrganizationType">
123 <element ref="md:Extensions" minOccurs="0"/>
124 <element ref="md:OrganizationName" maxOccurs="unbounded"/>
125 <element ref="md:OrganizationDisplayName" maxOccurs="unbounded"/>
126 <element ref="md:OrganizationURL" maxOccurs="unbounded"/>
128 <anyAttribute namespace="##other" processContents="lax"/>
130 <element name="OrganizationName" type="md:localizedNameType"/>
131 <element name="OrganizationDisplayName" type="md:localizedNameType"/>
132 <element name="OrganizationURL" type="md:localizedURIType"/>
133 <element name="ContactPerson" type="md:ContactType"/>
134 <complexType name="ContactType">
136 <element ref="md:Extensions" minOccurs="0"/>
137 <element ref="md:Company" minOccurs="0"/>
138 <element ref="md:GivenName" minOccurs="0"/>
139 <element ref="md:SurName" minOccurs="0"/>
140 <element ref="md:EmailAddress" minOccurs="0" maxOccurs="unbounded"/>
141 <element ref="md:TelephoneNumber" minOccurs="0" maxOccurs="unbounded"/>
143 <attribute name="contactType" type="md:ContactTypeType" use="required"/>
144 <anyAttribute namespace="##other" processContents="lax"/>
146 <element name="Company" type="string"/>
147 <element name="GivenName" type="string"/>
148 <element name="SurName" type="string"/>
149 <element name="EmailAddress" type="anyURI"/>
150 <element name="TelephoneNumber" type="string"/>
151 <simpleType name="ContactTypeType">
152 <restriction base="string">
153 <enumeration value="technical"/>
154 <enumeration value="support"/>
155 <enumeration value="administrative"/>
156 <enumeration value="billing"/>
157 <enumeration value="other"/>
161 <element name="AdditionalMetadataLocation" type="md:AdditionalMetadataLocationType"/>
162 <complexType name="AdditionalMetadataLocationType">
164 <extension base="anyURI">
165 <attribute name="namespace" type="anyURI" use="required"/>
170 <element name="RoleDescriptor" type="md:RoleDescriptorType"/>
171 <complexType name="RoleDescriptorType" abstract="true">
173 <element ref="ds:Signature" minOccurs="0"/>
174 <element ref="md:Extensions" minOccurs="0"/>
175 <element ref="md:KeyDescriptor" minOccurs="0" maxOccurs="unbounded"/>
176 <element ref="md:Organization" minOccurs="0"/>
177 <element ref="md:ContactPerson" minOccurs="0" maxOccurs="unbounded"/>
179 <attribute name="ID" type="ID" use="optional"/>
180 <attribute name="validUntil" type="dateTime" use="optional"/>
181 <attribute name="cacheDuration" type="duration" use="optional"/>
182 <attribute name="protocolSupportEnumeration" type="md:anyURIListType" use="required"/>
183 <attribute name="errorURL" type="anyURI" use="optional"/>
184 <anyAttribute namespace="##other" processContents="lax"/>
186 <simpleType name="anyURIListType">
187 <list itemType="anyURI"/>
190 <element name="KeyDescriptor" type="md:KeyDescriptorType"/>
191 <complexType name="KeyDescriptorType">
193 <element ref="ds:KeyInfo"/>
194 <element ref="md:EncryptionMethod" minOccurs="0" maxOccurs="unbounded"/>
196 <attribute name="use" type="md:KeyTypes" use="optional"/>
198 <simpleType name="KeyTypes">
199 <restriction base="string">
200 <enumeration value="encryption"/>
201 <enumeration value="signing"/>
204 <element name="EncryptionMethod" type="xenc:EncryptionMethodType"/>
206 <complexType name="SSODescriptorType" abstract="true">
208 <extension base="md:RoleDescriptorType">
210 <element ref="md:ArtifactResolutionService" minOccurs="0" maxOccurs="unbounded"/>
211 <element ref="md:SingleLogoutService" minOccurs="0" maxOccurs="unbounded"/>
212 <element ref="md:ManageNameIDService" minOccurs="0" maxOccurs="unbounded"/>
213 <element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
218 <element name="ArtifactResolutionService" type="md:IndexedEndpointType"/>
219 <element name="SingleLogoutService" type="md:EndpointType"/>
220 <element name="ManageNameIDService" type="md:EndpointType"/>
221 <element name="NameIDFormat" type="anyURI"/>
223 <element name="IDPSSODescriptor" type="md:IDPSSODescriptorType"/>
224 <complexType name="IDPSSODescriptorType">
226 <extension base="md:SSODescriptorType">
228 <element ref="md:SingleSignOnService" maxOccurs="unbounded"/>
229 <element ref="md:NameIDMappingService" minOccurs="0" maxOccurs="unbounded"/>
230 <element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
231 <element ref="md:AttributeProfile" minOccurs="0" maxOccurs="unbounded"/>
232 <element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
234 <attribute name="WantAuthnRequestsSigned" type="boolean" use="optional"/>
238 <element name="SingleSignOnService" type="md:EndpointType"/>
239 <element name="NameIDMappingService" type="md:EndpointType"/>
240 <element name="AssertionIDRequestService" type="md:EndpointType"/>
241 <element name="AttributeProfile" type="anyURI"/>
243 <element name="SPSSODescriptor" type="md:SPSSODescriptorType"/>
244 <complexType name="SPSSODescriptorType">
246 <extension base="md:SSODescriptorType">
248 <element ref="md:AssertionConsumerService" maxOccurs="unbounded"/>
249 <element ref="md:AttributeConsumingService" minOccurs="0" maxOccurs="unbounded"/>
251 <attribute name="AuthnRequestsSigned" type="boolean" use="optional"/>
252 <attribute name="WantAssertionsSigned" type="boolean" use="optional"/>
256 <element name="AssertionConsumerService" type="md:IndexedEndpointType"/>
257 <element name="AttributeConsumingService" type="md:AttributeConsumingServiceType"/>
258 <complexType name="AttributeConsumingServiceType">
260 <element ref="md:ServiceName" maxOccurs="unbounded"/>
261 <element ref="md:ServiceDescription" minOccurs="0" maxOccurs="unbounded"/>
262 <element ref="md:RequestedAttribute" maxOccurs="unbounded"/>
264 <attribute name="index" type="unsignedShort" use="required"/>
265 <attribute name="isDefault" type="boolean" use="optional"/>
267 <element name="ServiceName" type="md:localizedNameType"/>
268 <element name="ServiceDescription" type="md:localizedNameType"/>
269 <element name="RequestedAttribute" type="md:RequestedAttributeType"/>
270 <complexType name="RequestedAttributeType">
272 <extension base="saml:AttributeType">
273 <attribute name="isRequired" type="boolean" use="optional"/>
278 <element name="AuthnAuthorityDescriptor" type="md:AuthnAuthorityDescriptorType"/>
279 <complexType name="AuthnAuthorityDescriptorType">
281 <extension base="md:RoleDescriptorType">
283 <element ref="md:AuthnQueryService" maxOccurs="unbounded"/>
284 <element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
285 <element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
290 <element name="AuthnQueryService" type="md:EndpointType"/>
292 <element name="PDPDescriptor" type="md:PDPDescriptorType"/>
293 <complexType name="PDPDescriptorType">
295 <extension base="md:RoleDescriptorType">
297 <element ref="md:AuthzService" maxOccurs="unbounded"/>
298 <element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
299 <element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
304 <element name="AuthzService" type="md:EndpointType"/>
306 <element name="AttributeAuthorityDescriptor" type="md:AttributeAuthorityDescriptorType"/>
307 <complexType name="AttributeAuthorityDescriptorType">
309 <extension base="md:RoleDescriptorType">
311 <element ref="md:AttributeService" maxOccurs="unbounded"/>
312 <element ref="md:AssertionIDRequestService" minOccurs="0" maxOccurs="unbounded"/>
313 <element ref="md:NameIDFormat" minOccurs="0" maxOccurs="unbounded"/>
314 <element ref="md:AttributeProfile" minOccurs="0" maxOccurs="unbounded"/>
315 <element ref="saml:Attribute" minOccurs="0" maxOccurs="unbounded"/>
320 <element name="AttributeService" type="md:EndpointType"/>
322 <element name="AffiliationDescriptor" type="md:AffiliationDescriptorType"/>
323 <complexType name="AffiliationDescriptorType">
325 <element ref="ds:Signature" minOccurs="0"/>
326 <element ref="md:Extensions" minOccurs="0"/>
327 <element ref="md:AffiliateMember" maxOccurs="unbounded"/>
328 <element ref="md:KeyDescriptor" minOccurs="0" maxOccurs="unbounded"/>
330 <attribute name="affiliationOwnerID" type="md:entityIDType" use="required"/>
331 <attribute name="validUntil" type="dateTime" use="optional"/>
332 <attribute name="cacheDuration" type="duration" use="optional"/>
333 <attribute name="ID" type="ID" use="optional"/>
334 <anyAttribute namespace="##other" processContents="lax"/>
336 <element name="AffiliateMember" type="md:entityIDType"/>