<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" xmlns:d2="http://levelC/schema/3/d2Payload" version="3.7" 
targetNamespace="http://levelC/schema/3/d2Payload" 
xmlns:com="http://levelC/schema/3/common" 
xmlns:comx="http://levelC/schema/3/commonExtension" 
xmlns:cse="http://levelC/schema/3/commonSpanishExtension" 
xmlns:vms="http://datex2.eu/schema/3/vms"
xmlns:xs="http://www.w3.org/2001/XMLSchema">

  <xs:import namespace="http://levelC/schema/3/common" schemaLocation="LevelC_3_Common.xsd" />
  <xs:import namespace="http://levelC/schema/3/commonExtension" schemaLocation="LevelC_3_CommonExtension.xsd" />
  <xs:import namespace="http://levelC/schema/3/commonSpanishExtension" schemaLocation="LevelC_3_CommonSpanishExtension.xsd" />
  <xs:import namespace="http://levelC/schema/3/vms" schemaLocation="LevelC_3_Vms.xsd" />
  
  <xs:element name="payload" type="com:PayloadPublication">

	<xs:unique name="_payloadVmsControllerConstraint">
      <xs:selector xpath=".//vms:vmsController" />
      <xs:field xpath="@id" />
      <xs:field xpath="@version" />
    </xs:unique>

  </xs:element>
</xs:schema>