receiptExternal.xsd

Table of Contents

top

Schema Document Properties

Target Namespace http://schemas.altinn.no/services/Intermediary/Receipt/2009/10
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

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
xsd http://www.w3.org/2001/XMLSchema
tns http://schemas.altinn.no/services/Intermediary/Receipt/2009/10
Schema Component Representation
<xsd:schema elementFormDefault="qualified" targetNamespace="http://schemas.altinn.no/services/Intermediary/Receipt/2009/10">
<xsd:import namespace="http://schemas.altinn.no/services/Intermediary/Shipment/2009/10"/>
<xsd:import namespace="http://schemas.altinn.no/services/Intermediary/Shipment/2009/10" schemaLocation="http://ws.infotorg.no/xml/Brreg/eTinglysningLoesoere/2014-05-26/include/shipment.xsd"/>
...
</xsd:schema>
top

Global Declarations

Element: ReceiptExternal

Name ReceiptExternal
Type tns:ReceiptExternal
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptExternal>
<tns:LastChanged> xsd:dateTime </tns:LastChanged> [0..1]
<tns:ParentReceiptId> xsd:int </tns:ParentReceiptId> [0..1]
<tns:ReceiptHistory> xsd:string </tns:ReceiptHistory> [0..1]
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:ReceiptStatusCode> tns:ReceiptStatusEnum </tns:ReceiptStatusCode> [0..1]
<tns:ReceiptText> xsd:string </tns:ReceiptText> [0..1]
<tns:ReceiptTypeName> tns:ReceiptTypeEnum </tns:ReceiptTypeName> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
<tns:SubReceipts> tns:ReceiptExternalList </tns:SubReceipts> [0..1]
</tns:ReceiptExternal>
Schema Component Representation
<xsd:element name="ReceiptExternal" type="tns:ReceiptExternal" nillable="true"/>
top

Element: ReceiptExternalList

Name ReceiptExternalList
Type tns:ReceiptExternalList
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptExternalList>
<tns:ReceiptExternal> tns:ReceiptExternal </tns:ReceiptExternal> [0..*]
</tns:ReceiptExternalList>
Schema Component Representation
<xsd:element name="ReceiptExternalList" type="tns:ReceiptExternalList" nillable="true"/>
top

Element: ReceiptSaveExternal

Name ReceiptSaveExternal
Type tns:ReceiptSaveExternal
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptSaveExternal>
<tns:ArchiveReference> xsd:string </tns:ArchiveReference> [0..1]
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:ReceiptStatusCode> tns:ReceiptStatusEnum </tns:ReceiptStatusCode> [0..1]
<tns:ReceiptText> xsd:string </tns:ReceiptText> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
<tns:SubReceipts> tns:ReceiptSaveExternalList </tns:SubReceipts> [0..1]
</tns:ReceiptSaveExternal>
Schema Component Representation
<xsd:element name="ReceiptSaveExternal" type="tns:ReceiptSaveExternal" nillable="true"/>
top

Element: ReceiptSaveExternalList

Name ReceiptSaveExternalList
Type tns:ReceiptSaveExternalList
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptSaveExternalList>
<tns:ReceiptSaveExternal> tns:ReceiptSaveExternal </tns:ReceiptSaveExternal> [0..*]
</tns:ReceiptSaveExternalList>
Schema Component Representation
<xsd:element name="ReceiptSaveExternalList" type="tns:ReceiptSaveExternalList" nillable="true"/>
top

Element: ReceiptSearchExternal

Name ReceiptSearchExternal
Type tns:ReceiptSearchExternal
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptSearchExternal>
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
</tns:ReceiptSearchExternal>
Schema Component Representation
<xsd:element name="ReceiptSearchExternal" type="tns:ReceiptSearchExternal" nillable="true"/>
top

Element: ReceiptStatusEnum

Name ReceiptStatusEnum
Type tns:ReceiptStatusEnum
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptStatusEnum> tns:ReceiptStatusEnum </tns:ReceiptStatusEnum>
Schema Component Representation
<xsd:element name="ReceiptStatusEnum" type="tns:ReceiptStatusEnum" nillable="true"/>
top

Element: ReceiptTypeEnum

Name ReceiptTypeEnum
Type tns:ReceiptTypeEnum
Nillable yes
Abstract no
XML Instance Representation
<tns:ReceiptTypeEnum> tns:ReceiptTypeEnum </tns:ReceiptTypeEnum>
Schema Component Representation
<xsd:element name="ReceiptTypeEnum" type="tns:ReceiptTypeEnum" nillable="true"/>
top

Element: Reference

Name Reference
Type tns:Reference
Nillable yes
Abstract no
XML Instance Representation
<tns:Reference>
<tns:ReferenceTypeName> q7:ReferenceType </tns:ReferenceTypeName> [0..1]
<tns:ReferenceValue> xsd:string </tns:ReferenceValue> [0..1]
</tns:Reference>
Schema Component Representation
<xsd:element name="Reference" type="tns:Reference" nillable="true"/>
top

Element: ReferenceList

Name ReferenceList
Type tns:ReferenceList
Nillable yes
Abstract no
XML Instance Representation
<tns:ReferenceList>
<tns:Reference> tns:Reference </tns:Reference> [0..*]
</tns:ReferenceList>
Schema Component Representation
<xsd:element name="ReferenceList" type="tns:ReferenceList" nillable="true"/>
top

Global Definitions

Complex Type: ReceiptExternal

Super-types: None
Sub-types: None
Name ReceiptExternal
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a the data in a receipt that is generated by Altinn when it has recieved data from an external source. A reciept contains details about the data recieved and its steps through Altinn. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:LastChanged> xsd:dateTime </tns:LastChanged> [0..1]
<tns:ParentReceiptId> xsd:int </tns:ParentReceiptId> [0..1]
<tns:ReceiptHistory> xsd:string </tns:ReceiptHistory> [0..1]
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:ReceiptStatusCode> tns:ReceiptStatusEnum </tns:ReceiptStatusCode> [0..1]
<tns:ReceiptText> xsd:string </tns:ReceiptText> [0..1]
<tns:ReceiptTypeName> tns:ReceiptTypeEnum </tns:ReceiptTypeName> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
<tns:SubReceipts> tns:ReceiptExternalList </tns:SubReceipts> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="ReceiptExternal">
<xsd:sequence>
<xsd:element name="LastChanged" type="xsd:dateTime" minOccurs="0"/>
<xsd:element name="ParentReceiptId" type="xsd:int" minOccurs="0"/>
<xsd:element name="ReceiptHistory" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="ReceiptId" type="xsd:int" minOccurs="0"/>
<xsd:element name="ReceiptStatusCode" type="tns:ReceiptStatusEnum" minOccurs="0"/>
<xsd:element name="ReceiptText" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="ReceiptTypeName" type="tns:ReceiptTypeEnum" minOccurs="0"/>
<xsd:element name="References" type="tns:ReferenceList" minOccurs="0" nillable="true"/>
<xsd:element name="SubReceipts" type="tns:ReceiptExternalList" minOccurs="0" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ReceiptExternalList

Super-types: None
Sub-types: None
Name ReceiptExternalList
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a strongly typed list of ReceiptExternalBE elements that can be accessed by index. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:ReceiptExternal> tns:ReceiptExternal </tns:ReceiptExternal> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="ReceiptExternalList">
<xsd:sequence>
<xsd:element name="ReceiptExternal" type="tns:ReceiptExternal" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ReceiptSaveExternal

Super-types: None
Sub-types: None
Name ReceiptSaveExternal
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a receipt about to be stored or updated in a save operation. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:ArchiveReference> xsd:string </tns:ArchiveReference> [0..1]
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:ReceiptStatusCode> tns:ReceiptStatusEnum </tns:ReceiptStatusCode> [0..1]
<tns:ReceiptText> xsd:string </tns:ReceiptText> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
<tns:SubReceipts> tns:ReceiptSaveExternalList </tns:SubReceipts> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="ReceiptSaveExternal">
<xsd:sequence>
<xsd:element name="ArchiveReference" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="ReceiptId" type="xsd:int" minOccurs="0"/>
<xsd:element name="ReceiptStatusCode" type="tns:ReceiptStatusEnum" minOccurs="0"/>
<xsd:element name="ReceiptText" type="xsd:string" minOccurs="0" nillable="true"/>
<xsd:element name="References" type="tns:ReferenceList" minOccurs="0" nillable="true"/>
<xsd:element name="SubReceipts" type="tns:ReceiptSaveExternalList" minOccurs="0" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ReceiptSaveExternalList

Super-types: None
Sub-types: None
Name ReceiptSaveExternalList
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a strongly typed collection of ReceiptSaveExternal elements. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:ReceiptSaveExternal> tns:ReceiptSaveExternal </tns:ReceiptSaveExternal> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="ReceiptSaveExternalList">
<xsd:sequence>
<xsd:element name="ReceiptSaveExternal" type="tns:ReceiptSaveExternal" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ReceiptSearchExternal

Super-types: None
Sub-types: None
Name ReceiptSearchExternal
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a receipt search with filter data that helps identify a set of receipts. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:ReceiptId> xsd:int </tns:ReceiptId> [0..1]
<tns:References> tns:ReferenceList </tns:References> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="ReceiptSearchExternal">
<xsd:sequence>
<xsd:element name="ReceiptId" type="xsd:int" minOccurs="0"/>
<xsd:element name="References" type="tns:ReferenceList" minOccurs="0" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: Reference

Super-types: None
Sub-types: None
Name Reference
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a reference that holds a unique value of a specified type and meaning. References usually holds additional data related to other elements like Receipts. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:ReferenceTypeName> q7:ReferenceType </tns:ReferenceTypeName> [0..1]
<tns:ReferenceValue> xsd:string </tns:ReferenceValue> [0..1]
</...>
Schema Component Representation
<xsd:complexType name="Reference">
<xsd:sequence>
<xsd:element name="ReferenceTypeName" type="q7:ReferenceType" minOccurs="0"/>
<xsd:element name="ReferenceValue" type="xsd:string" minOccurs="0" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Complex Type: ReferenceList

Super-types: None
Sub-types: None
Name ReferenceList
Abstract no
Application Data <Surrogate z:Id="1" i:type="d1p1:Annotation">
<d1p1:Text z:Id="2">
<summary> Represents a strongly typed collection of Reference elements. </summary>
</d1p1:Text>
</Surrogate>
XML Instance Representation
<...>
<tns:Reference> tns:Reference </tns:Reference> [0..*]
</...>
Schema Component Representation
<xsd:complexType name="ReferenceList">
<xsd:sequence>
<xsd:element name="Reference" type="tns:Reference" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</xsd:sequence>
</xsd:complexType>
top

Simple Type: ReceiptStatusEnum

Super-types: xsd:string < ReceiptStatusEnum (by restriction)
Sub-types: None
Name ReceiptStatusEnum
Content
  • Base XSD Type: string
  • value comes from list: {'NotSet'|'OK'|'UnExpectedError'|'ValidationFailed'|'Rejected'}
Application Data <Surrogate z:Id="1" i:type="d1p1:EnumAnnotation">
<d1p1:EnumText z:Id="2">
<summary> Specifies different statuses on a reciept. The status is a response to the action the caller tried to perform. </summary>
</d1p1:EnumText>
<d1p1:Members z:Id="3" z:Size="5">
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="4">
NotSet
</d2p1:Key>
<d2p1:Value z:Id="5">
<summary> Specifies that the reciept status is unknown. </summary> <remarks> This type should not be used. It is an error condition if status is of this type. </remarks>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="6">
OK
</d2p1:Key>
<d2p1:Value z:Id="7">
<summary> Specifies that the request was processed without any error. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="8">
UnExpectedError
</d2p1:Key>
<d2p1:Value z:Id="9">
<summary> Specifies that there was an unexpected error during processing of a request. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="10">
ValidationFailed
</d2p1:Key>
<d2p1:Value z:Id="11">
<summary> Specifies that the data in a request failed validation. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="12">
Rejected
</d2p1:Key>
<d2p1:Value z:Id="13">
<summary> Specifies that the request was rejected. Usually because of known error conditions. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d1p1:Members>
</Surrogate>
Schema Component Representation
<xsd:simpleType name="ReceiptStatusEnum">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NotSet"/>
<xsd:enumeration value="OK"/>
<xsd:enumeration value="UnExpectedError"/>
<xsd:enumeration value="ValidationFailed"/>
<xsd:enumeration value="Rejected"/>
</xsd:restriction>
</xsd:simpleType>
top

Simple Type: ReceiptTypeEnum

Super-types: xsd:string < ReceiptTypeEnum (by restriction)
Sub-types: None
Name ReceiptTypeEnum
Content
  • Base XSD Type: string
  • value comes from list: {'NotSet'|'FormTask'|'Correspondence'|'PINCODE'|'Subscription'|'Outbound'|'PreFill'|'RegisterDLS'|'RegisterDSF'|'RegisterER'|'RegisterDSFProperty'|'RegisterDSFStreet'|'RegisterDSFCountry'|'RegisterDSFUser'|'LookUp'|'RegisterDSFStreetAdd'|'RegisterDSFPropertyAdd'}
Application Data <Surrogate z:Id="1" i:type="d1p1:EnumAnnotation">
<d1p1:EnumText z:Id="2">
<summary> Defines receipt types. </summary>
</d1p1:EnumText>
<d1p1:Members z:Id="3" z:Size="17">
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="4">
NotSet
</d2p1:Key>
<d2p1:Value z:Id="5">
<summary> SHOULD NOT BE USED (For Enum error handling). </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="6">
FormTask
</d2p1:Key>
<d2p1:Value z:Id="7">
<summary> Specifies that the receipt is for a form task. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="8">
Correspondence
</d2p1:Key>
<d2p1:Value z:Id="9">
<summary> Specifies that the receipt is for correspondence. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="10">
PINCODE
</d2p1:Key>
<d2p1:Value z:Id="11">
<summary> Specifies that the receipt is for pin code. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="12">
Subscription
</d2p1:Key>
<d2p1:Value z:Id="13">
<summary> Specifies that the receipt is for a subscription shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="14">
Outbound
</d2p1:Key>
<d2p1:Value z:Id="15">
<summary> Specifies that the receipt is for an outbound shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="16">
PreFill
</d2p1:Key>
<d2p1:Value z:Id="17">
<summary> Specifies that the receipt is for a prefill shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="18">
RegisterDLS
</d2p1:Key>
<d2p1:Value z:Id="19">
<summary> Specifies that the receipt is for a register DLS (DeltarkerLiknet Selskap) shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="20">
RegisterDSF
</d2p1:Key>
<d2p1:Value z:Id="21">
<summary> Specifies that the receipt is for a register DSF (Det Sentrale Folkeregister) shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="22">
RegisterER
</d2p1:Key>
<d2p1:Value z:Id="23">
<summary> Specifies that the receipt is for a register ER (EnhetsRegister) shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="24">
RegisterDSFProperty
</d2p1:Key>
<d2p1:Value z:Id="25">
<summary> Specifies that the receipt is for a register DFS (Det Sentrale Folkeregister) property shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="26">
RegisterDSFStreet
</d2p1:Key>
<d2p1:Value z:Id="27">
<summary> Specifies that the receipt is for a register DFS (Det Sentrale Folkeregister) street shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="28">
RegisterDSFCountry
</d2p1:Key>
<d2p1:Value z:Id="29">
<summary> Specifies that the receipt is for a register DSF (Det Sentrale Folkeregister) country shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="30">
RegisterDSFUser
</d2p1:Key>
<d2p1:Value z:Id="31">
<summary> Specifies that the receipt is for a register DSF (Det Sentrale Folkeregister) user shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="32">
LookUp
</d2p1:Key>
<d2p1:Value z:Id="33">
<summary> Specifies that the receipt is for a lookup shipment. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="34">
RegisterDSFStreetAdd
</d2p1:Key>
<d2p1:Value z:Id="35">
<summary> Specifies that the receipt is for a register DSF (Det Sentrale Folkeregister) street address batch. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
<d2p1:KeyValueOfstringstring>
<d2p1:Key z:Id="36">
RegisterDSFPropertyAdd
</d2p1:Key>
<d2p1:Value z:Id="37">
<summary> Specifies that the receipt is for a register DSF (Det Sentrale Folkeregister) property address batch. </summary>
</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</d1p1:Members>
</Surrogate>
Schema Component Representation
<xsd:simpleType name="ReceiptTypeEnum">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NotSet"/>
<xsd:enumeration value="FormTask"/>
<xsd:enumeration value="Correspondence"/>
<xsd:enumeration value="PINCODE"/>
<xsd:enumeration value="Subscription"/>
<xsd:enumeration value="Outbound"/>
<xsd:enumeration value="PreFill"/>
<xsd:enumeration value="RegisterDLS"/>
<xsd:enumeration value="RegisterDSF"/>
<xsd:enumeration value="RegisterER"/>
<xsd:enumeration value="RegisterDSFProperty"/>
<xsd:enumeration value="RegisterDSFStreet"/>
<xsd:enumeration value="RegisterDSFCountry"/>
<xsd:enumeration value="RegisterDSFUser"/>
<xsd:enumeration value="LookUp"/>
<xsd:enumeration value="RegisterDSFStreetAdd"/>
<xsd:enumeration value="RegisterDSFPropertyAdd"/>
</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]
Choice #1
<city> string </city> [1]
Choice #2
<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