This file is indexed.

/usr/share/xml/shibboleth/shibboleth.xsd is in shibboleth-sp2-common 2.6.1+dfsg1-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
<?xml version="1.0" encoding="US-ASCII"?>
<schema targetNamespace="urn:mace:shibboleth:1.0"
	xmlns="http://www.w3.org/2001/XMLSchema"
	xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
	xmlns:xml="http://www.w3.org/XML/1998/namespace"
	xmlns:shib="urn:mace:shibboleth:1.0"
	elementFormDefault="qualified"
	attributeFormDefault="unqualified"
	version="1.3">

    <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
    <import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
    
    <!-- Status-Related Information -->
    
    <!--
    The following SAML sub-status codes are defined in this namespace:
    
        "InvalidHandle"
            Used with samlp:Requester, signals AA did not recognize handle as valid
    -->

    <!--
    Relaxes SAML AttributeValue type definition. Xerces-C has a bug that prevents
    anyAttribute content appearing on anyType. It works in 2.2 but not in later versions.
    -->

	<complexType name="AttributeValueType" mixed="true">
		<annotation>
			<documentation xml:lang="en">
			By convention, all Shibboleth 1.1 origin attribute values carry this unconstrained xsi:type.
			</documentation>
		</annotation>
		<complexContent>
			<extension base="anyType"/>
		</complexContent>
	</complexType>
    
    <!-- Attribute Acceptance Policies -->
	
    <simpleType name="AttributeRuleValueType">
        <restriction base="string">
            <enumeration value="literal"/>
            <enumeration value="regexp"/>
            <enumeration value="xpath"/>
        </restriction>
    </simpleType>
    
    <complexType name="SiteRuleType">
    	<sequence>
    		<element name="Scope" minOccurs="0" maxOccurs="unbounded">
    			<complexType>
                    <simpleContent>
                        <extension base="string">
                        	<attribute name="Accept" type="boolean" use="optional" default="true"/>
                            <attribute name="Type" type="shib:AttributeRuleValueType" use="optional" default="literal"/>
                            <anyAttribute namespace="##other" processContents="lax"/>
                        </extension>
                    </simpleContent>
    			</complexType>
    		</element>
	        <choice minOccurs="0">
	        	<element name="AnyValue">
	        		<complexType>
	        			<sequence/>
	        			<anyAttribute namespace="##other" processContents="lax"/>
	        		</complexType>
	        	</element>
	            <element name="Value" maxOccurs="unbounded">
	                <complexType>
	                    <simpleContent>
	                        <extension base="string">
								<attribute name="Accept" type="boolean" use="optional" default="true"/>
	                            <attribute name="Type" type="shib:AttributeRuleValueType" use="optional" default="literal"/>
	                            <anyAttribute namespace="##other" processContents="lax"/>
	                        </extension>
	                    </simpleContent>
	                </complexType>
	            </element>
	        </choice>
    	</sequence>
    </complexType>

    <element name="AnySite" type="shib:SiteRuleType"/>
    <element name="SiteRule">
        <complexType>
            <complexContent>
                <extension base="shib:SiteRuleType">
                    <attribute name="Name" type="string" use="required"/>
                    <anyAttribute namespace="##other" processContents="lax"/>
                </extension>
            </complexContent>
        </complexType>
    </element>

    <complexType name="AttributeRuleType">
        <sequence>
            <element ref="shib:AnySite" minOccurs="0"/>
            <element ref="shib:SiteRule" minOccurs="0" maxOccurs="unbounded"/>
        </sequence>
        <attribute name="Name" type="string" use="required"/>
        <attribute name="Namespace" type="string" use="optional"/>
        <attribute name="Alias" type="string" use="optional"/>
		<attribute name="Header" type="string" use="optional"/>
		<attribute name="Scoped" type="boolean" use="optional" default="false"/>
		<attribute name="CaseSensitive" type="boolean" use="optional" default="true"/>
		<anyAttribute namespace="##other" processContents="lax"/>
    </complexType>

    <element name="AttributeRule" type="shib:AttributeRuleType">
        <key name="SiteRuleKey">
            <selector xpath="./shib:SiteRule"/>
            <field xpath="@Name"/>
        </key>
    </element>

    <element name="AttributeAcceptancePolicy">
        <complexType>
            <sequence>
                <element name="AnyAttribute" minOccurs="0">
                    <complexType>
                    	<sequence/>
                    </complexType>
                </element>
                <element ref="shib:AttributeRule" minOccurs="0" maxOccurs="unbounded"/>
            </sequence>
            <anyAttribute namespace="##other" processContents="lax"/>
        </complexType>
    </element>


    <!-- Shibboleth Metadata -->
    
    <complexType name="SiteType">
        <annotation>
        	<documentation xml:lang="en">All sites have a Name attribute, plus optional i18n-ized aliases.</documentation>
        </annotation>
        <sequence>
            <element name="Alias" minOccurs="0" maxOccurs="unbounded">
                <complexType>
                    <simpleContent>
                        <extension base="string">
                            <attribute ref="xml:lang"/>
                        </extension>
                    </simpleContent>
                </complexType>
            </element>
            <element name="Contact" type="shib:ContactType" minOccurs="0" maxOccurs="unbounded"/>
        </sequence>
        <attribute name="Name" type="string" use="required"/>
        <attribute name="ErrorURL" type="anyURI" use="optional"/>
        <anyAttribute namespace="##any" processContents="lax"/>
    </complexType>

	<simpleType name="ContactTypeType">
		<restriction base="string">
            <enumeration value="technical"/>
            <enumeration value="support"/>
            <enumeration value="administrative"/>
            <enumeration value="billing"/>
            <enumeration value="other"/>
        </restriction>
    </simpleType>

	<complexType name="ContactType">
		<annotation><documentation xml:lang="en">A human contact for a site.</documentation></annotation>
		<sequence/>
        <attribute name="Type" type="shib:ContactTypeType" use="required"/>
        <attribute name="Name" type="string" use="required"/>
        <attribute name="Email" type="string" use="optional"/>
	</complexType>

    <complexType name="regexp_string">
        <annotation>
        	<documentation xml:lang="en">A string element with an optional attribute signaling regexp content.</documentation>
        </annotation>
        <simpleContent>
            <extension base="string">
                <attribute name="regexp" type="boolean" use="optional" default="false"/>
            </extension>
        </simpleContent>
    </complexType>    

	<complexType name="AuthorityType">
		<annotation>
			<documentation xml:lang="en">Metadata about a SAML authority.</documentation>
		</annotation>
        <sequence/>
        <attribute name="Name" type="string" use="required"/>
        <attribute name="Location" type="anyURI" use="required"/>
        <anyAttribute namespace="##any" processContents="lax"/>
	</complexType>

    <complexType name="OriginSiteType">
        <annotation>
        	<documentation xml:lang="en">
        	Origin sites add at least one handle service (with a name), plus optional domains trusted for attribute scoping.
        	</documentation>
        </annotation>
        <complexContent>
	        <extension base="shib:SiteType">
	            <sequence>
	                <element name="HandleService" type="shib:AuthorityType" maxOccurs="unbounded"/>
	                <element name="AttributeAuthority" type="shib:AuthorityType" minOccurs="0" maxOccurs="unbounded"/>
	                <element ref="shib:Domain" minOccurs="0" maxOccurs="unbounded"/>
	            </sequence>
	        </extension>
        </complexContent>
    </complexType>
	
	<element name="Domain" type="shib:regexp_string">
		<annotation>
			<documentation xml:lang="en">A metadata extension used to regulate allowable attribute scopes.</documentation>
		</annotation>
	</element>

    <complexType name="DestinationSiteType">
        <annotation>
        	<documentation xml:lang="en">
        	Destination sites add at least one attribute requester (with a name).
        	</documentation>
        </annotation>
        <complexContent>
	        <extension base="shib:SiteType">
	            <sequence>
	            	<element name="AssertionConsumerServiceURL" maxOccurs="unbounded">
	            		<complexType>
	            			<attribute name="Location" type="string" use="required"/>
           					<attribute name="Id" type="string" use="optional"/>
        					<anyAttribute namespace="##any" processContents="lax"/>
	            		</complexType>
	            	</element>
	                <element name="AttributeRequester" maxOccurs="unbounded">
	            		<complexType>
	            			<attribute name="Name" type="string" use="required"/>
        					<anyAttribute namespace="##any" processContents="lax"/>
	            		</complexType>
	                </element>
	            </sequence>
	        </extension>
        </complexContent>
    </complexType>

    <complexType name="SiteGroupType">
        <annotation>
        	<documentation xml:lang="en">Used to logically group sites together, optionally signed.</documentation>
        </annotation>
        <sequence>
            <choice maxOccurs="unbounded">
                <element ref="shib:OriginSite"/>
                <element ref="shib:DestinationSite"/>
                <element ref="shib:SiteGroup"/>
            </choice>
            <element ref="ds:Signature" minOccurs="0"/>
        </sequence>
        <attribute name="Name" type="string" use="required"/>
        <attribute name="lastChanged" type="dateTime" use="optional"/>
        <attribute name="validUntil" type="dateTime" use="optional"/>
        <attribute name="cacheDuration" type="duration" use="optional"/>
        <anyAttribute namespace="##any" processContents="lax"/>
    </complexType>    

    <element name="OriginSite" type="shib:OriginSiteType"/>
    <element name="DestinationSite" type="shib:DestinationSiteType"/>
    <element name="SiteGroup" type="shib:SiteGroupType"/>


	<!-- Old (pre 1.2) Trust Metadata -->

	<complexType name="KeyAuthorityType">
		<annotation>
			<documentation xml:lang="en">
			Binds a set of keying material to one or more named system entities.
			</documentation>
		</annotation>
		<sequence>
			<element ref="ds:KeyInfo"/>
			<element name="Subject" type="shib:regexp_string" minOccurs="0" maxOccurs="unbounded"/>
		</sequence>
		<anyAttribute namespace="##any" processContents="lax"/>
	</complexType>
	<element name="KeyAuthority" type="shib:KeyAuthorityType"/>

	<element name="Trust">
		<annotation>
			<documentation xml:lang="en">An optionally signed collection of KeyAuthority data.</documentation>
		</annotation>
		<complexType>
			<sequence>
				<element ref="shib:KeyAuthority" maxOccurs="unbounded"/>
				<element ref="ds:Signature" minOccurs="0"/>
			</sequence>
	        <attribute name="lastChanged" type="dateTime" use="optional"/>
	        <attribute name="validUntil" type="dateTime" use="optional"/>
	        <attribute name="cacheDuration" type="duration" use="optional"/>
	        <anyAttribute namespace="##any" processContents="lax"/>
		</complexType>
	</element>

</schema>