Added contact list.
authorScott Cantor <cantor.2@osu.edu>
Fri, 2 May 2003 18:27:12 +0000 (18:27 +0000)
committerScott Cantor <cantor.2@osu.edu>
Fri, 2 May 2003 18:27:12 +0000 (18:27 +0000)
schemas/shibboleth.xsd

index 07dbdb7..c2a1073 100644 (file)
                     </simpleContent>
                 </complexType>
             </element>
+            <element name="Contact" type="shib:ContactType" minOccurs="0" maxOccurs="unbounded"/>
         </sequence>
         <attribute name="Name" type="string" use="required"/>
-        <attribute name="ContactName" type="string" use="optional"/>
-        <attribute name="ContactEmail" type="string" use="optional"/>
         <attribute name="ErrorURL" type="anyURI" use="optional"/>
     </complexType>
 
+       <simpleType name="ContactTypeType">
+               <restriction base="string">
+            <enumeration value="technical"/>
+            <enumeration value="administrative"/>
+            <enumeration value="billing"/>
+            <enumeration value="other"/>
+        </restriction>
+    </simpleType>
+
+       <complexType name="ContactType">
+               <annotation>A human contact for a site.</annotation>
+               <sequence/>
+        <attribute name="Type" type="shib:ContactTypeType" use="required"/>
+        <attribute name="Name" type="string" use="required"/>
+        <attribute name="Email" type="string" use="optional"/>
+       </complexType>
+
     <complexType name="regexp_string">
         <annotation> A string element with an optional attribute signaling regexp content. </annotation>
         <simpleContent>