XML Schema Documentation

Table of Contents

top

Schema Document Properties

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

Global Declarations

Element: xmpMIB

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]
<smi:mibLastUpdate> smi:dateTime </smi:mibLastUpdate> [1]
Start Choice [1..*]
<smi:mibObject> smi:mibObjectType </smi:mibObject> [1]
<smi:tableObject> smi:tableObjectType </smi:tableObject> [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:element name="mibLastUpdate" type="smi:dateTime"/>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="mibObject" type="smi:mibObjectType"/>
<xs:element name="tableObject" type="smi:tableObjectType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
top

Global Definitions

Complex Type: mibObjectType

Super-types: None
Sub-types: None
Name mibObjectType
Abstract no
XML Instance Representation
<...>
<smi:objectName> xs:string </smi:objectName> [1]
<smi:objectSyntax> smi:xmpSyntax </smi:objectSyntax> [1]
<smi:objectDescription> xs:string </smi:objectDescription> [1]
<smi:objectAccess> smi:scalarOperationsList </smi:objectAccess> [1]
</...>
Schema Component Representation
<xs:complexType name="mibObjectType">
<xs:sequence>
<xs:element name="objectName" type="xs:string"/>
<xs:element name="objectSyntax" type="smi:xmpSyntax"/>
<xs:element name="objectDescription" type="xs:string"/>
<xs:element name="objectAccess" type="smi:scalarOperationsList"/>
</xs:sequence>
</xs:complexType>
top

Complex Type: tableObjectType

Super-types: None
Sub-types: None
Name tableObjectType
Abstract no
XML Instance Representation
<...>
<smi:tableName> xs:string </smi:tableName> [1]
<smi:tableDescription> xs:string </smi:tableDescription> [1]
<smi:tableOps> smi:tableOperationsList </smi:tableOps> [1]
<smi:tableKey> xs:string </smi:tableKey> [1]
Start Choice [1..*]
<smi:columnObject> smi:mibObjectType </smi:columnObject> [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="tableOps" type="smi:tableOperationsList"/>
<xs:element name="tableKey" type="xs:string"/>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="columnObject" type="smi:mibObjectType"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
top

Simple Type: binaryString

Super-types: xs:hexBinary < binaryString (by restriction)
Sub-types: None
Name binaryString
Content
  • Base XSD Type: hexBinary
Schema Component Representation
<xs:simpleType name="binaryString">
<xs:restriction base="xs:hexBinary"/>
</xs:simpleType>
top

Simple Type: bool

Super-types: boolean < boolean (by restriction) < bool (by restriction)
Sub-types: None
Name bool
Content
  • Base XSD Type: boolean
Schema Component Representation
<xs:simpleType name="bool">
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
top

Simple Type: boolean

Super-types: boolean < boolean (by restriction)
Sub-types:
Name boolean
Content
  • Base XSD Type: boolean
Schema Component Representation
<xs:simpleType name="boolean">
<xs:restriction base="xs:boolean"/>
</xs:simpleType>
top

Simple Type: coreModuleType

Super-types: xs:long < integer (by restriction) < coreModuleType (by restriction)
Sub-types: None
Name coreModuleType
Content
  • Base XSD Type: integer
  • 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"/>
<-- agentModule -->
<xs:enumeration value="2"/>
<-- pluginModule -->
<xs:enumeration value="3"/>
<-- libModule -->
<xs:enumeration value="4"/>
<-- dataModule -->
<xs:enumeration value="5"/>
<-- binModule -->
</xs:restriction>
</xs:simpleType>
top

Simple Type: counter

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

Simple Type: dateTime

Super-types: xs:string < dateTime (by restriction)
Sub-types: None
Name dateTime
Content
  • Base XSD Type: string
  • length <= 28
Schema Component Representation
<xs:simpleType name="dateTime">
<xs:restriction base="xs:string">
<xs:maxLength value="28"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: dependencyReferenceStringType

Super-types: xs:string < dependencyReferenceStringType (by restriction)
Sub-types: None
Name dependencyReferenceStringType
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: dependencyReferenceType

Super-types: xs:long < integer (by restriction) < dependencyReferenceType (by restriction)
Sub-types: None
Name dependencyReferenceType
Content
  • Base XSD Type: integer
  • value comes from list: {'0'|'1'|'2'}
Schema Component Representation
<xs:simpleType name="dependencyReferenceType">
<xs:restriction base="xs:integer">
<xs:enumeration value="0"/>
<-- outbound -->
<xs:enumeration value="1"/>
<-- inbound -->
<xs:enumeration value="2"/>
<-- transit; system is neither client nor server-->
</xs:restriction>
</xs:simpleType>
top

Simple Type: dependencySrcType

Super-types: xs:long < integer (by restriction) < dependencySrcType (by restriction)
Sub-types: None
Name dependencySrcType
Content
  • Base XSD Type: integer
  • 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"/>
<-- unknown -->
<xs:enumeration value="2"/>
<-- via os/app configuration -->
<xs:enumeration value="3"/>
<-- dynamic -->
<xs:enumeration value="4"/>
<-- static, hardcoded -->
<xs:enumeration value="5"/>
<-- logfile scanning -->
</xs:restriction>
</xs:simpleType>
top

Simple Type: dependencyStringType

Super-types: xs:string < dependencyStringType (by restriction)
Sub-types: None
Name dependencyStringType
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: dependencyTypeType

Super-types: xs:long < integer (by restriction) < dependencyTypeType (by restriction)
Sub-types: None
Name dependencyTypeType
Content
  • Base XSD Type: integer
  • 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"/>
<-- other -->
<xs:enumeration value="2"/>
<-- Remote filesys -->
<xs:enumeration value="3"/>
<-- DNS -->
<xs:enumeration value="4"/>
<-- NTP -->
<xs:enumeration value="5"/>
<-- SMTP, IMAP, POP, email-->
<xs:enumeration value="6"/>
<-- Directory services-->
<xs:enumeration value="7"/>
<-- Radius -->
<xs:enumeration value="8"/>
<-- printer -->
<xs:enumeration value="9"/>
<-- X11 and other remote desktop -->
<xs:enumeration value="10"/>
<-- Login, telnet, rlogin, ssh -->
<xs:enumeration value="11"/>
<-- Web, proxy, etc.-->
<xs:enumeration value="12"/>
<-- NNTP -->
<xs:enumeration value="13"/>
<-- DHCP -->
<xs:enumeration value="14"/>
<-- Database (Oracle, SQLserver, MySQL -->
<xs:enumeration value="15"/>
<-- Routing -->
<xs:enumeration value="16"/>
<-- FTP -->
<xs:enumeration value="17"/>
<-- Streaming audio/video -->
<xs:enumeration value="18"/>
<-- NetBIOS -->
<xs:enumeration value="19"/>
<-- Citrix and/or TerminalServer -->
<xs:enumeration value="20"/>
<-- Lotus Notes -->
<xs:enumeration value="21"/>
<-- NetWare client/servver -->
<xs:enumeration value="22"/>
<-- MQseries and message passing -->
<xs:enumeration value="23"/>
<-- P2P -->
<xs:enumeration value="24"/>
<-- middleware dependency -->
<xs:enumeration value="25"/>
<-- RCS, CVS, SVN, revision control -->
<xs:enumeration value="26"/>
<-- RPC -->
<xs:enumeration value="27"/>
<-- SIP -->
<xs:enumeration value="28"/>
<-- VNC -->
<xs:enumeration value="29"/>
<-- IAX -->
<xs:enumeration value="30"/>
<-- VPN -->
<xs:enumeration value="31"/>
<-- guest to host vm dependency -->
</xs:restriction>
</xs:simpleType>
top

Simple Type: displayString

Super-types: xs:string < displayString (by restriction)
Sub-types: None
Name displayString
Content
  • Base XSD Type: string
Schema Component Representation
<xs:simpleType name="displayString">
<xs:restriction base="xs:string"/>
</xs:simpleType>
top

Simple Type: errorStatus

Super-types: xs:string < errorStatus (by restriction)
Sub-types: None
Name errorStatus
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: extendedBoolean

Super-types: xs:string < extendedBoolean (by restriction)
Sub-types: None
Name extendedBoolean
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: floatingPoint

Super-types: xs:double < floatingPoint (by restriction)
Sub-types: None
Name floatingPoint
Content
  • Base XSD Type: double
Schema Component Representation
<xs:simpleType name="floatingPoint">
<xs:restriction base="xs:double"/>
</xs:simpleType>
top

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

Simple Type: integer

Super-types: xs:long < integer (by restriction)
Sub-types:
Name integer
Content
  • Base XSD Type: long
Schema Component Representation
<xs:simpleType name="integer">
<xs:restriction base="xs:long"/>
</xs:simpleType>
top

Simple Type: ipAddress

Super-types: None
Sub-types: None
Name ipAddress
Content
Schema Component Representation
<xs:simpleType name="ipAddress">
<xs:union memberTypes="smi:ipV4Address smi:ipV6Address"/>
</xs:simpleType>
top

Simple Type: ipV4Address

Super-types: xs:string < ipV4Address (by restriction)
Sub-types: None
Name ipV4Address
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: ipV6Address

Super-types: xs:string < ipV6Address (by restriction)
Sub-types: None
Name ipV6Address
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: macAddress

Super-types: xs:string < macAddress (by restriction)
Sub-types: None
Name macAddress
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: nullSyntax

Super-types: xs:string < nullSyntax (by restriction)
Sub-types: None
Name nullSyntax
Content
  • Base XSD Type: string
  • length = 0
Schema Component Representation
<xs:simpleType name="nullSyntax">
<xs:restriction base="xs:string">
<xs:length value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: physAddress

Super-types: xs:string < physAddress (by restriction)
Sub-types: None
Name physAddress
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: scalarOperations

Super-types: xs:string < scalarOperations (by restriction)
Sub-types: None
Name scalarOperations
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: scalarOperationsList

Super-types: None
Sub-types: None
Name scalarOperationsList
Content
Schema Component Representation
<xs:simpleType name="scalarOperationsList">
<xs:list itemType="smi:scalarOperations"/>
</xs:simpleType>
top

Simple Type: tableOperations

Super-types: xs:string < tableOperations (by restriction)
Sub-types: None
Name tableOperations
Content
  • Base XSD Type: string
  • 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>
top

Simple Type: tableOperationsList

Super-types: None
Sub-types: None
Name tableOperationsList
Content
Schema Component Representation
<xs:simpleType name="tableOperationsList">
<xs:list itemType="smi:tableOperations"/>
</xs:simpleType>
top

Simple Type: unsignedInteger

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

Simple Type: unsupportedVariable

Super-types: xs:string < unsupportedVariable (by restriction)
Sub-types: None
Name unsupportedVariable
Content
  • Base XSD Type: string
  • length = 0
Schema Component Representation
<xs:simpleType name="unsupportedVariable">
<xs:restriction base="xs:string">
<xs:length value="0"/>
</xs:restriction>
</xs:simpleType>
top

Simple Type: xmpSyntax

Super-types: xs:string < xmpSyntax (by restriction)
Sub-types: None
Name xmpSyntax
Content
  • Base XSD Type: string
  • 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>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types: Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
Name AusAddress
Abstract no
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<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