XML schema for Reference (API 1.1)
—
filed under:
API
Reference.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="Reference"> <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="AlgorithmID" type="ot:Link" maxOccurs="1"/> <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="ExperimentalProtocol" type="string" ></element> </complexType> </schema>
schema description
in "href" element:
- what is the meaning of "order" attribute;
- what is the meaning of "id" attribute;
in "Reference" element:
- is AlgorithmID mandatory;
- what AlgorithmID is expected to contain;