# Documentation for Gating-ML.v2.0

Printer-friendly Version
Logical Diagram:
[ Expand All | Collapse All ]
XML Instance Representation:
[ Expand All | Collapse All ]
Diagram:
[ Expand All | Collapse All ]
Schema Component Representation:
[ Expand All | Collapse All ]

## Table of Contents

- Schema Document Properties
- Global Declarations
  - Element: Gating-ML
- Global Definitions
  - Complex Type: AbstractGate_Type
  - Complex Type: BooleanGate_Type
  - Complex Type: Dimension_Type
  - Complex Type: EllipsoidGate_Type
  - Complex Type: GateReference_Type
  - Complex Type: Gating-ML_Type
  - Complex Type: MatrixRow_Type
  - Complex Type: Matrix_Type
  - Complex Type: OneOperand_BoolGate_Type
  - Complex Type: Point2D_Type
  - Complex Type: PointXD_Type
  - Complex Type: Point_Type
  - Complex Type: PolygonGate_Type
  - Complex Type: Position_Type
  - Complex Type: QuadrantGateDivider_Type
  - Complex Type: QuadrantGate_Type
  - Complex Type: Quadrant_Type
  - Complex Type: RectangleGateDimension_Type
  - Complex Type: RectangleGate_Type
  - Complex Type: TwoAndMoreOperands_BoolGate_Type
  - Model Group: BoolGateOperands_Group
  - Model Group: Gates_Group

- Legend

- Glossary

top

## Schema Document Properties

Target Namespace | http://www.isac-net.org/std/Gating-ML/v2.0/gating
Version | 2.0.121207
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 belong to this schema's target namespace.
Schema Composition | This schema imports schema(s) from the following namespace(s): http://www.isac-net.org/std/Gating-ML/v2.0/transformations (at Transformations.v2.0.xsd) http://www.isac-net.org/std/Gating-ML/v2.0/datatypes (at DataTypes.v2.0.xsd)
Documentation | Josef Spidlen jspidlen@bccrc.ca Copyright (c) 2008-2012 ISAC (International Society for Advancement of Cytometry). Free of charge distribution and read-only usage permited. Modification and all other rights reserved. For all other uses please contact ISAC.
Application Data | Gating-ML: Gating Description Specification. More information at: http://flowcyt.sf.net/.

### Declared Namespaces

Prefix | Namespace
--- | ---
Default namespace | http://www.w3.org/2001/XMLSchema
transforms | http://www.isac-net.org/std/Gating-ML/v2.0/transformations
xml | http://www.w3.org/XML/1998/namespace
data-type | http://www.isac-net.org/std/Gating-ML/v2.0/datatypes
gating | http://www.isac-net.org/std/Gating-ML/v2.0/gating

Schema Component Representation
<schema targetNamespace="http://www.isac-net.org/std/Gating-ML/v2.0/gating" elementFormDefault="qualified" attributeFormDefault="qualified" version="2.0.121207">
<import namespace="http://www.isac-net.org/std/Gating-ML/v2.0/transformations" schemaLocation="Transformations.v2.0.xsd"/>
<import namespace="http://www.isac-net.org/std/Gating-ML/v2.0/datatypes" schemaLocation="DataTypes.v2.0.xsd"/>
...
</schema>
top

## Global Declarations

### Element: Gating-ML

Name | Gating-ML
Type | gating:Gating-ML_Type
Nillable | no
Abstract | no
Documentation | Gating-ML is the main element of an XML corresponding to this schema.

Logical Diagram
XML Instance Representation
<gating:Gating-ML>
Start Sequence [1..*]
Start Choice [1]
Start Choice [1]
<gating:RectangleGate> gating:RectangleGate_Type </gating:RectangleGate> [1]
<gating:PolygonGate> gating:PolygonGate_Type </gating:PolygonGate> [1]
<gating:EllipsoidGate> gating:EllipsoidGate_Type </gating:EllipsoidGate> [1]
<gating:BooleanGate> gating:BooleanGate_Type </gating:BooleanGate> [1]
<gating:QuadrantGate> gating:QuadrantGate_Type </gating:QuadrantGate> [1]
End Choice
Start Choice [1]
<transforms:transformation> transforms:transformation_Type </transforms:transformation> [1]
End Choice
Start Choice [1]
<transforms:spectrumMatrix> transforms:SpectrumMatrix_Type </transforms:spectrumMatrix> [1]
End Choice
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Choice
End Sequence
</gating:Gating-ML>
Diagram
Schema Component Representation
<element name="Gating-ML" type=" gating:Gating-ML_Type " id="Gating-ML"/>
top

## Global Definitions

### Complex Type: AbstractGate_Type

Super-types: | None
Sub-types: | QuadrantGate_Type (by extension) RectangleGate_Type (by extension) PolygonGate_Type (by extension) EllipsoidGate_Type (by extension) BooleanGate_Type (by extension)

Name | AbstractGate_Type
Abstract | yes
Documentation | Abstract type to be used as a common parent of all types of gates.

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
</...>
Diagram
Schema Component Representation
<complexType name="AbstractGate_Type" abstract="true">
<group ref=" data-type:Custom_Group " minOccurs="0"/>
<attribute name="id" type=" ID " use="required" id="id"/>
<attribute name="parent_id" type=" IDREF " use="optional" id="parent_id"/>
</complexType>
top

### Complex Type: BooleanGate_Type

Super-types: | AbstractGate_Type < BooleanGate_Type (by extension)
Sub-types: | None

Name | BooleanGate_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
Start Choice [1]
<gating:and> gating:TwoAndMoreOperands_BoolGate_Type </gating:and> [1]
<gating:or> gating:TwoAndMoreOperands_BoolGate_Type </gating:or> [1]
<gating:not> gating:OneOperand_BoolGate_Type </gating:not> [1]
End Choice
</...>
Diagram
Schema Component Representation
<complexType name="BooleanGate_Type">
<complexContent>
<extension base=" gating:AbstractGate_Type ">
<sequence>
<choice>
<element name="and" type=" gating:TwoAndMoreOperands_BoolGate_Type " id="and"/>
<element name="or" type=" gating:TwoAndMoreOperands_BoolGate_Type " id="or"/>
<element name="not" type=" gating:OneOperand_BoolGate_Type " id="not"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
top

### Complex Type: Dimension_Type

Super-types: | None
Sub-types: | QuadrantGateDivider_Type (by extension) RectangleGateDimension_Type (by extension)

Name | Dimension_Type
Abstract | no
Documentation | FCS dimension plus transformation (optional) and compensation references (required: choice 'uncompensated', 'FCS' or id of a spillover matrix).

XML Instance Representation
<...
gating:transformation-ref="IDREF [0..1]"
gating:compensation-ref=" data-type:NonEmptyString_Type [1]">
Start Choice [1]
<data-type:fcs-dimension> data-type:NonEmptyName_Type </data-type:fcs-dimension> [1]
<data-type:new-dimension> data-type:TransformationReference_Type </data-type:new-dimension> [1]
End Choice
</...>
Diagram
Schema Component Representation
<complexType name="Dimension_Type">
<group ref=" data-type:Dimensions_Group "/>
<attribute name="transformation-ref" type=" IDREF " use="optional"/>
<attribute name="compensation-ref" type=" data-type:NonEmptyString_Type " use="required"/>
</complexType>
top

### Complex Type: EllipsoidGate_Type

Super-types: | AbstractGate_Type < EllipsoidGate_Type (by extension)
Sub-types: | None

Name | EllipsoidGate_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
<gating:dimension> gating:Dimension_Type </gating:dimension> [2..*]
<gating:mean> gating:PointXD_Type </gating:mean> [1]
<gating:covarianceMatrix> gating:Matrix_Type </gating:covarianceMatrix> [1]
<gating:distanceSquare> data-type:UValueAttribute_Type </gating:distanceSquare> [1]
</...>
Diagram
Schema Component Representation
<complexType name="EllipsoidGate_Type">
<complexContent>
<extension base=" gating:AbstractGate_Type ">
<sequence>
<element name="dimension" type=" gating:Dimension_Type " minOccurs="2" maxOccurs="unbounded"/>
<element name="mean" type=" gating:PointXD_Type " minOccurs="1" maxOccurs="1"/>
<element name="covarianceMatrix" type=" gating:Matrix_Type " minOccurs="1" maxOccurs="1"/>
<element name="distanceSquare" type=" data-type:UValueAttribute_Type " minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

### Complex Type: GateReference_Type

Super-types: | None
Sub-types: | None

Name | GateReference_Type
Abstract | no
Documentation | Type of a reference to another (already defined) gate. The attribute ref references a gate by its id.

XML Instance Representation
<...
gating:ref="IDREF [1]"
gating:use-as-complement="boolean [0..1]"/>
Diagram
Schema Component Representation
<complexType name="GateReference_Type">
<attribute name="ref" type=" IDREF " use="required" id="ref"/>
<attribute name="use-as-complement" type=" boolean " default="false" use="optional" id="use-as-complement"/>
</complexType>
top

### Complex Type: Gating-ML_Type

Super-types: | None
Sub-types: | None

Name | Gating-ML_Type
Abstract | no

XML Instance Representation
<...>
Start Sequence [1..*]
Start Choice [1]
Start Choice [1]
<gating:RectangleGate> gating:RectangleGate_Type </gating:RectangleGate> [1]
<gating:PolygonGate> gating:PolygonGate_Type </gating:PolygonGate> [1]
<gating:EllipsoidGate> gating:EllipsoidGate_Type </gating:EllipsoidGate> [1]
<gating:BooleanGate> gating:BooleanGate_Type </gating:BooleanGate> [1]
<gating:QuadrantGate> gating:QuadrantGate_Type </gating:QuadrantGate> [1]
End Choice
Start Choice [1]
<transforms:transformation> transforms:transformation_Type </transforms:transformation> [1]
End Choice
Start Choice [1]
<transforms:spectrumMatrix> transforms:SpectrumMatrix_Type </transforms:spectrumMatrix> [1]
End Choice
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Choice
End Sequence
</...>
Diagram
Schema Component Representation
<complexType name="Gating-ML_Type">
<sequence minOccurs="1" maxOccurs="unbounded">
<choice>
<group ref=" gating:Gates_Group "/>
<group ref=" transforms:Transformation_Group "/>
<group ref=" transforms:SpectrumMatrix_Group "/>
<group ref=" data-type:Custom_Group "/>
</choice>
</sequence>
</complexType>
top

### Complex Type: MatrixRow_Type

Super-types: | None
Sub-types: | None

Name | MatrixRow_Type
Abstract | no
Documentation | Description of a row of a matrix.

XML Instance Representation
<...>
<gating:entry> data-type:ValueAttribute_Type </gating:entry> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="MatrixRow_Type">
<sequence>
<element name="entry" type=" data-type:ValueAttribute_Type " minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
top

### Complex Type: Matrix_Type

Super-types: | None
Sub-types: | None

Name | Matrix_Type
Abstract | no
Documentation | Description of a matrix.

XML Instance Representation
<...>
<gating:row> gating:MatrixRow_Type </gating:row> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="Matrix_Type">
<sequence>
<element name="row" type=" gating:MatrixRow_Type " minOccurs="1" maxOccurs="unbounded"/>
</sequence>
</complexType>
top

### Complex Type: OneOperand_BoolGate_Type

Super-types: | None
Sub-types: | None

Name | OneOperand_BoolGate_Type
Abstract | no
Documentation | The type of Boolean Gates with exactly one operand (NOT gate).

XML Instance Representation
<...>
Start Choice [1]
<gating:gateReference> gating:GateReference_Type </gating:gateReference> [1]
End Choice
</...>
Diagram
Schema Component Representation
<complexType name="OneOperand_BoolGate_Type">
<sequence>
<group ref=" gating:BoolGateOperands_Group "/>
</sequence>
</complexType>
top

### Complex Type: Point2D_Type

Super-types: | Point_Type < Point2D_Type (by restriction)
Sub-types: | None

Name | Point2D_Type
Abstract | no
Documentation | A 2D point is a sequence of two coordinates.

XML Instance Representation
<...>
<gating:coordinate> data-type:ValueAttribute_Type </gating:coordinate> [2..2]
</...>
Diagram
Schema Component Representation
<complexType name="Point2D_Type">
<complexContent>
<restriction base=" gating:Point_Type ">
<sequence>
<element name="coordinate" type=" data-type:ValueAttribute_Type " minOccurs="2" maxOccurs="2"/>
</sequence>
</restriction>
</complexContent>
</complexType>
top

### Complex Type: PointXD_Type

Super-types: | Point_Type < PointXD_Type (by restriction)
Sub-types: | None

Name | PointXD_Type
Abstract | no
Documentation | A 2 or more dimensional point is a sequence of two or more coordinates.

XML Instance Representation
<...>
<gating:coordinate> data-type:ValueAttribute_Type </gating:coordinate> [2..*]
</...>
Diagram
Schema Component Representation
<complexType name="PointXD_Type">
<complexContent>
<restriction base=" gating:Point_Type ">
<sequence>
<element name="coordinate" type=" data-type:ValueAttribute_Type " minOccurs="2" maxOccurs="unbounded"/>
</sequence>
</restriction>
</complexContent>
</complexType>
top

### Complex Type: Point_Type

Super-types: | None
Sub-types: | Point2D_Type (by restriction) PointXD_Type (by restriction)

Name | Point_Type
Abstract | no
Documentation | A point is a sequence of coordinates.

XML Instance Representation
<...>
<gating:coordinate> data-type:ValueAttribute_Type </gating:coordinate> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="Point_Type">
<sequence>
<element name="coordinate" type=" data-type:ValueAttribute_Type " maxOccurs="unbounded" id="coordinate"/>
</sequence>
</complexType>
top

### Complex Type: PolygonGate_Type

Super-types: | AbstractGate_Type < PolygonGate_Type (by extension)
Sub-types: | None

Name | PolygonGate_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
<gating:dimension> gating:Dimension_Type </gating:dimension> [2..2]
<gating:vertex> gating:Point2D_Type </gating:vertex> [3..*]
</...>
Diagram
Schema Component Representation
<complexType name="PolygonGate_Type">
<complexContent>
<extension base=" gating:AbstractGate_Type ">
<sequence>
<element name="dimension" type=" gating:Dimension_Type " minOccurs="2" maxOccurs="2"/>
<element name="vertex" type=" gating:Point2D_Type " minOccurs="3" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

### Complex Type: Position_Type

Super-types: | None
Sub-types: | None

Name | Position_Type
Abstract | no

XML Instance Representation
<...
gating:divider_ref="IDREF [1]"
gating:location=" data-type:Float64_Type [1]"/>
Diagram
Schema Component Representation
<complexType name="Position_Type">
<attribute name="divider_ref" type=" IDREF " use="required" id="divider_ref"/>
<attribute name="location" type=" data-type:Float64_Type " use="required" id="location_value"/>
</complexType>
top

### Complex Type: QuadrantGateDivider_Type

Super-types: | Dimension_Type < QuadrantGateDivider_Type (by extension)
Sub-types: | None

Name | QuadrantGateDivider_Type
Abstract | no

XML Instance Representation
<...
gating:transformation-ref="IDREF [0..1]"
gating:compensation-ref=" data-type:NonEmptyString_Type [1]"
gating:id="ID [1]">
Start Choice [1]
<data-type:fcs-dimension> data-type:NonEmptyName_Type </data-type:fcs-dimension> [1]
<data-type:new-dimension> data-type:TransformationReference_Type </data-type:new-dimension> [1]
End Choice
<gating:value> float </gating:value> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="QuadrantGateDivider_Type">
<complexContent>
<extension base=" gating:Dimension_Type ">
<sequence>
<element name="value" type=" float " maxOccurs="unbounded" id="dividervalue"/>
</sequence>
<attribute name="id" type=" ID " id="divider_id" use="required"/>
</extension>
</complexContent>
</complexType>
top

### Complex Type: QuadrantGate_Type

Super-types: | AbstractGate_Type < QuadrantGate_Type (by extension)
Sub-types: | None

Name | QuadrantGate_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
<gating:divider> gating:QuadrantGateDivider_Type </gating:divider> [1..*]
<gating:Quadrant> gating:Quadrant_Type </gating:Quadrant> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="QuadrantGate_Type">
<complexContent>
<extension base=" gating:AbstractGate_Type ">
<sequence>
<element name="divider" type=" gating:QuadrantGateDivider_Type " maxOccurs="unbounded" id="divider"/>
<element name="Quadrant" type=" gating:Quadrant_Type " maxOccurs="unbounded" id="quadrant"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

### Complex Type: Quadrant_Type

Super-types: | None
Sub-types: | None

Name | Quadrant_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]">
<gating:position> gating:Position_Type </gating:position> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="Quadrant_Type">
<sequence>
<element name="position" type=" gating:Position_Type " maxOccurs="unbounded" id="position"/>
</sequence>
<attribute name="id" type=" ID " use="required" id="quadrant_id"/>
</complexType>
top

### Complex Type: RectangleGateDimension_Type

Super-types: | Dimension_Type < RectangleGateDimension_Type (by extension)
Sub-types: | None

Name | RectangleGateDimension_Type
Abstract | no
Documentation | A dimension type for a rectangle gate; the common dimension is extended by the min and max attributes.

XML Instance Representation
<...
gating:transformation-ref="IDREF [0..1]"
gating:compensation-ref=" data-type:NonEmptyString_Type [1]"
gating:min=" data-type:Float64_Type [0..1]"
gating:max=" data-type:Float64_Type [0..1]">
Start Choice [1]
<data-type:fcs-dimension> data-type:NonEmptyName_Type </data-type:fcs-dimension> [1]
<data-type:new-dimension> data-type:TransformationReference_Type </data-type:new-dimension> [1]
End Choice
</...>
Diagram
Schema Component Representation
<complexType name="RectangleGateDimension_Type">
<complexContent>
<extension base=" gating:Dimension_Type ">
<attribute name="min" type=" data-type:Float64_Type " use="optional" id="min"/>
<attribute name="max" type=" data-type:Float64_Type " use="optional" id="max"/>
</extension>
</complexContent>
</complexType>
top

### Complex Type: RectangleGate_Type

Super-types: | AbstractGate_Type < RectangleGate_Type (by extension)
Sub-types: | None

Name | RectangleGate_Type
Abstract | no

XML Instance Representation
<...
gating:id="ID [1]"
gating:parent_id="IDREF [0..1]">
Start Group: data-type:Custom_Group [0..1]
Start Choice [1]
<data-type:custom_info> anyType </data-type:custom_info> [1]
End Choice
End Group: data-type:Custom_Group
<gating:dimension> gating:RectangleGateDimension_Type </gating:dimension> [1..*]
</...>
Diagram
Schema Component Representation
<complexType name="RectangleGate_Type">
<complexContent>
<extension base=" gating:AbstractGate_Type ">
<sequence>
<element name="dimension" type=" gating:RectangleGateDimension_Type " maxOccurs="unbounded" id="dimension"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

### Complex Type: TwoAndMoreOperands_BoolGate_Type

Super-types: | None
Sub-types: | None

Name | TwoAndMoreOperands_BoolGate_Type
Abstract | no
Documentation | The type of Boolean gates with two or more operands (AND and OR gates).

XML Instance Representation
<...>
Start Sequence [2..*]
Start Choice [1]
<gating:gateReference> gating:GateReference_Type </gating:gateReference> [1]
End Choice
End Sequence
</...>
Diagram
Schema Component Representation
<complexType name="TwoAndMoreOperands_BoolGate_Type">
<sequence minOccurs="2" maxOccurs="unbounded">
<group ref=" gating:BoolGateOperands_Group "/>
</sequence>
</complexType>
top

### Model Group: BoolGateOperands_Group

Name | BoolGateOperands_Group
Documentation | An operand of a Boolean gate can be specified as gateReference or as an embedded specification of another gate.

XML Instance Representation
Start Choice [1]
<gating:gateReference> gating:GateReference_Type </gating:gateReference> [1]
End Choice
Diagram
Schema Component Representation
<group name="BoolGateOperands_Group">
<choice>
<element name="gateReference" type=" gating:GateReference_Type " id="gateReference"/>
</choice>
</group>
top

### Model Group: Gates_Group

Name | Gates_Group
Documentation | The group includes a choice from all the types of gates.

XML Instance Representation
Start Choice [1]
<gating:RectangleGate> gating:RectangleGate_Type </gating:RectangleGate> [1]
<gating:PolygonGate> gating:PolygonGate_Type </gating:PolygonGate> [1]
<gating:EllipsoidGate> gating:EllipsoidGate_Type </gating:EllipsoidGate> [1]
<gating:BooleanGate> gating:BooleanGate_Type </gating:BooleanGate> [1]
<gating:QuadrantGate> gating:QuadrantGate_Type </gating:QuadrantGate> [1]
End Choice
Diagram
Schema Component Representation
<group name="Gates_Group">
<choice>
<element name="RectangleGate" type=" gating:RectangleGate_Type "/>
<element name="PolygonGate" type=" gating:PolygonGate_Type "/>
<element name="EllipsoidGate" type=" gating:EllipsoidGate_Type "/>
<element name="BooleanGate" type=" gating:BooleanGate_Type "/>
<element name="QuadrantGate" type=" gating:QuadrantGate_Type "/>
</choice>
</group>
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.

- The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
- Model group information are shown in gray, e.g. Start Choice ... End Choice.
- For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold.
- If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
- Otherwise, the type of the element/attribute is displayed.
  - If the element/attribute's type is in the schema, a link is provided to it.
  - For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
- If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.

Schema Component Representation
<complexType name="AusAddress">
<complexContent>
<extension base=" Address ">
<sequence>
<element name="state" type=" AusStates "/>
<element name="postcode">
<simpleType>
<restriction base=" string ">
<pattern value="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attribute name="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