<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:tns="http://www.omg.org/spec/TEX/20180618/nvgtex"
    targetNamespace="http://www.omg.org/spec/TEX/20180618/nvgtex"
    xmlns:nvg="https://tide.act.nato.int/schemas/2012/10/nvg"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    version="1.0">    
    
    <xs:import namespace="https://tide.act.nato.int/schemas/2012/10/nvg" schemaLocation="https://tide.act.nato.int/svn/schemas/trunk/2012/10/nvg/nvg.2.0.xsd"/>
    
    <xs:complexType name="HistoryChangeEvent">
        <xs:group ref="nvg:ContentGroup"/>
        <xs:attribute name="kind" type="tns:KindType" use="required"/>
    </xs:complexType>
    
    <xs:complexType name="HistoryChangeEventList">
        <xs:sequence>
            <xs:element name="histories" type="tns:HistoryChangeEvent" minOccurs="0" maxOccurs="unbounded"/>
        </xs:sequence>
    </xs:complexType>
    
    <xs:simpleType name="KindType" final="restriction">
        <xs:restriction base="xs:string">
            <xs:enumeration value="CREATE"/>
            <xs:enumeration value="UPDATE"/>
            <xs:enumeration value="DELETE"/>
            <xs:enumeration value="RESTRUCTURE"/>
        </xs:restriction>
    </xs:simpleType>
    
    
</xs:schema>
