|
|
<?xml version="1.0"?>
|
|
|
<xs:schema xmlns="http://www.davinti.com.br/vitruvio/form/report" xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
|
targetNamespace="http://www.davinti.com.br/vitruvio/form/report"
|
|
|
elementFormDefault="qualified">
|
|
|
|
|
|
<!-- Parametros comuns nos Campos -->
|
|
|
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
|
|
|
|
|
<!-- Componentes padrao -->
|
|
|
<xs:include schemaLocation="vitruvio-form-basic-components.xsd" />
|
|
|
|
|
|
<!-- Componentes para uso com bancos de dados -->
|
|
|
<xs:include schemaLocation="vitruvio-form-db-components.xsd" />
|
|
|
|
|
|
<!-- Componentes especificos ao contexto da aplicacao -->
|
|
|
<xs:include schemaLocation="vitruvio-form-specific-components.xsd" />
|
|
|
|
|
|
<!-- Form containers -->
|
|
|
<xs:include schemaLocation="vitruvio-form-containers.xsd" />
|
|
|
|
|
|
<!-- Scripting defs -->
|
|
|
<xs:include schemaLocation="vitruvio-form-scripting.xsd" />
|
|
|
|
|
|
<!-- Por fim, a definicao dos elementos principais -->
|
|
|
<xs:element name="report-form">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
<xs:element name="form" minOccurs="1" maxOccurs="1">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence>
|
|
|
<xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1" />
|
|
|
<xs:element name="description" type="xs:string" minOccurs="0" maxOccurs="1" />
|
|
|
<xs:sequence>
|
|
|
<xs:element name="initScript" type="script" minOccurs="0" maxOccurs="1" />
|
|
|
<xs:element name="validators" minOccurs="0" maxOccurs="1">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
|
|
<xs:choice>
|
|
|
<xs:element name="ScriptValidator" type="form-validation-script" />
|
|
|
</xs:choice>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
<xs:element name="components" minOccurs="0" maxOccurs="1">
|
|
|
<xs:complexType>
|
|
|
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
|
|
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
|
|
<xs:element name="VerticalLayout" type="VerticalLayout" />
|
|
|
<xs:element name="HorizontalLayout" type="HorizontalLayout" />
|
|
|
<xs:element name="Panel" type="Panel" />
|
|
|
<xs:element name="TabLayout" type="TabLayout" />
|
|
|
<xs:element name="LayoutGroup" type="LayoutGroup" />
|
|
|
</xs:choice>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|
|
|
</xs:sequence>
|
|
|
<xs:attribute name="formKey" type="xs:string" use="required" />
|
|
|
<xs:attribute name="width" type="xs:string" />
|
|
|
<xs:attribute name="height" type="xs:string" />
|
|
|
<xs:attribute name="windowWidth" type="xs:string" />
|
|
|
<xs:attribute name="windowHeight" type="xs:string" />
|
|
|
<xs:attribute name="saveLastState" type="xs:boolean" />
|
|
|
<xs:attribute name="composer" type="xs:string" />
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
</xs:sequence>
|
|
|
</xs:complexType>
|
|
|
</xs:element>
|
|
|
|
|
|
</xs:schema>
|