Imported Upstream version 2.4+dfsg
[shibboleth/sp.git] / schemas / shibboleth-2.0-native-sp-protocols.xsd
diff --git a/schemas/shibboleth-2.0-native-sp-protocols.xsd b/schemas/shibboleth-2.0-native-sp-protocols.xsd
new file mode 100644 (file)
index 0000000..e613e32
--- /dev/null
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="US-ASCII"?>\r
+<schema targetNamespace="urn:mace:shibboleth:2.0:native:sp:protocols"\r
+        xmlns:prot="urn:mace:shibboleth:2.0:native:sp:protocols"\r
+        xmlns:ds="http://www.w3.org/2000/09/xmldsig#"\r
+        xmlns="http://www.w3.org/2001/XMLSchema"\r
+        attributeFormDefault="unqualified"\r
+        elementFormDefault="qualified"\r
+        blockDefault="substitution"\r
+        version="2.4">\r
+\r
+  <annotation>\r
+    <documentation>\r
+      Schema for specifying protocols, services, and bindings, and defaults for the locations of handlers.\r
+      First appearing in Shibboleth 2.4 release.\r
+    </documentation>\r
+  </annotation>\r
+  \r
+  <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd" />\r
+\r
+  <simpleType name="string">\r
+    <restriction base="string">\r
+      <minLength value="1"/>\r
+    </restriction>\r
+  </simpleType>\r
+\r
+  <element name="Protocols">\r
+    <complexType>\r
+      <sequence>\r
+        <element name="Protocol" maxOccurs="unbounded">\r
+          <complexType>\r
+            <sequence>\r
+              <element name="Service" maxOccurs="unbounded">\r
+                <complexType>\r
+                  <sequence>\r
+                    <element name="Initiator" minOccurs="0">\r
+                      <complexType>\r
+                        <attribute name="id" type="prot:string" use="required" />\r
+                      </complexType>\r
+                    </element>\r
+                    <element name="Binding" minOccurs="0" maxOccurs="unbounded">\r
+                      <complexType>\r
+                        <attribute name="id" type="prot:string" use="required" />\r
+                        <attribute name="path" type="prot:string" use="required" />\r
+                      </complexType>\r
+                    </element>\r
+                  </sequence>\r
+                  <attribute name="id" type="prot:string" use="required" />\r
+                </complexType>\r
+              </element>\r
+            </sequence>\r
+            <attribute name="id" type="prot:string" use="required" />\r
+          </complexType>\r
+        </element>\r
+        <element ref="ds:Signature" minOccurs="0"/>\r
+      </sequence>\r
+    </complexType>\r
+  </element>\r
+\r
+</schema>\r