<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="xs3p.xsl"?>
<xs:schema targetNamespace="ReplayMapping" xmlns="ReplayMapping" xmlns:rm="ReplayMapping" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="VhtngClasses" elementFormDefault="qualified" version="3.0.0">
	<xs:element name="ReplayMappings" type="ReplayMappings"/>
	<xs:complexType name="ReplayMappings">
		<xs:annotation>
			<xs:documentation>The replay mapping is used to map the variables from the input file (with the values to be replayed) to variables which are in the used configuration.
The replay mapping is referenced in the configuration of a replay object.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Mapping" type="Mapping" minOccurs="0" maxOccurs="unbounded"/>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="Mapping" type="Mapping"/>
	<xs:complexType name="Mapping">
		<xs:annotation>
			<xs:documentation>A mapping consists of a source and a destination variable name.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="destination" type="xs:string" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>This is the test_bench_configuration variable, where the original one (source) should be replayed to.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="source" type="xs:string" minOccurs="1" maxOccurs="1">
				<xs:annotation>
					<xs:documentation>This is the name if the original (maybe recorded) variable.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
