AMIS

Table of Contents

top

Schema Document Properties

Target Namespace None
Version 0.2
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations have no namespace.
  • By default, local attribute declarations have no namespace.
Documentation

AMIS XML Type declarations

simpleTypes are used to represent all fields in the AMIS name-space. The built-in xsd types are not used, to allow easy type substitution, and guarantee that all identical elements build on the same type.

simpleTypes with name atom_* are the lowest level, and should normally not be used outside this file

simpleType with name type_* are used to define simple or aggregate types (union and list). Aggregate types are used to represent types with different possible layouts like e.g. represent Name and Id.

Attributegroups with name attrtype_' are used to define common fields for elements. Typically attribute-groups are used for addressing

complexTypes with name type_* are used to define complex element types common to AMIS, that cannot be expressed as an aggregate type.

WARNING changes in this document may lead to severe product failures and misbehavior of the system

Copyright SAT Consulting ApS 2006 ©

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
amis http://www.w3.org/2001/XMLSchema
html http://www.w3.org/1999/xhtml
Schema Component Representation
<amis:schema version="0.2">
...
</amis:schema>
top

Global Definitions

Attribute Group: attrtype_commandHeader

Name attrtype_commandHeader
Documentation command header determines the source and destination of a message

sequenceId unique command identifier, copied to reply to match between command and reply this identifier is generated automatically by XMLlib.

fromModuleId identifies module sending command, copied to toModuleId in reply this identifier is generated automatically by XMLlib.

toModuleId identifies module to receive command, copied to fromModuleId in reply this identifier must be supplied by the application.

timeStamp time when command was issued, this identifier is generated automatically by XMLlib.
Diagram
XML Instance Representation
sequenceId="type_sequenceId [1]"
fromModuleId="type_moduleId [1]"
toModuleId="type_moduleId [1]"
requestTime="type_timestamp [1]"
commandStatus="type_commandStatus [1]"
Schema Component Representation
<amis:attributeGroup name="attrtype_commandHeader">
<amis:attribute name="sequenceId" type="type_sequenceId" use="required"/>
<amis:attribute name="fromModuleId" type="type_moduleId" use="required"/>
<amis:attribute name="toModuleId" type="type_moduleId" use="required"/>
<amis:attribute name="requestTime" type="type_timestamp" use="required"/>
<amis:attribute name="commandStatus" type="type_commandStatus" use="required"/>
</amis:attributeGroup>
top

Complex Type: type_concentratorAddress

Super-types: None
Sub-types: None
Name type_concentratorAddress
Abstract no
Documentation Generic concentrator address, combines the legal possibilities

concentratorId casdu decimal address

concentratorName as reported from concentrator

substationId decimal Id

substationName group name (relationship to substationId is configured)

broadcast to all concentrators

The elements are mutually exclusive.
Diagram
XML Instance Representation
<...>
Start Choice [1]
<concentratorId> atom_casdu </concentratorId> [1]
<concentratorName> atom_idName </concentratorName> [1]
<substationId> atom_substationId </substationId> [1]
<substationName> atom_substationName </substationName> [1]
<broadcast> ... </broadcast> [1]
End Choice
</...>
Schema Component Representation
<amis:complexType name="type_concentratorAddress">
<amis:choice>
<amis:element name="concentratorId" type="atom_casdu"/>
<amis:element name="concentratorName" type="atom_idName"/>
<amis:element name="substationId" type="atom_substationId"/>
<amis:element name="substationName" type="atom_substationName"/>
<amis:element name="broadcast"/>
</amis:choice>
</amis:complexType>
top

Complex Type: type_equipmentAddress

Super-types: None
Sub-types: None
Name type_equipmentAddress
Abstract no
Documentation Generic equipment address, combines the legal possibilities

idType serial number and equipmentType

name external application name (relationship Id, Type is configured)

broadcast to all equipment within a type

The elements are mutually exclusive.
Diagram
XML Instance Representation
<...>
Start Choice [1]
<idType> [1]
<id> atom_equipmentId </id> [1]
<type> type_equipmentType </type> [1]
</idType>
<name> atom_idName </name> [1]
<broadcast> ... </broadcast> [1]
End Choice
</...>
Schema Component Representation
<amis:complexType name="type_equipmentAddress">
<amis:choice>
<amis:element name="idType">
<amis:complexType>
<amis:sequence>
<amis:element name="id" type="atom_equipmentId"/>
<amis:element name="type" type="type_equipmentType"/>
</amis:sequence>
</amis:complexType>
</amis:element>
<amis:element name="name" type="atom_idName"/>
<amis:element name="broadcast"/>
</amis:choice>
</amis:complexType>
top

Complex Type: type_homeAutomationAddress

Super-types: None
Sub-types: None
Name type_homeAutomationAddress
Abstract no
Documentation Generic homeAutomation, combines the legal possibilities

id decimal address

name group name (relationship Name to Id is configured)

broadcast to all equipment

The elements are mutually exclusive.
Diagram
XML Instance Representation
<...>
Start Choice [1]
<id> atom_homeAutomationId </id> [1]
<name> atom_idName </name> [1]
<broadcast> ... </broadcast> [1]
End Choice
</...>
Schema Component Representation
<amis:complexType name="type_homeAutomationAddress">
<amis:choice>
<amis:element name="id" type="atom_homeAutomationId"/>
<amis:element name="name" type="atom_idName"/>
<amis:element name="broadcast"/>
</amis:choice>
</amis:complexType>
top

Complex Type: type_obis

Super-types: None
Sub-types: None
Name type_obis
Abstract no
Documentation identifies a register (c,d,e and preValue) in the equipment
Diagram
XML Instance Representation
<...>
<c> atom_obisId </c> [0..1]
<d> atom_obisId </d> [0..1]
<e> atom_obisId </e> [0..1]
<preValueId> type_preValue </preValueId> [0..1]
</...>
Schema Component Representation
<amis:complexType name="type_obis">
<amis:sequence>
<amis:element name="c" type="atom_obisId" minOccurs="0"/>
<amis:element name="d" type="atom_obisId" minOccurs="0"/>
<amis:element name="e" type="atom_obisId" minOccurs="0"/>
<amis:element name="preValueId" type="type_preValue" minOccurs="0"/>
</amis:sequence>
</amis:complexType>
top

Complex Type: type_preValue

Super-types: None
Sub-types: None
Name type_preValue
Abstract no
Documentation prevalue, combines the legal possibilities

id index, direct

actual index actual

cumulated index last automatic cumulated

The elements are mutually exclusive.
Diagram
XML Instance Representation
<...>
Start Choice [1]
<id> atom_prevalueId </id> [1]
<actual> ... </actual> [1]
<cumulated> ... </cumulated> [1]
End Choice
</...>
Schema Component Representation
<amis:complexType name="type_preValue">
<amis:choice>
<amis:element name="id" type="atom_prevalueId"/>
<amis:element name="actual"/>
<amis:element name="cumulated"/>
</amis:choice>
</amis:complexType>
top

Complex Type: type_unitAddress

Super-types: None
Sub-types: None
Name type_unitAddress
Abstract no
Documentation Generic unit, combines the legal possibilities

id decimal address

name group name (relationship Name to Id is configured)

broadcast to all equipment

The elements are mutually exclusive.
Diagram
XML Instance Representation
<...>
Start Choice [1]
<id> atom_unitId </id> [1]
<name> atom_idName </name> [1]
<broadcast> ... </broadcast> [1]
End Choice
</...>
Schema Component Representation
<amis:complexType name="type_unitAddress">
<amis:choice>
<amis:element name="id" type="atom_unitId"/>
<amis:element name="name" type="atom_idName"/>
<amis:element name="broadcast"/>
</amis:choice>
</amis:complexType>
top

Simple Type: atom_casdu

Super-types: amis:int < atom_casdu (by restriction)
Sub-types: None
Name atom_casdu
Content
  • Base XSD Type: int
  • 1 <= value <= 64999
Documentation used to address concentrators directly

part of the address space is reserved for substationId.
Diagram
Schema Component Representation
<amis:simpleType name="atom_casdu">
<amis:restriction base="amis:int">
<amis:maxInclusive value="64999"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_datetime

Super-types: amis:dateTime < atom_datetime (by restriction)
Sub-types: None
Name atom_datetime
Content
  • Base XSD Type: dateTime
Documentation date/time text representation in normal time
Diagram
Schema Component Representation
<amis:simpleType name="atom_datetime">
<amis:restriction base="amis:dateTime"/>
</amis:simpleType>
top

Simple Type: atom_equipmentId

Super-types: amis:int < atom_equipmentId (by restriction)
Sub-types: None
Name atom_equipmentId
Content
  • Base XSD Type: int
  • 1 <= value <= 999999999
Documentation used to address equipment (serial number).

REMARK: equipmentId can only be used in conjunction with equipmentType
Diagram
Schema Component Representation
<amis:simpleType name="atom_equipmentId">
<amis:restriction base="amis:int">
<amis:maxInclusive value="999999999"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_homeAutomationId

Super-types: amis:int < atom_homeAutomationId (by restriction)
Sub-types: None
Name atom_homeAutomationId
Content
  • Base XSD Type: int
  • 1 <= value <= 65534
Documentation id defines the configuration (as type) of the equipment, and a broadcast address used when reading information
Diagram
Schema Component Representation
<amis:simpleType name="atom_homeAutomationId">
<amis:restriction base="amis:int">
<amis:maxInclusive value="65534"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_idName

Super-types: amis:string < atom_idName (by restriction)
Sub-types:
Name atom_idName
Content
  • Base XSD Type: string
  • length <= 32
Documentation defines name of id's (humans work with names, machines with id's
Diagram
Schema Component Representation
<amis:simpleType name="atom_idName">
<amis:restriction base="amis:string">
<amis:maxLength value="32"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_obisId

Super-types: amis:int < atom_obisId (by restriction)
Sub-types: None
Name atom_obisId
Content
  • Base XSD Type: int
  • 0 <= value <= 255
Documentation obis identifier
Diagram
Schema Component Representation
<amis:simpleType name="atom_obisId">
<amis:restriction base="amis:int">
<amis:maxInclusive value="255"/>
<amis:minInclusive value="0"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_prevalueId

Super-types: amis:nonNegativeInteger < atom_prevalueId (by restriction)
Sub-types: None
Name atom_prevalueId
Content
  • Base XSD Type: nonNegativeInteger
  • value <= 253
Documentation obis prevalue identifier (most registers have 0-99 prevalues)
Diagram
Schema Component Representation
<amis:simpleType name="atom_prevalueId">
<amis:restriction base="amis:nonNegativeInteger">
<amis:maxInclusive value="253"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_seconds

Super-types: amis:nonNegativeInteger < atom_seconds (by restriction)
Sub-types: None
Name atom_seconds
Content
  • Base XSD Type: nonNegativeInteger
Documentation time representation in seconds (since 1.1.2005).

0 in commands means execute "as soon as possible"

0 in replies means "invalid"
Diagram
Schema Component Representation
<amis:simpleType name="atom_seconds">
<amis:restriction base="amis:nonNegativeInteger"/>
</amis:simpleType>
top

Simple Type: atom_substationId

Super-types: amis:int < atom_substationId (by restriction)
Sub-types: None
Name atom_substationId
Content
  • Base XSD Type: int
  • 1 <= value <= 535
Documentation used to address a group of concentrators within a substation

address space is share with casdu. The real casdu address is calculated 65000 + substationId
Diagram
Schema Component Representation
<amis:simpleType name="atom_substationId">
<amis:restriction base="amis:int">
<amis:maxInclusive value="535"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: atom_substationName

Super-types: amis:string < atom_idName (by restriction) < atom_substationName (by restriction)
Sub-types: None
Name atom_substationName
Content
  • Base XSD Type: string
  • length <= 32
Documentation Name of substation, used by external applications.

The relationship name to id is configured by the customer
Diagram
Schema Component Representation
<amis:simpleType name="atom_substationName">
<amis:restriction base="atom_idName"/>
</amis:simpleType>
top

Simple Type: atom_unitId

Super-types: amis:int < atom_unitId (by restriction)
Sub-types: None
Name atom_unitId
Content
  • Base XSD Type: int
  • 1 <= value <= 65534
Documentation unit defines the configuration (as type) of the equipment, and a broadcast address used when reading information like e.g. tariffs
Diagram
Schema Component Representation
<amis:simpleType name="atom_unitId">
<amis:restriction base="amis:int">
<amis:maxInclusive value="65534"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_commandAction

Super-types: amis:string < type_commandAction (by restriction)
Sub-types: None
Name type_commandAction
Content
  • Base XSD Type: string
  • value comes from list: {'define'|'delete'|'list'|'updateAdd'|'updateRemove'}
Documentation set type of action for external commands

define new item (group, equipment etc.). If the item exist the command is rejected this action will often lead to a message being sent to the equipment in question

delete existing item (group, equipment etc.). If the item does not exist or if the item is in use the command is rejected

list existing item (group, equipment etc.). If the item does not exist the command is rejected

updateAdd elements to existing item (group, equipment etc.). If the item does not exist the command is rejected this action will often lead to a message being sent to the equipment in question

updateRemove elements from existing item (group, equipment etc.). If the item does not exist the command is rejected this action will often lead to a message being sent to the equipment in question
Diagram
Schema Component Representation
<amis:simpleType name="type_commandAction">
<amis:restriction base="amis:string">
<amis:enumeration value="define"/>
<amis:enumeration value="delete"/>
<amis:enumeration value="list"/>
<amis:enumeration value="updateAdd"/>
<amis:enumeration value="updateRemove"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_commandSequence

Super-types: amis:int < type_commandSequence (by restriction)
Sub-types: None
Name type_commandSequence
Content
  • Base XSD Type: int
  • 0 <= value <= 255
Documentation sequence command id is used to follow a command from application and back
Diagram
Schema Component Representation
<amis:simpleType name="type_commandSequence">
<amis:restriction base="amis:int">
<amis:maxInclusive value="255"/>
<amis:minInclusive value="0"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_commandStatus

Super-types: amis:string < type_commandStatus (by restriction)
Sub-types: None
Name type_commandStatus
Content
  • Base XSD Type: string
  • value comes from list: {'accepted'|'executing'|'finished'|'issued'|'rejected'|'terminated'}
Documentation used in all commands:

accepted means command is accepted but not yet executed. Status is not mandatory, but modules like e.g. schedulerModule use it, to signal that commands is valid and waiting to be executed.

executing means command is passed on for execution. This status is not mandatory, but modules like e.g. commModule use it, to signal that commands are passed to equipment.

finished means command executed correctly. This status is mandatory, the actual reply (e.g. load-profile) is available in the database.

issued means command issued but not active. Thiss status is mandatory.

rejected means the toModule was not allowed to execute command. This status is mandatory, but is handled by XMLlib.

terminated means command did not execute correctly. This status is mandatory, the reason will normally be written to the log.
Diagram
Schema Component Representation
<amis:simpleType name="type_commandStatus">
<amis:restriction base="amis:string">
<amis:enumeration value="accepted"/>
<amis:enumeration value="executing"/>
<amis:enumeration value="finished"/>
<amis:enumeration value="issued"/>
<amis:enumeration value="rejected"/>
<amis:enumeration value="terminated"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_deviceAddress

Super-types: amis:string < type_deviceAddress (by restriction)
Sub-types: None
Name type_deviceAddress
Content
  • Base XSD Type: string
  • length >= 4
Documentation Gateway meter address
Diagram
Schema Component Representation
<amis:simpleType name="type_deviceAddress">
<amis:restriction base="amis:string">
<amis:maxLength value="4"/>
<amis:minLength value="4"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_equipmentType

Super-types: amis:string < type_equipmentType (by restriction)
Sub-types: None
Name type_equipmentType
Content
  • Base XSD Type: string
  • value comes from list: {'G23-410'|'G23-41X'|'G23-510'|'G23-511'|'G23-512'|'G23-51X'|'G23-520'|'G23-530'|'G23-5XX'}
Documentation equipmentType defines the known equipment in the system

G23-410 concentrator

G23-41X all concentrators

G23-510 meter 3 phase 100 Amp

G23-511 meter 3 phase 60 Amp

G23-512 meter 1 phase 60 Amp

G23-51X all meters

G23-520 loadswitch

G23-530 meter gateway

G23-5XX all meters,loadswitches and meter gateways
Diagram
Schema Component Representation
<amis:simpleType name="type_equipmentType">
<amis:restriction base="amis:string">
<amis:enumeration value="G23-410"/>
<amis:enumeration value="G23-41X"/>
<amis:enumeration value="G23-510"/>
<amis:enumeration value="G23-511"/>
<amis:enumeration value="G23-512"/>
<amis:enumeration value="G23-51X"/>
<amis:enumeration value="G23-520"/>
<amis:enumeration value="G23-530"/>
<amis:enumeration value="G23-5XX"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_fileImage

Super-types: amis:base64Binary < type_fileImage (by restriction)
Sub-types: None
Name type_fileImage
Content
  • Base XSD Type: base64Binary
  • length >= 1
Documentation used to hold binary image to be transferred
Diagram
Schema Component Representation
<amis:simpleType name="type_fileImage">
<amis:restriction base="amis:base64Binary">
<amis:maxLength value="65535"/>
<amis:minLength value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_infofield

Super-types: amis:string < type_infofield (by restriction)
Sub-types: None
Name type_infofield
Content
  • Base XSD Type: string
  • length >= 1
Documentation defines info field in equipment
Diagram
Schema Component Representation
<amis:simpleType name="type_infofield">
<amis:restriction base="amis:string">
<amis:maxLength value="9"/>
<amis:minLength value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_moduleId

Super-types: amis:string < type_moduleId (by restriction)
Sub-types: None
Name type_moduleId
Content
  • Base XSD Type: string
  • value comes from list: {'appl_interface01'|'appl_interface02'|'appl_interface03'|'appl_interface04'|'appl_interface05'|'appl_interface06'|'appl_interface07'|'appl_interface08'|'appl_interface09'|'appl_interface10'|'appl_interface11'|'appl_interface12'|'appl_interface13'|'appl_interface14'|'appl_interface15'|'appl_interface16'|'client_command'|'client_web'|'client_xml'|'module_alarm'|'module_scheduler'|'module_backup'|'module_comm'|'module_command'|'module_config'|'module_database'|'module_monitor'|'module_redundant'|'module_web'}
Documentation defines the known modules, clients and libraries in the system that can send or receive commands.

remark: the relationship applInterface to real world name (e.g. sap) is defined in the database.

appl_interface01-16 is external, converts to/from external application



client_command is external, handles command user interface

client_web is external, handles generic user interface

client_xml is external, handles xml from user interface



module_alarm is internal, handles alarms to network manager

module_backup is internal, handles backup

module_command is internal, handles command table

module_comm is internal, handles equipment communication

module_config is internal, handles binary configurations

module_database is internal, handles database

module_monitor is internal, monitors modules

module_redundant is internal, handles redundant system

module_scheduler is internal, schedules commands

module_web is external, handles web (apache)
Diagram
Schema Component Representation
<amis:simpleType name="type_moduleId">
<amis:restriction base="amis:string">
<amis:enumeration value="appl_interface01"/>
<amis:enumeration value="appl_interface02"/>
<amis:enumeration value="appl_interface03"/>
<amis:enumeration value="appl_interface04"/>
<amis:enumeration value="appl_interface05"/>
<amis:enumeration value="appl_interface06"/>
<amis:enumeration value="appl_interface07"/>
<amis:enumeration value="appl_interface08"/>
<amis:enumeration value="appl_interface09"/>
<amis:enumeration value="appl_interface10"/>
<amis:enumeration value="appl_interface11"/>
<amis:enumeration value="appl_interface12"/>
<amis:enumeration value="appl_interface13"/>
<amis:enumeration value="appl_interface14"/>
<amis:enumeration value="appl_interface15"/>
<amis:enumeration value="appl_interface16"/>
<amis:enumeration value="client_command"/>
<amis:enumeration value="client_web"/>
<amis:enumeration value="client_xml"/>
<amis:enumeration value="module_alarm"/>
<amis:enumeration value="module_scheduler"/>
<amis:enumeration value="module_backup"/>
<amis:enumeration value="module_comm"/>
<amis:enumeration value="module_command"/>
<amis:enumeration value="module_config"/>
<amis:enumeration value="module_database"/>
<amis:enumeration value="module_monitor"/>
<amis:enumeration value="module_redundant"/>
<amis:enumeration value="module_web"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_relay

Super-types: amis:string < type_relay (by restriction)
Sub-types: None
Name type_relay
Content
  • Base XSD Type: string
  • value comes from list: {'close'|'open'|'release'}
Documentation defines the different relay operations in meter

close restore power ONLY DIAGNOSTIC MODE

open disconnect power

relay allow power reconnect (manual)
Diagram
Schema Component Representation
<amis:simpleType name="type_relay">
<amis:restriction base="amis:string">
<amis:enumeration value="close"/>
<amis:enumeration value="open"/>
<amis:enumeration value="release"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_sequenceId

Super-types: amis:nonNegativeInteger < type_sequenceId (by restriction)
Sub-types: None
Name type_sequenceId
Content
  • Base XSD Type: nonNegativeInteger
Documentation makes commands unique, and allows modules to interrelate command and reply. This is NOT the command_sequence!
Diagram
Schema Component Representation
<amis:simpleType name="type_sequenceId">
<amis:restriction base="amis:nonNegativeInteger"/>
</amis:simpleType>
top

Simple Type: type_textfield

Super-types: amis:string < type_textfield (by restriction)
Sub-types: None
Name type_textfield
Content
  • Base XSD Type: string
  • length >= 1
Documentation defines text field in equipment
Diagram
Schema Component Representation
<amis:simpleType name="type_textfield">
<amis:restriction base="amis:string">
<amis:maxLength value="50"/>
<amis:minLength value="1"/>
</amis:restriction>
</amis:simpleType>
top

Simple Type: type_timestamp

Super-types: None
Sub-types: None
Name type_timestamp
Content
Documentation generic timestamp can be defined as either:

atom_seconds seconds from 1/1/2005, 0 means imidiate

atom_datetime normal date/time
Diagram
Schema Component Representation
<amis:simpleType name="type_timestamp">
<amis:union memberTypes="atom_seconds atom_datetime"/>
</amis:simpleType>
top

Simple Type: type_watthour

Super-types: amis:int < type_watthour (by restriction)
Sub-types: None
Name type_watthour
Content
  • Base XSD Type: int
  • 1 <= value <= 9999999
Documentation used in incasso message to set watthours.
Diagram
Schema Component Representation
<amis:simpleType name="type_watthour">
<amis:restriction base="amis:int">
<amis:maxInclusive value="9999999"/>
<amis:minInclusive value="1"/>
</amis:restriction>
</amis: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
<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