Unix installation fixes
[shibboleth/sp.git] / schemas / shibboleth-metadata-1.0.xsd
index 5fc8b4d..be1441d 100644 (file)
@@ -1,11 +1,14 @@
 <?xml version="1.0" encoding="US-ASCII"?>
-<schema targetNamespace="urn:mace:shibboleth:1.0:metadata"
+<schema targetNamespace="urn:mace:shibboleth:metadata:1.0"
        xmlns="http://www.w3.org/2001/XMLSchema"
+       xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
        elementFormDefault="unqualified"
        attributeFormDefault="unqualified"
        version="1.0">
 
-       <element name="Domain">
+       <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
+
+       <element name="Scope">
                <annotation>
                        <documentation>
                        SAML metadata extension used to regulate allowable attribute scopes.
                        </simpleContent>
                </complexType>
        </element>
+
+       <element name="KeyAuthority">
+               <annotation>
+                       <documentation>
+                       Binds keying authorities to the system entity/entities to which the enclosing
+                       metadata element applies.
+                       </documentation>
+               </annotation>
+               <complexType>
+                       <sequence>
+                               <element ref="ds:KeyInfo" maxOccurs="unbounded"/>
+                       </sequence>
+                       <attribute name="VerifyDepth" type="unsignedByte" use="optional" default="1"/>
+                       <anyAttribute namespace="##other" processContents="lax"/>
+               </complexType>
+       </element>
+
 </schema>