AutoCapture XML Schema
The AutoCapture XML schema defines form elements.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:complexType name="ACField">
<xs:complexContent>
<xs:extension base="ACBase">
<xs:attribute name="HelpMsg" type="xs:string"/>
<xs:attribute name="Required" type="xs:boolean" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ACBase">
<xs:attribute name="Title" type="xs:string" use="required"/>
</xs:complexType>
<xs:element name="ACForm">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACBase">
<xs:sequence>
<xs:element ref="ACString" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACStringMultiline" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACList" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACBoolean" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACDateTime" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACButton" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACNumber" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="ACLabel" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACButton">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACNumber">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:attribute name="Min" type="xs:int" use="optional"/>
<xs:attribute name="Max" type="xs:int" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACString">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:attribute name="Size" type="xs:integer" use="optional"/>
<xs:attribute name="MaxLength" type="xs:integer" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACList">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:sequence>
<xs:element ref="ACOption" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACOption">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Label" type="xs:string" use="required"/>
<xs:attribute name="Selected" type="xs:boolean" use="optional" default="0"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="ACStringMultiline">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:attribute name="Width" type="xs:string" use="optional"/>
<xs:attribute name="Height" type="xs:string" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACBoolean">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:attribute name="TrueValue" type="xs:string" use="required"/>
<xs:attribute name="FalseValue" type="xs:string" use="required"/>
<xs:attribute name="Value" type="xs:string" use="optional" default="0"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACDateTime">
<xs:complexType>
<xs:complexContent>
<xs:extension base="ACField">
<xs:attribute name="Format" type="xs:string" use="optional"/>
<xs:attribute name="Size" type="xs:integer" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="ACLabel">
<xs:complexType>
<xs:attribute name="Title" type="xs:string" use="required"/>
<xs:attribute name="Text" type="xs:string" use="required"/>
<xs:attribute name="FontSize" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
</xs:schema>