IdP config schema and example
[java-idp.git] / resources / classpath / schema / shibboleth-2.0-idp-config.xsd
1 <?xml version="1.0" encoding="UTF-8"?>
2 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:mace:shibboleth:2.0:idp-config"
3     xmlns:idpconf="urn:mace:shibboleth:2.0:idp-config" xmlns:service="urn:mace:shibboleth:2.0:services"
4     elementFormDefault="qualified">
5
6     <import namespace="urn:mace:shibboleth:2.0:services" schemaLocation="classpath:/schema/shibboleth-2.0-services.xsd" />
7
8     <element name="IdPConfig" type="idpconf:IdPConfigType">
9         <annotation>
10             <documentation>Root of the IdP configuration file.</documentation>
11         </annotation>
12     </element>
13
14     <complexType name="IdPConfigType">
15         <sequence>
16             <!-- TODO default logging configuration location -->
17             <element name="LoggingConfiguration" type="string" minOccurs="0">
18                 <annotation>
19                     <documentation>
20                         Location, on the filesystem, where the Log4j configuration file is located.
21                     </documentation>
22                 </annotation>
23             </element>
24             <element ref="service:Service" minOccurs="0" maxOccurs="unbounded">
25                 <annotation>
26                     <documentation>List of IdP configured services.</documentation>
27                 </annotation>
28             </element>
29         </sequence>
30     </complexType>
31
32 </schema>