Debian Codegraph @

test/wsdl/liberty/liberty-metadata-v1.1.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema targetNamespace="urn:liberty:metadata:2003-08"
3 xmlns="urn:liberty:metadata:2003-08"
4 xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
5 xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
6 xmlns:xs="http://www.w3.org/2001/XMLSchema"
7 elementFormDefault="qualified"
8 attributeFormDefault="unqualified" version="1.0">
9 <xs:import namespace="http://www.w3.org/2000/09/xmldsig#"
10 schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
11 <xs:import namespace="urn:oasis:names:tc:SAML:1.0:assertion"
12 schemaLocation="oasis-sstc-saml-schema-assertion-1.1.xsd"/>
13 <xs:import namespace="http://www.w3.org/XML/1998/namespace"
14 schemaLocation="http://www.w3.org/2001/xml.xsd"/>
15 <xs:include schemaLocation="liberty-utility-v1.1.xsd"/>
16 <xs:annotation>
17 <xs:documentation>
18
19 XML Schema fom Metadata description and discovery protocols
20
21 The source code in this XSD file was excerpted verbatim from:
22
23 Liberty Metadata Description and Discovery Specification
24 Version 1.1
25 14 December 2004
26
27 Copyright (c) 2004 Liberty Alliance participants, see
28 https://www.projectliberty.org/specs/idwsf_1_1_copyrights.php
29
30 </xs:documentation>
31 </xs:annotation>
32 <xs:simpleType name="entityIDType">
33 <xs:restriction base="xs:anyURI">
34 <xs:maxLength value="1024" id="maxlengthid"/>
35 </xs:restriction>
36 </xs:simpleType>
37 <!--
38 <xs:attribute name="libertyPrincipalIdentifier" type="entityIDType"/>
39 <xs:attribute name="providerID" type="entityIDType"/>
40 <xs:attribute name="validUntil" type="xs:dateTime"/>
41 <xs:attribute name="cacheDuration" type="xs:duration"/>
42 -->
43 <xs:complexType name="additionalMetadataLocationType">
44 <xs:simpleContent>
45 <xs:extension base="xs:anyURI">
46 <xs:attribute name="namespace" type="xs:anyURI"/>
47 </xs:extension>
48 </xs:simpleContent>
49 </xs:complexType>
50 <xs:complexType name="organizationType">
51 <xs:sequence>
52 <xs:element name="OrganizationName" type="organizationNameType" maxOccurs="unbounded"/>
53 <xs:element name="OrganizationDisplayName" type="organizationDisplayNameType" maxOccurs="unbounded"/>
54 <xs:element name="OrganizationURL" type="localizedURIType" maxOccurs="unbounded"/>
55 <xs:element ref="Extension" minOccurs="0"/>
56 </xs:sequence>
57 </xs:complexType>
58 <xs:complexType name="organizationNameType">
59 <xs:simpleContent>
60 <xs:extension base="xs:string">
61 <xs:attribute ref="xml:lang"/>
62 </xs:extension>
63 </xs:simpleContent>
64 </xs:complexType>
65 <xs:complexType name="organizationDisplayNameType">
66 <xs:simpleContent>
67 <xs:extension base="xs:string">
68 <xs:attribute ref="xml:lang" use="required"/>
69 </xs:extension>
70 </xs:simpleContent>
71 </xs:complexType>
72 <xs:complexType name="localizedURIType">
73 <xs:simpleContent>
74 <xs:extension base="xs:anyURI">
75 <xs:attribute ref="xml:lang" use="required"/>
76 </xs:extension>
77 </xs:simpleContent>
78 </xs:complexType>
79 <xs:complexType name="contactType">
80 <xs:sequence>
81 <xs:element name="Company" type="xs:string" minOccurs="0"/>
82 <xs:element name="GivenName" type="xs:string" minOccurs="0"/>
83 <xs:element name="SurName" type="xs:string" minOccurs="0"/>
84 <xs:element name="EmailAddress" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
85 <xs:element name="TelephoneNumber" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
86 <xs:element ref="Extension" minOccurs="0"/>
87 </xs:sequence>
88 <xs:attribute name="libertyPrincipalIdentifier" type="entityIDType" use="optional"/>
89 <xs:attribute name="contactType" type="attr.contactType" use="required"/>
90 </xs:complexType>
91 <xs:simpleType name="attr.contactType">
92 <xs:restriction base="xs:string">
93 <xs:enumeration value="technical"/>
94 <xs:enumeration value="administrative"/>
95 <xs:enumeration value="billing"/>
96 <xs:enumeration value="other"/>
97 </xs:restriction>
98 </xs:simpleType>
99 <xs:simpleType name="keyTypes">
100 <xs:restriction base="xs:string">
101 <xs:enumeration value="encryption"/>
102 <xs:enumeration value="signing"/>
103 </xs:restriction>
104 </xs:simpleType>
105 <xs:complexType name="providerDescriptorType">
106 <xs:sequence>
107 <xs:element name="KeyDescriptor" type="keyDescriptorType"
108 minOccurs="0" maxOccurs="unbounded"/>
109 <xs:element name="SoapEndpoint" type="xs:anyURI" minOccurs="0"/>
110 <xs:element name="SingleLogoutServiceURL" type="xs:anyURI" minOccurs="0"/>
111 <xs:element name="SingleLogoutServiceReturnURL"
112 type="xs:anyURI" minOccurs="0"/>
113 <xs:element name="FederationTerminationServiceURL"
114 type="xs:anyURI" minOccurs="0"/>
115 <xs:element name="FederationTerminationServiceReturnURL"
116 type="xs:anyURI" minOccurs="0"/>
117 <xs:element name="FederationTerminationNotificationProtocolProfile"
118 type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
119 <xs:element name="SingleLogoutProtocolProfile"
120 type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
121 <xs:element name="RegisterNameIdentifierProtocolProfile"
122 type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
123 <xs:element name="RegisterNameIdentifierServiceURL"
124 type="xs:anyURI" minOccurs="0"/>
125 <xs:element name="RegisterNameIdentifierServiceReturnURL"
126 type="xs:anyURI" minOccurs="0"/>
127 <xs:element name="NameIdentifierMappingProtocolProfile"
128 type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
129 <xs:element name="NameIdentifierMappingEncryptionProfile"
130 type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
131 <xs:element name="Organization" type="organizationType" minOccurs="0"/>
132 <xs:element name="ContactPerson" type="contactType"
133 minOccurs="0" maxOccurs="unbounded"/>
134 <xs:element name="AdditionalMetaLocation"
135 type="additionalMetadataLocationType" minOccurs="0" maxOccurs="unbounded"/>
136 <xs:element ref="Extension" minOccurs="0"/>
137 <xs:element ref="ds:Signature" minOccurs="0"/>
138 </xs:sequence>
139 <!--xs:attribute ref="providerID" use="required"/-->
140 <xs:attribute name="protocolSupportEnumeration" type="anyURIListType" use="required"/>
141 <xs:attribute name="id" type="xs:ID" use="optional"/>
142 <xs:attribute name="validUntil" type="xs:dateTime"/>
143 <xs:attribute name="cacheDuration" type="xs:duration"/>
144 </xs:complexType>
145 <xs:simpleType name="anyURIListType">
146 <xs:list itemType="xs:anyURI"/>
147 </xs:simpleType>
148 <!--added-->
149 <xs:element name="KeyDescriptor" type="keyDescriptorType"/>
150 <xs:complexType name="keyDescriptorType">
151 <xs:sequence>
152 <xs:element name="EncryptionMethod" type="xs:anyURI" minOccurs="0"/>
153 <xs:element name="KeySize" type="xs:integer" minOccurs="0"/>
154 <xs:element ref="ds:KeyInfo" minOccurs="0"/>
155 <xs:element ref="Extension" minOccurs="0"/>
156 </xs:sequence>
157 <xs:attribute name="use" type="keyTypes" use="optional"/>
158 </xs:complexType>
159 <!-- -->
160 <xs:element name="EntityDescriptor" type="entityDescriptorType"/>
161 <xs:group name="providerGroup">
162 <xs:sequence>
163 <xs:element name="IDPDescriptor" type="IDPDescriptorType"
164 minOccurs="0" maxOccurs="unbounded"/>
165 <xs:element name="SPDescriptor" type="SPDescriptorType"
166 minOccurs="0" maxOccurs="unbounded"/>
167 </xs:sequence>
168 </xs:group>
169 <xs:complexType name="entityDescriptorType">
170 <xs:sequence>
171 <xs:choice>
172 <xs:group ref="providerGroup"/>
173 <xs:element name="AffiliationDescriptor" type="affiliationDescriptorType"/>
174 </xs:choice>
175 <xs:element name="ContactPerson" type="contactType" minOccurs="0"/>
176 <xs:element name="Organization" type="organizationType" minOccurs="0"/>
177 <xs:element ref="Extension" minOccurs="0"/>
178 <xs:element ref="ds:Signature" minOccurs="0"/>
179 </xs:sequence>
180 <xs:attribute name="providerID" type="entityIDType" use="required"/>
181 <xs:attribute name="id" type="xs:ID" use="optional"/>
182 <xs:attribute name="validUntil" type="xs:dateTime"/>
183 <xs:attribute name="cacheDuration" type="xs:duration"/>
184 </xs:complexType>
185 <xs:complexType name="SPDescriptorType">
186 <xs:complexContent>
187 <xs:extension base="providerDescriptorType">
188 <xs:sequence>
189 <xs:element name="AssertionConsumerServiceURL" maxOccurs="unbounded">
190 <xs:complexType>
191 <xs:simpleContent>
192 <xs:extension base="xs:anyURI">
193 <xs:attribute name="id" type="xs:ID" use="required"/>
194 <xs:attribute name="isDefault" type="xs:boolean" default="false"/>
195 </xs:extension>
196 </xs:simpleContent>
197 </xs:complexType>
198 </xs:element>
199 <xs:element name="AuthnRequestsSigned" type="xs:boolean"/>
200 </xs:sequence>
201 </xs:extension>
202 </xs:complexContent>
203 </xs:complexType>
204 <xs:complexType name="IDPDescriptorType">
205 <xs:complexContent>
206 <xs:extension base="providerDescriptorType">
207 <xs:sequence>
208 <xs:element name="SingleSignOnServiceURL" type="xs:anyURI"/>
209 <xs:element name="SingleSignOnProtocolProfile" type="xs:anyURI" maxOccurs="unbounded"/>
210 <xs:element name="AuthnServiceURL" type="xs:anyURI" minOccurs="0"/>
211 </xs:sequence>
212 </xs:extension>
213 </xs:complexContent>
214 </xs:complexType>
215 <xs:element name="EntitiesDescriptor" type="entitiesDescriptorType"/>
216 <xs:complexType name="entitiesDescriptorType">
217 <xs:sequence>
218 <xs:element ref="EntityDescriptor" minOccurs="2" maxOccurs="unbounded"/>
219 </xs:sequence>
220 </xs:complexType>
221 <xs:complexType name="affiliationDescriptorType">
222 <xs:sequence>
223 <xs:element name="AffiliateMember" type="entityIDType" maxOccurs="unbounded"/>
224 <xs:element ref="Extension" minOccurs="0"/>
225 <xs:element name="KeyDescriptor" type="keyDescriptorType" minOccurs="0" maxOccurs="unbounded"/>
226 <xs:element ref="ds:Signature" minOccurs="0"/>
227 </xs:sequence>
228 <!-- <xs:attribute name="affiliationID" type="entityIDType" use="required"/> -->
229 <xs:attribute name="affiliationOwnerID" type="entityIDType" use="required"/>
230 <xs:attribute name="validUntil" type="xs:dateTime"/>
231 <xs:attribute name="cacheDuration" type="xs:duration"/>
232 <xs:attribute name="id" type="xs:ID" use="optional"/>
233 </xs:complexType>
234 </xs:schema>
235