User Guide
74
9.1.2 XML Schema for response file
XML schema of the response XML is as below.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!-- command response -->
<xsd:element name="response">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="command" type="CommandInputline" />
<xsd:element name="cmdstat" type="CommandStatus" />
<xsd:choice minOccurs="0">
<xsd:element name="cd" type="CdResponseType"/>
<xsd:element name="create" type="CreateSetResponseType"/>
<xsd:element name="delete" type="DeleteResponseType"/>
<xsd:element name="dump" type="DumpLoadResponseType"/>
<xsd:element name="exit" type="ExitResponseType"/>
<xsd:element name="help" type="HelpResponseType"/>
<xsd:element name="load" type="DumpLoadResponseType"/>
<xsd:element name="reset" type="ResetStartStopResponseType"/>
<xsd:element name="set" type="CreateSetResponseType"/>
<xsd:element name="show" type="ShowResponseType"/>
<xsd:element name="start" type="ResetStartStopResponseType"/>
<xsd:element name="stop" type="ResetStartStopResponseType"/>
<xsd:element name="oemverb" type="OemverbResponseType"/>
</xsd:choice>
<xsd:element name="oemdata" type="OemdataCommonType" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<!-- command input line -->
<xsd:complexType name="CommandInputline">
<xsd:sequence>
<xsd:element name="inputline" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
<!-- command status -->
<xsd:complexType name="CommandStatus">
<xsd:sequence>
<xsd:element name="status" type="xsd:int" />
<xsd:element name="status_tag" type="xsd:string" />
<xsd:sequence minOccurs="0">
<xsd:element name="error" type="xsd:int" />
<xsd:element name="error_tag" type="xsd:string" />
</xsd:sequence>
</xsd:sequence>
</xsd:complexType>