<?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:efrbr-family="http://vfrbr.info/efrbr/1.1/family"

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

  <!--
    include FRAD entity attributes
    -->
  <xsd:include schemaLocation="http://vfrbr.info/schemas/1.1/efrbr-family-frad.xsd"/>
  <!--
    import vFRBR entity extensions
    -->
  <xsd:import namespace="http://vfrbr.info/efrbr/1.1/family"
              schemaLocation="http://vfrbr.info/schemas/1.1/efrbr-family-extend.xsd"/>

  <!--
    XML elements
    for eFRBR Family entity
    -->
  <xsd:element name="family">
    <xsd:complexType>
      <xsd:sequence>
        <!--
          FRAD attributes
          -->
        <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"/>
        <!--
          eFRBR extension to entity attributes
          -->
        <xsd:element ref="efrbr-family:note"
                     minOccurs="0" maxOccurs="unbounded"/>
        <xsd:element ref="efrbr-family:extensions"
                     minOccurs="0" maxOccurs="1"/>
      </xsd:sequence>
      <!--
        entity element identifier attribute
        -->
      <xsd:attribute name="identifier"
                     type="xsd:anyURI"
                     use="optional"/>
    </xsd:complexType>
  </xsd:element>

</xsd:schema>



