Improve property inheritance, first batch of SessionInitiators, rename providerId.
[shibboleth/sp.git] / schemas / shibboleth-2.0-simple-resolver.xsd
1 <schema targetNamespace="urn:mace:shibboleth:2.0:resolver:simple" xmlns="http://www.w3.org/2001/XMLSchema"
2     xmlns:resolver="urn:mace:shibboleth:2.0:resolver:simple"
3     xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
4
5     <annotation>
6         <documentation>Shibboleth 2.0 Simple Attribute Resolver configuration schema</documentation>
7     </annotation>
8
9     <import namespace="urn:oasis:names:tc:SAML:2.0:assertion" schemaLocation="saml-schema-assertion-2.0.xsd"/>
10     
11     <element name="AttributeResolver" type="resolver:AttributeResolverType">
12         <annotation>
13             <documentation>Root of the simple attribute resolver configuration file.</documentation>
14         </annotation>
15     </element>
16     <complexType name="AttributeResolverType">
17         <sequence>
18             <element ref="resolver:AttributeDecoder" maxOccurs="unbounded"/>
19             <element ref="saml:Attribute" maxOccurs="unbounded"/>
20         </sequence>
21         <attribute name="allowQuery" type="boolean" default="true"/>
22     </complexType>
23
24     <element name="AttributeDecoder">
25         <annotation>
26             <documentation>Instantiates decoders for use by Attribute definitions.</documentation>
27         </annotation>
28         <complexType>
29             <sequence>
30                 <any namespace="##any" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
31             </sequence>
32             <attribute name="type" type="resolver:string" use="required"/>
33             <attribute name="id" type="ID" use="required"/>
34             <anyAttribute namespace="##any" processContents="lax"/>
35         </complexType>
36     </element>
37
38     <simpleType name="string">
39         <restriction base="string">
40             <minLength value="1"/>
41         </restriction>
42     </simpleType>
43
44     <attribute name="decoderId" type="IDREF"/>
45 </schema>