getlocalfile.xsd 1.46 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="parameter.xsd" />

	<xs:complexType name="clb-local-type">
		<xs:attribute name="name" type="xs:string" />
	</xs:complexType>

	<xs:complexType name="localFileParamType">
		<xs:sequence>
			<xs:element name="clb" type="clb-local-type" minOccurs="0"
				maxOccurs="unbounded" />
		</xs:sequence>
		<xs:attribute name="id" type="xs:string" use="required" />
		<xs:attribute name="type" type="xs:string" />
		<xs:attribute name="size" type="xs:string" />
		<xs:attribute name="minSampling" type="xs:string" use="required" />
		<xs:attribute name="maxSampling" type="xs:string" use="required" />
		<xs:attribute name="useNearestValue" type="xs:boolean" />
		<xs:attribute name="timeFormat">
    		<xs:simpleType>
    			<xs:restriction base="xs:string">
    				<xs:enumeration value="ISO" />
    				<xs:enumeration value="DOUBLE" />
    			</xs:restriction>
    		</xs:simpleType>
    	</xs:attribute>
	</xs:complexType>

	<xs:complexType name="local-vi-type">
		<xs:complexContent>
			<xs:extension base="GetterType">
				<xs:sequence>
					<xs:element name="param" type="localFileParamType"
						minOccurs="1" maxOccurs="unbounded" />
				</xs:sequence>
				<xs:attribute name="id" type="xs:string" use="required" />
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>

	<xs:element name="localvi" substitutionGroup="Getter" type="local-vi-type" />
</xs:schema>