dataMining.xsd 1.54 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="request.xsd" />	
	
    <xs:element name="dataMining" substitutionGroup="OutputElement" >
		<xs:complexType>
			<xs:sequence>
				<xs:element name="timeFormat" minOccurs="1" maxOccurs="1" type="TimeFormatType"/>
				<xs:element name="fileFormat" minOccurs="1" maxOccurs="1" type="FileFormatType"/>
				<xs:element name="outputStructure" minOccurs="0" maxOccurs="1" type="OutputStructureType"/>
				<xs:element name="fileName" minOccurs="0" maxOccurs="1"/>
				<xs:element name="param" minOccurs="0" maxOccurs="1">
					<xs:complexType>
						<xs:attribute name="id" type="xs:string"  use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="PostProcessingElement" minOccurs="0" maxOccurs="1"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	
	<xs:simpleType name="TimeFormatType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="ISO" />
       </xs:restriction>
    </xs:simpleType>
    
    <xs:simpleType name="FileFormatType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="ASCII" />
          <xs:enumeration value="XML" />
          <xs:enumeration value="VOT" />
       </xs:restriction>
    </xs:simpleType>
    
    <xs:simpleType name="OutputStructureType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="one-file" />
          <xs:enumeration value="one-file-per-interval" />
       </xs:restriction>
    </xs:simpleType>
	
</xs:schema>