XML Schema Documentation

Schema Document Properties

Target Namespace None
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.
Prefix Namespace
xml http://www.w3.org/XML/1998/namespace
vc http://www.w3.org/2007/XMLSchema-versioning
xs http://www.w3.org/2001/XMLSchema
<xs:schema elementFormDefault="qualified" minVersion="1.1">
...
</xs:schema>

Global Declarations

Element: ActiveManufacturer

Name ActiveManufacturer
Type xs:string
Nillable no
Abstract no
<ActiveManufacturer> xs:string </ActiveManufacturer>
<xs:element name="ActiveManufacturer" type="xs:string"/>

Element: ActiveName

Name ActiveName
Type xs:string
Nillable no
Abstract no
<ActiveName> xs:string </ActiveName>
<xs:element name="ActiveName" type="xs:string"/>

Element: ActiveOperatingFrequency

Name ActiveOperatingFrequency
Type Hertz
Nillable no
Abstract no
<ActiveOperatingFrequency> Hertz </ActiveOperatingFrequency>
<xs:element name="ActiveOperatingFrequency" type="Hertz"/>

Element: ActiveSonar

Name ActiveSonar
Type Locally-defined complex type
Nillable no
Abstract no
<ActiveSonar>
Start All [1]
<ActiveName> ... </ActiveName> [1] <ActiveManufacturer> ... </ActiveManufacturer> [1] <ActiveOperatingFrequency> ... </ActiveOperatingFrequency> [1] <SourceLevel> ... </SourceLevel> [1] <Beamwidth> ... </Beamwidth> [1] <PulseLength> ... </PulseLength> [1] <MaxRange> ... </MaxRange> [1] End All
</ActiveSonar>
<xs:element name="ActiveSonar">
   <xs:complexType>
      <xs:all>
         <xs:element ref="ActiveName"/>
         <xs:element ref="ActiveManufacturer"/>
         <xs:element ref="ActiveOperatingFrequency"/>
         <xs:element ref="SourceLevel"/>
         <xs:element ref="Beamwidth"/>
         <xs:element ref="PulseLength"/>
         <xs:element ref="MaxRange"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: ArrayGain

Name ArrayGain
Type Decibels
Nillable no
Abstract no
<ArrayGain> Decibels </ArrayGain>
<xs:element name="ArrayGain" type="Decibels"/>

Element: Band

Name Band
Type Locally-defined complex type
Nillable no
Abstract no
<Band>
Start All [1]
<BandIndex> ... </BandIndex> [1] <CentreFrequency> ... </CentreFrequency> [1] <Directional> ... </Directional> [1] End All
</Band>
<xs:element name="Band">
   <xs:complexType>
      <xs:all>
         <xs:element ref="BandIndex"/>
         <xs:element ref="CentreFrequency"/>
         <xs:element ref="Directional"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: BandIndex

Name BandIndex
Type xs:positiveInteger
Nillable no
Abstract no
<BandIndex> xs:positiveInteger </BandIndex>
<xs:element name="BandIndex" type="xs:positiveInteger"/>

Element: Beamwidth

Name Beamwidth
Type Degrees
Nillable no
Abstract no
<Beamwidth> Degrees </Beamwidth>
<xs:element name="Beamwidth" type="Degrees"/>

Element: BearingAccuracy

Name BearingAccuracy
Type Degrees
Nillable no
Abstract no
<BearingAccuracy> Degrees </BearingAccuracy>
<xs:element name="BearingAccuracy" type="Degrees"/>

Element: CentreFrequency

Name CentreFrequency
Type Hertz
Nillable no
Abstract no
<CentreFrequency> Hertz </CentreFrequency>
<xs:element name="CentreFrequency" type="Hertz"/>

Element: Characteristics

Name Characteristics
Type Locally-defined complex type
Nillable no
Abstract no
<Characteristics>
Start All [1]
<Draft> ... </Draft> [1] <Length> ... </Length> [1] <Weight> ... </Weight> [1] <YearIntroduced> ... </YearIntroduced> [1] End All
</Characteristics>
<xs:element name="Characteristics">
   <xs:complexType>
      <xs:all>
         <xs:element ref="Draft"/>
         <xs:element ref="Length"/>
         <xs:element ref="Weight"/>
         <xs:element ref="YearIntroduced"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: DetectionThreshold

Name DetectionThreshold
Type Decibels
Nillable no
Abstract no
<DetectionThreshold> Decibels </DetectionThreshold>
<xs:element name="DetectionThreshold" type="Decibels"/>

Element: Directional

Name Directional
Type Locally-defined complex type
Nillable no
Abstract no
<Directional>
Start All [1]
<Sector> ... </Sector> [1..*] End All
</Directional>
<xs:element name="Directional">
   <xs:complexType>
      <xs:all>
         <xs:element ref="Sector" maxOccurs="unbounded"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: Draft

Name Draft
Type Metres
Nillable no
Abstract no
<xs:element name="Draft" type="Metres"/>

Element: GeneratedUtc

Name GeneratedUtc
Type xs:dateTime
Nillable no
Abstract no
<GeneratedUtc> xs:dateTime </GeneratedUtc>
<xs:element name="GeneratedUtc" type="xs:dateTime"/>

Element: Length

Name Length
Type Metres
Nillable no
Abstract no
<Length> Metres </Length>
<xs:element name="Length" type="Metres"/>

Element: MaxRange

Name MaxRange
Type Metres
Nillable no
Abstract no
<MaxRange> Metres </MaxRange>
<xs:element name="MaxRange" type="Metres"/>

Element: PassiveManufacturer

Name PassiveManufacturer
Type xs:string
Nillable no
Abstract no
<PassiveManufacturer> xs:string </PassiveManufacturer>
<xs:element name="PassiveManufacturer" type="xs:string"/>

Element: PassiveName

Name PassiveName
Type xs:string
Nillable no
Abstract no
<PassiveName> xs:string </PassiveName>
<xs:element name="PassiveName" type="xs:string"/>

Element: PassiveOperatingFrequency

Name PassiveOperatingFrequency
Type Hertz
Nillable no
Abstract no
<PassiveOperatingFrequency> Hertz </PassiveOperatingFrequency>
<xs:element name="PassiveOperatingFrequency" type="Hertz"/>

Element: PassiveSonar

Name PassiveSonar
Type Locally-defined complex type
Nillable no
Abstract no
<xs:element name="PassiveSonar">
   <xs:complexType>
      <xs:all>
         <xs:element ref="PassiveName"/>
         <xs:element ref="PassiveManufacturer"/>
         <xs:element ref="PassiveOperatingFrequency"/>
         <xs:element ref="ArrayGain"/>
         <xs:element ref="DetectionThreshold"/>
         <xs:element ref="BearingAccuracy"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: Platform

Name Platform
Type Locally-defined complex type
Nillable no
Abstract no
<Platform>
Start All [1]
<SchemaVersion> ... </SchemaVersion> [1] <PlatformName> ... </PlatformName> [1] <GeneratedUtc> ... </GeneratedUtc> [1] <Characteristics> ... </Characteristics> [1] <RadiatedNoise> ... </RadiatedNoise> [1] <Sensors> ... </Sensors> [1] End All
</Platform>
<xs:element name="Platform">
   <xs:complexType>
      <xs:all>
         <xs:element ref="SchemaVersion"/>
         <xs:element ref="PlatformName"/>
         <xs:element ref="GeneratedUtc"/>
         <xs:element ref="Characteristics"/>
         <xs:element ref="RadiatedNoise"/>
         <xs:element ref="Sensors"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: PlatformName

Name PlatformName
Type xs:string
Nillable no
Abstract no
<PlatformName> xs:string </PlatformName>
<xs:element name="PlatformName" type="xs:string"/>

Element: PulseLength

Name PulseLength
Type Seconds
Nillable no
Abstract no
<PulseLength> Seconds </PulseLength>
<xs:element name="PulseLength" type="Seconds"/>

Element: Quality

Name Quality
Type SignatureQuality
Nillable no
Abstract no
<xs:element name="Quality" type="SignatureQuality"/>

Element: RadiatedNoise

Name RadiatedNoise
Type Locally-defined complex type
Nillable no
Abstract no
<RadiatedNoise>
Start All [1]
<Quality> ... </Quality> [0..1] <Band> ... </Band> [1..*] End All
</RadiatedNoise>
<xs:element name="RadiatedNoise">
   <xs:complexType>
      <xs:all>
         <xs:element ref="Quality" minOccurs="0"/>
         <xs:element ref="Band" maxOccurs="unbounded"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: SchemaVersion

Name SchemaVersion
Type xs:string
Nillable no
Abstract no
<SchemaVersion> xs:string </SchemaVersion>
<xs:element name="SchemaVersion" type="xs:string"/>

Element: Sector

Name Sector
Type SectorType
Nillable no
Abstract no
No documentation provided.
<Sector>
Start All [1]
<SectorBearing> ... </SectorBearing> [1] <SectorLevel> ... </SectorLevel> [1] End All
</Sector>
<xs:element name="Sector" type="SectorType"/>

Element: SectorBearing

Name SectorBearing
Type Bearing
Nillable no
Abstract no
<SectorBearing> Bearing </SectorBearing>
<xs:element name="SectorBearing" type="Bearing"/>

Element: SectorLevel

Name SectorLevel
Type Decibels
Nillable no
Abstract no
<SectorLevel> Decibels </SectorLevel>
<xs:element name="SectorLevel" type="Decibels"/>

Element: Sensors

Name Sensors
Type Locally-defined complex type
Nillable no
Abstract no
<Sensors>
Start All [1]
<ActiveSonar> ... </ActiveSonar> [1] <PassiveSonar> ... </PassiveSonar> [1..*] End All
</Sensors>
<xs:element name="Sensors">
   <xs:complexType>
      <xs:all>
         <xs:element ref="ActiveSonar"/>
         <xs:element ref="PassiveSonar" maxOccurs="unbounded"/>
      </xs:all>
   </xs:complexType>
</xs:element>

Element: SourceLevel

Name SourceLevel
Type Decibels
Nillable no
Abstract no
<SourceLevel> Decibels </SourceLevel>
<xs:element name="SourceLevel" type="Decibels"/>

Element: Weight

Name Weight
Type Tonnes
Nillable no
Abstract no
<Weight> Tonnes </Weight>
<xs:element name="Weight" type="Tonnes"/>

Element: YearIntroduced

Name YearIntroduced
Type Year
Nillable no
Abstract no
<YearIntroduced> Year </YearIntroduced>
<xs:element name="YearIntroduced" type="Year"/>

Global Definitions

Complex Type: SectorType

Super-types: None
Sub-types: None
Name SectorType
Abstract no
<...>
Start All [1]
<SectorBearing> ... </SectorBearing> [1] <SectorLevel> ... </SectorLevel> [1] End All
</...>
<xs:complexType name="SectorType">
   <xs:all>
      <xs:element ref="SectorBearing"/>
      <xs:element ref="SectorLevel"/>
   </xs:all>
</xs:complexType>

Simple Type: Bearing

Super-types: xs:decimal < Bearing (by restriction)
Sub-types: None
Name Bearing
Content
  • Base XSD Type: decimal
  • 0 <= value < 360
<xs:simpleType name="Bearing">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
      <xs:maxExclusive value="360"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Decibels

Super-types: xs:decimal < Decibels (by restriction)
Sub-types: None
Name Decibels
Content
  • Base XSD Type: decimal
  • -200 <= value <= 300
<xs:simpleType name="Decibels">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="-200"/>
      <xs:maxInclusive value="300"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Degrees

Super-types: xs:decimal < Degrees (by restriction)
Sub-types: None
Name Degrees
Content
  • Base XSD Type: decimal
  • 0 <= value <= 360
<xs:simpleType name="Degrees">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
      <xs:maxInclusive value="360"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Hertz

Super-types: xs:decimal < Hertz (by restriction)
Sub-types: None
Name Hertz
Content
  • Base XSD Type: decimal
  • value >= 0
<xs:simpleType name="Hertz">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Metres

Super-types: xs:decimal < Metres (by restriction)
Sub-types: None
Name Metres
Content
  • Base XSD Type: decimal
  • value >= 0
<xs:simpleType name="Metres">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Seconds

Super-types: xs:decimal < Seconds (by restriction)
Sub-types: None
Name Seconds
Content
  • Base XSD Type: decimal
  • value >= 0
<xs:simpleType name="Seconds">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: SignatureQuality

Super-types: xs:string < SignatureQuality (by restriction)
Sub-types: None
Name SignatureQuality
Content
  • Base XSD Type: string
  • value comes from list: {'measured'|'modelled'|'estimated'}
<xs:simpleType name="SignatureQuality">
   <xs:restriction base="xs:string">
      <xs:enumeration value="measured"/>
      <xs:enumeration value="modelled"/>
      <xs:enumeration value="estimated"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Tonnes

Super-types: xs:decimal < Tonnes (by restriction)
Sub-types: None
Name Tonnes
Content
  • Base XSD Type: decimal
  • value >= 0
<xs:simpleType name="Tonnes">
   <xs:restriction base="xs:decimal">
      <xs:minInclusive value="0"/>
   </xs:restriction>
</xs:simpleType>

Simple Type: Year

Super-types: xs:integer < Year (by restriction)
Sub-types: None
Name Year
Content
  • Base XSD Type: integer
  • 1900 <= value <= 2100
<xs:simpleType name="Year">
   <xs:restriction base="xs:integer">
      <xs:minInclusive value="1900"/>
      <xs:maxInclusive value="2100"/>
   </xs:restriction>
</xs:simpleType>

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.