XML scheme for Feature Definition object
Please consider ID attribute in the Feature.xsd as an ID of a FeatureDefinition <attribute name="ID" type="string" use="required" ></attribute> It was proposed to change name space for the ID to be xmlns:fd="http://www.opentox.org/FeatureDefinition/1.0" , however, we can't change a name space of an attribute, this could be done on element level. TO BE DISCUSSED: Include FeatureDefinition as a child element of Feature element.
FeatureDefinition.xsd — Extensible Markup Language (XML), 0Kb
File contents
<?xml version="1.0" encoding="UTF-8"?> <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.opentox.org/FeatureDefinition/1.0" xmlns:tns="http://www.opentox.org/FeatureDefinition/1.0" elementFormDefault="qualified"> <complexType name="FeatureDefinition"> <attribute name="ID" type="string" use="required"></attribute> <attribute name="Name" type="string" use="required"></attribute> <attribute name="Reference" type="string" use="required"></attribute> <attribute name="Type" type="string" use="required"></attribute> </complexType> </schema>