parameter.xsd 2.26 KB
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:complexType name="GetterType">
		<xs:attribute name="name" type="xs:string" />
	</xs:complexType>
	
	<xs:complexType name="clbManualType">
		<xs:sequence>
			<xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="name" type="xs:string" />
	</xs:complexType>

	<xs:element name="Getter" type="GetterType" abstract="true" />

	<xs:element name="param">
		<xs:complexType>
			<xs:sequence>
                <xs:element name="info" type="infoType" minOccurs="0" maxOccurs="1"></xs:element>
                <xs:element name="time_resolution" type="xs:float"
					minOccurs="0" maxOccurs="1" />
				<xs:element name="gap_threshold" type="xs:integer"
					minOccurs="0" maxOccurs="1" />
				<xs:element name="reference_parameter" type="xs:string" minOccurs="0" maxOccurs="1" />
				<xs:element name="clbManual" type="clbManualType" minOccurs="0" maxOccurs="unbounded"></xs:element>
				<xs:element name="get">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="Getter" minOccurs="1"
								maxOccurs="unbounded" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="clbProcess" type="xs:string"
					minOccurs="0" maxOccurs="unbounded" />
				<xs:element name="process">
					<xs:complexType>
						<xs:simpleContent>
						 	<xs:extension base="xs:string">
								<xs:attribute name="description" type="xs:string"/>
								<xs:attribute name="userProcess" type="xs:boolean"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="output">
					<xs:complexType>
						<xs:sequence>
							<xs:any minOccurs="0" maxOccurs="unbounded"
								processContents="skip" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<!--xs:attribute name="xml:id" type="xs:ID" use="required"/ -->
			<xs:attribute name="id" type="xs:ID" use="required" />
			<!--xs:attribute ref="xml:id" use="required" /-->
		</xs:complexType>
	</xs:element>

    <xs:complexType name="infoType">
    	<xs:sequence>
    		<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"></xs:any>
    	</xs:sequence></xs:complexType>
</xs:schema>