# XML Schema Documentation

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

## Table of Contents

- Schema Document Properties
- Global Declarations
  - Element: import
- Global Definitions
  - Complex Type: adListType
  - Complex Type: adType
  - Complex Type: addressType
  - Complex Type: agentListType
  - Complex Type: agentType
  - Complex Type: agreementType
  - Complex Type: cityType
  - Complex Type: conditionType
  - Complex Type: coordinatesType
  - Complex Type: currencyType
  - Complex Type: floorsType
  - Complex Type: heatingType
  - Complex Type: highlightingListType
  - Complex Type: highlightingType
  - Complex Type: imageListType
  - Complex Type: imageType
  - Complex Type: importType
  - Complex Type: intvalType
  - Complex Type: notificationmailListType
  - Complex Type: officeInformationType
  - Complex Type: officeListType
  - Complex Type: officeType
  - Complex Type: payingperiodType
  - Complex Type: regionType
  - Complex Type: suburbType
  - Complex Type: typeType
  - Simple Type: emailType
  - Simple Type: geoLatType
  - Simple Type: geoLonType
  - Simple Type: nonEmptyToken
  - Simple Type: urlType

- Legend

- Glossary

top

## Schema Document Properties

Target Namespace | http://schemas.ingatlanbazar.hu/Import/
Version | 2.0t
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.
Schema Composition | This schema includes components from the following schema document(s): types.xsd conditions.xsd heatings.xsd floors.xsd regions.xsd

### Declared Namespaces

Prefix | Namespace
--- | ---
Default namespace | http://schemas.ingatlanbazar.hu/Import/
xml | http://www.w3.org/XML/1998/namespace
html | http://www.w3.org/1999/xhtml
r | http://schemas.ingatlanbazar.hu/Import/
xs | http://www.w3.org/2001/XMLSchema

Schema Component Representation
<xs:schema targetNamespace="http://schemas.ingatlanbazar.hu/Import/" elementFormDefault="qualified" version="2.0t">
<xs:include schemaLocation="types.xsd"/>
<xs:include schemaLocation="conditions.xsd"/>
<xs:include schemaLocation="heatings.xsd"/>
<xs:include schemaLocation="floors.xsd"/>
<xs:include schemaLocation="regions.xsd">
<-- deprecated -->
</xs:include>
...
</xs:schema>
top

## Global Declarations

### Element: import

Name | import
Type | importType
Nillable | no
Abstract | no

XML Instance Representation
<import>
<officeList> officeListType
<!--
Key Constraint - office-id
Selector - r:office
Field(s) - @ingatlanbazarId
-->
</officeList> [1]
</import>
Schema Component Representation
<xs:element name="import" type="importType"/>
top

## Global Definitions

### Complex Type: adListType

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

Name | adListType
Abstract | no
Documentation | Az iroda hirdetéseinek listája. The list of the office's adverts.

XML Instance Representation
<...>
<ad> adType </ad> [0..*]
</...>
Schema Component Representation
<xs:complexType name="adListType">
<xs:sequence>
<xs:element name="ad" type="adType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: adType

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

Name | adType
Abstract | no
Documentation | Ez a típus tartalmazza egy hirdetés adatait. This type contains the details of one advert.

XML Instance Representation
<...
foreignId="nonEmptyToken [1] ?"
agentId="nonEmptyToken [1] ?"
projectId="xs:positiveInteger [0..1] ?">
<type> typeType </type> [1] ?
<agreement> agreementType </agreement> [1] ?
Start Choice [1]
Start Choice [1]
<region> regionType </region> [1] ?
<regionText> nonEmptyToken </regionText> [1] ?
End Choice
Start Choice [1]
<city> cityType </city> [1] ?
<cityText> nonEmptyToken </cityText> [1] ?
End Choice
Start Choice [1]
<suburb> suburbType </suburb> [0..1] ?
<suburbText> nonEmptyToken </suburbText> [0..1] ?
End Choice
<address> addressType </address> [0..1] ?
<coordinates> coordinatesType </coordinates> [1] ?
End Choice
<price> intvalType </price> [1] ?
<currency> currencyType </currency> [0..1] ?
<payingperiod> payingperiodType </payingperiod> [0..1] ?
<condition> conditionType </condition> [1] ?
<heating> heatingType </heating> [0..1] ?
<floors> floorsType </floors> [0..1] ?
<rooms> intvalType </rooms> [0..1] ?
<halfrooms> intvalType </halfrooms> [0..1] ?
<floorspace> intvalType </floorspace> [1] ?
<propertyspace> intvalType </propertyspace> [0..1] ?
<descriptionText> nonEmptyToken </descriptionText> [1] ?
<tagsText> nonEmptyToken </tagsText> [0..1] ?
<imageList> imageListType </imageList> [0..1] ?
<highlightingList> highlightingListType </highlightingList> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="adType">
<xs:sequence>
<xs:element name="type" type="typeType"/>
<xs:element name="agreement" type="agreementType"/>
<xs:choice>
<xs:sequence>
<xs:choice>
<xs:element name="region" type="regionType">
<-- deprecated -->
</xs:element>
<xs:element name="regionText" type="nonEmptyToken"/>
</xs:choice>
<xs:choice>
<xs:element name="city" type="cityType">
<-- deprecated -->
</xs:element>
<xs:element name="cityText" type="nonEmptyToken"/>
</xs:choice>
<xs:choice>
<xs:element name="suburb" type="suburbType" minOccurs="0">
<-- deprecated -->
</xs:element>
<xs:element name="suburbText" type="nonEmptyToken" minOccurs="0"/>
</xs:choice>
<xs:element name="address" type="addressType" minOccurs="0"/>
</xs:sequence>
<xs:element name="coordinates" type="coordinatesType"/>
</xs:choice>
<xs:element name="price" type="intvalType"/>
<xs:element name="currency" type="currencyType" minOccurs="0"/>
<xs:element name="payingperiod" type="payingperiodType" minOccurs="0"/>
<xs:element name="condition" type="conditionType"/>
<xs:element name="heating" type="heatingType" minOccurs="0"/>
<xs:element name="floors" type="floorsType" minOccurs="0"/>
<xs:element name="rooms" type="intvalType" minOccurs="0"/>
<xs:element name="halfrooms" type="intvalType" minOccurs="0"/>
<xs:element name="floorspace" type="intvalType"/>
<xs:element name="propertyspace" type="intvalType" minOccurs="0"/>
<xs:element name="descriptionText" type="nonEmptyToken"/>
<xs:element name="tagsText" type="nonEmptyToken" minOccurs="0"/>
<xs:element name="imageList" type="imageListType" minOccurs="0"/>
<xs:element name="highlightingList" type="highlightingListType" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="foreignId" type="nonEmptyToken" use="required"/>
<xs:attribute name="agentId" type="nonEmptyToken" use="required"/>
<xs:attribute name="projectId" type="xs:positiveInteger"/>
</xs:complexType>
top

### Complex Type: addressType

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

Name | addressType
Abstract | no
Documentation | Cím szintű elhelyezkedés Location; address level

XML Instance Representation
<...
visible="xs:boolean [1] ?">
<street> nonEmptyToken </street> [1] ?
<number> xs:positiveInteger </number> [1] ?
<building> nonEmptyToken </building> [0..1] ?
<floor> floorsOptionType </floor> [0..1] ?
<roomNumber> xs:positiveInteger </roomNumber> [0..1] ?
</...>
Schema Component Representation
<xs:complexType name="addressType">
<xs:sequence>
<xs:element name="street" type="nonEmptyToken"/>
<xs:element name="number" type="xs:positiveInteger"/>
<xs:element name="building" type="nonEmptyToken" minOccurs="0"/>
<xs:element name="floor" type="floorsOptionType" minOccurs="0"/>
<xs:element name="roomNumber" type="xs:positiveInteger" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="visible" type="xs:boolean" use="required"/>
</xs:complexType>
top

### Complex Type: agentListType

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

Name | agentListType
Abstract | no
Documentation | Az iroda referenseinek listája. The list of the agents of the office.

XML Instance Representation
<...>
<agent> agentType </agent> [0..*]
</...>
Schema Component Representation
<xs:complexType name="agentListType">
<xs:sequence>
<xs:element name="agent" type="agentType" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: agentType

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

Name | agentType
Abstract | no
Documentation | Egy referens elérhetőségei. Contact informations of an agent.

XML Instance Representation
<...
foreignId="nonEmptyToken [1] ?">
<nameText> nonEmptyToken </nameText> [1] ?
<addressText> nonEmptyToken </addressText> [0..1] ?
Start Choice [1]
<phonenumberText> nonEmptyToken </phonenumberText> [1] ?
<mobilenumberText> nonEmptyToken </mobilenumberText> [0..1] ?
<mobilenumberText> nonEmptyToken </mobilenumberText> [1]
End Choice
<emailText> emailType </emailText> [1] ?
</...>
Schema Component Representation
<xs:complexType name="agentType">
<xs:sequence>
<xs:element name="nameText" type="nonEmptyToken"/>
<xs:element name="addressText" type="nonEmptyToken" minOccurs="0"/>
<xs:choice>
<xs:sequence>
<xs:element name="phonenumberText" type="nonEmptyToken"/>
<xs:element name="mobilenumberText" type="nonEmptyToken" minOccurs="0"/>
</xs:sequence>
<xs:element name="mobilenumberText" type="nonEmptyToken"/>
</xs:choice>
<xs:element name="emailText" type="emailType"/>
</xs:sequence>
<xs:attribute name="foreignId" type="nonEmptyToken" use="required"/>
</xs:complexType>
top

### Complex Type: agreementType

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

Name | agreementType
Abstract | no
Documentation | Az értékesítés típusa The type of the agreement

XML Instance Representation
<...
option="xs:positiveInteger (value comes from list: {'1'|'2'}) [1]"/>
Schema Component Representation
<xs:complexType name="agreementType">
<xs:attribute name="option" use="required">
<xs:simpleType>
<xs:restriction base="xs:positiveInteger">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
top

### Complex Type: cityType

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

Name | cityType
Abstract | no
Documentation | Település szintű elhelyezkedés Location; city level

XML Instance Representation
<...
option="xs:positiveInteger [1]"/>
Schema Component Representation
<xs:complexType name="cityType">
<-- deprecated -->
<xs:attribute name="option" type="xs:positiveInteger" use="required"/>
</xs:complexType>
top

### Complex Type: conditionType

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

Name | conditionType
Abstract | no
Documentation | Ingatlan állapot típus Property condition type

XML Instance Representation
<...
option="conditionOptionType [1]"/>
Schema Component Representation
<xs:complexType name="conditionType">
<xs:attribute name="option" type="conditionOptionType" use="required"/>
</xs:complexType>
top

### Complex Type: coordinatesType

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

Name | coordinatesType
Abstract | no
Documentation | Egy koordináta pár A coordinate

XML Instance Representation
<...
latitude="geoLatType [1] ?"
longitude="geoLonType [1] ?"/>
Schema Component Representation
<xs:complexType name="coordinatesType">
<xs:attribute name="latitude" type="geoLatType" use="required"/>
<xs:attribute name="longitude" type="geoLonType" use="required"/>
</xs:complexType>
top

### Complex Type: currencyType

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

Name | currencyType
Abstract | no
Documentation | Pénznem típus Type of currency

XML Instance Representation
<...
option="xs:integer (value comes from list: {'1'|'2'}) [1]"/>
Schema Component Representation
<xs:complexType name="currencyType">
<xs:attribute name="option" use="required">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
top

### Complex Type: floorsType

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

Name | floorsType
Abstract | no
Documentation | Az emelet megadására szolgáló típus, melyen az ingatlan elhelyezkedik A type to denote the floor on which a property is located

XML Instance Representation
<...
option="floorsOptionType [1]"/>
Schema Component Representation
<xs:complexType name="floorsType">
<xs:attribute name="option" type="floorsOptionType" use="required"/>
</xs:complexType>
top

### Complex Type: heatingType

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

Name | heatingType
Abstract | no
Documentation | Fűtés típus Heating type

XML Instance Representation
<...
option="heatingOptionType [1]"/>
Schema Component Representation
<xs:complexType name="heatingType">
<xs:attribute name="option" type="heatingOptionType" use="required"/>
</xs:complexType>
top

### Complex Type: highlightingListType

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

Name | highlightingListType
Abstract | no
Documentation | Kiemelések listája List of highlightings

XML Instance Representation
<...>
<highlighting> highlightingType </highlighting> [1..*]
</...>
Schema Component Representation
<xs:complexType name="highlightingListType">
<xs:sequence>
<xs:element name="highlighting" type="highlightingType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: highlightingType

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

Name | highlightingType
Abstract | no
Documentation | Egy hirdetésre alkalmazandó kiemelés A highlighting to be applied on an advert

XML Instance Representation
<...
id="xs:positiveInteger [1] ?"
start="xs:date [1] ?"
duration="xs:positiveInteger [1] ?"/>
Schema Component Representation
<xs:complexType name="highlightingType">
<xs:attribute name="id" type="xs:positiveInteger" use="required"/>
<xs:attribute name="start" type="xs:date" use="required"/>
<xs:attribute name="duration" type="xs:positiveInteger" use="required"/>
</xs:complexType>
top

### Complex Type: imageListType

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

Name | imageListType
Abstract | no
Documentation | Képek listájának megadására szolgáló típus This type contains a list of images

XML Instance Representation
<...>
<image> imageType </image> [1..*]
</...>
Schema Component Representation
<xs:complexType name="imageListType">
<xs:sequence>
<xs:element name="image" type="imageType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: imageType

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

Name | imageType
Abstract | no
Documentation | Egy kép adatainak megadására szolgáló típus This type contains the details of an image

XML Instance Representation
<...
foreignId="nonEmptyToken [0..1] ?"
href="urlType [1] ?"/>
Schema Component Representation
<xs:complexType name="imageType">
<xs:attribute name="foreignId" type="nonEmptyToken"/>
<xs:attribute name="href" type="urlType" use="required"/>
</xs:complexType>
top

### Complex Type: importType

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

Name | importType
Abstract | no
Documentation | Az import xml gyökér eleme. The root node of the import xml.

XML Instance Representation
<...>
<officeList> officeListType
<!--
Key Constraint - office-id
Selector - r:office
Field(s) - @ingatlanbazarId
-->
</officeList> [1]
</...>
Schema Component Representation
<xs:complexType name="importType">
<xs:sequence>
<xs:element name="officeList" type="officeListType">
<xs:key name="office-id">
<xs:selector xpath="r:office"/>
<xs:field xpath="@ingatlanbazarId"/>
</xs:key>
</xs:element>
</xs:sequence>
</xs:complexType>
top

### Complex Type: intvalType

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

Name | intvalType
Abstract | no
Documentation | Típus pozitív egész szám átadására A type to provide a positive integer

XML Instance Representation
<...
intval="xs:positiveInteger [1]"/>
Schema Component Representation
<xs:complexType name="intvalType">
<xs:attribute name="intval" type="xs:positiveInteger" use="required"/>
</xs:complexType>
top

### Complex Type: notificationmailListType

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

Name | notificationmailListType
Abstract | no
Documentation | Értesítési email címek listája, ahova bármilyen technikai problémával fordulhatunk. The list of notification email addresses where we can send emails about technical problems.

XML Instance Representation
<...>
<notificationmailText> emailType </notificationmailText> [1..*]
</...>
Schema Component Representation
<xs:complexType name="notificationmailListType">
<xs:sequence>
<xs:element name="notificationmailText" type="emailType" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: officeInformationType

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

Name | officeInformationType
Abstract | no
Documentation | Az iroda elérhetőségei. The contact informations of one office.

XML Instance Representation
<...>
<notificationmailList> notificationmailListType </notificationmailList> [1]
</...>
Schema Component Representation
<xs:complexType name="officeInformationType">
<xs:sequence>
<xs:element name="notificationmailList" type="notificationmailListType"/>
</xs:sequence>
</xs:complexType>
top

### Complex Type: officeListType

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

Name | officeListType
Abstract | no
Documentation | Az importálandó irodák listája. The list of offices to be imported.

XML Instance Representation
<...>
<office> officeType
<!--
Key Reference Constraint - agent-foreign-id-ref
Selector - .//r:ad
Field(s) - @agentId
Refers to - agent-foreign-id
-->
</office> [1..*]
</...>
Schema Component Representation
<xs:complexType name="officeListType">
<xs:sequence>
<xs:element name="office" type="officeType" maxOccurs="unbounded">
<xs:keyref name="agent-foreign-id-ref" refer="agent-foreign-id">
<xs:selector xpath=".//r:ad"/>
<xs:field xpath="@agentId"/>
</xs:keyref>
</xs:element>
</xs:sequence>
</xs:complexType>
top

### Complex Type: officeType

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

Name | officeType
Abstract | no
Documentation | Az importálandó iroda adatai. The details of one office.

XML Instance Representation
<...
ingatlanbazarId="xs:positiveInteger [1] ?">
<information> officeInformationType </information> [1]
<agentList> agentListType
<!--
Key Constraint - agent-foreign-id
Selector - r:agent
Field(s) - @foreignId
-->
</agentList> [1]
<adList> adListType
<!--
Key Constraint - ad-foreign-id
Selector - r:ad
Field(s) - @foreignId
-->
</adList> [1]
</...>
Schema Component Representation
<xs:complexType name="officeType">
<xs:sequence>
<xs:element name="information" type="officeInformationType"/>
<xs:element name="agentList" type="agentListType">
<xs:key name="agent-foreign-id">
<xs:selector xpath="r:agent"/>
<xs:field xpath="@foreignId"/>
</xs:key>
</xs:element>
<xs:element name="adList" type="adListType">
<xs:key name="ad-foreign-id">
<xs:selector xpath="r:ad"/>
<xs:field xpath="@foreignId"/>
</xs:key>
</xs:element>
</xs:sequence>
<xs:attribute name="ingatlanbazarId" type="xs:positiveInteger" use="required"/>
</xs:complexType>
top

### Complex Type: payingperiodType

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

Name | payingperiodType
Abstract | no
Documentation | A fizetés rendszeressége The frequency of payments

XML Instance Representation
<...
option="xs:integer (value comes from list: {'1'|'2'}) [1]"/>
Schema Component Representation
<xs:complexType name="payingperiodType">
<xs:attribute name="option" use="required">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:enumeration value="1"/>
<xs:enumeration value="2"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
top

### Complex Type: regionType

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

Name | regionType
Abstract | no
Documentation | Megyei szintű elhelyezkedés Location; county level

XML Instance Representation
<...
option="regionOptionType [1]"/>
Schema Component Representation
<xs:complexType name="regionType">
<-- deprecated -->
<xs:attribute name="option" type="regionOptionType" use="required"/>
</xs:complexType>
top

### Complex Type: suburbType

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

Name | suburbType
Abstract | no
Documentation | Városrész szintű elhelyezkedés Location; suburb level

XML Instance Representation
<...
option="xs:positiveInteger [1]"/>
Schema Component Representation
<xs:complexType name="suburbType">
<-- deprecated -->
<xs:attribute name="option" type="xs:positiveInteger" use="required"/>
</xs:complexType>
top

### Complex Type: typeType

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

Name | typeType
Abstract | no
Documentation | Ingatlan típus Type of a property

XML Instance Representation
<...
option="typeOptionType [1]"/>
Schema Component Representation
<xs:complexType name="typeType">
<xs:attribute name="option" type="typeOptionType" use="required"/>
</xs:complexType>
top

### Simple Type: emailType

Super-types: | xs:token < emailType (by restriction)
Sub-types: | None

Name | emailType
Content | Base XSD Type: token pattern = [A-Za-z0-9_]+([-+.'][A-Za-z0-9_]+)*@[A-Za-z0-9_]+([-.][A-Za-z0-9_]+)*\.[A-Za-z0-9_]+([-.][A-Za-z0-9_]+)*
Documentation | Email cím megadására szolgáló típus This type contains an email address

Schema Component Representation
<xs:simpleType name="emailType">
<xs:restriction base="xs:token">
<xs:pattern value="[A-Za-z0-9_]+([-+.'][A-Za-z0-9_]+)*@[A-Za-z0-9_]+([-.][A-Za-z0-9_]+)*\.[A-Za-z0-9_]+([-.][A-Za-z0-9_]+)*"/>
</xs:restriction>
</xs:simpleType>
top

### Simple Type: geoLatType

Super-types: | xs:decimal < geoLatType (by restriction)
Sub-types: | None

Name | geoLatType
Content | Base XSD Type: decimal -90 <= value <= 90 total no. of digits = 8 no. of fraction digits = 6

Schema Component Representation
<xs:simpleType name="geoLatType">
<xs:restriction base="xs:decimal">
<xs:totalDigits value="8"/>
<xs:fractionDigits value="6"/>
<xs:minInclusive value="-90"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
top

### Simple Type: geoLonType

Super-types: | xs:decimal < geoLonType (by restriction)
Sub-types: | None

Name | geoLonType
Content | Base XSD Type: decimal -180 <= value <= 180 total no. of digits = 9 no. of fraction digits = 6

Schema Component Representation
<xs:simpleType name="geoLonType">
<xs:restriction base="xs:decimal">
<xs:totalDigits value="9"/>
<xs:fractionDigits value="6"/>
<xs:minInclusive value="-180"/>
<xs:maxInclusive value="180"/>
</xs:restriction>
</xs:simpleType>
top

### Simple Type: nonEmptyToken

Super-types: | xs:token < nonEmptyToken (by restriction)
Sub-types: | None

Name | nonEmptyToken
Content | Base XSD Type: token length >= 1
Documentation | Segédtípus; nem-üres szöveg Helper type; non-empty string

Schema Component Representation
<xs:simpleType name="nonEmptyToken">
<xs:restriction base="xs:token">
<xs:minLength value="1"/>
</xs:restriction>
</xs:simpleType>
top

### Simple Type: urlType

Super-types: | xs:anyURI < urlType (by restriction)
Sub-types: | None

Name | urlType
Content | Base XSD Type: anyURI pattern = https?://.+ Whitespace policy: collapse
Documentation | URL megadására szolgáló típus This type contains a URL

Schema Component Representation
<xs:simpleType name="urlType">
<xs:restriction base="xs:anyURI">
<xs:whiteSpace value="collapse"/>
<xs:pattern value="https?://.+"/>
</xs:restriction>
</xs: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.

- 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
<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