Sections
You are here: Home » Data » Documents » Development » XML Schema » XML schema for Algorithm (API 1.1)

XML schema for Algorithm (API 1.1)

— filed under:

Algorithm.xsd — Extensible Markup Language (XML), 1Kb

File contents

<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="http://opentox.org/1.0/" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" 
				xmlns:ot="http://opentox.org/1.0/">
				
<complexType name="Link">
    	<attribute name="href" type="anyURI" ></attribute>
		<attribute name="order" type="int" default="1" use="optional"></attribute>
		<attribute name="id" type="int" default="1" use="optional"></attribute>
</complexType>
	
<complexType name="Algorithm">
	<attribute name="ID" type="string" use="required"></attribute>
	<attribute name="Name" type="string" use="required"></attribute>
	<element name="link" type="ot:Link" minOccurs="1" maxOccurs="1" />
	<element name="AlgorithmType" type="string"></element>
	
	<element name="Parameters">
		<complexType>
			<sequence>
				<element name="param" type="string">
					<attribute name="type" use="required"></attribute>
					<attribute name="defaultvalue" use="required"></attribute>
				</element>
			</sequence>
		</complexType>
	</element>   	
	
	<element name="statisticsSupported">
		<complexType>
			<sequence>
				<element name="statistic" type="string"></element>
			</sequence>
		</complexType>
	</element>
</complexType>
</schema> 


Document Actions