XSD schema files are defined for all the BTT configuration files
and invoker configuration files. These files are provided with the plug-in
bundle. If you want to extend the BTT standard definition, you can extend
these XSD schemas to support validation to your own self-defined elements.
Following
is the XSD schema of the context definition file:
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.ibm.com/btt/dse"
targetNamespace="http://www.ibm.com/btt/dse">
<xs:element name="context">
<xs:complexType>
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="refKColl" />
<xs:element ref="refType" />
</xs:choice>
</xs:sequence>
<xs:attribute name="implClass" type="xs:string" use="optional" />
<xs:attribute name="type" type="xs:string" use="required" />
<xs:attribute name="parent" type="xs:string" use="optional" />
<xs:attribute name="id" type="xs:string" use="required" />
<xs:attribute name="level" type="xs:string" use="optional" />
<xs:attribute name="dynamic" type="xs:string" use="optional" />
</xs:complexType>
</xs:element>
<xs:element name="iniValue">
<xs:complexType>
<xs:attribute name="name" type="xs:string" use="required" />
<xs:attribute name="value" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="refKColl">
<xs:complexType>
<xs:sequence>
<xs:element ref="iniValue" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="refId" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="refType">
<xs:complexType>
<xs:attribute name="refId" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
<xs:element name="btt_root">
<xs:complexType>
<xs:sequence>
<xs:element ref="context" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>