XML Schema Documentation

Table of Contents

top

Schema Document Properties

Target Namespace http://cbikt.de/rad-framework/page
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
rad http://cbikt.de/rad-framework/page
xsd http://www.w3.org/2001/XMLSchema
Schema Component Representation
<xsd:schema targetNamespace="http://cbikt.de/rad-framework/page" elementFormDefault="qualified">
...
</xsd:schema>
top

Global Declarations

Element: HTML

Name HTML
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:HTML
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
placeholder="xsd:string [0..1]"
truncate="xsd:nonNegativeInteger [0..1]"/>
Schema Component Representation
<xsd:element name="HTML">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="placeholder" type="xsd:string"/>
<xsd:attribute name="truncate" type="xsd:nonNegativeInteger"/>
</xsd:complexType>
</xsd:element>
top

Element: attribute

Name attribute
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:attribute
name="xsd:string [1]"
function="xsd:string [1]"/>
Schema Component Representation
<xsd:element name="attribute">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="function" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: button

Name button
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:button
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
icon="xsd:string [0..1]"
onclick="rad:Callback [0..1]"
requires-write="rad:Boolean [0..1]">
xsd:string
</rad:button>
Schema Component Representation
<xsd:element name="button">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="icon" type="xsd:string"/>
<xsd:attribute name="onclick" type="rad:Callback"/>
<xsd:attribute name="requires-write" type="rad:Boolean" default="yes"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
top

Element: checkbox

Name checkbox
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:checkbox
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
label="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="checkbox">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="label" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
top

Element: color

Name color
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:color
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="color">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
</xsd:complexType>
</xsd:element>
top

Element: currency

Name currency
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:currency
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
placeholder="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="currency">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="placeholder" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
top

Element: date

Name date
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:date
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
format="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="date">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="format" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
top

Element: emptyset

Name emptyset
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:emptyset
name="rad:ModelName [1]">
<!--
Uniqueness Constraint - UniqueSubEmptySetNames
Selector - rad:emptyset
Field(s) - @name
-->

<rad:emptyset> ... </rad:emptyset> [0..*]
</rad:emptyset>
Schema Component Representation
<xsd:element name="emptyset">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="rad:emptyset" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="rad:ModelName" use="required"/>
</xsd:complexType>
<xsd:unique name="UniqueSubEmptySetNames">
<xsd:selector xpath="rad:emptyset"/>
<xsd:field xpath="@name"/>
</xsd:unique>
</xsd:element>
top

Element: enum

Name enum
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:enum
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
allow-null="rad:Boolean [0..1]"
null-label="xsd:string [0..1]"
allow-new="rad:Boolean [0..1]"
new-label="xsd:string [0..1]"
null-display="xsd:string [0..1]"
ajax-url="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="enum">
<xsd:complexType>
<xsd:complexContent>
<xsd:restriction base="rad:SelectWidgetType">
<xsd:attribute name="sql" use="prohibited"/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
top

Element: file

Name file
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:file
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="file">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
</xsd:complexType>
</xsd:element>
top

Element: group

Name group
Type rad:GroupType
Nillable no
Abstract no
XML Instance Representation
<rad:group
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
table-new-required="xsd:string [0..1]"
source="rad:SourcePath [0..1]"
onrender="rad:Callback [0..1]">
<!-- Mixed content -->
<rad:action> rad:ContentType </rad:action> [0..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:group>
Schema Component Representation
<xsd:element name="group" type="rad:GroupType"/>
top

Element: link

Name link
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
Schema Component Representation
top

Element: linkconfirm

Name linkconfirm
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:linkconfirm
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
href="xsd:string [1]"
target="xsd:string [0..1]"
icon="xsd:string [0..1]">
xsd:string
</rad:linkconfirm>
Schema Component Representation
<xsd:element name="linkconfirm">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="href" type="xsd:string" use="required"/>
<xsd:attribute name="target" type="xsd:string"/>
<xsd:attribute name="icon" type="xsd:string"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
top

Element: page

Name page
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:page
title="xsd:string [1]"
title-new="xsd:string [0..1]"
title-breadcrumb="xsd:string [0..1]"
requires-arguments="rad:Boolean [0..1]"
layout="xsd:string [0..1]"
unsaved-notice="rad:Boolean [0..1]"
onpreparerecords="rad:Callback [0..1]"
onbeforerun="rad:Callback [0..1]"
onbeforerender="rad:Callback [0..1]"
show-in-menu="rad:Boolean [0..1]"
menu-icon="xsd:string [0..1]"
menu-icon-color="xsd:string [0..1]"
menu-max-depth="xsd:integer [0..1]"
menu-weight="xsd:float [0..1]"
menu-new-window="rad:Boolean [0..1]">
<rad:model> rad:ModelType
<!--
Uniqueness Constraint - UniqueQueryAndRecordNames
Selector - rad:query|rad:emptyset|rad:record
Field(s) - @name
-->
<!--
Key Constraint - QueryName
Selector - rad:query|rad:emptyset
Field(s) - @name
-->
<!--
Key Reference Constraint - RecordQueryName
Selector - rad:record|rad:primary
Field(s) - @query
Refers to - rad:QueryName
-->
</rad:model> [0..1]
Start Choice [0..1]
<rad:body> rad:ContentType
<!--
Uniqueness Constraint - UniqueWidgetIds
Selector - .//rad:*
Field(s) - @id
-->
</rad:body> [1]
<rad:scripted-body
callback-data="rad:Callback [0..1]"
callback-render="rad:Callback [0..1]"/> [1]
End Choice
</rad:page>
Schema Component Representation
<xsd:element name="page">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="model" type="rad:ModelType" minOccurs="0">
<-- ensure uniqueness among top-level query and record names -->
<xsd:unique name="UniqueQueryAndRecordNames">
<xsd:selector xpath="rad:query|rad:emptyset|rad:record"/>
<xsd:field xpath="@name"/>
</xsd:unique>
<-- ensure that each record refers to an existing top-level query -->
<xsd:key name="QueryName">
<xsd:selector xpath="rad:query|rad:emptyset"/>
<xsd:field xpath="@name"/>
</xsd:key>
<xsd:keyref name="RecordQueryName" refer="rad:QueryName">
<xsd:selector xpath="rad:record|rad:primary"/>
<xsd:field xpath="@query"/>
</xsd:keyref>
</xsd:element>
<xsd:choice minOccurs="0" maxOccurs="1">
<xsd:element name="body" type="rad:ContentType">
<xsd:unique name="UniqueWidgetIds">
<xsd:selector xpath=".//rad:*"/>
<xsd:field xpath="@id"/>
</xsd:unique>
</xsd:element>
<xsd:element name="scripted-body">
<xsd:complexType>
<xsd:attribute name="callback-data" type="rad:Callback"/>
<xsd:attribute name="callback-render" type="rad:Callback"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
<xsd:attribute name="title" type="xsd:string" use="required"/>
<xsd:attribute name="title-new" type="xsd:string"/>
<xsd:attribute name="title-breadcrumb" type="xsd:string"/>
<xsd:attribute name="requires-arguments" type="rad:Boolean" default="no"/>
<xsd:attribute name="layout" type="xsd:string"/>
<xsd:attribute name="unsaved-notice" type="rad:Boolean"/>
<xsd:attribute name="onpreparerecords" type="rad:Callback"/>
<xsd:attribute name="onbeforerun" type="rad:Callback"/>
<xsd:attribute name="onbeforerender" type="rad:Callback"/>
<xsd:attribute name="show-in-menu" type="rad:Boolean" default="yes"/>
<xsd:attribute name="menu-icon" type="xsd:string"/>
<xsd:attribute name="menu-icon-color" type="xsd:string"/>
<xsd:attribute name="menu-max-depth" type="xsd:integer"/>
<xsd:attribute name="menu-weight" type="xsd:float" default="0"/>
<xsd:attribute name="menu-new-window" type="rad:Boolean" default="no"/>
</xsd:complexType>
</xsd:element>
top

Element: password

Name password
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:password
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
show-string="xsd:string [0..1]"/>
Schema Component Representation
<xsd:element name="password">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="show-string" type="xsd:string"/>
</xsd:complexType>
</xsd:element>
top

Element: picture

Name picture
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:picture
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
width="xsd:nonNegativeInteger [0..1]"
height="xsd:nonNegativeInteger [0..1]"
resize="rad:Boolean [0..1]"
thumbnail="rad:Boolean [0..1]"
fitwidth="rad:Boolean [0..1]"
fitheight="rad:Boolean [0..1]"
fitbest="rad:Boolean [0..1]"
link="rad:Boolean [0..1]"
cropper="rad:Boolean [0..1]"/>
Schema Component Representation
<xsd:element name="picture">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="width" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="height" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="resize" type="rad:Boolean"/>
<xsd:attribute name="thumbnail" type="rad:Boolean"/>
<xsd:attribute name="fitwidth" type="rad:Boolean"/>
<xsd:attribute name="fitheight" type="rad:Boolean"/>
<xsd:attribute name="fitbest" type="rad:Boolean"/>
<xsd:attribute name="link" type="rad:Boolean"/>
<xsd:attribute name="cropper" type="rad:Boolean"/>
</xsd:complexType>
</xsd:element>
top

Element: picture-svg

Name picture-svg
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:picture-svg
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
width="xsd:nonNegativeInteger [0..1]"
height="xsd:nonNegativeInteger [0..1]"
link="rad:Boolean [0..1]"/>
Schema Component Representation
<xsd:element name="picture-svg">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="width" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="height" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="link" type="rad:Boolean"/>
</xsd:complexType>
</xsd:element>
top

Element: repeat

Name repeat
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:repeat
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="rad:SourcePath [0..1]"
separator="xsd:string [0..1]"
onrenderrow="rad:Callback [0..1]"
onrendernotfound="rad:Callback [0..1]">
<rad:content> rad:ContentType </rad:content> [1]
<rad:not-found> rad:ContentType </rad:not-found> [0..1]
</rad:repeat>
Schema Component Representation
<xsd:element name="repeat">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="content" type="rad:ContentType" minOccurs="1" maxOccurs="1"/>
<xsd:element name="not-found" type="rad:ContentType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="source" type="rad:SourcePath"/>
<xsd:attribute name="separator" type="xsd:string"/>
<xsd:attribute name="onrenderrow" type="rad:Callback"/>
<xsd:attribute name="onrendernotfound" type="rad:Callback"/>
</xsd:complexType>
</xsd:element>
top

Element: select

Name select
Type rad:SelectWidgetType
Nillable no
Abstract no
XML Instance Representation
<rad:select
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
sql="xsd:string [0..1]"
allow-null="rad:Boolean [0..1]"
null-label="xsd:string [0..1]"
allow-new="rad:Boolean [0..1]"
new-label="xsd:string [0..1]"
null-display="xsd:string [0..1]"
ajax-url="xsd:string [0..1]">
<rad:option
value="xsd:string [1]"> [0..*]
xsd:string
</rad:option>
</rad:select>
Schema Component Representation
<xsd:element name="select" type="rad:SelectWidgetType"/>
top

Element: single-form

Name single-form
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:single-form
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
table-new-required="xsd:string [0..1]"
source="rad:SourcePath [0..1]"
onrender="rad:Callback [0..1]"
onsubmit="rad:Callback [0..1]"
onvalidate="rad:Callback [0..1]">
<rad:action> rad:ContentType </rad:action> [0..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:single-form>
Schema Component Representation
<xsd:element name="single-form">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="rad:GroupType">
<xsd:attribute name="onsubmit" type="rad:Callback"/>
<xsd:attribute name="onvalidate" type="rad:Callback"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
top

Element: sql-group

Name sql-group
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:sql-group
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
sql="xsd:string [1]">
<!-- Mixed content -->
<rad:action> rad:ContentType </rad:action> [0..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:sql-group>
Schema Component Representation
<xsd:element name="sql-group">
<xsd:complexType mixed="true">
<xsd:sequence>
<xsd:group ref="rad:CompositeGroup"/>
<xsd:group ref="rad:ContentGroup"/>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attributeGroup ref="rad:CompositeAttribs"/>
<xsd:attribute name="sql" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: subquery

Name subquery
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:subquery
name="rad:ModelName [1]">
<!--
Uniqueness Constraint - UniqueBindChildFields
Selector - rad:bind
Field(s) - @child
-->
<!--
Uniqueness Constraint - UniqueSubqueryNames
Selector - rad:subquery
Field(s) - @name
-->

<rad:sql> xsd:string </rad:sql> [1]
<rad:bind
parent="xsd:string [1]"
child="xsd:string [1]"/> [1..*]
<rad:subquery> ... </rad:subquery> [0..*]
</rad:subquery>
Schema Component Representation
<xsd:element name="subquery">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="sql" type="xsd:string"/>
<xsd:group ref="rad:BindsGroup"/>
<xsd:element ref="rad:subquery" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="rad:ModelName" use="required"/>
</xsd:complexType>
<-- ensure uniqueness among binds -->
<xsd:unique name="UniqueBindChildFields">
<xsd:selector xpath="rad:bind"/>
<xsd:field xpath="@child"/>
</xsd:unique>
<-- ensure uniqueness among recursive subquery names -->
<xsd:unique name="UniqueSubqueryNames">
<xsd:selector xpath="rad:subquery"/>
<xsd:field xpath="@name"/>
</xsd:unique>
</xsd:element>
top

Element: switch

Name switch
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:switch
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [1]">
<rad:case
value="xsd:string [1]"> [1..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:case>
<rad:default> rad:ContentType </rad:default> [0..1]
</rad:switch>
Schema Component Representation
<xsd:element name="switch">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="case" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="rad:ContentType">
<xsd:attribute name="value" type="xsd:string" use="required"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
<xsd:element name="default" type="rad:ContentType" minOccurs="0" maxOccurs="1"/>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="source" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
top

Element: table

Name table
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:table
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
source="rad:SourcePath [1]"
allow-select="rad:Boolean [0..1]"
allow-add="rad:Boolean [0..1]"
custom-add-link="xsd:string [0..1]"
custom-select-link="xsd:string [0..1]"
allow-delete="rad:Boolean [0..1]"
page-size="xsd:nonNegativeInteger [0..1]"
auto-filter="rad:Boolean [0..1]"
sortable="rad:Boolean [0..1]"
onnewrecord="rad:Callback [0..1]"
onrecordsaved="rad:Callback [0..1]"
onrenderrow="rad:Callback [0..1]">
<rad:action> rad:ContentType </rad:action> [0..*]
<rad:td> rad:TableWidgetColumn </rad:td> [1..*]
<rad:action-column> rad:ContentType </rad:action-column> [0..*]
<rad:editing-area> rad:ContentType </rad:editing-area> [0..1]
</rad:table>
Schema Component Representation
<xsd:element name="table">
<xsd:complexType>
<xsd:sequence>
<xsd:group ref="rad:CompositeGroup"/>
<xsd:element name="td" type="rad:TableWidgetColumn" maxOccurs="unbounded"/>
<xsd:element name="action-column" type="rad:ContentType" minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="editing-area" type="rad:ContentType" minOccurs="0"/>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attributeGroup ref="rad:CompositeAttribs"/>
<xsd:attribute name="source" type="rad:SourcePath" use="required"/>
<xsd:attribute name="allow-select" type="rad:Boolean" default="yes"/>
<xsd:attribute name="allow-add" type="rad:Boolean" default="no"/>
<xsd:attribute name="custom-add-link" type="xsd:string"/>
<xsd:attribute name="custom-select-link" type="xsd:string"/>
<xsd:attribute name="allow-delete" type="rad:Boolean"/>
<xsd:attribute name="page-size" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="auto-filter" type="rad:Boolean"/>
<xsd:attribute name="sortable" type="rad:Boolean"/>
<xsd:attribute name="onnewrecord" type="rad:Callback"/>
<xsd:attribute name="onrecordsaved" type="rad:Callback"/>
<xsd:attribute name="onrenderrow" type="rad:Callback"/>
</xsd:complexType>
</xsd:element>
top

Element: tabs

Name tabs
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:tabs
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
use-url="rad:Boolean [0..1]">
<rad:tab
title="xsd:string [1]"
first="rad:Boolean [0..1]"
icon="xsd:string [0..1]"> [1..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:tab>
</rad:tabs>
Schema Component Representation
<xsd:element name="tabs">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tab" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="rad:ContentType">
<xsd:attribute name="title" type="xsd:string" use="required"/>
<xsd:attribute name="first" type="rad:Boolean"/>
<xsd:attribute name="icon" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="use-url" type="rad:Boolean"/>
</xsd:complexType>
</xsd:element>
top

Element: text

Name text
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:text
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
placeholder="xsd:string [0..1]"
truncate="xsd:nonNegativeInteger [0..1]"/>
Schema Component Representation
<xsd:element name="text">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="placeholder" type="xsd:string"/>
<xsd:attribute name="truncate" type="xsd:nonNegativeInteger"/>
</xsd:complexType>
</xsd:element>
top

Element: textarea

Name textarea
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:textarea
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
placeholder="xsd:string [0..1]"
rows="xsd:nonNegativeInteger [0..1]"
cols="xsd:nonNegativeInteger [0..1]"
truncate="xsd:nonNegativeInteger [0..1]"/>
Schema Component Representation
<xsd:element name="textarea">
<xsd:complexType>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="placeholder" type="xsd:string"/>
<xsd:attribute name="rows" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="cols" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="truncate" type="xsd:nonNegativeInteger"/>
</xsd:complexType>
</xsd:element>
top

Element: wizard

Name wizard
Type Locally-defined complex type
Nillable no
Abstract no
XML Instance Representation
<rad:wizard
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="rad:SourcePath [0..1]"
onchange="rad:Callback [0..1]"
onfinish="rad:Callback [0..1]">
<rad:pane
title="xsd:string [1]"
subtitle="xsd:string [0..1]"> [1..*]
Allow any elements from any namespace (lax validation). [0..*]
</rad:pane>
</rad:wizard>
Schema Component Representation
<xsd:element name="wizard">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="pane" minOccurs="1" maxOccurs="unbounded">
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="rad:ContentType">
<xsd:attribute name="title" type="xsd:string" use="required"/>
<xsd:attribute name="subtitle" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="source" type="rad:SourcePath"/>
<xsd:attribute name="onchange" type="rad:Callback"/>
<xsd:attribute name="onfinish" type="rad:Callback"/>
</xsd:complexType>
</xsd:element>
top

Global Definitions

Attribute Group: CompositeAttribs

Name CompositeAttribs
XML Instance Representation
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
Schema Component Representation
<xsd:attributeGroup name="CompositeAttribs">
<xsd:attribute name="caption" type="xsd:string"/>
<xsd:attribute name="outer-class" type="xsd:string"/>
<xsd:attribute name="help" type="xsd:string"/>
</xsd:attributeGroup>
top

Attribute Group: ValueWidgetAttribs

Name ValueWidgetAttribs
XML Instance Representation

id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
Schema Component Representation
<xsd:attributeGroup name="ValueWidgetAttribs">
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attribute name="source" type="xsd:string" use="optional"/>
</xsd:attributeGroup>
top

Attribute Group: WidgetAttribs

Name WidgetAttribs
XML Instance Representation
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
Schema Component Representation
<xsd:attributeGroup name="WidgetAttribs">
<xsd:attribute name="id" type="rad:WidgetName"/>
<xsd:attribute name="name" type="rad:WidgetName"/>
<xsd:attribute name="hidden" type="rad:Boolean"/>
<xsd:attribute name="fix-record" type="rad:Boolean"/>
<xsd:attribute name="editable" type="rad:BooleanOrNew"/>
<xsd:attribute name="class" type="xsd:string"/>
<xsd:attribute name="style" type="xsd:string"/>
<xsd:attribute name="inline" type="rad:Boolean" default="yes"/>
</xsd:attributeGroup>
top

Complex Type: ContentType

Super-types: None
Sub-types:
Name ContentType
Abstract no
XML Instance Representation
<...>
<!-- Mixed content -->
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="ContentType" mixed="true">
<xsd:sequence>
<xsd:group ref="rad:ContentGroup"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: GroupType

Super-types: None
Sub-types: None
Name GroupType
Abstract no
XML Instance Representation
<...
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
caption="xsd:string [0..1]"
outer-class="xsd:string [0..1]"
help="xsd:string [0..1]"
table-new-required="xsd:string [0..1]"
source="rad:SourcePath [0..1]"
onrender="rad:Callback [0..1]">
<!-- Mixed content -->
<rad:action> rad:ContentType </rad:action> [0..*]
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="GroupType" mixed="true">
<xsd:sequence>
<xsd:group ref="rad:CompositeGroup"/>
<xsd:group ref="rad:ContentGroup"/>
</xsd:sequence>
<xsd:attributeGroup ref="rad:WidgetAttribs"/>
<xsd:attributeGroup ref="rad:CompositeAttribs"/>
<xsd:attribute name="table-new-required" type="xsd:string"/>
<xsd:attribute name="source" type="rad:SourcePath"/>
<xsd:attribute name="onrender" type="rad:Callback"/>
</xsd:complexType>
top

Complex Type: ModelType

Super-types: None
Sub-types: None
Name ModelType
Abstract no
XML Instance Representation
<...>
Start Choice [0..*]
<rad:query> rad:QueryType
<!--
Uniqueness Constraint - UniqueFirstLevelSubqueryNames
Selector - rad:subquery
Field(s) - @name
-->
</rad:query> [1]
<rad:emptyset> ... </rad:emptyset> [1]
<rad:primary> rad:PrimaryType </rad:primary> [1]
End Choice
</...>
Schema Component Representation
<xsd:complexType name="ModelType">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="query" type="rad:QueryType">
<-- ensure uniqueness among first-level subquery names -->
<xsd:unique name="UniqueFirstLevelSubqueryNames">
<xsd:selector xpath="rad:subquery"/>
<xsd:field xpath="@name"/>
</xsd:unique>
</xsd:element>
<xsd:element ref="rad:emptyset"/>
<xsd:element name="primary" type="rad:PrimaryType"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: PrimaryType

Super-types: None
Sub-types: None
Name PrimaryType
Abstract no
XML Instance Representation
<...
query="rad:ModelName [1]"
field="xsd:string [0..1]"
allow-add="rad:BooleanOrOnly [0..1]"/>
Schema Component Representation
<xsd:complexType name="PrimaryType">
<xsd:attribute name="query" type="rad:ModelName" use="required"/>
<xsd:attribute name="field" type="xsd:string" use="optional"/>
<xsd:attribute name="allow-add" type="rad:BooleanOrOnly" default="no"/>
</xsd:complexType>
top

Complex Type: QueryType

Super-types: None
Sub-types: None
Name QueryType
Abstract no
XML Instance Representation
<...
name="rad:ModelName [1]"
required="rad:Boolean [0..1]">
<rad:sql> xsd:string </rad:sql> [1]
Start Choice [0..*]
<rad:foreign
field="xsd:string [1]"
to-record="xsd:string [1]"
to-field="xsd:string [1]"/> [1]
<rad:var
name="xsd:string [1]"
field="xsd:string [1]"
required="rad:Boolean [0..1]"/> [1]
<rad:urlparam
field="xsd:string [1]"
name="xsd:string [1]"
required="rad:Boolean [0..1]"/> [1]
End Choice
<rad:subquery> ... </rad:subquery> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="QueryType">
<xsd:sequence>
<xsd:element name="sql" type="xsd:string"/>
<xsd:group ref="rad:ArgsGroup"/>
<xsd:element ref="rad:subquery" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="name" type="rad:ModelName" use="required"/>
<xsd:attribute name="required" type="rad:Boolean" default="yes"/>
</xsd:complexType>
top

Complex Type: SelectWidgetType

Super-types: None
Sub-types: None
Name SelectWidgetType
Abstract no
XML Instance Representation
<...
id="rad:WidgetName [0..1]"
name="rad:WidgetName [0..1]"
hidden="rad:Boolean [0..1]"
fix-record="rad:Boolean [0..1]"
editable="rad:BooleanOrNew [0..1]"
class="xsd:string [0..1]"
style="xsd:string [0..1]"
inline="rad:Boolean [0..1]"
source="xsd:string [0..1]"
sql="xsd:string [0..1]"
allow-null="rad:Boolean [0..1]"
null-label="xsd:string [0..1]"
allow-new="rad:Boolean [0..1]"
new-label="xsd:string [0..1]"
null-display="xsd:string [0..1]"
ajax-url="xsd:string [0..1]">
<rad:option
value="xsd:string [1]"> [0..*]
xsd:string
</rad:option>
</...>
Schema Component Representation
<xsd:complexType name="SelectWidgetType">
<xsd:sequence>
<xsd:element name="option" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:simpleContent>
<xsd:extension base="xsd:string">
<xsd:attribute name="value" type="xsd:string" use="required"/>
</xsd:extension>
</xsd:simpleContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attributeGroup ref="rad:ValueWidgetAttribs"/>
<xsd:attribute name="sql" type="xsd:string"/>
<xsd:attribute name="allow-null" type="rad:Boolean"/>
<xsd:attribute name="null-label" type="xsd:string"/>
<xsd:attribute name="allow-new" type="rad:Boolean"/>
<xsd:attribute name="new-label" type="xsd:string"/>
<xsd:attribute name="null-display" type="xsd:string"/>
<xsd:attribute name="ajax-url" type="xsd:string"/>
</xsd:complexType>
top

Complex Type: TableWidgetColumn

Super-types: ContentType < TableWidgetColumn (by extension)
Sub-types: None
Name TableWidgetColumn
Abstract no
XML Instance Representation
<...
title="xsd:string [1]"
width="xsd:string (pattern = ([1-9][0-9]*)|\*) [0..1]"
style="xsd:string [0..1]"
class="xsd:string [0..1]">
Allow any elements from any namespace (lax validation). [0..*]
</...>
Schema Component Representation
<xsd:complexType name="TableWidgetColumn">
<xsd:complexContent>
<xsd:extension base="rad:ContentType">
<xsd:attribute name="title" type="xsd:string" use="required"/>
<xsd:attribute name="width">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:pattern value="([1-9][0-9]*)|\*"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
<xsd:attribute name="style" type="xsd:string"/>
<xsd:attribute name="class" type="xsd:string"/>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
top

Model Group: ArgsGroup

Name ArgsGroup
XML Instance Representation
Start Choice [0..*]
<rad:foreign
field="xsd:string [1]"
to-record="xsd:string [1]"
to-field="xsd:string [1]"/> [1]
<rad:var
name="xsd:string [1]"
field="xsd:string [1]"
required="rad:Boolean [0..1]"/> [1]
<rad:urlparam
field="xsd:string [1]"
name="xsd:string [1]"
required="rad:Boolean [0..1]"/> [1]
End Choice
Schema Component Representation
<xsd:group name="ArgsGroup">
<xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="foreign">
<xsd:complexType>
<xsd:attribute name="field" type="xsd:string" use="required"/>
<xsd:attribute name="to-record" type="xsd:string" use="required"/>
<xsd:attribute name="to-field" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="var">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="field" type="xsd:string" use="required"/>
<xsd:attribute name="required" type="rad:Boolean" default="yes"/>
</xsd:complexType>
</xsd:element>
<xsd:element name="urlparam">
<xsd:complexType>
<xsd:attribute name="field" type="xsd:string" use="required"/>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="required" type="rad:Boolean" default="yes"/>
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:group>
top

Model Group: BindsGroup

Name BindsGroup
XML Instance Representation
<rad:bind
parent="xsd:string [1]"
child="xsd:string [1]"/> [1..*]
Schema Component Representation
<xsd:group name="BindsGroup">
<xsd:sequence>
<xsd:element name="bind" maxOccurs="unbounded">
<xsd:complexType>
<xsd:attribute name="parent" type="xsd:string" use="required"/>
<xsd:attribute name="child" type="xsd:string" use="required"/>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:group>
top

Model Group: CompositeGroup

Name CompositeGroup
XML Instance Representation
<rad:action> rad:ContentType </rad:action> [0..*]
Schema Component Representation
<xsd:group name="CompositeGroup">
<xsd:sequence>
<xsd:element name="action" type="rad:ContentType" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:group>
top

Model Group: ContentGroup

Name ContentGroup
XML Instance Representation
Allow any elements from any namespace (lax validation). [0..*]
Schema Component Representation
<xsd:group name="ContentGroup">
<xsd:sequence>
<xsd:any minOccurs="0" maxOccurs="unbounded" namespace="##any" processContents="lax"/>
</xsd:sequence>
</xsd:group>
top

Simple Type: Boolean

Super-types: xsd:string < Boolean (by restriction)
Sub-types: None
Name Boolean
Content
  • Base XSD Type: string
  • value comes from list: {'yes'|'no'}
Schema Component Representation
<xsd:simpleType name="Boolean">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: BooleanOrNew

Super-types: xsd:string < BooleanOrNew (by restriction)
Sub-types: None
Name BooleanOrNew
Content
  • Base XSD Type: string
  • value comes from list: {'yes'|'no'|'new'}
Schema Component Representation
<xsd:simpleType name="BooleanOrNew">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="new"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: BooleanOrOnly

Super-types: xsd:string < BooleanOrOnly (by restriction)
Sub-types: None
Name BooleanOrOnly
Content
  • Base XSD Type: string
  • value comes from list: {'yes'|'no'|'only'}
Schema Component Representation
<xsd:simpleType name="BooleanOrOnly">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="yes"/>
<xsd:enumeration value="no"/>
<xsd:enumeration value="only"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: Callback

Super-types: xsd:string < Callback (by restriction)
Sub-types: None
Name Callback
Content
  • Base XSD Type: string
Schema Component Representation
<xsd:simpleType name="Callback">
<xsd:restriction base="xsd:string"/>
</xsd:simpleType>
top

Simple Type: ModelName

Super-types: xsd:string < ModelName (by restriction)
Sub-types: None
Name ModelName
Content
  • Base XSD Type: string
  • pattern = [A-Za-z0-9_-]+
Schema Component Representation
<xsd:simpleType name="ModelName">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Za-z0-9_-]+"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: SourcePath

Super-types: xsd:string < SourcePath (by restriction)
Sub-types: None
Name SourcePath
Content
  • Base XSD Type: string
  • length >= 1
Schema Component Representation
<xsd:simpleType name="SourcePath">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: WidgetName

Super-types: xsd:string < WidgetName (by restriction)
Sub-types: None
Name WidgetName
Content
  • Base XSD Type: string
  • pattern = [A-Za-z0-9][A-Za-z0-9_-]*
Schema Component Representation
<xsd:simpleType name="WidgetName">
<xsd:restriction base="xsd:string">
<xsd:pattern value="[A-Za-z0-9][A-Za-z0-9_-]*"/>
</xsd:restriction>
</xsd:simpleType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top