|
|
<?xml version="1.0"?>
|
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
|
|
|
|
|
|
<!-- Parametros comuns nos Campos -->
|
|
|
<xs:include schemaLocation="vitruvio-form-common-attrs.xsd" />
|
|
|
<xs:include schemaLocation="vitruvio-form-field-validators.xsd" />
|
|
|
<xs:include schemaLocation="vitruvio-form-field-events.xsd" />
|
|
|
|
|
|
<!--
|
|
|
Componentes com DataSources gerados dinamicamente, via Script
|
|
|
-->
|
|
|
|
|
|
<xs:complexType name="field-descriptor">
|
|
|
<xs:simpleContent>
|
|
|
<xs:extension base="xs:string">
|
|
|
<xs:attributeGroup ref="field-type-enum" />
|
|
|
</xs:extension>
|
|
|
</xs:simpleContent>
|
|
|
</xs:complexType>
|
|
|
|
|
|
<!-- Script combobox -->
|
|
|
<xs:complexType name="ScriptComboBox">
|
|
|
<xs:sequence>
|
|
|
<xs:element name="loadScript" type="script" minOccurs="1" maxOccurs="1" />
|
|
|
<xs:element name="key-field" type="xs:string" minOccurs="1" maxOccurs="1" />
|
|
|
<xs:element name="caption-field" type="xs:string" minOccurs="1" maxOccurs="1" />
|
|
|
<xs:element name="validation" type="scriptValidators" minOccurs="0" maxOccurs="1" />
|
|
|
<xs:element name="events" type="allEvents" minOccurs="0" maxOccurs="1" />
|
|
|
</xs:sequence>
|
|
|
<xs:attributeGroup ref="fieldAttrs" />
|
|
|
<xs:attributeGroup ref="selectFieldAttr" />
|
|
|
</xs:complexType>
|
|
|
|
|
|
</xs:schema>
|