Richtlinien fuer Lohndatentransmitter
Lohnstandard-CH (ELM) / SalaryDeclaration
Eine Gemeinschaftsarbeit der / En cooperation avec / In collaborazione con eAHV, SUVA, SSK/Stv-BE, BFS und SVV.
Technical Schemadocumentation (TechDoc)
Filename: SalaryDeclarationServiceTypesTechDoc_de.html
Status: final
Schema: SalaryDeclarationServiceTypes.xsd
Namespace: http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationServiceTypes
Schemaversion: 20200220 / 0.0 ( major / minor )
Generated with an adaption of xs3p (http://titanium.dstc.edu.au/xml/xs3p/)
Ausgabe / Edition 30.04.2020 17:32


Table of Contents

top

Schema Document Properties

Target Namespace http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationServiceTypes
Version 0.0
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 imports schema(s) from the following namespace(s):
    • http://www.swissdec.ch/schema/common/20200220/Common (at Common.xsd)
    • http://www.swissdec.ch/schema/sd/20200220/SalaryDeclaration (at SalaryDeclaration.xsd)
    • http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationContainer (at SalaryDeclarationContainer.xsd)

Declared Namespaces

Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
sdst http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationServiceTypes
xs http://www.w3.org/2001/XMLSchema
sd http://www.swissdec.ch/schema/sd/20200220/SalaryDeclaration
sdc http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationContainer
c http://www.swissdec.ch/schema/common/20200220/Common
Schema Component Representation
<xs:schema targetNamespace="http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationServiceTypes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="0.0">
<xs:import namespace="http://www.swissdec.ch/schema/common/20200220/Common" schemaLocation="Common.xsd"/>
<xs:import namespace="http://www.swissdec.ch/schema/sd/20200220/SalaryDeclaration" schemaLocation="SalaryDeclaration.xsd"/>
<xs:import namespace="http://www.swissdec.ch/schema/sd/20200220/SalaryDeclarationContainer" schemaLocation="SalaryDeclarationContainer.xsd"/>
...
</xs:schema>
top

Global Declarations

Element: CheckInteroperability

Name CheckInteroperability
Type c:CheckInteroperabilityType
Nillable no
Abstract no
XML Instance Representation
<sdst:CheckInteroperability> c:CheckInteroperabilityType </sdst:CheckInteroperability>
Schema Component Representation
<xs:element name="CheckInteroperability" type=" c:CheckInteroperabilityType "/>
top

Element: CheckInteroperabilityResponse

Name CheckInteroperabilityResponse
Type c:CheckInteroperabilityResponseType
Nillable no
Abstract no
XML Instance Representation
<sdst:CheckInteroperabilityResponse> c:CheckInteroperabilityResponseType </sdst:CheckInteroperabilityResponse>
Schema Component Representation
<xs:element name="CheckInteroperabilityResponse" type=" c:CheckInteroperabilityResponseType "/>
top

Element: DeclareMonthTotal

Name DeclareMonthTotal
Type sdc:MonthTotalDeclarationRequestType
Nillable no
Abstract no
Documentation Translation (de):
Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung



XML Instance Representation
<sdst:DeclareMonthTotal> sdc:MonthTotalDeclarationRequestType
<!--
Uniqueness Constraint - AHV-AVS-ID-Key2
Selector - sdc:MonthTotalDeclaration/sd:Company/sd:Institutions/sd:AHV-AVS
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - AHV-AVS-ID-Ref2
Selector - sdc:JobMonthTotal/sdc:Addressees/sdc:AHV-AVS
Field(s) - @institutionIDRef
Refers to - sdst:AHV-AVS-ID-Key2
-->
<!--
Uniqueness Constraint - FAK-CAF-ID-Key2
Selector - sdc:MonthTotalDeclaration/sd:Company/sd:Institutions/sd:FAK-CAF
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - FAK-CAF-ID-Ref2
Selector - sdc:JobMonthTotal/sdc:Addressees/sdc:FAK-CAF
Field(s) - @institutionIDRef
Refers to - sdst:FAK-CAF-ID-Key2
-->
</sdst:DeclareMonthTotal>
Schema Component Representation
<xs:element name="DeclareMonthTotal" type=" sdc:MonthTotalDeclarationRequestType ">
<-- check Job references; attention: element name="DeclareMonthTotal" in SalaryDeclarationConsumerContainer.xsd -->
<xs:unique name="AHV-AVS-ID-Key2">
<xs:selector xpath="sdc:MonthTotalDeclaration/sd:Company/sd:Institutions/sd:AHV-AVS"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="AHV-AVS-ID-Ref2" refer=" sdst:AHV-AVS-ID-Key2 ">
<xs:selector xpath="sdc:JobMonthTotal/sdc:Addressees/sdc:AHV-AVS"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="FAK-CAF-ID-Key2">
<xs:selector xpath="sdc:MonthTotalDeclaration/sd:Company/sd:Institutions/sd:FAK-CAF"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="FAK-CAF-ID-Ref2" refer=" sdst:FAK-CAF-ID-Key2 ">
<xs:selector xpath="sdc:JobMonthTotal/sdc:Addressees/sdc:FAK-CAF"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
</xs:element>
top

Element: DeclareMonthTotalResponse

Name DeclareMonthTotalResponse
Type sdc:DeclareSalaryResponseType
Nillable no
Abstract no
Documentation Translation (de):
Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung Antwort



XML Instance Representation
<sdst:DeclareMonthTotalResponse> sdc:DeclareSalaryResponseType </sdst:DeclareMonthTotalResponse>
Schema Component Representation
<xs:element name="DeclareMonthTotalResponse" type=" sdc:DeclareSalaryResponseType "/>
top

Element: DeclareSalary

Name DeclareSalary
Type sdc:SalaryDeclarationRequestType
Nillable no
Abstract no
Documentation Translation (de):
Lohnmeldung ('ELM-Struktur') asynchron



XML Instance Representation
<sdst:DeclareSalary> sdc:SalaryDeclarationRequestType
<!--
Uniqueness Constraint - AHV-AVS-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:AHV-AVS
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - AHV-AVS-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:AHV-AVS
Field(s) - @institutionIDRef
Refers to - sdst:AHV-AVS-ID-Key1
-->
<!--
Uniqueness Constraint - FAK-CAF-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:FAK-CAF
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - FAK-CAF-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:FAK-CAF
Field(s) - @institutionIDRef
Refers to - sdst:FAK-CAF-ID-Key1
-->
<!--
Uniqueness Constraint - UVG-LAA-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:UVG-LAA
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - UVG-LAA-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:UVG-LAA
Field(s) - @institutionIDRef
Refers to - sdst:UVG-LAA-ID-Key1
-->
<!--
Uniqueness Constraint - UVGZ-LAAC-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:UVGZ-LAAC
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - UVGZ-LAAC-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:UVGZ-LAAC
Field(s) - @institutionIDRef
Refers to - sdst:UVGZ-LAAC-ID-Key1
-->
<!--
Uniqueness Constraint - KTG-AMC-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:KTG-AMC
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - KTG-AMC-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:KTG-AMC
Field(s) - @institutionIDRef
Refers to - sdst:KTG-AMC-ID-Key1
-->
<!--
Uniqueness Constraint - BVG-LPP-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:BVG-LPP
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - BVG-LPP-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:BVG-LPP
Field(s) - @institutionIDRef
Refers to - sdst:BVG-LPP-ID-Key1
-->
<!--
Uniqueness Constraint - TaxAtSource-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:TaxAtSource
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - TaxAtSource-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:TaxAtSource
Field(s) - @institutionIDRef
Refers to - sdst:TaxAtSource-ID-Key1
-->
<!--
Uniqueness Constraint - TaxCrossborder-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:TaxCrossborder
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - TaxCrossborder-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:TaxCrossborder
Field(s) - @institutionIDRef
Refers to - sdst:TaxCrossborder-Key1
-->
<!--
Uniqueness Constraint - Statistic-ID-Key1
Selector - sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:Statistic
Field(s) - @institutionID
-->
<!--
Key Reference Constraint - Statistic-ID-Ref1
Selector - sdc:Job/sdc:Addressees/sdc:Statistic
Field(s) - @institutionIDRef
Refers to - sdst:Statistic-ID-Key1
-->
</sdst:DeclareSalary>
Schema Component Representation
<xs:element name="DeclareSalary" type=" sdc:SalaryDeclarationRequestType ">
<-- check Job references; attention: element name="DeclareSalary" in SalaryDeclarationConsumerContainer.xsd -->
<xs:unique name="AHV-AVS-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:AHV-AVS"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="AHV-AVS-ID-Ref1" refer=" sdst:AHV-AVS-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:AHV-AVS"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="FAK-CAF-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:FAK-CAF"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="FAK-CAF-ID-Ref1" refer=" sdst:FAK-CAF-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:FAK-CAF"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="UVG-LAA-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:UVG-LAA"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="UVG-LAA-ID-Ref1" refer=" sdst:UVG-LAA-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:UVG-LAA"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="UVGZ-LAAC-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:UVGZ-LAAC"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="UVGZ-LAAC-ID-Ref1" refer=" sdst:UVGZ-LAAC-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:UVGZ-LAAC"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="KTG-AMC-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:KTG-AMC"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="KTG-AMC-ID-Ref1" refer=" sdst:KTG-AMC-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:KTG-AMC"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="BVG-LPP-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:BVG-LPP"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="BVG-LPP-ID-Ref1" refer=" sdst:BVG-LPP-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:BVG-LPP"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="TaxAtSource-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:TaxAtSource"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="TaxAtSource-ID-Ref1" refer=" sdst:TaxAtSource-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:TaxAtSource"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="TaxCrossborder-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:TaxCrossborder"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="TaxCrossborder-Ref1" refer=" sdst:TaxCrossborder-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:TaxCrossborder"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
<xs:unique name="Statistic-ID-Key1">
<xs:selector xpath="sdc:SalaryDeclaration/sd:Company/sd:Institutions/sd:Statistic"/>
<xs:field xpath="@institutionID"/>
</xs:unique>
<xs:keyref name="Statistic-ID-Ref1" refer=" sdst:Statistic-ID-Key1 ">
<xs:selector xpath="sdc:Job/sdc:Addressees/sdc:Statistic"/>
<xs:field xpath="@institutionIDRef"/>
</xs:keyref>
</xs:element>
top

Element: DeclareSalaryResponse

Name DeclareSalaryResponse
Type sdc:DeclareSalaryResponseType
Nillable no
Abstract no
Documentation Translation (de):
JobKey zur Quittung Lohnmeldung



XML Instance Representation
<sdst:DeclareSalaryResponse> sdc:DeclareSalaryResponseType </sdst:DeclareSalaryResponse>
Schema Component Representation
<xs:element name="DeclareSalaryResponse" type=" sdc:DeclareSalaryResponseType "/>
top

Element: GetDialog

Name GetDialog
Type sdc:GetResultFromDeclareSalaryType
Nillable no
Abstract no
Documentation Translation (de):
Dialog Message abrufen



XML Instance Representation
<sdst:GetDialog> sdc:GetResultFromDeclareSalaryType </sdst:GetDialog>
Schema Component Representation
<xs:element name="GetDialog" type=" sdc:GetResultFromDeclareSalaryType "/>
top

Element: GetDialogResponse

Name GetDialogResponse
Type sdc:GetDialogResponseType
Nillable no
Abstract no
Documentation Translation (de):
Dialog Message zum Beantworten



XML Instance Representation
<sdst:GetDialogResponse> sdc:GetDialogResponseType </sdst:GetDialogResponse>
Schema Component Representation
<xs:element name="GetDialogResponse" type=" sdc:GetDialogResponseType "/>
top

Element: GetResultFromDeclareMonthTotal

Name GetResultFromDeclareMonthTotal
Type sdc:GetResultFromDeclareMonthTotalType
Nillable no
Abstract no
Documentation Translation (de):
Resultat Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung



XML Instance Representation
<sdst:GetResultFromDeclareMonthTotal> sdc:GetResultFromDeclareMonthTotalType </sdst:GetResultFromDeclareMonthTotal>
Schema Component Representation
<xs:element name="GetResultFromDeclareMonthTotal" type=" sdc:GetResultFromDeclareMonthTotalType "/>
top

Element: GetResultFromDeclareMonthTotalResponse

Name GetResultFromDeclareMonthTotalResponse
Type sdc:GetResultFromDeclareMonthTotalResponseType
Nillable no
Abstract no
Documentation Translation (de):
Resultat Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung



XML Instance Representation
<sdst:GetResultFromDeclareMonthTotalResponse> sdc:GetResultFromDeclareMonthTotalResponseType </sdst:GetResultFromDeclareMonthTotalResponse>
Schema Component Representation
<xs:element name="GetResultFromDeclareMonthTotalResponse" type=" sdc:GetResultFromDeclareMonthTotalResponseType "/>
top

Element: GetResultFromDeclareSalary

Name GetResultFromDeclareSalary
Type sdc:GetResultFromDeclareSalaryType
Nillable no
Abstract no
Documentation Translation (de):
Credentials zum Abrufen der Personen mit ihren Beiträge



XML Instance Representation
<sdst:GetResultFromDeclareSalary> sdc:GetResultFromDeclareSalaryType </sdst:GetResultFromDeclareSalary>
Schema Component Representation
<xs:element name="GetResultFromDeclareSalary" type=" sdc:GetResultFromDeclareSalaryType "/>
top

Element: GetResultFromDeclareSalaryResponse

Name GetResultFromDeclareSalaryResponse
Type sdc:GetResultFromDeclareSalaryResponseType
Nillable no
Abstract no
Documentation Translation (de):
Resultat der Verarbeitung



XML Instance Representation
<sdst:GetResultFromDeclareSalaryResponse> sdc:GetResultFromDeclareSalaryResponseType </sdst:GetResultFromDeclareSalaryResponse>
Schema Component Representation
<xs:element name="GetResultFromDeclareSalaryResponse" type=" sdc:GetResultFromDeclareSalaryResponseType "/>
top

Element: GetStatusFromDeclareMonthTotal

Name GetStatusFromDeclareMonthTotal
Type sdc:GetStatusFromDeclareSalaryType
Nillable no
Abstract no
Documentation Translation (de):
Status Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung



XML Instance Representation
<sdst:GetStatusFromDeclareMonthTotal> sdc:GetStatusFromDeclareSalaryType </sdst:GetStatusFromDeclareMonthTotal>
Schema Component Representation
<xs:element name="GetStatusFromDeclareMonthTotal" type=" sdc:GetStatusFromDeclareSalaryType "/>
top

Element: GetStatusFromDeclareMonthTotalResponse

Name GetStatusFromDeclareMonthTotalResponse
Type sdc:GetStatusFromDeclareMonthTotalResponseType
Nillable no
Abstract no
Documentation Translation (de):
Status Monatliche AHV/FAK-Lohnsummenmeldung für effektive Abrechnung





Quittung Lohnmeldung
XML Instance Representation
<sdst:GetStatusFromDeclareMonthTotalResponse> sdc:GetStatusFromDeclareMonthTotalResponseType </sdst:GetStatusFromDeclareMonthTotalResponse>
Schema Component Representation
<xs:element name="GetStatusFromDeclareMonthTotalResponse" type=" sdc:GetStatusFromDeclareMonthTotalResponseType "/>
top

Element: GetStatusFromDeclareSalary

Name GetStatusFromDeclareSalary
Type sdc:GetStatusFromDeclareSalaryType
Nillable no
Abstract no
Documentation Translation (de):
JobKey zur Quittung Lohnmeldung



XML Instance Representation
<sdst:GetStatusFromDeclareSalary> sdc:GetStatusFromDeclareSalaryType </sdst:GetStatusFromDeclareSalary>
Schema Component Representation
<xs:element name="GetStatusFromDeclareSalary" type=" sdc:GetStatusFromDeclareSalaryType "/>
top

Element: GetStatusFromDeclareSalaryResponse

Name GetStatusFromDeclareSalaryResponse
Type sdc:SalaryDeclarationStatusResponseType
Nillable no
Abstract no
Documentation Translation (de):
Status zur Lohnmeldung





Quittung Lohnmeldung
XML Instance Representation
<sdst:GetStatusFromDeclareSalaryResponse> sdc:SalaryDeclarationStatusResponseType </sdst:GetStatusFromDeclareSalaryResponse>
Schema Component Representation
<xs:element name="GetStatusFromDeclareSalaryResponse" type=" sdc:SalaryDeclarationStatusResponseType "/>
top

Element: Ping

Name Ping
Type c:PingType
Nillable no
Abstract no
XML Instance Representation
<sdst:Ping> c:PingType </sdst:Ping>
Schema Component Representation
<xs:element name="Ping" type=" c:PingType "/>
top

Element: PingResponse

Name PingResponse
Type c:PingResponseType
Nillable no
Abstract no
XML Instance Representation
<sdst:PingResponse> c:PingResponseType </sdst:PingResponse>
Schema Component Representation
<xs:element name="PingResponse" type=" c:PingResponseType "/>
top

Element: ReplyDialog

Name ReplyDialog
Type sdc:ReplyDialogType
Nillable no
Abstract no
Documentation Translation (de):
Dialog Message einreichen



XML Instance Representation
<sdst:ReplyDialog> sdc:ReplyDialogType </sdst:ReplyDialog>
Schema Component Representation
<xs:element name="ReplyDialog" type=" sdc:ReplyDialogType "/>
top

Element: ReplyDialogResponse

Name ReplyDialogResponse
Type sdc:GetDialogResponseType
Nillable no
Abstract no
Documentation Translation (de):
Antwort und optinal neue Dialog Message zum Beantworten



XML Instance Representation
<sdst:ReplyDialogResponse> sdc:GetDialogResponseType </sdst:ReplyDialogResponse>
Schema Component Representation
<xs:element name="ReplyDialogResponse" type=" sdc:GetDialogResponseType "/>
top

Element: SalaryDeclarationFault

Name SalaryDeclarationFault
Type sdc:SalaryDeclarationFaultType
Nillable no
Abstract no
Documentation Translation (de):
SalaryDeclarationFault



XML Instance Representation
<sdst:SalaryDeclarationFault> sdc:SalaryDeclarationFaultType </sdst:SalaryDeclarationFault>
Schema Component Representation
<xs:element name="SalaryDeclarationFault" type=" sdc:SalaryDeclarationFaultType "/>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Parent type: Address (derivation method: extension)
Direct 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