<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
           xmlns:x="http://www.w3.org/XML/1998/namespace"
           xmlns:xlink="http://www.w3.org/1999/xlink"
           xmlns="http://purl.org/dc/elements/1.1/"
           targetNamespace="http://purl.org/dc/elements/1.1/"
           elementFormDefault="qualified"
           attributeFormDefault="qualified">

	<xs:annotation>
		<xs:documentation xml:lang="en">
			Created by Tom Habing, thabing@uiuc.edu and Tim Cole, t-cole3@uiuc.edu

			This schema includes the dc1.1complex.xsd and extends the ComplexResource type to allow only
			elements from the vCard namespace in the resource
		</xs:documentation>

		<xs:appinfo xmlns:dc="http://purl.org/dc/elements/1.1/">
			<dc:title>Complex DC XML Schema</dc:title>
			<dc:creator>Tom Habing, thabing@uiuc.edu</dc:creator>
			<dc:creator>Tim Cole, t-cole3@uiuc.edu</dc:creator>
		</xs:appinfo>
	</xs:annotation>

	<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd"/>
	<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/>

	<xs:include schemaLocation="dc1.1.xsd"/>
	<xs:include schemaLocation="dc1.1complex.xsd"/>


  <xs:complexType name="vCard">
  	<xs:annotation>
    	<xs:documentation xml:lang="en">
    		This type corresponds to the rdf:parseType="Resource".  Only child elements are allowed.  Also allows
    		xlink resource attributes.

				Text is not allowed because mixed="false", and sub-elements are allowed because minOccurs="0"
    		and maxOccurs="unbounded"
			</xs:documentation>
  	</xs:annotation>

   <xs:complexContent mixed="false">
    <xs:restriction base="ComplexResource">
     <xs:sequence>
      <xs:any processContents="strict" namespace="http://www.w3.org/2001/vcard-rdf/3.0#" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
    </xs:restriction>
   </xs:complexContent>
  </xs:complexType>

</xs:schema>
