<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by USER USER (CEA - CENTRE DE CADARACHE) -->
<?modxslt-stylesheet type="text/xsl" media="fuffa, screen and $GET[stylesheet]" href="./$GET[stylesheet]" alternate="no" title="Translation using provided stylesheet" charset="UTF-8" ?>
<?modxslt-stylesheet type="text/xsl" media="screen" alternate="no" title="Show raw source of the XML file" charset="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:include schemaLocation="../utilities/dd_support.xsd"/>
	<xs:complexType name="dataset_description_simulation">
		<xs:annotation>
			<xs:documentation>Description of the general simulation characteristics, if this data entry has been produced by a simulation. Several nodes describe typical time-dependent simulation with a time evolution as the main loop</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="comment_before">
				<xs:annotation>
					<xs:documentation>Comment made when launching a simulation</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="comment_after">
				<xs:annotation>
					<xs:documentation>Comment made at the end of a simulation</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_begin">
				<xs:annotation>
					<xs:documentation>Start time</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_step">
				<xs:annotation>
					<xs:documentation>Time interval between main steps, e.g. storage step (if relevant and constant)</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_end">
				<xs:annotation>
					<xs:documentation>Stop time</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_restart">
				<xs:annotation>
					<xs:documentation>Time of the last restart done during the simulation</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_current">
				<xs:annotation>
					<xs:documentation>Current time of the simulation</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>s</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="FLT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_begun">
				<xs:annotation>
					<xs:documentation>Actual wall-clock time simulation started</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>UTC</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="time_ended">
				<xs:annotation>
					<xs:documentation>Actual wall-clock time simulation finished</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
						<units>UTC</units>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="workflow">
				<xs:annotation>
					<xs:documentation>Description of the workflow which has been used to produce this data entry (e.g. copy of the Kepler MOML if using Kepler)</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="STR_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="dataset_description_epoch_time">
		<xs:annotation>
			<xs:documentation>Epoch time represented as two integers, since for the moment IMAS is missing 64bits long integers to represent epoch time with nanoseconds resolution</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="seconds">
				<xs:annotation>
					<xs:documentation>Elapsed seconds since the Unix Epoch time (01/01/1970 00:00:00 UTC)</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
			<xs:element name="nanoseconds">
				<xs:annotation>
					<xs:documentation>Elapsed nanoseconds since the time in seconds indicated above</xs:documentation>
					<xs:appinfo>
						<type>constant</type>
					</xs:appinfo>
				</xs:annotation>
				<xs:complexType>
					<xs:group ref="INT_0D"/>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="dataset_description">
		<xs:annotation>
			<xs:documentation>General description of the dataset (collection of all IDSs within the given database entry). Main description text to be put in ids_properties/comment</xs:documentation>
			<xs:appinfo>
				<lifecycle_status>alpha</lifecycle_status>
				<lifecycle_version>3.0.4</lifecycle_version>
				<lifecycle_last_change>3.30.0</lifecycle_last_change>
			</xs:appinfo>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ids_properties"/>
				<xs:element name="data_entry" type="data_entry">
					<xs:annotation>
						<xs:documentation>Definition of this data entry</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="parent_entry" type="data_entry">
					<xs:annotation>
						<xs:documentation>Definition of the parent data entry, if the present data entry has been generated by applying a given workflow to a unique parent entry</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="pulse_time_begin">
					<xs:annotation>
						<xs:documentation>Date and time (UTC) at which the pulse started on the experiment, expressed in a human readable form (ISO 8601) : the format of the string shall be : YYYY-MM-DDTHH:MM:SSZ. Example : 2020-07-24T14:19:00Z</xs:documentation>
						<xs:appinfo>
							<type>constant</type>
						</xs:appinfo>
					</xs:annotation>
					<xs:complexType>
						<xs:group ref="STR_0D"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="pulse_time_begin_epoch" type="dataset_description_epoch_time">
					<xs:annotation>
						<xs:documentation>Time at which the pulse started on the experiment, expressed in Unix Epoch time. Temporarily represented as two integers, since for the moment IMAS is missing 64bits long integers to represent epoch time with nanoseconds resolution</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="pulse_time_end_epoch" type="dataset_description_epoch_time">
					<xs:annotation>
						<xs:documentation>Time at which the pulse ended on the experiment, expressed in Unix Epoch time. Temporarily represented as two integers, since for the moment IMAS is missing 64bits long integers to represent epoch time with nanoseconds resolution</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="imas_version">
					<xs:annotation>
						<xs:documentation>Version of the IMAS infrastructure used to produce this data entry. Refers to the global IMAS repository which links to versions of every infrastructure tools</xs:documentation>
						<xs:appinfo>
							<type>constant</type>
						</xs:appinfo>
					</xs:annotation>
					<xs:complexType>
						<xs:group ref="STR_0D"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="dd_version">
					<xs:annotation>
						<xs:documentation>Version of the physics data dictionary of this dataset</xs:documentation>
						<xs:appinfo>
							<type>constant</type>
						</xs:appinfo>
					</xs:annotation>
					<xs:complexType>
						<xs:group ref="STR_0D"/>
					</xs:complexType>
				</xs:element>
				<xs:element name="simulation" type="dataset_description_simulation">
					<xs:annotation>
						<xs:documentation>Description of the general simulation characteristics, if this data entry has been produced by a simulation. Several nodes describe typical time-dependent simulation with a time evolution as the main loop</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element ref="time"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>
