Added option to Simple Attribute Definition PlugIn to force values to lower case...
[java-idp.git] / src / schemas / shibboleth-trust-1.0.xsd
1 <schema targetNamespace="urn:mace:shibboleth:trust:1.0"
2         xmlns="http://www.w3.org/2001/XMLSchema"
3         xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
4         xmlns:trust="urn:mace:shibboleth:trust:1.0"
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         <annotation>
12                 <documentation>
13                 Trust metadata binds keys or authority lists to system entities.
14                 The metadata consumer is responsible for associating the names of system entities
15                 to the application context in an appropriate way.
16                 </documentation>
17         </annotation>
18     
19         <element name="Trust">
20                 <annotation>
21                         <documentation>
22                         An optionally signed collection of trust binding elements.
23                         ds:KeyInfo is by definition a binding of a key to a specific entity,
24                         which may be specified in various ways such as KeyName or X509SubjectName.
25                         </documentation>
26                 </annotation>
27                 <complexType>
28                         <sequence>
29                                 <choice maxOccurs="unbounded">
30                                         <element ref="ds:KeyInfo"/>
31                                         <element ref="trust:KeyAuthority"/>
32                                 </choice>
33                                 <element ref="ds:Signature" minOccurs="0"/>
34                         </sequence>
35                 <attribute name="lastChanged" type="dateTime" use="optional"/>
36                 <attribute name="validUntil" type="dateTime" use="optional"/>
37                 <attribute name="cacheDuration" type="duration" use="optional"/>
38                 <anyAttribute namespace="##other" processContents="lax"/>
39                 </complexType>
40         </element>
41
42         <element name="KeyAuthority" type="trust:KeyAuthorityType"/>
43         <complexType name="KeyAuthorityType">
44                 <annotation>
45                         <documentation>
46                         Binds keying authorities to one or more named system entities.
47                         Omitting ds:KeyName will apply the authorities to all transactions, unless
48                         another specific match applies. This is risky, so use wisely, in conjunction
49                         with constraints on acceptable messages using other forms of metadata or policy.
50                         </documentation>
51                 </annotation>
52                 <sequence>
53                         <element ref="ds:KeyName" minOccurs="0" maxOccurs="unbounded"/>
54                         <element ref="ds:KeyInfo"/>
55                 </sequence>
56                 <attribute name="VerifyDepth" type="unsignedByte" use="optional"/>
57                 <anyAttribute namespace="##other" processContents="lax"/>
58         </complexType>
59         
60 </schema>