<?xml version="1.0" encoding="UTF-8"?>
<tmfxml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:noNamespaceSchemaLocation="xmlDefinition.xsd">
<!-- ***************************************************************************
* Copyright (c) 2018 Ericsson
*
* All rights reserved. This program and the accompanying materials are
* made available under the terms of the Eclipse Public License 2.0 which
* accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*************************************************************************** -->
<pattern version="0" id="test.seg.duration">
    <head>
        <label value="analysis name" />
    </head>
	<patternHandler>
		<action id="segment_create">
			<segment>
				<segType>
					<segName>
						<stateValue type="string" value="seg1"/>
					</segName>
				</segType>
                <segTime>
                    <begin type="eventField" value="timestamp"/>
                    <end type="eventField" value="testField" />
                </segTime>
			</segment>
		</action>

		<fsm id="test" multiple="true">
			<state id="start">
				<transition event="*" target="end" action="segment_create" />
			</state>
			<final id="end"/>
		</fsm>
	</patternHandler>
</pattern>
</tmfxml>