<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xs:schema xmlns:d2="http://datex2.eu/schema/3/d2Payload" xmlns:com="http://datex2.eu/schema/3/common" xmlns:loc="http://datex2.eu/schema/3/locationReferencing" xmlns:sit="http://datex2.eu/schema/3/situation" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://datex2.eu/schema/3/d2Payload" elementFormDefault="qualified" attributeFormDefault="unqualified" version="3.0">
	<xs:import namespace="http://datex2.eu/schema/3/situation" schemaLocation="http://datex2.eu/schema/3/Situation/3_0/DATEXII_3_Situation.xsd"/>
	<xs:import namespace="http://datex2.eu/schema/3/locationReferencing" schemaLocation="http://datex2.eu/schema/3/LocationReferencing/3_0/DATEXII_3_LocationReferencing.xsd"/>
	<xs:import namespace="http://datex2.eu/schema/3/common" schemaLocation="http://datex2.eu/schema/3/Common/3_0/DATEXII_3_Common.xsd"/>
	<xs:element name="payload" type="com:PayloadPublication">
		<xs:unique name="_payloadSituationRecordConstraint">
			<xs:selector xpath=".//sit:situationRecord"/>
			<xs:field xpath="@id"/>
			<xs:field xpath="@version"/>
		</xs:unique>
		<xs:unique name="_payloadSituationConstraint">
			<xs:selector xpath=".//sit:situation"/>
			<xs:field xpath="@id"/>
		</xs:unique>
		<xs:unique name="_payloadPredefinedLocationGroupConstraint">
			<xs:selector xpath=".//loc:predefinedLocationGroup"/>
			<xs:field xpath="@id"/>
			<xs:field xpath="@version"/>
		</xs:unique>
		<xs:unique name="_payloadPredefinedLocationConstraint">
			<xs:selector xpath=".//loc:predefinedLocation"/>
			<xs:field xpath="@id"/>
			<xs:field xpath="@version"/>
		</xs:unique>
		<xs:unique name="_payloadPredefinedItineraryConstraint">
			<xs:selector xpath=".//loc:predefinedItinerary"/>
			<xs:field xpath="@id"/>
			<xs:field xpath="@version"/>
		</xs:unique>
	</xs:element>
</xs:schema>
