<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:systypes="http://www.plcs.org/System/Types" xmlns:plcstypes="http://www.plcs.org/PLMServices/Types" xmlns="http://www.plcs.org/ChangeEvents" targetNamespace="http://www.plcs.org/ChangeEvents" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.plcs.org/System/Types" schemaLocation="..\..\..\ws\xsd\System.xsd"/>
	<xs:import namespace="http://www.plcs.org/PLMServices/Types" schemaLocation="..\..\..\ws\xsd\types.xsd"/>
	<xs:element name="OnAssignActivityElementToEngineeringChange">
		<xs:annotation>
			<xs:documentation>This event is launched when a PLM object is related to an Engineering Change. This might be useful for tracking updates of PLM objects.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="applied_activity_assignment" type="plcstypes:Applied_activity_assignment"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityElementToEngineeringChangeResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateSubActivity">
		<xs:annotation>
			<xs:documentation>This event is launched when a  sub activity is created and related to an activity. This is useful when tracking change activities (Engineering Change Order and Engineering Change Proposal)</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="sub_activity" type="plcstypes:Activity"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateSubActivityResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateActivity">
		<xs:annotation>
			<xs:documentation>This event is launched when a new activity is created/registered. This is useful when tracking/monitoring change management artefacts (Engineering Change Order, Engineering Change Proposal)</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="activity" type="plcstypes:Activity"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateActivityResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnActivityResolveWorkRequest">
		<xs:annotation>
			<xs:documentation>This event is launched when an activity (Engineering Change Order, or Engineering Change Proposal) is assigned to a work request (issue). This is useful when following up on, or monitoring, resolved issues.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="activity" type="plcstypes:Activity"/>
				<xs:element name="work_request" type="plcstypes:Work_request"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnActivityResolveWorkRequestResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnPromoteECPtoECO">
		<xs:annotation>
			<xs:documentation>This event is launched when an Engineering Change Proposal is  changed into being an Engineering Change Order. </xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="engineering_change_planned" type="plcstypes:Activity"/>
				<xs:element name="engineering_change_order" type="plcstypes:Activity"/>
				<xs:element name="when_promoted" type="xs:dateTime"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnPromoteECPtoECOResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityActualToDirectedActivity">
		<xs:annotation>
			<xs:documentation>This event is launched when an activity actual is assigned to a directed activity. This is useful when following up/tracking work that have been done in response to (proposed, or designed) activities.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityActualToDirectedActivityResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityElementToDirectedActivity">
		<xs:annotation>
			<xs:documentation>This event is launched when a PLM object is assigned to a directed activity.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityElementToDirectedActivityResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityElementToActivityActual">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAssignActivityElementToActivityActualResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateWorkRequest">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="work_request" type="plcstypes:Work_request"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateWorkRequestResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateWorkOrder">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="work_order" type="plcstypes:Work_order"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCreateWorkOrderResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAddScopeItemToWorkRequest">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnAddScopeItemToWorkRequestResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnPartialSignOffWorkOrder">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnPartialSignOffWorkOrderResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCompleteSignOffWorkOrder">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnCompleteSignOffWorkOrderResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnActivityAssignedInResponseToWorkOrder">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnActivityAssignedInResponseToWorkOrderResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnWorkRequestAssignedInResponseToWorkOrder">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
	<xs:element name="OnWorkRequestAssignedInResponseToWorkOrderResponse">
		<xs:complexType>
			<xs:sequence/>
		</xs:complexType>
	</xs:element>
</xs:schema>
