Add trust extension.
[java-idp.git] / src / schemas / shibboleth-metadata-1.0.xsd
1 <?xml version="1.0" encoding="US-ASCII"?>
2 <schema targetNamespace="urn:mace:shibboleth:metadata:1.0"
3         xmlns="http://www.w3.org/2001/XMLSchema"
4         xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
5         elementFormDefault="unqualified"
6         attributeFormDefault="unqualified"
7         version="1.0">
8
9         <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
10
11         <element name="Scope">
12                 <annotation>
13                         <documentation>
14                         SAML metadata extension used to regulate allowable attribute scopes.
15                         </documentation>
16                 </annotation>
17                 <complexType>
18                         <simpleContent>
19                                 <extension base="string">
20                                         <attribute name="regexp" type="boolean" use="optional" default="false"/>
21                                 </extension>
22                         </simpleContent>
23                 </complexType>
24         </element>
25
26         <element name="KeyAuthority">
27                 <complexType>
28                         <annotation>
29                                 <documentation>
30                                 Binds keying authorities to the system entity/entities to which the enclosing
31                                 metadata element applies.
32                                 </documentation>
33                         </annotation>
34                         <sequence>
35                                 <element ref="ds:KeyInfo" maxOccurs="unbounded"/>
36                         </sequence>
37                         <attribute name="VerifyDepth" type="unsignedByte" use="optional" default="1"/>
38                         <anyAttribute namespace="##other" processContents="lax"/>
39                 </complexType>
40         </element>
41
42 </schema>