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

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

  <!--
    include FRBR Item entity attribute elements
    -->
  <xsd:include schemaLocation="http://vfrbr.info/schemas/1.1/frbr-item-attrib.xsd"/>
  <!--
    import FRAD Item entity attribute elements
    -->
  <xsd:import namespace="http://vfrbr.info/frad/1.1/item"
              schemaLocation="http://vfrbr.info/schemas/1.1/frbr-item-frad.xsd"/>

  <!--
    XML element defintion
    for the FRBR Item entity
    -->
  <xsd:element name="item">
    <xsd:complexType>
      <xsd:sequence>
        <xsd:element ref="itemIdentifier"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="fingerprint"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="provenanceOfTheItem"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="marksInscriptions"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="exhibitionHistory"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="conditionOfTheItem"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="treatmentHistory"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="scheduledTreatment"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="accessRestrictionsOnTheItem"
                     minOccurs="0" maxOccurs="unbounded" />
        <!--
          FRAD atttibutes
          -->
        <xsd:element ref="frad-item:locationOfItem"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="frad-item:custodialHistoryOfItem"
                     minOccurs="0" maxOccurs="unbounded"
                     />
        <xsd:element ref="frad-item:immediateSourceOfAcquisitionOfItem"
                     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>
