<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<xsd:schema xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uima.base="http://docs.oasis-open.org/uima/ns/base.ecore" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://docs.oasis-open.org/uima/ns/base.ecore">
  <xsd:import namespace="http://www.eclipse.org/emf/2002/Ecore" schemaLocation="ecore.xsd"/>
  <xsd:import namespace="http://www.omg.org/XMI" schemaLocation="../../../plugin/org.eclipse.emf.ecore/model/XMI.xsd"/>
  <xsd:complexType name="Annotation">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element name="sofa" type="uima.base:SofaReference"/>
      <xsd:element name="metadata" type="uima.base:AnnotationMetadata"/>
      <xsd:element name="occurrenceOf" type="uima.base:Entity"/>
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
    <xsd:attribute name="sofa" type="xsd:string"/>
    <xsd:attribute name="metadata" type="xsd:string"/>
    <xsd:attribute name="occurrenceOf" type="xsd:string"/>
  </xsd:complexType>
  <xsd:element name="Annotation" type="uima.base:Annotation"/>
  <xsd:complexType abstract="true" name="SofaReference">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
  </xsd:complexType>
  <xsd:element name="SofaReference" type="uima.base:SofaReference"/>
  <xsd:complexType name="LocalSofaReference">
    <xsd:complexContent>
      <xsd:extension base="uima.base:SofaReference">
        <xsd:choice maxOccurs="unbounded" minOccurs="0">
          <xsd:element name="sofaObject" type="ecore:EObject"/>
        </xsd:choice>
        <xsd:attribute name="sofaFeature" type="xsd:string"/>
        <xsd:attribute name="sofaObject" type="xsd:string"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="LocalSofaReference" type="uima.base:LocalSofaReference"/>
  <xsd:complexType name="RemoteSofaReference">
    <xsd:complexContent>
      <xsd:extension base="uima.base:SofaReference">
        <xsd:attribute name="sofaUri" type="xsd:string"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="RemoteSofaReference" type="uima.base:RemoteSofaReference"/>
  <xsd:complexType name="TextAnnotation">
    <xsd:complexContent>
      <xsd:extension base="uima.base:Annotation">
        <xsd:attribute name="beginChar" type="xsd:int"/>
        <xsd:attribute name="endChar" type="xsd:int"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="TextAnnotation" type="uima.base:TextAnnotation"/>
  <xsd:complexType name="TemporalAnnotation">
    <xsd:complexContent>
      <xsd:extension base="uima.base:Annotation">
        <xsd:attribute name="beginTime" type="xsd:float"/>
        <xsd:attribute name="endTime" type="xsd:float"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="TemporalAnnotation" type="uima.base:TemporalAnnotation"/>
  <xsd:complexType name="AnnotationMetadata">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element name="provenance" type="uima.base:Provenance"/>
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
    <xsd:attribute name="confidence" type="xsd:float"/>
    <xsd:attribute name="provenance" type="xsd:string"/>
  </xsd:complexType>
  <xsd:element name="AnnotationMetadata" type="uima.base:AnnotationMetadata"/>
  <xsd:complexType name="Provenance">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
  </xsd:complexType>
  <xsd:element name="Provenance" type="uima.base:Provenance"/>
  <xsd:complexType name="Entity">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element name="occurrence" type="uima.base:Annotation"/>
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
    <xsd:attribute name="occurrence" type="xsd:string"/>
  </xsd:complexType>
  <xsd:element name="Entity" type="uima.base:Entity"/>
  <xsd:complexType name="SourceDocumentInformation">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
    <xsd:attribute name="uri" type="xsd:string"/>
    <xsd:attribute name="offsetInSource" type="xsd:int"/>
    <xsd:attribute name="documentSize" type="xsd:int"/>
  </xsd:complexType>
  <xsd:element name="SourceDocumentInformation" type="uima.base:SourceDocumentInformation"/>
  <xsd:complexType name="AnchoredView">
    <xsd:complexContent>
      <xsd:extension base="uima.base:View">
        <xsd:choice maxOccurs="unbounded" minOccurs="0">
          <xsd:element name="sofa" type="uima.base:SofaReference"/>
        </xsd:choice>
        <xsd:attribute name="sofa" type="xsd:string"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="AnchoredView" type="uima.base:AnchoredView"/>
  <xsd:complexType name="View">
    <xsd:choice maxOccurs="unbounded" minOccurs="0">
      <xsd:element name="IndexRepository" type="xmi:Any"/>
      <xsd:element name="member" type="ecore:EObject"/>
      <xsd:element ref="xmi:Extension"/>
    </xsd:choice>
    <xsd:attribute ref="xmi:id"/>
    <xsd:attributeGroup ref="xmi:ObjectAttribs"/>
    <xsd:attribute name="name" type="xsd:string"/>
    <xsd:attribute name="IndexRepository" type="xsd:string"/>
    <xsd:attribute name="member" type="xsd:string"/>
  </xsd:complexType>
  <xsd:element name="View" type="uima.base:View"/>
</xsd:schema>

