<?xml version="1.0" encoding="UTF-8"?>

<!-- 
  Variations/FRBR Project schema release 1.1
-->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"

            xmlns="http://vfrbr.info/frad/1.1/family"
            targetNamespace="http://vfrbr.info/frad/1.1/family"
            elementFormDefault="qualified"
            attributeFormDefault="unqualified"
            >

  <!-- include FRAD entity attribute elements -->
  <xsd:include schemaLocation="http://vfrbr.info/schemas/1.1/frbr-family-frad.xsd"/>

  <!--
    XML element defintion
    for the FRBR FAmily entity
    -->
  <xsd:element name="family">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="typeOfFamily"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="datesOfFamily"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="placesAssociatedWithFamily"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="fieldOfActivity"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="historyOfFamily"
                     minOccurs="0" maxOccurs="unbounded"/>
      </xsd:sequence>
      <!-- entity element identifier attribute -->
      <xsd:attribute name="identifier"
                     type="xsd:anyURI"
                     use="optional"/>
    </xsd:complexType>
  </xsd:element>

</xsd:schema>


