Table of Contents
Target Namespace
http://xmlns.krupczak.org/xsd/xmptypes-2.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 belong to this schema's target namespace.
Documentation
XML Schema for common types we use in XMP, XMP SMI,
and MIB schemas. Version $Id$
Fri Oct 26 13:41:16 EDT 2012
Declared Namespaces
Prefix
Namespace
xml
http://www.w3.org/XML/1998/namespace
smi
http://xmlns.krupczak.org/xsd/xmptypes-2.0
xsi
http://www.w3.org/2001/XMLSchema-instance
xs
http://www.w3.org/2001/XMLSchema
Schema Component Representation
<
xs:schema targetNamespace ="
http://xmlns.krupczak.org/xsd/xmptypes-2.0 "
elementFormDefault ="
qualified "
attributeFormDefault ="
qualified ">
...
</
xs:schema >
Name
xmpMIB
Type
Locally-defined complex type
Nillable
no
Abstract
no
Documentation
Top-level element for an XMP MIB spec. A MIB is a sequence of
description info and then one or MIB objects. MIB objects can
be scalar or tabular.
XML Instance Representation
<
smi :xmpMIB>
<
smi :mibName>
xs :string </
smi :mibName>
[1] <
smi :mibOrganization>
xs :string </
smi :mibOrganization>
[1] <
smi :mibDescription>
xs :string </
smi :mibDescription>
[1] <
smi :mibContactInfo>
xs :string </
smi :mibContactInfo>
[1] Start Choice [1..*] End Choice </
smi :xmpMIB>
Schema Component Representation
<
xs:element name ="
xmpMIB ">
<
xs:complexType >
<
xs:sequence >
<
xs:element name ="
mibName "
type ="
xs :string"/>
<
xs:element name ="
mibOrganization "
type ="
xs :string"/>
<
xs:element name ="
mibDescription "
type ="
xs :string"/>
<
xs:element name ="
mibContactInfo "
type ="
xs :string"/>
<
xs:choice minOccurs ="
1 "
maxOccurs ="
unbounded ">
</
xs:choice >
</
xs:sequence >
</
xs:complexType >
</
xs:element >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
smi :objectName>
xs :string </
smi :objectName>
[1] <
smi :objectDescription>
xs :string </
smi :objectDescription>
[1] </...>
Schema Component Representation
<
xs:complexType name ="
mibObjectType ">
<
xs:sequence >
<
xs:element name ="
objectName "
type ="
xs :string"/>
<
xs:element name ="
objectDescription "
type ="
xs :string"/>
</
xs:sequence >
</
xs:complexType >
Super-types:
None
Sub-types:
None
XML Instance Representation
<...>
<
smi :tableName>
xs :string </
smi :tableName>
[1] <
smi :tableDescription>
xs :string </
smi :tableDescription>
[1] <
smi :tableKey>
xs :string </
smi :tableKey>
[1] Start Choice [1..*] End Choice </...>
Schema Component Representation
<
xs:complexType name ="
tableObjectType ">
<
xs:sequence >
<
xs:element name ="
tableName "
type ="
xs :string"/>
<
xs:element name ="
tableDescription "
type ="
xs :string"/>
<
xs:element name ="
tableKey "
type ="
xs :string"/>
<
xs:choice minOccurs ="
1 "
maxOccurs ="
unbounded ">
</
xs:choice >
</
xs:sequence >
</
xs:complexType >
Super-types:
xs :hexBinary < binaryString (by restriction)
Sub-types:
None
Name
binaryString
Content
Schema Component Representation
<
xs:simpleType name ="
binaryString ">
<
xs:restriction base ="
xs :hexBinary"/>
</
xs:simpleType >
Simple Type: bool
Super-types:
boolean < boolean (by restriction) < bool (by restriction)
Sub-types:
None
Schema Component Representation
<
xs:simpleType name ="
bool ">
<
xs:restriction base ="
xs :boolean"/>
</
xs:simpleType >
Super-types:
boolean < boolean (by restriction)
Sub-types:
Schema Component Representation
<
xs:simpleType name ="
boolean ">
<
xs:restriction base ="
xs :boolean"/>
</
xs:simpleType >
Super-types:
xs :long < integer (by restriction) < coreModuleType (by restriction)
Sub-types:
None
Name
coreModuleType
Content
value comes from list: {'1'|'2'|'3'|'4'|'5'}
Schema Component Representation
<
xs:simpleType name ="
coreModuleType ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
<xs:enumeration value ="3 "/>
<xs:enumeration value ="4 "/>
<xs:enumeration value ="5 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :unsignedLong < counter (by restriction)
Sub-types:
None
Name
counter
Content
Base XSD Type: unsignedLong
Schema Component Representation
<
xs:simpleType name ="
counter ">
<
xs:restriction base ="
xs :unsignedLong"/>
</
xs:simpleType >
Super-types:
xs :string < dateTime (by restriction)
Sub-types:
None
Schema Component Representation
<
xs:simpleType name ="
dateTime ">
<
xs:restriction base ="
xs :string">
<xs:maxLength value ="28 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < dependencyReferenceStringType (by restriction)
Sub-types:
None
Name
dependencyReferenceStringType
Content
value comes from list: {'dependOutbound'|'dependInbound'|'dependTransit'|'0'|'1'|'2'}
Schema Component Representation
<
xs:simpleType name ="
dependencyReferenceStringType ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="dependOutbound "/>
<xs:enumeration value ="dependInbound "/>
<xs:enumeration value ="dependTransit "/>
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :long < integer (by restriction) < dependencyReferenceType (by restriction)
Sub-types:
None
Name
dependencyReferenceType
Content
value comes from list: {'0'|'1'|'2'}
Schema Component Representation
<
xs:simpleType name ="
dependencyReferenceType ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="0 "/>
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :long < integer (by restriction) < dependencySrcType (by restriction)
Sub-types:
None
Name
dependencySrcType
Content
value comes from list: {'1'|'2'|'3'|'4'|'5'}
Schema Component Representation
<
xs:simpleType name ="
dependencySrcType ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
<xs:enumeration value ="3 "/>
<xs:enumeration value ="4 "/>
<xs:enumeration value ="5 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < dependencyStringType (by restriction)
Sub-types:
None
Name
dependencyStringType
Content
value comes from list: {'dependOther'|'dependFilesys'|'dependDNS'|'dependNTP'|'dependEmail'|'dependDir'|'dependRadius'|'dependPrinter'|'dependX11'|'dependLogin'|'dependWeb'|'dependNNTP'|'dependDHCP'|'dependDB'|'dependRouter'|'dependFTP'|'dependStreaming'|'dependNetBIOS'|'dependCitrix'|'dependLotus'|'dependNetware'|'dependMQseries'|'dependP2P'|'dependMiddleware'|'dependRCS'|'dependRPC'|'dependSIP'|'dependVNC'|'dependIAX'|'dependVPN'|'dependVM'}
Schema Component Representation
<
xs:simpleType name ="
dependencyStringType ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="dependOther "/>
<xs:enumeration value ="dependFilesys "/>
<xs:enumeration value ="dependDNS "/>
<xs:enumeration value ="dependNTP "/>
<xs:enumeration value ="dependEmail "/>
<xs:enumeration value ="dependDir "/>
<xs:enumeration value ="dependRadius "/>
<xs:enumeration value ="dependPrinter "/>
<xs:enumeration value ="dependX11 "/>
<xs:enumeration value ="dependLogin "/>
<xs:enumeration value ="dependWeb "/>
<xs:enumeration value ="dependNNTP "/>
<xs:enumeration value ="dependDHCP "/>
<xs:enumeration value ="dependDB "/>
<xs:enumeration value ="dependRouter "/>
<xs:enumeration value ="dependFTP "/>
<xs:enumeration value ="dependStreaming "/>
<xs:enumeration value ="dependNetBIOS "/>
<xs:enumeration value ="dependCitrix "/>
<xs:enumeration value ="dependLotus "/>
<xs:enumeration value ="dependNetware "/>
<xs:enumeration value ="dependMQseries "/>
<xs:enumeration value ="dependP2P "/>
<xs:enumeration value ="dependMiddleware "/>
<xs:enumeration value ="dependRCS "/>
<xs:enumeration value ="dependRPC "/>
<xs:enumeration value ="dependSIP "/>
<xs:enumeration value ="dependVNC "/>
<xs:enumeration value ="dependIAX "/>
<xs:enumeration value ="dependVPN "/>
<xs:enumeration value ="dependVM "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :long < integer (by restriction) < dependencyTypeType (by restriction)
Sub-types:
None
Name
dependencyTypeType
Content
value comes from list: {'1'|'2'|'3'|'4'|'5'|'6'|'7'|'8'|'9'|'10'|'11'|'12'|'13'|'14'|'15'|'16'|'17'|'18'|'19'|'20'|'21'|'22'|'23'|'24'|'25'|'26'|'27'|'28'|'29'|'30'|'31'}
Schema Component Representation
<
xs:simpleType name ="
dependencyTypeType ">
<
xs:restriction base ="
xs :integer">
<xs:enumeration value ="1 "/>
<xs:enumeration value ="2 "/>
<xs:enumeration value ="3 "/>
<xs:enumeration value ="4 "/>
<xs:enumeration value ="5 "/>
<xs:enumeration value ="6 "/>
<xs:enumeration value ="7 "/>
<xs:enumeration value ="8 "/>
<xs:enumeration value ="9 "/>
<xs:enumeration value ="10 "/>
<xs:enumeration value ="11 "/>
<xs:enumeration value ="12 "/>
<xs:enumeration value ="13 "/>
<xs:enumeration value ="14 "/>
<xs:enumeration value ="15 "/>
<xs:enumeration value ="16 "/>
<xs:enumeration value ="17 "/>
<xs:enumeration value ="18 "/>
<xs:enumeration value ="19 "/>
<xs:enumeration value ="20 "/>
<xs:enumeration value ="21 "/>
<xs:enumeration value ="22 "/>
<xs:enumeration value ="23 "/>
<xs:enumeration value ="24 "/>
<xs:enumeration value ="25 "/>
<xs:enumeration value ="26 "/>
<xs:enumeration value ="27 "/>
<xs:enumeration value ="28 "/>
<xs:enumeration value ="29 "/>
<xs:enumeration value ="30 "/>
<xs:enumeration value ="31 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < displayString (by restriction)
Sub-types:
None
Name
displayString
Content
Schema Component Representation
<
xs:simpleType name ="
displayString ">
<
xs:restriction base ="
xs :string"/>
</
xs:simpleType >
Super-types:
xs :string < errorStatus (by restriction)
Sub-types:
None
Name
errorStatus
Content
value comes from list: {'noError'|'noErrorMoreData'|'tooBig'|'noSuchName'|'badValue'|'readOnly'|'genError'|'noAccess'|'notTabular'|'wrongType'|'wrongLength'|'wrongEncoding'|'wrongValue'|'noCreation'|'inconsistentValue'|'resourceUnavailable'|'commitFailed'|'undoFailed'|'authorizationError'|'notWritable'|'inconsistentName'|'parseError'}
Schema Component Representation
<
xs:simpleType name ="
errorStatus ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="noError "/>
<xs:enumeration value ="noErrorMoreData "/>
<xs:enumeration value ="tooBig "/>
<xs:enumeration value ="noSuchName "/>
<xs:enumeration value ="badValue "/>
<xs:enumeration value ="readOnly "/>
<xs:enumeration value ="genError "/>
<xs:enumeration value ="noAccess "/>
<xs:enumeration value ="notTabular "/>
<xs:enumeration value ="wrongType "/>
<xs:enumeration value ="wrongLength "/>
<xs:enumeration value ="wrongEncoding "/>
<xs:enumeration value ="wrongValue "/>
<xs:enumeration value ="noCreation "/>
<xs:enumeration value ="inconsistentValue "/>
<xs:enumeration value ="resourceUnavailable "/>
<xs:enumeration value ="commitFailed "/>
<xs:enumeration value ="undoFailed "/>
<xs:enumeration value ="authorizationError "/>
<xs:enumeration value ="notWritable "/>
<xs:enumeration value ="inconsistentName "/>
<xs:enumeration value ="parseError "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < extendedBoolean (by restriction)
Sub-types:
None
Name
extendedBoolean
Content
value comes from list: {'true'|'1'|'false'|'0'|'unknown'|'-1'|'2'}
Schema Component Representation
<
xs:simpleType name ="
extendedBoolean ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="true "/>
<xs:enumeration value ="1 "/>
<xs:enumeration value ="false "/>
<xs:enumeration value ="0 "/>
<xs:enumeration value ="unknown "/>
<xs:enumeration value ="-1 "/>
<xs:enumeration value ="2 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :double < floatingPoint (by restriction)
Sub-types:
None
Name
floatingPoint
Content
Schema Component Representation
<
xs:simpleType name ="
floatingPoint ">
<
xs:restriction base ="
xs :double"/>
</
xs:simpleType >
Simple Type: gauge
Super-types:
xs :unsignedLong < gauge (by restriction)
Sub-types:
None
Name
gauge
Content
Base XSD Type: unsignedLong
Schema Component Representation
<
xs:simpleType name ="
gauge ">
<
xs:restriction base ="
xs :unsignedLong"/>
</
xs:simpleType >
Super-types:
xs :long < integer (by restriction)
Sub-types:
Schema Component Representation
<
xs:simpleType name ="
integer ">
<
xs:restriction base ="
xs :long"/>
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
ipAddress
Content
Union of following types:
Schema Component Representation
<
xs:simpleType name ="
ipAddress ">
</
xs:simpleType >
Super-types:
xs :string < ipV4Address (by restriction)
Sub-types:
None
Name
ipV4Address
Content
pattern = ((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])
Schema Component Representation
<
xs:simpleType name ="
ipV4Address ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9]) "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < ipV6Address (by restriction)
Sub-types:
None
Name
ipV6Address
Content
pattern = [0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]
Schema Component Representation
<
xs:simpleType name ="
ipV6Address ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F][0-9|a-f|A-F] "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < macAddress (by restriction)
Sub-types:
None
Name
macAddress
Content
pattern = [0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]
Schema Component Representation
<
xs:simpleType name ="
macAddress ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F] "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < nullSyntax (by restriction)
Sub-types:
None
Schema Component Representation
<
xs:simpleType name ="
nullSyntax ">
<
xs:restriction base ="
xs :string">
<xs:length value ="0 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < physAddress (by restriction)
Sub-types:
None
Name
physAddress
Content
pattern = [0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]
Schema Component Representation
<
xs:simpleType name ="
physAddress ">
<
xs:restriction base ="
xs :string">
<xs:pattern value ="[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F]:[0-9|a-f|A-F][0-9|a-f|A-F] "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < scalarOperations (by restriction)
Sub-types:
None
Name
scalarOperations
Content
value comes from list: {'get'|'set'}
Schema Component Representation
<
xs:simpleType name ="
scalarOperations ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="get "/>
<xs:enumeration value ="set "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
scalarOperationsList
Content
Schema Component Representation
<
xs:simpleType name ="
scalarOperationsList ">
</
xs:simpleType >
Super-types:
xs :string < tableOperations (by restriction)
Sub-types:
None
Name
tableOperations
Content
value comes from list: {'select'|'insert'|'update'|'delete'}
Schema Component Representation
<
xs:simpleType name ="
tableOperations ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="select "/>
<xs:enumeration value ="insert "/>
<xs:enumeration value ="update "/>
<xs:enumeration value ="delete "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
None
Sub-types:
None
Name
tableOperationsList
Content
Schema Component Representation
<
xs:simpleType name ="
tableOperationsList ">
</
xs:simpleType >
Super-types:
xs :unsignedLong < unsignedInteger (by restriction)
Sub-types:
None
Name
unsignedInteger
Content
Base XSD Type: unsignedLong
Schema Component Representation
<
xs:simpleType name ="
unsignedInteger ">
<
xs:restriction base ="
xs :unsignedLong"/>
</
xs:simpleType >
Super-types:
xs :string < unsupportedVariable (by restriction)
Sub-types:
None
Name
unsupportedVariable
Content
Schema Component Representation
<
xs:simpleType name ="
unsupportedVariable ">
<
xs:restriction base ="
xs :string">
<xs:length value ="0 "/>
</
xs:restriction >
</
xs:simpleType >
Super-types:
xs :string < xmpSyntax (by restriction)
Sub-types:
None
Name
xmpSyntax
Content
value comes from list: {'counter'|'ipAddress'|'ipV4Address'|'ipV6Address'|'dateTime'|'gauge'|'integer'|'unsignedInteger'|'bool'|'boolean'|'macAddress'|'physAddress'|'displayString'|'binaryString'|'nullSyntax'|'table'|'floatingPoint'|'unsupportedVariable'|'extendedBoolean'|'coreModuleType'|'dependencySrcType'|'dependencyTypeType'|'dependencyReferenceType'}
Schema Component Representation
<
xs:simpleType name ="
xmpSyntax ">
<
xs:restriction base ="
xs :string">
<xs:enumeration value ="counter "/>
<xs:enumeration value ="ipAddress "/>
<xs:enumeration value ="ipV4Address "/>
<xs:enumeration value ="ipV6Address "/>
<xs:enumeration value ="dateTime "/>
<xs:enumeration value ="gauge "/>
<xs:enumeration value ="integer "/>
<xs:enumeration value ="unsignedInteger "/>
<xs:enumeration value ="bool "/>
<xs:enumeration value ="boolean "/>
<xs:enumeration value ="macAddress "/>
<xs:enumeration value ="physAddress "/>
<xs:enumeration value ="displayString "/>
<xs:enumeration value ="binaryString "/>
<xs:enumeration value ="nullSyntax "/>
<xs:enumeration value ="table "/>
<xs:enumeration value ="floatingPoint "/>
<xs:enumeration value ="unsupportedVariable "/>
<xs:enumeration value ="extendedBoolean "/>
<xs:enumeration value ="coreModuleType "/>
<xs:enumeration value ="dependencySrcType "/>
<xs:enumeration value ="dependencyTypeType "/>
<xs:enumeration value ="dependencyReferenceType "/>
</
xs:restriction >
</
xs:simpleType >
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.
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia " >
<unitNo> string </unitNo> [0..1] <houseNo> string </houseNo> [1] <street> string </street> [1] Start Choice [1] <city> string </city> [1] <town> string </town> [1] End Choice <state> AusStates </state> [1] <postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1] ? </...>
The XML Instance Representation table above shows the schema component's content as an XML instance.
The minimum and maximum occurrence of elements and attributes are provided in square brackets, e.g. [0..1].
Model group information are shown in gray, e.g. Start Choice ... End Choice.
For type derivations, the elements and attributes that have been added to or changed from the base type's content are shown in bold .
If an element/attribute has a fixed value, the fixed value is shown in green, e.g. country="Australia".
Otherwise, the type of the element/attribute is displayed.
If the element/attribute's type is in the schema, a link is provided to it. For local simple type definitions, the constraints are displayed in angle brackets, e.g. <<pattern = [1-9][0-9]{3}>>.
If a local element/attribute has documentation, it will be displayed in a window that pops up when the question mark inside the attribute or next to the element is clicked, e.g. <postcode>.
Schema Component Representation
<complexType name ="AusAddress ">
<complexContent >
<extension base ="Address ">
<sequence >
<element name ="state " type ="AusStates "/>
<element name ="postcode ">
<simpleType >
<restriction base ="string ">
<pattern value ="[1-9][0-9]{3} "/>
</restriction >
</simpleType >
</element >
</sequence >
<attribute name ="country " type ="string " fixed ="Australia "/>
</extension >
</complexContent >
</complexType >
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
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 .