<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright 1994-2006 Mindjet LLC. All rights reserved.

The presentation, distribution or other dissemination of the
information contained herein by Mindjet is not a license,
either expressly or impliedly, to any intellectual property owned or
controlled by Mindjet.

This document and the information contained herein is provided on an
"AS IS" basis and to the maximum extent permitted by applicable law,
Mindjet provides the document AS IS AND WITH ALL FAULTS, and hereby
disclaims all other warranties and conditions, either express, implied
or statutory, including, but not limited to, any (if any) implied
warranties, duties or conditions of merchantability, of fitness for a
particular purpose, of accuracy or completeness of responses, of
results, of workmanlike effort, of lack of viruses, and of lack of
negligence, all with regard to the document. ALSO, THERE IS NO
WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION,
CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT WITH REGARD TO THE
DOCUMENT.

IN NO EVENT WILL MINDJET BE LIABLE TO ANY OTHER PARTY FOR THE COST
OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE,
LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR
SPECIAL DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE,
ARISING IN ANY WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS
DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF THE
POSSIBILITY OF SUCH DAMAGES. 
-->
<xsd:schema targetNamespace="http://schemas.mindjet.com/MindManager/Delta/2003" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:dlt="http://schemas.mindjet.com/MindManager/Delta/2003" xmlns:cor="http://schemas.mindjet.com/MindManager/Core/2003" elementFormDefault="qualified" attributeFormDefault="unqualified" version="7.0.0.2-r">
  <xsd:import namespace="http://schemas.mindjet.com/MindManager/Core/2003" schemaLocation="http://schemas.mindjet.com/MindManager/Core/2003"/>
  <xsd:annotation>
    <xsd:documentation>MindManager delta system schema</xsd:documentation>
  </xsd:annotation>
  <xsd:complexType name="Delta" abstract="true" final="restriction">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents generic atomic change; is a base for all other deltas</xsd:documentation>
    </xsd:annotation>
    <xsd:attribute name="DeId" type="cor:UniqueId" use="required"/>
    <xsd:attribute name="Foreign" type="xsd:boolean" use="optional" default="false" />
    <xsd:attribute name="IssuingUserId" type="xsd:unsignedInt" use="optional" />
  </xsd:complexType>
  <xsd:complexType name="AddObjectDelta" final="#all">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents addition of object; is final</xsd:documentation>
    </xsd:annotation>
    <xsd:complexContent>
      <xsd:extension base="dlt:Delta">
        <xsd:sequence>
          <xsd:element name="ParentObjectReference" type="cor:ObjectReference"/>
          <xsd:element name="ContainingPropertyReference" type="cor:PropertyReference"/>
          <xsd:element name="ToAddObject" type="cor:Object"/>
        </xsd:sequence>
        <xsd:attribute name="IndexInProperty" type="xsd:unsignedInt" use="optional"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:complexType name="RemoveObjectDelta" final="#all">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents removal of object; is final</xsd:documentation>
    </xsd:annotation>
    <xsd:complexContent>
      <xsd:extension base="dlt:Delta">
        <xsd:sequence>
          <xsd:element name="ToRemoveObjectReference" type="cor:ObjectReference"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:complexType name="ChangePropertyDelta" final="#all">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents modification of value property; is final</xsd:documentation>
    </xsd:annotation>
    <xsd:complexContent>
      <xsd:extension base="dlt:Delta">
        <xsd:sequence>
          <xsd:element name="ChangedPropertyReference" type="cor:PropertyReference"/>
          <xsd:element name="ChangedObjectReference" type="cor:ObjectReference"/>
          <xsd:element name="BeforeChangeValue" type="cor:Value"/>
          <xsd:element name="AfterChangeValue" type="cor:Value" minOccurs="0"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:complexType name="ChangeGroupDelta" final="#all">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents modification of group property; is final</xsd:documentation>
    </xsd:annotation>
    <xsd:complexContent>
      <xsd:extension base="dlt:Delta">
        <xsd:sequence>
          <xsd:element name="ChangedPropertyReference" type="cor:PropertyReference"/>
          <xsd:element name="ChangedObjectReference" type="cor:ObjectReference"/>
          <xsd:element name="BeforeChangeGroup" type="cor:Group"/>
          <xsd:element name="AfterChangeGroup" type="cor:Group" minOccurs="0"/>
        </xsd:sequence>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:complexType name="GroupDelta" final="#all">
    <xsd:annotation>
      <xsd:documentation>Delta that repesents atomic group of other deltas; is final</xsd:documentation>
    </xsd:annotation>
    <xsd:complexContent>
      <xsd:extension base="dlt:Delta">
        <xsd:sequence>
          <xsd:element name="Delta" type="dlt:Delta" minOccurs="0" maxOccurs="unbounded"/>
        </xsd:sequence>
        <xsd:attribute name="Description" type="xsd:string" use="optional"/>
      </xsd:extension>
    </xsd:complexContent>
  </xsd:complexType>
  <xsd:element name="GroupDelta" type="dlt:GroupDelta">
    <xsd:annotation>
      <xsd:documentation>GroupDelta global element</xsd:documentation>
    </xsd:annotation>
  </xsd:element>
</xsd:schema>
