Committee Draft

CalConnect Standard

•
CC/CD 36811:2025
UnitsML XML schema specification
TC TC UNITS
Ronald TseAuthor Suleman UzairAuthor
Ribose Inc.
CalConnect Standard
Committee Draft

Warning for Drafts

This document is not a CalConnect Standard. It is distributed for review and comment, and is subject to change without notice and may not be referred to as a Standard. Recipients of this draft are invited to submit, with their comments, notification of any relevant patent rights of which they are aware and to provide supporting documentation.





Foreword

The Calendaring and Scheduling Consortium (“CalConnect”) is a global non-profit organization with the aim to facilitate interoperability of collaborative technologies and tools through open standards.

CalConnect works closely with international and regional partners, of which the full list is available on our website (https://www.calconnect.org/about/liaisons-and-relationships).

The procedures used to develop this document and those intended for its further maintenance are described in the CalConnect Directives.

In particular the different approval criteria needed for the different types of CalConnect documents should be noted. This document was drafted in accordance with the editorial rules of the CalConnect Directives.

Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. CalConnect shall not be held responsible for identifying any or all such patent rights. Details of any patent rights identified during the development of the document will be provided in the Introduction.

Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.

This document was prepared by Technical Committee TC UNITS.


Introduction

The UnitsML XML Schema defines the structure and content of the representation of UnitsML objects in XML.

It is defined as an XML Schema definition (XSD) for use in XML applications. The schema is intended to be used in conjunction with the UnitsML specification, which defines the semantics of the UnitsML vocabulary.

UnitsML XML schema specification

1.  Scope

This document describes the UnitsML XML Schema (UnitsML XSD), which is an XML Schema definition for the representation of UnitsML objects in XML.

2.  Normative references

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.

W3C xmlschema-1, XML Schema Part 1: Structures Second Edition. Report no. xmlschema-1. W3C technicalReport, no. xmlschema-1. World Wide Web Consortium, Available at: https://www.w3.org/TR/xmlschema-1/.

W3C xmlschema11-1, W3C XML Schema Definition Language (XSD) 1.1 Part 1: Structures. Report no. xmlschema11-1. W3C technicalReport, no. xmlschema11-1. World Wide Web Consortium, Available at: https://www.w3.org/TR/xmlschema11-1/.

W3C xmlschema11-2, W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes. Report no. xmlschema11-2. W3C technicalReport, no. xmlschema11-2. World Wide Web Consortium, Available at: https://www.w3.org/TR/xmlschema11-2/.

3.  Terms and definitions

For the purposes of this document, the following terms and definitions apply.

3.1. unit

standard quantity used to express a physical quantity

3.2. basic unit

unit not derived from other units

3.3. composite unit

unit derived from two or more basic units conjoined by multiplication or division

3.4. prefix

modifier to a unit with a fixed factor

3.5. quantity

type of measurement that is represented by a unit

EXAMPLE

distance, moment of force, temperature, energy.

3.6. dimension

basic physical quantity that can be expressed in terms of fundamental quantities

EXAMPLE

length, mass, time, plane angle.

3.7. unit name

name of a unit

3.8. unit symbol

abbreviated representation of a unit

3.9. unit reference

reference identifier to a unit in a database

3.10. unit dimensions

fundamental quantities to which the unit applies

4.  Conventions

4.1.  General

Elements and attributes defined in the UnitsML XML schema are described in following clauses.

Each element and attribute is described in a separate entry, with entries arranged in alphabetical order.

4.2.  Element

Each element entry contains the following information:

  • The XML Name (tag or generic identifier) of the element or attribute that is used in UnitsML XML files.

    EXAMPLE 1

    <Unit>

  • The informational name of the element or attribute.

    EXAMPLE 2

    Unit

  • A description of the element or attribute.

    EXAMPLE 3

    For the element <Unit>: “Specifies a unit of measurement.”

  • A list of all of the attributes that may be applied to the element, with first the attribute name and then the attribute’s informal expanded name. Attribute names are prefixed with an at sign (@).

  • The content model or type of the element’s content. If the element has a type, the type is given first, with a link to the type definition. If the element does not have a type, the content model is described in detail, supporting groups, sequences, choices, one of and any of.

    EXAMPLE 4

    string, integer, boolean, or a reference to a simple or complex type defined in the schema.

4.3.  Attribute

Each attribute entry contains the following information:

  • The XML Name of the attribute.

    EXAMPLE 1

    @quantityType

  • The informational name of the attribute.

    EXAMPLE 2

    Quantity Type

  • A description of the attribute

EXAMPLE 3

Type of the quantity.

  • The data type of the attribute’s value.

    EXAMPLE 4

    string, integer, boolean, or a reference to a simple type defined in the schema.

  • A list of all of the elements or groups of elements in which the attribute may be used, with first the element name and then the element’s informal expanded name. Element names are not prefixed.

  • For each element or group of elements in which the attribute may be used, a block of usage information with required or suggested values and other information.

5.  Schema

This document describes the final UnitsML 1.0 XML schema. Its namespace is https://schema.unitsml.org/unitsml/1.0, and the schema source is included in the UnitsML distribution as unitsml.xsd. The published schema reference is https://schema.unitsml.org/unitsml/1.0.

The root element of the schema is <UnitsML>, which contains all other elements.

The schema is defined using the W3C XML Schema Definition Language (W3C xmlschema-1), and conforms to W3C xmlschema11-1 and W3C xmlschema11-2.

The UnitsML XML schema may be used in the following ways:

  • To validate UnitsML XML documents, ensuring that they conform to the structure and content rules defined in the schema.

  • To incorportate UnitsML XML into XML application schemas, allowing for the integration of UnitsML data with other XML-based data formats.

  • To generate code or data structures in programming languages that support XML schema, facilitating the processing of UnitsML XML documents.

The UnitsML XML schema is maintained by the CalConnect TC UNITS Technical Committee, and is available from https://www.unitsml.org.

6.  Elements

6.1.  <AmountOfSubstance>

6.1.1.  General

Element containing the dimension of the quantity amount of substance.

This element is used by:

6.1.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 1 — Structure of AmountOfSubstance

6.1.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity amount of substance.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.1.4.  Content model

This element uses the AmountOfSubstanceType type (Clause 7.1).

No child elements defined.

EXAMPLE — Illustrative usage of <AmountOfSubstance>

<AmountOfSubstance symbol="N" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="AmountOfSubstance" type="AmountOfSubstanceType">
  <annotation>
    <documentation>Element containing the dimension of the quantity amount of substance.</documentation>
  </annotation>
</element>
Figure 2 — XSD source of <AmountOfSubstance>

6.2.  <CodeListValue>

6.2.1.  General

Element for listing the unit code value from a specific code list.

This element is used by:

6.2.3.  Attributes

@unitCodeValue

xsd:string [1]

The code associated for this unit in a specific code list.

@codeListName

xsd:normalizedString [0..1]

The name of the code list.

@codeListVersion

xsd:token [0..1]

The version of the code list containing the unit code.

@locationURL

xsd:anyURI [0..1]

Suggested retrieval location for this version of the code list.

@organizationName

xsd:normalizedString [0..1]

Organization responsible for publication and/or maintenance of the code list.

@organizationURI

xsd:anyURI [0..1]

URI for organization responsible for the code list.

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

6.2.4.  Content model

This element uses the CodeListValueType type (Clause 7.2).

No child elements defined.

EXAMPLE — Illustrative usage of <CodeListValue>

<CodeListValue unitCodeValue="xsd:string" codeListName="xsd:normalizedString" codeListVersion="xsd:token" locationURL="xsd:anyURI" organizationName="xsd:normalizedString" organizationURI="xsd:anyURI" xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="CodeListValue" type="CodeListValueType">
  <annotation>
    <documentation>Element for listing the unit code value from a specific code list.</documentation>
  </annotation>
</element>
Figure 4 — XSD source of <CodeListValue>

6.3.  <ConversionDescription>

6.3.1.  General

Element for a description of the SpecialConversionFrom.

This element is used by:

6.3.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 5 — Structure of ConversionDescription

6.3.3.  Attributes

@xml:lang

[0..1]

6.3.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ConversionDescription>

<ConversionDescription xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ConversionDescription" type="NoteType">
  <annotation>
    <documentation>Element for a description of the SpecialConversionFrom.</documentation>
  </annotation>
</element>
Figure 6 — XSD source of <ConversionDescription>

6.4.  <ConversionNote>

6.4.1.  General

Element for descriptive information.

This element is used by:

6.4.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 7 — Structure of ConversionNote

6.4.3.  Attributes

@xml:lang

[0..1]

6.4.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ConversionNote>

<ConversionNote xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ConversionNote" type="NoteType">
  <annotation>
    <documentation>Element for descriptive information.</documentation>
  </annotation>
</element>
Figure 8 — XSD source of <ConversionNote>

6.5.  <Conversions>

6.5.1.  General

Container for providing conversion information to other units.

This element is used by:

6.5.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 9 — Structure of Conversions

6.5.3.  Attributes

No attributes defined.

6.5.4.  Content model

This element uses the ConversionsType type (Clause 7.3).

  • Sequence [1..1]

    • <Float64ConversionFrom> of type Float64ConversionFromType [0..*]

    • <SpecialConversionFrom> of type SpecialConversionFromType [0..*]

    • <WSDLConversionFrom> of type WSDLConversionFromType [0..*]

EXAMPLE — Illustrative usage of <Conversions>

<Conversions>
  <Float64ConversionFrom>...</Float64ConversionFrom>
  <SpecialConversionFrom>...</SpecialConversionFrom>
  <WSDLConversionFrom>...</WSDLConversionFrom>

</Conversions>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Conversions" type="ConversionsType">
  <annotation>
    <documentation>Container for providing conversion information to other units.</documentation>
  </annotation>
</element>
Figure 10 — XSD source of <Conversions>

6.6.  <CountedItem>

6.6.1.  General

Container for a single counted item.

This element is used by:

6.6.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 11 — Structure of CountedItem

6.6.4.  Content model

This element uses the CountedItemType type (Clause 7.5).

  • Sequence [1..1]

    • <ItemName> of type NameType [1..*]

    • <ItemSymbol> of type SymbolType [0..*]

    • <ItemVersionHistory> of type NoteType [0..*]

    • <ItemDefinition> of type DefinitionType [0..*]

    • <ItemHistory> of type HistoryType [0..*]

    • <ItemRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative usage of <CountedItem>

<CountedItem xml:id="...">
  <ItemName>...</ItemName>
  <ItemSymbol>...</ItemSymbol>
  <ItemVersionHistory>...</ItemVersionHistory>
  <ItemDefinition>...</ItemDefinition>
  <ItemHistory>...</ItemHistory>
  <ItemRemark>...</ItemRemark>

</CountedItem>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="CountedItem" type="CountedItemType">
  <annotation>
    <documentation>Container for a single counted item.</documentation>
  </annotation>
</element>
Figure 12 — XSD source of <CountedItem>

6.7.  <CountedItemSet>

6.7.1.  General

Container for items that are counted and are (in practice) combined with scientific units of measure.

This element is used by:

6.7.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 13 — Structure of CountedItemSet

6.7.3.  Attributes

No attributes defined.

6.7.4.  Content model

This element uses the CountedItemSetType type (Clause 7.4).

  • Sequence [1..1]

    • <CountedItem> of type CountedItemType [1..*]

EXAMPLE — Illustrative usage of <CountedItemSet>

<CountedItemSet>
  <CountedItem>...</CountedItem>

</CountedItemSet>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="CountedItemSet" type="CountedItemSetType">
  <annotation>
    <documentation>Container for items that are counted and are (in practice) combined with scientific units of measure.</documentation>
  </annotation>
</element>
Figure 14 — XSD source of <CountedItemSet>

6.8.  <Dimension>

6.8.1.  General

Element to express the dimension of a unit or quantity in terms of the SI base quantities length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity.

This element is used by:

6.8.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 15 — Structure of Dimension

6.8.3.  Attributes

@xml:id

[1]

@dimensionless

xsd:boolean [0..1]

Boolean to designate that a quantity or unit is dimensionless.

6.8.4.  Content model

This element uses the DimensionType type (Clause 7.8).

  • Sequence [1..1]

    • <Length> of type LengthType [0..1]

    • <Mass> of type MassType [0..1]

    • <Time> of type TimeType [0..1]

    • <ElectricCurrent> of type ElectricCurrentType [0..1]

    • <ThermodynamicTemperature> of type ThermodynamicTemperatureType [0..1]

    • <AmountOfSubstance> of type AmountOfSubstanceType [0..1]

    • <LuminousIntensity> of type LuminousIntensityType [0..1]

    • <PlaneAngle> of type PlaneAngleType [0..1]

    • <Item> of type ItemType [0..*]

EXAMPLE — Illustrative usage of <Dimension>

<Dimension xml:id="..." dimensionless="0">

  <Length>...</Length>
  <Mass>...</Mass>
  <Time>...</Time>
  <ElectricCurrent>...</ElectricCurrent>
  <ThermodynamicTemperature>...</ThermodynamicTemperature>
  <AmountOfSubstance>...</AmountOfSubstance>
  <LuminousIntensity>...</LuminousIntensity>
  <PlaneAngle>...</PlaneAngle>
  <Item>...</Item>

</Dimension>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Dimension" type="DimensionType">
  <annotation>
    <documentation>Element to express the dimension of a unit or quantity in terms of the SI base quantities length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity.</documentation>
  </annotation>
</element>
Figure 16 — XSD source of <Dimension>

6.9.  <DimensionSet>

6.9.1.  General

Container for dimensions.

This element is used by:

6.9.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 17 — Structure of DimensionSet

6.9.3.  Attributes

No attributes defined.

6.9.4.  Content model

This element uses the DimensionSetType type (Clause 7.7).

  • Sequence [1..1]

    • <Dimension> of type DimensionType [1..*]

EXAMPLE — Illustrative usage of <DimensionSet>

<DimensionSet>
  <Dimension>...</Dimension>

</DimensionSet>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="DimensionSet" type="DimensionSetType">
  <annotation>
    <documentation>Container for dimensions.</documentation>
  </annotation>
</element>
Figure 18 — XSD source of <DimensionSet>

6.10.  <ElectricCurrent>

6.10.1.  General

Element containing the dimension of the quantity electric current.

This element is used by:

6.10.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 19 — Structure of ElectricCurrent

6.10.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity electric current.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.10.4.  Content model

This element uses the ElectricCurrentType type (Clause 7.9).

No child elements defined.

EXAMPLE — Illustrative usage of <ElectricCurrent>

<ElectricCurrent symbol="I" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ElectricCurrent" type="ElectricCurrentType">
  <annotation>
    <documentation>Element containing the dimension of the quantity electric current.</documentation>
  </annotation>
</element>
Figure 20 — XSD source of <ElectricCurrent>

6.11.  <EnumeratedRootUnit>

6.11.1.  General

Element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2

This element is used by:

6.11.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 21 — Structure of EnumeratedRootUnit

6.11.3.  Attributes

@unit

[1]

Unit identifier; the enumerated list is basically English unit names in lowercase, with a few upper case exceptions, e.g., 32F, mmHg, pH.

Base type: xsd:token

Allowed values:

  • meter

  • steradian

  • rem

  • year_365

  • newton

  • ec_therm

  • roentgen

  • gauss

  • pascal

  • kayser

  • stilb

  • electric_horsepower

  • poise

  • rhe

  • joule

  • liter

  • nautical_mile

  • degree_Fahrenheit

  • standard_atmosphere

  • technical_atmosphere

  • watt

  • stokes

  • gal

  • oersted

  • arc_minute

  • arc_second

  • arc_degree

  • coulomb

  • knot

  • neper

  • bel

  • mm_Hg

  • darcy

  • gon

  • volt

  • tons_of_tnt

  • farad

  • imperial_gallon

  • imperial_pint

  • imperial_ounce

  • us_gallon

  • us_pint

  • us_fluid_ounce

  • petro_barrel

  • us_bushel

  • ohm

  • us_dry_pint

  • light_year

  • astronomical_unit

  • parsec

  • siemens

  • weber

  • av_pound

  • av_ounce

  • gross_hundredweight

  • pound_force

  • tesla

  • carat

  • tex

  • torr

  • mm_water

  • thermo_btu

  • metric_horsepower

  • henry

  • lambert

  • gilbert

  • debye

  • abwatt

  • slug

  • thermo_calorie

  • short_ton

  • long_ton

  • degree_Celsius

  • troy_ounce

  • troy_pound

  • pennyweight

  • apothecaries_dram

  • scruple

  • poundal

  • kip

  • ton_force

  • barye

  • electronvolt

  • unified_atomic_mass_unit

  • natural_unit_of_velocity

  • natural_unit_of_action

  • natural_unit_of_mass

  • natural_unit_of_time

  • atomic_unit_of_charge

  • atomic_unit_of_mass

  • atomic_unit_of_action

  • atomic_unit_of_length

  • becquerel

  • atomic_unit_of_energy

  • atomic_unit_of_time

  • atomic_unit_of_magnetizability

  • atomic_unit_of_magnetic_flux_density

  • atomic_unit_of_magnetic_dipole_moment

  • atomic_unit_of_momentum

  • atomic_unit_of_charge_density

  • atomic_unit_of_current

  • atomic_unit_of_electric_dipole_moment

  • atomic_unit_of_electric_field

  • atomic_unit_of_electric_field_gradient

  • atomic_unit_of_electric_potential

  • atomic_unit_of_force

  • atomic_unit_of_electric_quadrupole_moment

  • atomic_unit_of_electric_polarizability

  • statohm

  • statfarad

  • statampere

  • statvolt

  • stathenry

  • gram

  • statmho

  • statcoulomb

  • statweber

  • stattesla

  • statwatt

  • av_dram

  • footcandle

  • footlambert

  • computer_pica

  • printers_pica

  • gray

  • computer_point

  • us_survey_rod

  • us_survey_fathom

  • circular_mil

  • horsepower

  • boiler_horsepower

  • water_horsepower

  • uk_horsepower

  • degree_Rankine

  • sievert

  • natural_unit_of_length

  • atomic_unit_of_1st_hyperpolarizability

  • atomic_unit_of_2nd_hyperpolarizability

  • atomic_unit_of_permittivity

  • atomic_unit_of_velocity

  • natural_unit_of_energy

  • natural_unit_of_momentum

  • natural_unit_of_action_in_eV_s

  • natural_unit_of_energy_in_MeV

  • natural_unit_of_momentum_in_MeV_per_c

  • second

  • katal

  • imperial_quart

  • us_dry_quart

  • us_quart

  • us_teaspoon

  • us_tablespoon

  • us_label_tablespoon

  • us_label_teaspoon

  • us_label_cup

  • us_label_fluid_ounce

  • us_label_ounce

  • hertz

  • us_survey_chain

  • us_survey_link

  • us_survey_furlong

  • us_survey_mile

  • us_survey_yard

  • us_survey_foot

  • us_survey_inch

  • us_acre

  • cm_Hg

  • 0C_cm_Hg

  • lumen

  • 4C_cm_water

  • cm_water

  • in_water

  • 39F_in_water

  • 60F_in_water

  • ft_water

  • 39F_ft_water

  • 32F_in_Hg

  • 60F_in_Hg

  • in_Hg

  • lux

  • ft_Hg

  • us_therm

  • pH

  • table_btu

  • mean_btu

  • 39F_btu

  • 59F_btu

  • 60F_btu

  • tropical_year

  • sidereal_year

  • sidereal_day

  • sidereal_hour

  • sidereal_minute

  • sidereal_second

  • printers_point

  • shake

  • denier

  • nato_mil

  • pound_mole

  • ton_refrigeration

  • bit

  • byte

  • us_peck

  • us_minim

  • us_cup

  • us_fluid_dram

  • us_gill

  • imperial_gill

  • minute

  • hour

  • light_week

  • light_hour

  • light_minute

  • light_second

  • day

  • decibel_milliwatt

  • relative_humidity

  • octave

  • decade

  • erlang

  • baud

  • shannon

  • hartley

  • angstrom

  • ampere

  • are

  • barn

  • hectare

  • abampere

  • abcoulomb

  • abfarad

  • kelvin

  • abhenry

  • abmho

  • abohm

  • abvolt

  • maxwell

  • mole

  • table_calorie

  • erg

  • table_kg_calorie

  • thermo_kg_calorie

  • candela

  • dyne

  • foot

  • inch

  • mile

  • yard

  • phot

  • grain

  • metric_ton

  • radian

  • bar

  • curie

  • rad

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@prefix

[0..1]

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

Base type: xsd:token

Allowed values:

  • d

  • p

  • f

  • a

  • c

  • z

  • y

  • r

  • m

  • q

  • u

  • n

  • 1

  • da

  • T

  • P

  • E

  • h

  • Z

  • Y

  • R

  • k

  • Q

  • M

  • G

  • Ki

  • Mi

  • Gi

  • Ti

  • Pi

  • Ei

  • Zi

  • Yi

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.11.4.  Content model

This element uses the EnumeratedRootUnitType type (Clause 7.10).

No child elements defined.

EXAMPLE — Illustrative usage of <EnumeratedRootUnit>

<EnumeratedRootUnit unit="..." sourceURL="xsd:anyURI" prefix="..." powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="EnumeratedRootUnit" type="EnumeratedRootUnitType">
  <annotation>
    <documentation>Element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2</documentation>
  </annotation>
</element>
Figure 22 — XSD source of <EnumeratedRootUnit>

6.12.  <ExternalRootUnit>

6.12.1.  General

Element for those special cases where the root unit needed is not included in the enumerated list in the above element.

This element is used by:

6.12.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 23 — Structure of ExternalRootUnit

6.12.3.  Attributes

@unit

xsd:anyURI [1]

URI to identify the unit.

@annotation

xsd:string [0..1]

Optional unit annotation; e.g., a unit name if the unit identifier above is an uncommon code.

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@prefix

[0..1]

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

Base type: xsd:token

Allowed values:

  • d

  • p

  • f

  • a

  • c

  • z

  • y

  • r

  • m

  • q

  • u

  • n

  • 1

  • da

  • T

  • P

  • E

  • h

  • Z

  • Y

  • R

  • k

  • Q

  • M

  • G

  • Ki

  • Mi

  • Gi

  • Ti

  • Pi

  • Ei

  • Zi

  • Yi

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.12.4.  Content model

This element uses the ExternalRootUnitType type (Clause 7.11).

No child elements defined.

EXAMPLE — Illustrative usage of <ExternalRootUnit>

<ExternalRootUnit unit="xsd:anyURI" annotation="xsd:string" xml:lang="..." sourceURL="xsd:anyURI" prefix="..." powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ExternalRootUnit" type="ExternalRootUnitType">
  <annotation>
    <documentation>Element for those special cases where the root unit needed is not included in the enumerated list in the above element.</documentation>
  </annotation>
</element>
Figure 24 — XSD source of <ExternalRootUnit>

6.13.  <Float64ConversionFrom>

6.13.1.  General

Element for providing factors for a conversion equation from another unit; y = d + b / c) (x + a

This element is used by:

6.13.3.  Attributes

@xml:id

[1]

@initialAddend

xsd:double [0..1]

Number to be added at the start of the conversion (prior to multiplication or division) [factor ‘a’ in equation].

@initialAddendDecimalPlace

xsd:byte [0..1]

Indicates the position of the least significant digit (in decimal) of the initialAddend; the position of this digit is given by ten to additive inverse of this number.

@multiplicand

xsd:double [0..1]

Number by which to multiply sum of initial addend and initial value [factor ‘b’ in equation].

@multiplicandDigits

xsd:unsignedByte [0..1]

Number of significant digits in the multiplicand value.

@divisor

xsd:double [0..1]

Divisor to be applied to the value at the same time as the multiplicand [factor ‘c’ in equation].

@divisorDigits

xsd:unsignedByte [0..1]

Number of significant digits in the divisor value.

@finalAddend

xsd:double [0..1]

Number to be added at the end of the conversion [factor ‘d’ in equation].

@finalAddendDecimalPlace

xsd:byte [0..1]

Indicates the position of the least significant digit (in decimal) of the finalAddend; the position of this digit is given by ten to additive inverse of this number.

@exact

xsd:boolean [0..1]

Indicates if the conversion is exact.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

6.13.4.  Content model

This element uses the Float64ConversionFromType type (Clause 7.12).

  • Sequence [1..1]

    • <ConversionNote> of type NoteType [0..*]

EXAMPLE — Illustrative usage of <Float64ConversionFrom>

<Float64ConversionFrom xml:id="..." initialAddend="0" initialAddendDecimalPlace="xsd:byte" multiplicand="1" multiplicandDigits="xsd:unsignedByte" divisor="1" divisorDigits="xsd:unsignedByte" finalAddend="0" finalAddendDecimalPlace="xsd:byte" exact="false" initialUnit="xsd:anyURI">
  <ConversionNote>...</ConversionNote>

</Float64ConversionFrom>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Float64ConversionFrom" type="Float64ConversionFromType">
  <annotation>
    <documentation>Element for providing factors for a conversion equation from another unit; y = d + ((b / c) (x + a))</documentation>
  </annotation>
</element>
Figure 26 — XSD source of <Float64ConversionFrom>

6.14.  <Item>

6.14.1.  General

Element containing the dimension of any item. Note: this element is meant to be used to allow counted items to be included in the dimensioning of a derived quantity, e.g., electrons per time; usage of this element does not conform to the SI description of the dimension of a quantity in terms of seven base quantities.

This element is used by:

6.14.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 27 — Structure of Item

6.14.3.  Attributes

@itemURL

xsd:anyURI [1]

Unique URL for identifying or describing the item.

@itemSymbol

xsd:token [0..1]

Symbol for the item.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.14.4.  Content model

This element uses the ItemType type (Clause 7.14).

No child elements defined.

EXAMPLE — Illustrative usage of <Item>

<Item itemURL="xsd:anyURI" itemSymbol="xsd:token" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Item" type="ItemType">
  <annotation>
    <documentation>Element containing the dimension of any item. Note: this element is meant to be used to allow counted items to be included in the dimensioning of a derived quantity, e.g., electrons per time; usage of this element does not conform to the SI description of the dimension of a quantity in terms of seven base quantities.</documentation>
  </annotation>
</element>
Figure 28 — XSD source of <Item>

6.15.  <ItemDefinition>

6.15.1.  General

Element to describe the definition of the item.

This element is used by:

6.15.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 29 — Structure of ItemDefinition

6.15.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.15.4.  Content model

This element uses the DefinitionType type (Clause 7.6).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ItemDefinition>

<ItemDefinition xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemDefinition" type="DefinitionType">
  <annotation>
    <documentation>Element to describe the definition of the item.</documentation>
  </annotation>
</element>
Figure 30 — XSD source of <ItemDefinition>

6.16.  <ItemHistory>

6.16.1.  General

Element to describe the historical development of the item.

This element is used by:

6.16.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 31 — Structure of ItemHistory

6.16.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.16.4.  Content model

This element uses the HistoryType type (Clause 7.13).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ItemHistory>

<ItemHistory xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemHistory" type="HistoryType">
  <annotation>
    <documentation>Element to describe the historical development of the item.</documentation>
  </annotation>
</element>
Figure 32 — XSD source of <ItemHistory>

6.17.  <ItemName>

6.17.1.  General

Element containing the item name(s).

This element is used by:

6.17.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 33 — Structure of ItemName

6.17.3.  Attributes

@xml:lang

[0..1]

6.17.4.  Content model

This element uses the NameType type (Clause 7.18).

  • Simple content based on xsd:token [1..1]

EXAMPLE — Illustrative usage of <ItemName>

<ItemName xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemName" type="NameType">
  <annotation>
    <documentation>Element containing the item name(s).</documentation>
  </annotation>
</element>
Figure 34 — XSD source of <ItemName>

6.18.  <ItemRemark>

6.18.1.  General

Element as a placeholder for additional information.

This element is used by:

6.18.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 35 — Structure of ItemRemark

6.18.3.  Attributes

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.18.4.  Content model

This element uses the RemarkType type (Clause 7.26).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ItemRemark>

<ItemRemark xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemRemark" type="RemarkType">
  <annotation>
    <documentation>Element as a placeholder for additional information.</documentation>
  </annotation>
</element>
Figure 36 — XSD source of <ItemRemark>

6.19.  <ItemSymbol>

6.19.1.  General

Element containing symbols for the item.

This element is used by:

6.19.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

ItemSymbol : SymbolType @xml:lang [0..1] @type [1] Sequence Any element skip processing 1. 1. [1..*]
Figure 37 — Structure of ItemSymbol

6.19.3.  Attributes

@xml:lang

[0..1]

@type

[1]

Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML.

Member types: xsd:token

Allowed xsd:token values:

  • ASCII

  • Unicode

  • LaTeX

  • HTML

  • MathML

  • SVG

6.19.4.  Content model

This element uses the SymbolType type (Clause 7.29).

This element allows mixed content.

  • Sequence [1..1]

    • Any element from any namespace (skip processing) [1..*]

EXAMPLE — Illustrative usage of <ItemSymbol>

<ItemSymbol xml:lang="..." type="...">
<!-- mixed content -->

  <!-- Any element from any namespace -->

</ItemSymbol>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemSymbol" type="SymbolType">
  <annotation>
    <documentation>Element containing symbols for the item.</documentation>
  </annotation>
</element>
Figure 38 — XSD source of <ItemSymbol>

6.20.  <ItemVersionHistory>

6.20.1.  General

Element for descriptive information, including version changes to the item.

This element is used by:

6.20.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 39 — Structure of ItemVersionHistory

6.20.3.  Attributes

@xml:lang

[0..1]

6.20.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <ItemVersionHistory>

<ItemVersionHistory xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ItemVersionHistory" type="NoteType">
  <annotation>
    <documentation>Element for descriptive information, including version changes to the item.</documentation>
  </annotation>
</element>
Figure 40 — XSD source of <ItemVersionHistory>

6.21.  <Length>

6.21.1.  General

Element containing the dimension of the quantity length.

This element is used by:

6.21.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 41 — Structure of Length

6.21.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity length.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.21.4.  Content model

This element uses the LengthType type (Clause 7.15).

No child elements defined.

EXAMPLE — Illustrative usage of <Length>

<Length symbol="L" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Length" type="LengthType">
  <annotation>
    <documentation>Element containing the dimension of the quantity length.</documentation>
  </annotation>
</element>
Figure 42 — XSD source of <Length>

6.22.  <LuminousIntensity>

6.22.1.  General

Element containing the dimension of the quantity luminous intensity.

This element is used by:

6.22.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 43 — Structure of LuminousIntensity

6.22.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity luminous intensity.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.22.4.  Content model

This element uses the LuminousIntensityType type (Clause 7.16).

No child elements defined.

EXAMPLE — Illustrative usage of <LuminousIntensity>

<LuminousIntensity symbol="J" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="LuminousIntensity" type="LuminousIntensityType">
  <annotation>
    <documentation>Element containing the dimension of the quantity luminous intensity.</documentation>
  </annotation>
</element>
Figure 44 — XSD source of <LuminousIntensity>

6.23.  <Mass>

6.23.1.  General

Element containing the dimension of the quantity mass.

This element is used by:

6.23.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 45 — Structure of Mass

6.23.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity mass.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.23.4.  Content model

This element uses the MassType type (Clause 7.17).

No child elements defined.

EXAMPLE — Illustrative usage of <Mass>

<Mass symbol="M" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Mass" type="MassType">
  <annotation>
    <documentation>Element containing the dimension of the quantity mass.</documentation>
  </annotation>
</element>
Figure 46 — XSD source of <Mass>

6.24.  <PlaneAngle>

6.24.1.  General

Element containing the dimension of the quantity plane angle.

This element is used by:

6.24.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 47 — Structure of PlaneAngle

6.24.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity plane angle.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.24.4.  Content model

This element uses the PlaneAngleType type (Clause 7.20).

No child elements defined.

EXAMPLE — Illustrative usage of <PlaneAngle>

<PlaneAngle symbol="xsd:token" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="PlaneAngle" type="PlaneAngleType">
  <annotation>
    <documentation>Element containing the dimension of the quantity plane angle.</documentation>
  </annotation>
</element>
Figure 48 — XSD source of <PlaneAngle>

6.25.  <Prefix>

6.25.1.  General

Element containing information about a prefix.

This element is used by:

6.25.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 49 — Structure of Prefix

6.25.3.  Attributes

@xml:id

[1]

@prefixBase

[0..1]

The base of the prefix system, i.e., 10 (SI) or 2 (binary).

Base type: xsd:byte

Allowed values:

  • 10

  • 2

@prefixPower

xsd:byte [0..1]

The exponential power of the prefix with relation to the base.

6.25.4.  Content model

This element uses the PrefixType type (Clause 7.22).

  • Sequence [1..1]

    • <PrefixName> of type NameType [1..*]

    • <PrefixSymbol> of type SymbolType [0..*]

EXAMPLE — Illustrative usage of <Prefix>

<Prefix xml:id="..." prefixBase="10" prefixPower="xsd:byte">
  <PrefixName>...</PrefixName>
  <PrefixSymbol>...</PrefixSymbol>

</Prefix>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Prefix" type="PrefixType">
  <annotation>
    <documentation>Element containing information about a prefix.</documentation>
  </annotation>
</element>
Figure 50 — XSD source of <Prefix>

6.26.  <PrefixName>

6.26.1.  General

Element containing the prefix name.

This element is used by:

6.26.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 51 — Structure of PrefixName

6.26.3.  Attributes

@xml:lang

[0..1]

6.26.4.  Content model

This element uses the NameType type (Clause 7.18).

  • Simple content based on xsd:token [1..1]

EXAMPLE — Illustrative usage of <PrefixName>

<PrefixName xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="PrefixName" type="NameType">
  <annotation>
    <documentation>Element containing the prefix name.</documentation>
  </annotation>
</element>
Figure 52 — XSD source of <PrefixName>

6.27.  <PrefixSet>

6.27.1.  General

Container for prefixes.

This element is used by:

6.27.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 53 — Structure of PrefixSet

6.27.3.  Attributes

No attributes defined.

6.27.4.  Content model

This element uses the PrefixSetType type (Clause 7.21).

  • Sequence [1..1]

    • <Prefix> of type PrefixType [1..*]

EXAMPLE — Illustrative usage of <PrefixSet>

<PrefixSet>
  <Prefix>...</Prefix>

</PrefixSet>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="PrefixSet" type="PrefixSetType">
  <annotation>
    <documentation>Container for prefixes.</documentation>
  </annotation>
</element>
Figure 54 — XSD source of <PrefixSet>

6.28.  <PrefixSymbol>

6.28.1.  General

Element containing prefix symbols.

This element is used by:

6.28.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

PrefixSymbol : SymbolType @xml:lang [0..1] @type [1] Sequence Any element skip processing 1. 1. [1..*]
Figure 55 — Structure of PrefixSymbol

6.28.3.  Attributes

@xml:lang

[0..1]

@type

[1]

Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML.

Member types: xsd:token

Allowed xsd:token values:

  • ASCII

  • Unicode

  • LaTeX

  • HTML

  • MathML

  • SVG

6.28.4.  Content model

This element uses the SymbolType type (Clause 7.29).

This element allows mixed content.

  • Sequence [1..1]

    • Any element from any namespace (skip processing) [1..*]

EXAMPLE — Illustrative usage of <PrefixSymbol>

<PrefixSymbol xml:lang="..." type="...">
<!-- mixed content -->

  <!-- Any element from any namespace -->

</PrefixSymbol>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="PrefixSymbol" type="SymbolType">
  <annotation>
    <documentation>Element containing prefix symbols.</documentation>
  </annotation>
</element>
Figure 56 — XSD source of <PrefixSymbol>

6.29.  <Quantity>

6.29.1.  General

Element for describing quantities and referencing corresponding units. Use in container or directly incorporate into a host schema.

This element is used by:

6.29.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 57 — Structure of Quantity

6.29.3.  Attributes

@xml:id

[1]

@quantityType

[0..1]

Type of the quantity. For example base or derived.

Base type: xsd:token

Allowed values:

  • base

  • derived

@dimensionURL

xsd:anyURI [0..1]

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

6.29.4.  Content model

This element uses the QuantityType type (Clause 7.24).

  • Sequence [1..1]

    • <QuantityName> of type NameType [1..*]

    • <QuantitySymbol> of type SymbolType [0..*]

    • <UnitReference> of type ReferenceType [0..*]

    • <QuantityVersionHistory> of type NoteType [0..*]

    • <QuantityDefinition> of type DefinitionType [0..*]

    • <QuantityHistory> of type HistoryType [0..*]

    • <QuantityRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative usage of <Quantity>

<Quantity xml:id="..." quantityType="..." dimensionURL="xsd:anyURI">
  <QuantityName>...</QuantityName>
  <QuantitySymbol>...</QuantitySymbol>
  <UnitReference>...</UnitReference>
  <QuantityVersionHistory>...</QuantityVersionHistory>
  <QuantityDefinition>...</QuantityDefinition>
  <QuantityHistory>...</QuantityHistory>
  <QuantityRemark>...</QuantityRemark>

</Quantity>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Quantity" type="QuantityType">
  <annotation>
    <documentation>Element for describing quantities and referencing corresponding units. Use in container or directly incorporate into a host schema.</documentation>
  </annotation>
</element>
Figure 58 — XSD source of <Quantity>

6.30.  <QuantityDefinition>

6.30.1.  General

Element to describe the definition of the quantity.

This element is used by:

6.30.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 59 — Structure of QuantityDefinition

6.30.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.30.4.  Content model

This element uses the DefinitionType type (Clause 7.6).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <QuantityDefinition>

<QuantityDefinition xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityDefinition" type="DefinitionType">
  <annotation>
    <documentation>Element to describe the definition of the quantity.</documentation>
  </annotation>
</element>
Figure 60 — XSD source of <QuantityDefinition>

6.31.  <QuantityHistory>

6.31.1.  General

Element to describe the historical development of the quantity.

This element is used by:

6.31.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 61 — Structure of QuantityHistory

6.31.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.31.4.  Content model

This element uses the HistoryType type (Clause 7.13).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <QuantityHistory>

<QuantityHistory xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityHistory" type="HistoryType">
  <annotation>
    <documentation>Element to describe the historical development of the quantity.</documentation>
  </annotation>
</element>
Figure 62 — XSD source of <QuantityHistory>

6.32.  <QuantityName>

6.32.1.  General

Element containing the quantity name.

This element is used by:

6.32.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 63 — Structure of QuantityName

6.32.3.  Attributes

@xml:lang

[0..1]

6.32.4.  Content model

This element uses the NameType type (Clause 7.18).

  • Simple content based on xsd:token [1..1]

EXAMPLE — Illustrative usage of <QuantityName>

<QuantityName xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityName" type="NameType">
  <annotation>
    <documentation>Element containing the quantity name.</documentation>
  </annotation>
</element>
Figure 64 — XSD source of <QuantityName>

6.33.  <QuantityReference>

6.33.1.  General

Element for all quantities that can be expressed using this unit.

This element is used by:

6.33.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 65 — Structure of QuantityReference

6.33.3.  Attributes

@url

xsd:anyURI [1]

URL to the reference item.

@name

xsd:token [0..1]

Name of the referenced item.

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

6.33.4.  Content model

This element uses the ReferenceType type (Clause 7.25).

No child elements defined.

EXAMPLE — Illustrative usage of <QuantityReference>

<QuantityReference url="xsd:anyURI" name="xsd:token" xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityReference" type="ReferenceType">
  <annotation>
    <documentation>Element for all quantities that can be expressed using this unit.</documentation>
  </annotation>
</element>
Figure 66 — XSD source of <QuantityReference>

6.34.  <QuantityRemark>

6.34.1.  General

Element as a placeholder for additional information.

This element is used by:

6.34.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 67 — Structure of QuantityRemark

6.34.3.  Attributes

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.34.4.  Content model

This element uses the RemarkType type (Clause 7.26).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <QuantityRemark>

<QuantityRemark xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityRemark" type="RemarkType">
  <annotation>
    <documentation>Element as a placeholder for additional information.</documentation>
  </annotation>
</element>
Figure 68 — XSD source of <QuantityRemark>

6.35.  <QuantitySet>

6.35.1.  General

Container for quantities.

This element is used by:

6.35.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 69 — Structure of QuantitySet

6.35.3.  Attributes

No attributes defined.

6.35.4.  Content model

This element uses the QuantitySetType type (Clause 7.23).

  • Sequence [1..1]

    • <Quantity> of type QuantityType [1..*]

EXAMPLE — Illustrative usage of <QuantitySet>

<QuantitySet>
  <Quantity>...</Quantity>

</QuantitySet>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantitySet" type="QuantitySetType">
  <annotation>
    <documentation>Container for quantities.</documentation>
  </annotation>
</element>
Figure 70 — XSD source of <QuantitySet>

6.36.  <QuantitySymbol>

6.36.1.  General

Element containing various quantity symbols.

This element is used by:

6.36.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

QuantitySymbol : SymbolType @xml:lang [0..1] @type [1] Sequence Any element skip processing 1. 1. [1..*]
Figure 71 — Structure of QuantitySymbol

6.36.3.  Attributes

@xml:lang

[0..1]

@type

[1]

Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML.

Member types: xsd:token

Allowed xsd:token values:

  • ASCII

  • Unicode

  • LaTeX

  • HTML

  • MathML

  • SVG

6.36.4.  Content model

This element uses the SymbolType type (Clause 7.29).

This element allows mixed content.

  • Sequence [1..1]

    • Any element from any namespace (skip processing) [1..*]

EXAMPLE — Illustrative usage of <QuantitySymbol>

<QuantitySymbol xml:lang="..." type="...">
<!-- mixed content -->

  <!-- Any element from any namespace -->

</QuantitySymbol>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantitySymbol" type="SymbolType">
  <annotation>
    <documentation>Element containing various quantity symbols.</documentation>
  </annotation>
</element>
Figure 72 — XSD source of <QuantitySymbol>

6.37.  <QuantityVersionHistory>

6.37.1.  General

Element for descriptive information, including version changes to the unit.

This element is used by:

6.37.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 73 — Structure of QuantityVersionHistory

6.37.3.  Attributes

@xml:lang

[0..1]

6.37.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <QuantityVersionHistory>

<QuantityVersionHistory xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityVersionHistory" type="NoteType">
  <annotation>
    <documentation>Element for descriptive information, including version changes to the unit.</documentation>
  </annotation>
</element>
Figure 74 — XSD source of <QuantityVersionHistory>

6.38.  <RootUnits>

6.38.1.  General

Container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered root units.

This element is used by:

6.38.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 75 — Structure of RootUnits

6.38.3.  Attributes

No attributes defined.

6.38.4.  Content model

This element uses the RootUnitsType type (Clause 7.27).

  • Sequence [1..1]

    • <EnumeratedRootUnit> of type EnumeratedRootUnitType [0..*]

    • <ExternalRootUnit> of type ExternalRootUnitType [0..*]

EXAMPLE — Illustrative usage of <RootUnits>

<RootUnits>
  <EnumeratedRootUnit>...</EnumeratedRootUnit>
  <ExternalRootUnit>...</ExternalRootUnit>

</RootUnits>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="RootUnits" type="RootUnitsType">
  <annotation>
    <documentation>Container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered root units.</documentation>
  </annotation>
</element>
Figure 76 — XSD source of <RootUnits>

6.39.  <SpecialConversionFrom>

6.39.1.  General

Element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.

This element is used by:

6.39.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 77 — Structure of SpecialConversionFrom

6.39.3.  Attributes

@xml:id

[1]

@conversionURL

xsd:anyURI [0..1]

URL for external description of the conversion or for an online convertor.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

6.39.4.  Content model

This element uses the SpecialConversionFromType type (Clause 7.28).

  • Sequence [1..1]

    • <ConversionDescription> of type NoteType [0..*]

EXAMPLE — Illustrative usage of <SpecialConversionFrom>

<SpecialConversionFrom xml:id="..." conversionURL="xsd:anyURI" initialUnit="xsd:anyURI">
  <ConversionDescription>...</ConversionDescription>

</SpecialConversionFrom>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="SpecialConversionFrom" type="SpecialConversionFromType">
  <annotation>
    <documentation>Element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.</documentation>
  </annotation>
</element>
Figure 78 — XSD source of <SpecialConversionFrom>

6.40.  <ThermodynamicTemperature>

6.40.1.  General

Element containing the dimension of the quantity thermodynamic temerature.

This element is used by:

6.40.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 79 — Structure of ThermodynamicTemperature

6.40.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity thermodynamic temperature.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.40.4.  Content model

This element uses the ThermodynamicTemperatureType type (Clause 7.31).

No child elements defined.

EXAMPLE — Illustrative usage of <ThermodynamicTemperature>

<ThermodynamicTemperature symbol="Θ" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="ThermodynamicTemperature" type="ThermodynamicTemperatureType">
  <annotation>
    <documentation>Element containing the dimension of the quantity thermodynamic temerature.</documentation>
  </annotation>
</element>
Figure 80 — XSD source of <ThermodynamicTemperature>

6.41.  <Time>

6.41.1.  General

Element containing the dimension of the quantity time.

This element is used by:

6.41.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 81 — Structure of Time

6.41.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity time.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

6.41.4.  Content model

This element uses the TimeType type (Clause 7.32).

No child elements defined.

EXAMPLE — Illustrative usage of <Time>

<Time symbol="T" powerNumerator="1" powerDenominator="1"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Time" type="TimeType">
  <annotation>
    <documentation>Element containing the dimension of the quantity time.</documentation>
  </annotation>
</element>
Figure 82 — XSD source of <Time>

6.42.  <Unit>

6.42.1.  General

Element for describing units. Use in containers UnitSet or directly incorporate into a host schema.

This element is used by:

6.42.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 83 — Structure of Unit

6.42.3.  Attributes

@xml:id

[1]

@timeStamp

xsd:dateTime [0..1]

Used to indicate the version of the unit output from the Units Database. Changes in the time-stamp are made if a substantive change has been made to the unit, such as a change in the unit definition or changes in conversion factors.

@dimensionURL

xsd:anyURI [0..1]

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

6.42.4.  Content model

This element uses the UnitType type (Clause 7.34).

  • Sequence [1..1]

    • <UnitSystem> of type SystemType [0..*]

    • <UnitName> of type NameType [1..*]

    • <UnitSymbol> of type SymbolType [0..*]

    • <CodeListValue> of type CodeListValueType [0..*]

    • <RootUnits> of type RootUnitsType [0..1]

    • <Conversions> of type ConversionsType [0..1]

    • <QuantityReference> of type ReferenceType [0..*]

    • <UnitVersionHistory> of type NoteType [0..*]

    • <UnitDefinition> of type DefinitionType [0..*]

    • <UnitHistory> of type HistoryType [0..*]

    • <UnitRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative usage of <Unit>

<Unit xml:id="..." timeStamp="xsd:dateTime" dimensionURL="xsd:anyURI">
  <UnitSystem>...</UnitSystem>
  <UnitName>...</UnitName>
  <UnitSymbol>...</UnitSymbol>
  <CodeListValue>...</CodeListValue>
  <RootUnits>...</RootUnits>
  <Conversions>...</Conversions>
  <QuantityReference>...</QuantityReference>
  <UnitVersionHistory>...</UnitVersionHistory>
  <UnitDefinition>...</UnitDefinition>
  <UnitHistory>...</UnitHistory>
  <UnitRemark>...</UnitRemark>

</Unit>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="Unit" type="UnitType">
  <annotation>
    <documentation>Element for describing units. Use in containers UnitSet or directly incorporate into a host schema.</documentation>
  </annotation>
</element>
Figure 84 — XSD source of <Unit>

6.43.  <UnitDefinition>

6.43.1.  General

Element to describe the definition of the unit.

This element is used by:

6.43.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 85 — Structure of UnitDefinition

6.43.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.43.4.  Content model

This element uses the DefinitionType type (Clause 7.6).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <UnitDefinition>

<UnitDefinition xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitDefinition" type="DefinitionType">
  <annotation>
    <documentation>Element to describe the definition of the unit.</documentation>
  </annotation>
</element>
Figure 86 — XSD source of <UnitDefinition>

6.44.  <UnitHistory>

6.44.1.  General

Element to describe the historical development of the unit.

This element is used by:

6.44.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 87 — Structure of UnitHistory

6.44.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.44.4.  Content model

This element uses the HistoryType type (Clause 7.13).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <UnitHistory>

<UnitHistory xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitHistory" type="HistoryType">
  <annotation>
    <documentation>Element to describe the historical development of the unit.</documentation>
  </annotation>
</element>
Figure 88 — XSD source of <UnitHistory>

6.45.  <UnitName>

6.45.1.  General

Element containing the unit name.

This element is used by:

6.45.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 89 — Structure of UnitName

6.45.3.  Attributes

@xml:lang

[0..1]

6.45.4.  Content model

This element uses the NameType type (Clause 7.18).

  • Simple content based on xsd:token [1..1]

EXAMPLE — Illustrative usage of <UnitName>

<UnitName xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitName" type="NameType">
  <annotation>
    <documentation>Element containing the unit name.</documentation>
  </annotation>
</element>
Figure 90 — XSD source of <UnitName>

6.46.  <UnitReference>

6.46.1.  General

Element for referencing a unit of measure from within the Quantity element.

This element is used by:

6.46.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 91 — Structure of UnitReference

6.46.3.  Attributes

@url

xsd:anyURI [1]

URL to the reference item.

@name

xsd:token [0..1]

Name of the referenced item.

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

6.46.4.  Content model

This element uses the ReferenceType type (Clause 7.25).

No child elements defined.

EXAMPLE — Illustrative usage of <UnitReference>

<UnitReference url="xsd:anyURI" name="xsd:token" xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitReference" type="ReferenceType">
  <annotation>
    <documentation>Element for referencing a unit of measure from within the Quantity element.</documentation>
  </annotation>
</element>
Figure 92 — XSD source of <UnitReference>

6.47.  <UnitRemark>

6.47.1.  General

Element as a placeholder for additional information.

This element is used by:

6.47.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 93 — Structure of UnitRemark

6.47.3.  Attributes

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

6.47.4.  Content model

This element uses the RemarkType type (Clause 7.26).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <UnitRemark>

<UnitRemark xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitRemark" type="RemarkType">
  <annotation>
    <documentation>Element as a placeholder for additional information.</documentation>
  </annotation>
</element>
Figure 94 — XSD source of <UnitRemark>

6.48.  <UnitSet>

6.48.1.  General

Container for units. Use in UnitsML container or directly incorporate into a host schema.

This element is used by:

6.48.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 95 — Structure of UnitSet

6.48.3.  Attributes

No attributes defined.

6.48.4.  Content model

This element uses the UnitSetType type (Clause 7.33).

  • Sequence [1..1]

    • <Unit> of type UnitType [1..*]

EXAMPLE — Illustrative usage of <UnitSet>

<UnitSet>
  <Unit>...</Unit>

</UnitSet>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitSet" type="UnitSetType">
  <annotation>
    <documentation>Container for units. Use in UnitsML container or directly incorporate into a host schema.</documentation>
  </annotation>
</element>
Figure 96 — XSD source of <UnitSet>

6.49.  <UnitSymbol>

6.49.1.  General

Element containing various unit symbols. Examples include Aring (ASCII), Å (HTML).

This element is used by:

6.49.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

UnitSymbol : SymbolType @xml:lang [0..1] @type [1] Sequence Any element skip processing 1. 1. [1..*]
Figure 97 — Structure of UnitSymbol

6.49.3.  Attributes

@xml:lang

[0..1]

@type

[1]

Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML.

Member types: xsd:token

Allowed xsd:token values:

  • ASCII

  • Unicode

  • LaTeX

  • HTML

  • MathML

  • SVG

6.49.4.  Content model

This element uses the SymbolType type (Clause 7.29).

This element allows mixed content.

  • Sequence [1..1]

    • Any element from any namespace (skip processing) [1..*]

EXAMPLE — Illustrative usage of <UnitSymbol>

<UnitSymbol xml:lang="..." type="...">
<!-- mixed content -->

  <!-- Any element from any namespace -->

</UnitSymbol>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitSymbol" type="SymbolType">
  <annotation>
    <documentation>Element containing various unit symbols.  Examples include Aring (ASCII), Å (HTML).</documentation>
  </annotation>
</element>
Figure 98 — XSD source of <UnitSymbol>

6.50.  <UnitSystem>

6.50.1.  General

Container for describing the system of units.

This element is used by:

6.50.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 99 — Structure of UnitSystem

6.50.3.  Attributes

@name

xsd:token [1]

Name of the unit system. For example, SI, inch-pound, CGS, and MKS.

@type

xsd:string [0..1]

Description of the unit relative to the unit system. Examples are SI_base and non-SI_not_acceptable.

@xml:lang

[0..1]

6.50.4.  Content model

This element uses the SystemType type (Clause 7.30).

No child elements defined.

EXAMPLE — Illustrative usage of <UnitSystem>

<UnitSystem name="xsd:token" type="xsd:string" xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitSystem" type="SystemType">
  <annotation>
    <documentation>Container for describing the system of units.</documentation>
  </annotation>
</element>
Figure 100 — XSD source of <UnitSystem>

6.51.  <UnitVersionHistory>

6.51.1.  General

Element for descriptive information, including version changes to the unit.

This element is used by:

6.51.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 101 — Structure of UnitVersionHistory

6.51.3.  Attributes

@xml:lang

[0..1]

6.51.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <UnitVersionHistory>

<UnitVersionHistory xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitVersionHistory" type="NoteType">
  <annotation>
    <documentation>Element for descriptive information, including version changes to the unit.</documentation>
  </annotation>
</element>
Figure 102 — XSD source of <UnitVersionHistory>

6.52.  <UnitsML>

6.52.1.  General

Container for UnitsML units, quantities, and prefixes.

6.52.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 103 — Structure of UnitsML

6.52.3.  Attributes

No attributes defined.

6.52.4.  Content model

This element uses the UnitsMLType type (Clause 7.35).

  • Sequence [1..1]

    • <UnitSet> of type UnitSetType [0..1]

    • <CountedItemSet> of type CountedItemSetType [0..1]

    • <QuantitySet> of type QuantitySetType [0..1]

    • <DimensionSet> of type DimensionSetType [0..1]

    • <PrefixSet> of type PrefixSetType [0..1]

EXAMPLE — Illustrative usage of <UnitsML>

<UnitsML>
  <UnitSet>...</UnitSet>
  <CountedItemSet>...</CountedItemSet>
  <QuantitySet>...</QuantitySet>
  <DimensionSet>...</DimensionSet>
  <PrefixSet>...</PrefixSet>

</UnitsML>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="UnitsML" type="UnitsMLType">
  <annotation>
    <documentation>Container for UnitsML units, quantities, and prefixes.</documentation>
  </annotation>
</element>
Figure 104 — XSD source of <UnitsML>

6.53.  <WSDLConversionFrom>

6.53.1.  General

Element for providing conversion based on SOAP/WSDL calls to a remote server.

This element is used by:

6.53.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 105 — Structure of WSDLConversionFrom

6.53.3.  Attributes

@xml:id

[1]

@wsdlURL

xsd:anyURI [1]

URL for external WSDL definition file.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

6.53.4.  Content model

This element uses the WSDLConversionFromType type (Clause 7.36).

  • Sequence [1..1]

    • <WSDLDescription> of type NoteType [0..*]

EXAMPLE — Illustrative usage of <WSDLConversionFrom>

<WSDLConversionFrom xml:id="..." wsdlURL="xsd:anyURI" initialUnit="xsd:anyURI">
  <WSDLDescription>...</WSDLDescription>

</WSDLConversionFrom>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="WSDLConversionFrom" type="WSDLConversionFromType">
  <annotation>
    <documentation>Element for providing conversion based on SOAP/WSDL calls to a remote server.</documentation>
  </annotation>
</element>
Figure 106 — XSD source of <WSDLConversionFrom>

6.54.  <WSDLDescription>

6.54.1.  General

Element to describe the WSDL service.

This element is used by:

6.54.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 107 — Structure of WSDLDescription

6.54.3.  Attributes

@xml:lang

[0..1]

6.54.4.  Content model

This element uses the NoteType type (Clause 7.19).

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative usage of <WSDLDescription>

<WSDLDescription xml:lang="..."/>
<element xmlns="http://www.w3.org/2001/XMLSchema" name="WSDLDescription" type="NoteType">
  <annotation>
    <documentation>Element to describe the WSDL service.</documentation>
  </annotation>
</element>
Figure 108 — XSD source of <WSDLDescription>

7.  Complex types

7.1.  AmountOfSubstanceType

7.1.1.  General

Type of the quantity amount of substance.

This complex type is used by:

7.1.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 109 — Structure of AmountOfSubstanceType

7.1.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity amount of substance.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.1.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using AmountOfSubstanceType

<AmountOfSubstance symbol="N" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="AmountOfSubstanceType">
  <annotation>
    <documentation>Type of the quantity amount of substance.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="N">
    <annotation>
      <documentation>Symbol of the quantity amount of substance.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 110 — XSD source of AmountOfSubstanceType

7.2.  CodeListValueType

7.2.1.  General

Type for the element for listing the unit code value from a specific code list.

This complex type is used by:

7.2.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 111 — Structure of CodeListValueType

7.2.3.  Attributes

@unitCodeValue

xsd:string [1]

The code associated for this unit in a specific code list.

@codeListName

xsd:normalizedString [0..1]

The name of the code list.

@codeListVersion

xsd:token [0..1]

The version of the code list containing the unit code.

@locationURL

xsd:anyURI [0..1]

Suggested retrieval location for this version of the code list.

@organizationName

xsd:normalizedString [0..1]

Organization responsible for publication and/or maintenance of the code list.

@organizationURI

xsd:anyURI [0..1]

URI for organization responsible for the code list.

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

7.2.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using CodeListValueType

<CodeListValue unitCodeValue="xsd:string" codeListName="xsd:normalizedString" codeListVersion="xsd:token" locationURL="xsd:anyURI" organizationName="xsd:normalizedString" organizationURI="xsd:anyURI" xml:lang="..."/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="CodeListValueType">
  <annotation>
    <documentation>Type for the element for listing the unit code value from a specific code list.</documentation>
  </annotation>
  <attribute name="unitCodeValue" type="xsd:string" use="required">
    <annotation>
      <documentation>The code associated for this unit in a specific code list.</documentation>
    </annotation>
  </attribute>
  <attribute name="codeListName" type="xsd:normalizedString">
    <annotation>
      <documentation>The name of the code list.</documentation>
    </annotation>
  </attribute>
  <attribute name="codeListVersion" type="xsd:token">
    <annotation>
      <documentation>The version of the code list containing the unit code.</documentation>
    </annotation>
  </attribute>
  <attribute name="locationURL" type="xsd:anyURI">
    <annotation>
      <documentation>Suggested retrieval location for this version of the code list.</documentation>
    </annotation>
  </attribute>
  <attribute name="organizationName" type="xsd:normalizedString">
    <annotation>
      <documentation>Organization responsible for publication and/or maintenance of the code list.</documentation>
    </annotation>
  </attribute>
  <attribute name="organizationURI" type="xsd:anyURI">
    <annotation>
      <documentation>URI for organization responsible for the code list.</documentation>
    </annotation>
  </attribute>
  <attribute ref="xml:lang">
    <annotation>
      <documentation>Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 112 — XSD source of CodeListValueType

7.3.  ConversionsType

7.3.1.  General

Type for the container for providing conversion information to other units.

This complex type is used by:

7.3.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 113 — Structure of ConversionsType

7.3.3.  Attributes

No attributes defined.

7.3.4.  Content model

  • Sequence [1..1]

    • <Float64ConversionFrom> of type Float64ConversionFromType [0..*]

    • <SpecialConversionFrom> of type SpecialConversionFromType [0..*]

    • <WSDLConversionFrom> of type WSDLConversionFromType [0..*]

EXAMPLE — Illustrative element using ConversionsType

<Conversions>
  <Float64ConversionFrom>...</Float64ConversionFrom>
  <SpecialConversionFrom>...</SpecialConversionFrom>
  <WSDLConversionFrom>...</WSDLConversionFrom>

</Conversions>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ConversionsType">
  <annotation>
    <documentation>Type for the container for providing conversion information to other units.</documentation>
  </annotation>
  <sequence>
    <element ref="Float64ConversionFrom" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for providing factors for a conversion equation from another unit; y = d + ((b / c) (x + a)). Note: The related "conversion to" equation is a simple inversion of the above equation; i.e., x = ((c / b) (y - d)) - a.</documentation>
      </annotation>
    </element>
    <element ref="SpecialConversionFrom" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for describing a conversion that cannot be described by the linear expression in the element Float64ConversionFrom.</documentation>
      </annotation>
    </element>
    <element ref="WSDLConversionFrom" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for providing conversion based on SOAP/WSDL calls to a remote server.</documentation>
      </annotation>
    </element>
  </sequence>
</complexType>
Figure 114 — XSD source of ConversionsType

7.4.  CountedItemSetType

7.4.1.  General

Type for a set of counted items.

This complex type is used by:

7.4.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 115 — Structure of CountedItemSetType

7.4.3.  Attributes

No attributes defined.

7.4.4.  Content model

  • Sequence [1..1]

    • <CountedItem> of type CountedItemType [1..*]

EXAMPLE — Illustrative element using CountedItemSetType

<CountedItemSet>
  <CountedItem>...</CountedItem>

</CountedItemSet>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="CountedItemSetType">
  <annotation>
    <documentation>Type for a set of counted items.</documentation>
  </annotation>
  <sequence>
    <element ref="CountedItem" maxOccurs="unbounded"/>
  </sequence>
</complexType>
Figure 116 — XSD source of CountedItemSetType

7.5.  CountedItemType

7.5.1.  General

Type for a single counted item.

This complex type is used by:

7.5.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 117 — Structure of CountedItemType

7.5.4.  Content model

  • Sequence [1..1]

    • <ItemName> of type NameType [1..*]

    • <ItemSymbol> of type SymbolType [0..*]

    • <ItemVersionHistory> of type NoteType [0..*]

    • <ItemDefinition> of type DefinitionType [0..*]

    • <ItemHistory> of type HistoryType [0..*]

    • <ItemRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative element using CountedItemType

<CountedItem xml:id="...">
  <ItemName>...</ItemName>
  <ItemSymbol>...</ItemSymbol>
  <ItemVersionHistory>...</ItemVersionHistory>
  <ItemDefinition>...</ItemDefinition>
  <ItemHistory>...</ItemHistory>
  <ItemRemark>...</ItemRemark>

</CountedItem>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="CountedItemType">
  <annotation>
    <documentation>Type for a single counted item.</documentation>
  </annotation>
  <sequence>
    <element ref="ItemName" maxOccurs="unbounded"/>
    <element ref="ItemSymbol" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="ItemVersionHistory" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="ItemDefinition" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="ItemHistory" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="ItemRemark" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:id" use="required"/>
</complexType>
Figure 118 — XSD source of CountedItemType

7.6.  DefinitionType

7.6.1.  General

Type for definition.

This complex type is used by:

7.6.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 119 — Structure of DefinitionType

7.6.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

7.6.4.  Content model

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative element using DefinitionType

<UnitDefinition xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="DefinitionType">
  <annotation>
    <documentation>Type for definition.</documentation>
  </annotation>
  <simpleContent>
    <extension base="xsd:string">
      <attributeGroup ref="sourceURL"/>
      <attributeGroup ref="sourceName"/>
      <attribute ref="xml:lang"/>
    </extension>
  </simpleContent>
</complexType>
Figure 120 — XSD source of DefinitionType

7.7.  DimensionSetType

7.7.1.  General

Type for the dimension container.

This complex type is used by:

7.7.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 121 — Structure of DimensionSetType

7.7.3.  Attributes

No attributes defined.

7.7.4.  Content model

  • Sequence [1..1]

    • <Dimension> of type DimensionType [1..*]

EXAMPLE — Illustrative element using DimensionSetType

<DimensionSet>
  <Dimension>...</Dimension>

</DimensionSet>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="DimensionSetType">
  <annotation>
    <documentation>Type for the dimension container.</documentation>
  </annotation>
  <sequence>
    <element ref="Dimension" maxOccurs="unbounded">
      <annotation>
        <documentation>Element to express a unit or quantity in terms of the SI base quantities length, mass, time, electric current, thermodynamic temperature, amount of substance, and luminous intensity.</documentation>
      </annotation>
    </element>
  </sequence>
</complexType>
Figure 122 — XSD source of DimensionSetType

7.8.  DimensionType

7.8.1.  General

Type for dimension.

This complex type is used by:

7.8.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 123 — Structure of DimensionType

7.8.3.  Attributes

@xml:id

[1]

@dimensionless

xsd:boolean [0..1]

Boolean to designate that a quantity or unit is dimensionless.

7.8.4.  Content model

  • Sequence [1..1]

    • <Length> of type LengthType [0..1]

    • <Mass> of type MassType [0..1]

    • <Time> of type TimeType [0..1]

    • <ElectricCurrent> of type ElectricCurrentType [0..1]

    • <ThermodynamicTemperature> of type ThermodynamicTemperatureType [0..1]

    • <AmountOfSubstance> of type AmountOfSubstanceType [0..1]

    • <LuminousIntensity> of type LuminousIntensityType [0..1]

    • <PlaneAngle> of type PlaneAngleType [0..1]

    • <Item> of type ItemType [0..*]

EXAMPLE — Illustrative element using DimensionType

<Dimension xml:id="..." dimensionless="0">

  <Length>...</Length>
  <Mass>...</Mass>
  <Time>...</Time>
  <ElectricCurrent>...</ElectricCurrent>
  <ThermodynamicTemperature>...</ThermodynamicTemperature>
  <AmountOfSubstance>...</AmountOfSubstance>
  <LuminousIntensity>...</LuminousIntensity>
  <PlaneAngle>...</PlaneAngle>
  <Item>...</Item>

</Dimension>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="DimensionType">
  <annotation>
    <documentation>Type for dimension.</documentation>
  </annotation>
  <sequence maxOccurs="unbounded">
    <annotation>
      <documentation>This unbounded sequence allows any order of any number of elements; e.g., L^1 · L^-1.</documentation>
    </annotation>
    <element ref="Length" minOccurs="0"/>
    <element ref="Mass" minOccurs="0"/>
    <element ref="Time" minOccurs="0"/>
    <element ref="ElectricCurrent" minOccurs="0"/>
    <element ref="ThermodynamicTemperature" minOccurs="0"/>
    <element ref="AmountOfSubstance" minOccurs="0"/>
    <element ref="LuminousIntensity" minOccurs="0"/>
    <element ref="PlaneAngle" minOccurs="0"/>
    <element ref="Item" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element containing the dimension of any item. Note: this element is meant to be used to allow counted items to be included in the dimensioning of a derived quantity, e.g., electrons per time; usage of this element does not conform to the SI description of the dimension of a quantity in terms of seven base quantities.</documentation>
      </annotation>
    </element>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attribute name="dimensionless" type="xsd:boolean" use="optional" default="0">
    <annotation>
      <documentation>Boolean to designate that a quantity or unit is dimensionless.</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 124 — XSD source of DimensionType

7.9.  ElectricCurrentType

7.9.1.  General

Type of the quantity electric current.

This complex type is used by:

7.9.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 125 — Structure of ElectricCurrentType

7.9.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity electric current.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.9.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using ElectricCurrentType

<ElectricCurrent symbol="I" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ElectricCurrentType">
  <annotation>
    <documentation>Type of the quantity electric current.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="I">
    <annotation>
      <documentation>Symbol of the quantity electric current.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 126 — XSD source of ElectricCurrentType

7.10.  EnumeratedRootUnitType

7.10.1.  General

Type for the element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2

This complex type is used by:

7.10.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 127 — Structure of EnumeratedRootUnitType

7.10.3.  Attributes

@unit

[1]

Unit identifier; the enumerated list is basically English unit names in lowercase, with a few upper case exceptions, e.g., 32F, mmHg, pH.

Base type: xsd:token

Allowed values:

  • meter

  • steradian

  • rem

  • year_365

  • newton

  • ec_therm

  • roentgen

  • gauss

  • pascal

  • kayser

  • stilb

  • electric_horsepower

  • poise

  • rhe

  • joule

  • liter

  • nautical_mile

  • degree_Fahrenheit

  • standard_atmosphere

  • technical_atmosphere

  • watt

  • stokes

  • gal

  • oersted

  • arc_minute

  • arc_second

  • arc_degree

  • coulomb

  • knot

  • neper

  • bel

  • mm_Hg

  • darcy

  • gon

  • volt

  • tons_of_tnt

  • farad

  • imperial_gallon

  • imperial_pint

  • imperial_ounce

  • us_gallon

  • us_pint

  • us_fluid_ounce

  • petro_barrel

  • us_bushel

  • ohm

  • us_dry_pint

  • light_year

  • astronomical_unit

  • parsec

  • siemens

  • weber

  • av_pound

  • av_ounce

  • gross_hundredweight

  • pound_force

  • tesla

  • carat

  • tex

  • torr

  • mm_water

  • thermo_btu

  • metric_horsepower

  • henry

  • lambert

  • gilbert

  • debye

  • abwatt

  • slug

  • thermo_calorie

  • short_ton

  • long_ton

  • degree_Celsius

  • troy_ounce

  • troy_pound

  • pennyweight

  • apothecaries_dram

  • scruple

  • poundal

  • kip

  • ton_force

  • barye

  • electronvolt

  • unified_atomic_mass_unit

  • natural_unit_of_velocity

  • natural_unit_of_action

  • natural_unit_of_mass

  • natural_unit_of_time

  • atomic_unit_of_charge

  • atomic_unit_of_mass

  • atomic_unit_of_action

  • atomic_unit_of_length

  • becquerel

  • atomic_unit_of_energy

  • atomic_unit_of_time

  • atomic_unit_of_magnetizability

  • atomic_unit_of_magnetic_flux_density

  • atomic_unit_of_magnetic_dipole_moment

  • atomic_unit_of_momentum

  • atomic_unit_of_charge_density

  • atomic_unit_of_current

  • atomic_unit_of_electric_dipole_moment

  • atomic_unit_of_electric_field

  • atomic_unit_of_electric_field_gradient

  • atomic_unit_of_electric_potential

  • atomic_unit_of_force

  • atomic_unit_of_electric_quadrupole_moment

  • atomic_unit_of_electric_polarizability

  • statohm

  • statfarad

  • statampere

  • statvolt

  • stathenry

  • gram

  • statmho

  • statcoulomb

  • statweber

  • stattesla

  • statwatt

  • av_dram

  • footcandle

  • footlambert

  • computer_pica

  • printers_pica

  • gray

  • computer_point

  • us_survey_rod

  • us_survey_fathom

  • circular_mil

  • horsepower

  • boiler_horsepower

  • water_horsepower

  • uk_horsepower

  • degree_Rankine

  • sievert

  • natural_unit_of_length

  • atomic_unit_of_1st_hyperpolarizability

  • atomic_unit_of_2nd_hyperpolarizability

  • atomic_unit_of_permittivity

  • atomic_unit_of_velocity

  • natural_unit_of_energy

  • natural_unit_of_momentum

  • natural_unit_of_action_in_eV_s

  • natural_unit_of_energy_in_MeV

  • natural_unit_of_momentum_in_MeV_per_c

  • second

  • katal

  • imperial_quart

  • us_dry_quart

  • us_quart

  • us_teaspoon

  • us_tablespoon

  • us_label_tablespoon

  • us_label_teaspoon

  • us_label_cup

  • us_label_fluid_ounce

  • us_label_ounce

  • hertz

  • us_survey_chain

  • us_survey_link

  • us_survey_furlong

  • us_survey_mile

  • us_survey_yard

  • us_survey_foot

  • us_survey_inch

  • us_acre

  • cm_Hg

  • 0C_cm_Hg

  • lumen

  • 4C_cm_water

  • cm_water

  • in_water

  • 39F_in_water

  • 60F_in_water

  • ft_water

  • 39F_ft_water

  • 32F_in_Hg

  • 60F_in_Hg

  • in_Hg

  • lux

  • ft_Hg

  • us_therm

  • pH

  • table_btu

  • mean_btu

  • 39F_btu

  • 59F_btu

  • 60F_btu

  • tropical_year

  • sidereal_year

  • sidereal_day

  • sidereal_hour

  • sidereal_minute

  • sidereal_second

  • printers_point

  • shake

  • denier

  • nato_mil

  • pound_mole

  • ton_refrigeration

  • bit

  • byte

  • us_peck

  • us_minim

  • us_cup

  • us_fluid_dram

  • us_gill

  • imperial_gill

  • minute

  • hour

  • light_week

  • light_hour

  • light_minute

  • light_second

  • day

  • decibel_milliwatt

  • relative_humidity

  • octave

  • decade

  • erlang

  • baud

  • shannon

  • hartley

  • angstrom

  • ampere

  • are

  • barn

  • hectare

  • abampere

  • abcoulomb

  • abfarad

  • kelvin

  • abhenry

  • abmho

  • abohm

  • abvolt

  • maxwell

  • mole

  • table_calorie

  • erg

  • table_kg_calorie

  • thermo_kg_calorie

  • candela

  • dyne

  • foot

  • inch

  • mile

  • yard

  • phot

  • grain

  • metric_ton

  • radian

  • bar

  • curie

  • rad

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@prefix

[0..1]

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

Base type: xsd:token

Allowed values:

  • d

  • p

  • f

  • a

  • c

  • z

  • y

  • r

  • m

  • q

  • u

  • n

  • 1

  • da

  • T

  • P

  • E

  • h

  • Z

  • Y

  • R

  • k

  • Q

  • M

  • G

  • Ki

  • Mi

  • Gi

  • Ti

  • Pi

  • Ei

  • Zi

  • Yi

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.10.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using EnumeratedRootUnitType

<EnumeratedRootUnit unit="..." sourceURL="xsd:anyURI" prefix="..." powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="EnumeratedRootUnitType">
  <annotation>
    <documentation>Type for the element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2</documentation>
  </annotation>
  <attribute name="unit" use="required">
    <annotation>
      <documentation>Unit identifier; the enumerated list is basically English unit names in lowercase, with a few upper case exceptions, e.g., 32F, mmHg, pH.</documentation>
    </annotation>
    <simpleType>
      <restriction base="xsd:token">
        <enumeration value="meter"/>
        <enumeration value="steradian"/>
        <enumeration value="rem"/>
        <enumeration value="year_365"/>
        <enumeration value="newton"/>
        <enumeration value="ec_therm"/>
        <enumeration value="roentgen"/>
        <enumeration value="gauss"/>
        <enumeration value="pascal"/>
        <enumeration value="kayser"/>
        <enumeration value="stilb"/>
        <enumeration value="electric_horsepower"/>
        <enumeration value="poise"/>
        <enumeration value="rhe"/>
        <enumeration value="joule"/>
        <enumeration value="liter"/>
        <enumeration value="nautical_mile"/>
        <enumeration value="degree_Fahrenheit"/>
        <enumeration value="standard_atmosphere"/>
        <enumeration value="technical_atmosphere"/>
        <enumeration value="watt"/>
        <enumeration value="stokes"/>
        <enumeration value="gal"/>
        <enumeration value="oersted"/>
        <enumeration value="arc_minute"/>
        <enumeration value="arc_second"/>
        <enumeration value="arc_degree"/>
        <enumeration value="coulomb"/>
        <enumeration value="knot"/>
        <enumeration value="neper"/>
        <enumeration value="bel"/>
        <enumeration value="mm_Hg"/>
        <enumeration value="darcy"/>
        <enumeration value="gon"/>
        <enumeration value="volt"/>
        <enumeration value="tons_of_tnt"/>
        <enumeration value="farad"/>
        <enumeration value="imperial_gallon"/>
        <enumeration value="imperial_pint"/>
        <enumeration value="imperial_ounce"/>
        <enumeration value="us_gallon"/>
        <enumeration value="us_pint"/>
        <enumeration value="us_fluid_ounce"/>
        <enumeration value="petro_barrel"/>
        <enumeration value="us_bushel"/>
        <enumeration value="ohm"/>
        <enumeration value="us_dry_pint"/>
        <enumeration value="light_year"/>
        <enumeration value="astronomical_unit"/>
        <enumeration value="parsec"/>
        <enumeration value="siemens"/>
        <enumeration value="weber"/>
        <enumeration value="av_pound"/>
        <enumeration value="av_ounce"/>
        <enumeration value="gross_hundredweight"/>
        <enumeration value="pound_force"/>
        <enumeration value="tesla"/>
        <enumeration value="carat"/>
        <enumeration value="tex"/>
        <enumeration value="torr"/>
        <enumeration value="mm_water"/>
        <enumeration value="thermo_btu"/>
        <enumeration value="metric_horsepower"/>
        <enumeration value="henry"/>
        <enumeration value="lambert"/>
        <enumeration value="gilbert"/>
        <enumeration value="debye"/>
        <enumeration value="abwatt"/>
        <enumeration value="slug"/>
        <enumeration value="thermo_calorie"/>
        <enumeration value="short_ton"/>
        <enumeration value="long_ton"/>
        <enumeration value="degree_Celsius"/>
        <enumeration value="troy_ounce"/>
        <enumeration value="troy_pound"/>
        <enumeration value="pennyweight"/>
        <enumeration value="apothecaries_dram"/>
        <enumeration value="scruple"/>
        <enumeration value="poundal"/>
        <enumeration value="kip"/>
        <enumeration value="ton_force"/>
        <enumeration value="barye"/>
        <enumeration value="electronvolt"/>
        <enumeration value="unified_atomic_mass_unit"/>
        <enumeration value="natural_unit_of_velocity"/>
        <enumeration value="natural_unit_of_action"/>
        <enumeration value="natural_unit_of_mass"/>
        <enumeration value="natural_unit_of_time"/>
        <enumeration value="atomic_unit_of_charge"/>
        <enumeration value="atomic_unit_of_mass"/>
        <enumeration value="atomic_unit_of_action"/>
        <enumeration value="atomic_unit_of_length"/>
        <enumeration value="becquerel"/>
        <enumeration value="atomic_unit_of_energy"/>
        <enumeration value="atomic_unit_of_time"/>
        <enumeration value="atomic_unit_of_magnetizability"/>
        <enumeration value="atomic_unit_of_magnetic_flux_density"/>
        <enumeration value="atomic_unit_of_magnetic_dipole_moment"/>
        <enumeration value="atomic_unit_of_momentum"/>
        <enumeration value="atomic_unit_of_charge_density"/>
        <enumeration value="atomic_unit_of_current"/>
        <enumeration value="atomic_unit_of_electric_dipole_moment"/>
        <enumeration value="atomic_unit_of_electric_field"/>
        <enumeration value="atomic_unit_of_electric_field_gradient"/>
        <enumeration value="atomic_unit_of_electric_potential"/>
        <enumeration value="atomic_unit_of_force"/>
        <enumeration value="atomic_unit_of_electric_quadrupole_moment"/>
        <enumeration value="atomic_unit_of_electric_polarizability"/>
        <enumeration value="statohm"/>
        <enumeration value="statfarad"/>
        <enumeration value="statampere"/>
        <enumeration value="statvolt"/>
        <enumeration value="stathenry"/>
        <enumeration value="gram"/>
        <enumeration value="statmho"/>
        <enumeration value="statcoulomb"/>
        <enumeration value="statweber"/>
        <enumeration value="stattesla"/>
        <enumeration value="statwatt"/>
        <enumeration value="av_dram"/>
        <enumeration value="footcandle"/>
        <enumeration value="footlambert"/>
        <enumeration value="computer_pica"/>
        <enumeration value="printers_pica"/>
        <enumeration value="gray"/>
        <enumeration value="computer_point"/>
        <enumeration value="us_survey_rod"/>
        <enumeration value="us_survey_fathom"/>
        <enumeration value="circular_mil"/>
        <enumeration value="horsepower"/>
        <enumeration value="boiler_horsepower"/>
        <enumeration value="water_horsepower"/>
        <enumeration value="uk_horsepower"/>
        <enumeration value="degree_Rankine"/>
        <enumeration value="sievert"/>
        <enumeration value="natural_unit_of_length"/>
        <enumeration value="atomic_unit_of_1st_hyperpolarizability"/>
        <enumeration value="atomic_unit_of_2nd_hyperpolarizability"/>
        <enumeration value="atomic_unit_of_permittivity"/>
        <enumeration value="atomic_unit_of_velocity"/>
        <enumeration value="natural_unit_of_energy"/>
        <enumeration value="natural_unit_of_momentum"/>
        <enumeration value="natural_unit_of_action_in_eV_s"/>
        <enumeration value="natural_unit_of_energy_in_MeV"/>
        <enumeration value="natural_unit_of_momentum_in_MeV_per_c"/>
        <enumeration value="second"/>
        <enumeration value="katal"/>
        <enumeration value="imperial_quart"/>
        <enumeration value="us_dry_quart"/>
        <enumeration value="us_quart"/>
        <enumeration value="us_teaspoon"/>
        <enumeration value="us_tablespoon"/>
        <enumeration value="us_label_tablespoon"/>
        <enumeration value="us_label_teaspoon"/>
        <enumeration value="us_label_cup"/>
        <enumeration value="us_label_fluid_ounce"/>
        <enumeration value="us_label_ounce"/>
        <enumeration value="hertz"/>
        <enumeration value="us_survey_chain"/>
        <enumeration value="us_survey_link"/>
        <enumeration value="us_survey_furlong"/>
        <enumeration value="us_survey_mile"/>
        <enumeration value="us_survey_yard"/>
        <enumeration value="us_survey_foot"/>
        <enumeration value="us_survey_inch"/>
        <enumeration value="us_acre"/>
        <enumeration value="cm_Hg"/>
        <enumeration value="0C_cm_Hg"/>
        <enumeration value="lumen"/>
        <enumeration value="4C_cm_water"/>
        <enumeration value="cm_water"/>
        <enumeration value="in_water"/>
        <enumeration value="39F_in_water"/>
        <enumeration value="60F_in_water"/>
        <enumeration value="ft_water"/>
        <enumeration value="39F_ft_water"/>
        <enumeration value="32F_in_Hg"/>
        <enumeration value="60F_in_Hg"/>
        <enumeration value="in_Hg"/>
        <enumeration value="lux"/>
        <enumeration value="ft_Hg"/>
        <enumeration value="us_therm"/>
        <enumeration value="pH"/>
        <enumeration value="table_btu"/>
        <enumeration value="mean_btu"/>
        <enumeration value="39F_btu"/>
        <enumeration value="59F_btu"/>
        <enumeration value="60F_btu"/>
        <enumeration value="tropical_year"/>
        <enumeration value="sidereal_year"/>
        <enumeration value="sidereal_day"/>
        <enumeration value="sidereal_hour"/>
        <enumeration value="sidereal_minute"/>
        <enumeration value="sidereal_second"/>
        <enumeration value="printers_point"/>
        <enumeration value="shake"/>
        <enumeration value="denier"/>
        <enumeration value="nato_mil"/>
        <enumeration value="pound_mole"/>
        <enumeration value="ton_refrigeration"/>
        <enumeration value="bit"/>
        <enumeration value="byte"/>
        <enumeration value="us_peck"/>
        <enumeration value="us_minim"/>
        <enumeration value="us_cup"/>
        <enumeration value="us_fluid_dram"/>
        <enumeration value="us_gill"/>
        <enumeration value="imperial_gill"/>
        <enumeration value="minute"/>
        <enumeration value="hour"/>
        <enumeration value="light_week"/>
        <enumeration value="light_hour"/>
        <enumeration value="light_minute"/>
        <enumeration value="light_second"/>
        <enumeration value="day"/>
        <enumeration value="decibel_milliwatt"/>
        <enumeration value="relative_humidity"/>
        <enumeration value="octave"/>
        <enumeration value="decade"/>
        <enumeration value="erlang"/>
        <enumeration value="baud"/>
        <enumeration value="shannon"/>
        <enumeration value="hartley"/>
        <enumeration value="angstrom"/>
        <enumeration value="ampere"/>
        <enumeration value="are"/>
        <enumeration value="barn"/>
        <enumeration value="hectare"/>
        <enumeration value="abampere"/>
        <enumeration value="abcoulomb"/>
        <enumeration value="abfarad"/>
        <enumeration value="kelvin"/>
        <enumeration value="abhenry"/>
        <enumeration value="abmho"/>
        <enumeration value="abohm"/>
        <enumeration value="abvolt"/>
        <enumeration value="maxwell"/>
        <enumeration value="mole"/>
        <enumeration value="table_calorie"/>
        <enumeration value="erg"/>
        <enumeration value="table_kg_calorie"/>
        <enumeration value="thermo_kg_calorie"/>
        <enumeration value="candela"/>
        <enumeration value="dyne"/>
        <enumeration value="foot"/>
        <enumeration value="inch"/>
        <enumeration value="mile"/>
        <enumeration value="yard"/>
        <enumeration value="phot"/>
        <enumeration value="grain"/>
        <enumeration value="metric_ton"/>
        <enumeration value="radian"/>
        <enumeration value="bar"/>
        <enumeration value="curie"/>
        <enumeration value="rad"/>
      </restriction>
    </simpleType>
  </attribute>
  <attributeGroup ref="sourceURL"/>
  <attributeGroup ref="prefix">
    <annotation>
      <documentation>Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]</documentation>
    </annotation>
  </attributeGroup>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 128 — XSD source of EnumeratedRootUnitType

7.11.  ExternalRootUnitType

7.11.1.  General

Type for the element for those special cases where the root unit needed is not included in the enumerated list in the above element.

This complex type is used by:

7.11.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 129 — Structure of ExternalRootUnitType

7.11.3.  Attributes

@unit

xsd:anyURI [1]

URI to identify the unit.

@annotation

xsd:string [0..1]

Optional unit annotation; e.g., a unit name if the unit identifier above is an uncommon code.

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@prefix

[0..1]

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

Base type: xsd:token

Allowed values:

  • d

  • p

  • f

  • a

  • c

  • z

  • y

  • r

  • m

  • q

  • u

  • n

  • 1

  • da

  • T

  • P

  • E

  • h

  • Z

  • Y

  • R

  • k

  • Q

  • M

  • G

  • Ki

  • Mi

  • Gi

  • Ti

  • Pi

  • Ei

  • Zi

  • Yi

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.11.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using ExternalRootUnitType

<ExternalRootUnit unit="xsd:anyURI" annotation="xsd:string" xml:lang="..." sourceURL="xsd:anyURI" prefix="..." powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ExternalRootUnitType">
  <annotation>
    <documentation>Type for the element for those special cases where the root unit needed is not included in the enumerated list in the above element.</documentation>
  </annotation>
  <attribute name="unit" type="xsd:anyURI" use="required">
    <annotation>
      <documentation>URI to identify the unit.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="sourceURL">
    <annotation>
      <documentation>URI identifying the source and possibly the definition of the unit.</documentation>
    </annotation>
  </attributeGroup>
  <attribute name="annotation" type="xsd:string">
    <annotation>
      <documentation>Optional unit annotation; e.g., a unit name if the unit identifier above is an uncommon code.</documentation>
    </annotation>
  </attribute>
  <attribute ref="xml:lang"/>
  <attributeGroup ref="prefix"/>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 130 — XSD source of ExternalRootUnitType

7.12.  Float64ConversionFromType

7.12.1.  General

Type for the element for providing factors for a conversion equation from another unit; y = d + b / c) (x + a

This complex type is used by:

7.12.3.  Attributes

@xml:id

[1]

@initialAddend

xsd:double [0..1]

Number to be added at the start of the conversion (prior to multiplication or division) [factor ‘a’ in equation].

@initialAddendDecimalPlace

xsd:byte [0..1]

Indicates the position of the least significant digit (in decimal) of the initialAddend; the position of this digit is given by ten to additive inverse of this number.

@multiplicand

xsd:double [0..1]

Number by which to multiply sum of initial addend and initial value [factor ‘b’ in equation].

@multiplicandDigits

xsd:unsignedByte [0..1]

Number of significant digits in the multiplicand value.

@divisor

xsd:double [0..1]

Divisor to be applied to the value at the same time as the multiplicand [factor ‘c’ in equation].

@divisorDigits

xsd:unsignedByte [0..1]

Number of significant digits in the divisor value.

@finalAddend

xsd:double [0..1]

Number to be added at the end of the conversion [factor ‘d’ in equation].

@finalAddendDecimalPlace

xsd:byte [0..1]

Indicates the position of the least significant digit (in decimal) of the finalAddend; the position of this digit is given by ten to additive inverse of this number.

@exact

xsd:boolean [0..1]

Indicates if the conversion is exact.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

7.12.4.  Content model

  • Sequence [1..1]

    • <ConversionNote> of type NoteType [0..*]

EXAMPLE — Illustrative element using Float64ConversionFromType

<Float64ConversionFrom xml:id="..." initialAddend="0" initialAddendDecimalPlace="xsd:byte" multiplicand="1" multiplicandDigits="xsd:unsignedByte" divisor="1" divisorDigits="xsd:unsignedByte" finalAddend="0" finalAddendDecimalPlace="xsd:byte" exact="false" initialUnit="xsd:anyURI">
  <ConversionNote>...</ConversionNote>

</Float64ConversionFrom>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="Float64ConversionFromType">
  <annotation>
    <documentation>Type for the element for providing factors for a conversion equation from another unit; y = d + ((b / c) (x + a))</documentation>
  </annotation>
  <sequence>
    <element ref="ConversionNote" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attributeGroup ref="initialUnit"/>
  <attribute name="initialAddend" type="xsd:double" default="0">
    <annotation>
      <documentation>Number to be added at the start of the conversion (prior to multiplication or division) [factor 'a' in equation].</documentation>
    </annotation>
  </attribute>
  <attribute name="initialAddendDecimalPlace" type="xsd:byte">
    <annotation>
      <documentation>Indicates the position of the least
significant digit (in decimal) of
the initialAddend; the position of
this digit is given by ten to
additive inverse of this number.</documentation>
    </annotation>
  </attribute>
  <attribute name="multiplicand" type="xsd:double" default="1">
    <annotation>
      <documentation>Number by which to multiply sum of initial addend and initial value [factor 'b' in equation].</documentation>
    </annotation>
  </attribute>
  <attribute name="multiplicandDigits" type="xsd:unsignedByte">
    <annotation>
      <documentation>Number of significant digits in the multiplicand value.</documentation>
    </annotation>
  </attribute>
  <attribute name="divisor" type="xsd:double" default="1">
    <annotation>
      <documentation>Divisor to be applied to the value at the same time as the multiplicand [factor 'c' in equation].</documentation>
    </annotation>
  </attribute>
  <attribute name="divisorDigits" type="xsd:unsignedByte">
    <annotation>
      <documentation>Number of significant digits in the divisor value.</documentation>
    </annotation>
  </attribute>
  <attribute name="finalAddend" type="xsd:double" default="0">
    <annotation>
      <documentation>Number to be added at the end of the conversion [factor 'd' in equation].</documentation>
    </annotation>
  </attribute>
  <attribute name="finalAddendDecimalPlace" type="xsd:byte">
    <annotation>
      <documentation>Indicates the position of the least
significant digit (in decimal) of
the finalAddend; the position of
this digit is given by ten to
additive inverse of this number.</documentation>
    </annotation>
  </attribute>
  <attribute name="exact" type="xsd:boolean" default="false">
    <annotation>
      <documentation>Indicates if the conversion is exact.</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 132 — XSD source of Float64ConversionFromType

7.13.  HistoryType

7.13.1.  General

Type for history.

This complex type is used by:

7.13.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 133 — Structure of HistoryType

7.13.3.  Attributes

@xml:lang

[0..1]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

7.13.4.  Content model

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative element using HistoryType

<UnitHistory xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="HistoryType">
  <annotation>
    <documentation>Type for history.</documentation>
  </annotation>
  <simpleContent>
    <extension base="xsd:string">
      <attributeGroup ref="sourceURL"/>
      <attributeGroup ref="sourceName"/>
      <attribute ref="xml:lang"/>
    </extension>
  </simpleContent>
</complexType>
Figure 134 — XSD source of HistoryType

7.14.  ItemType

7.14.1.  General

Type of the quantity represented by a counted item, e.g., electron

This complex type is used by:

7.14.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 135 — Structure of ItemType

7.14.3.  Attributes

@itemURL

xsd:anyURI [1]

Unique URL for identifying or describing the item.

@itemSymbol

xsd:token [0..1]

Symbol for the item.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.14.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using ItemType

<Item itemURL="xsd:anyURI" itemSymbol="xsd:token" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ItemType">
  <annotation>
    <documentation>Type of the quantity represented by a counted item, e.g., electron</documentation>
  </annotation>
  <attribute name="itemURL" type="xsd:anyURI" use="required">
    <annotation>
      <documentation>Unique URL for identifying or describing the item.</documentation>
    </annotation>
  </attribute>
  <attribute name="itemSymbol" type="xsd:token">
    <annotation>
      <documentation>Symbol for the item.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 136 — XSD source of ItemType

7.15.  LengthType

7.15.1.  General

Type of the quantity length.

This complex type is used by:

7.15.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 137 — Structure of LengthType

7.15.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity length.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.15.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using LengthType

<Length symbol="L" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="LengthType">
  <annotation>
    <documentation>Type of the quantity length.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="L">
    <annotation>
      <documentation>Symbol of the quantity length.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 138 — XSD source of LengthType

7.16.  LuminousIntensityType

7.16.1.  General

Type of the quantity luminous intensity.

This complex type is used by:

7.16.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 139 — Structure of LuminousIntensityType

7.16.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity luminous intensity.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.16.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using LuminousIntensityType

<LuminousIntensity symbol="J" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="LuminousIntensityType">
  <annotation>
    <documentation>Type of the quantity luminous intensity.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="J">
    <annotation>
      <documentation>Symbol of the quantity luminous intensity.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 140 — XSD source of LuminousIntensityType

7.17.  MassType

7.17.1.  General

Type of the quantity mass.

This complex type is used by:

7.17.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 141 — Structure of MassType

7.17.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity mass.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.17.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using MassType

<Mass symbol="M" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="MassType">
  <annotation>
    <documentation>Type of the quantity mass.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="M">
    <annotation>
      <documentation>Symbol of the quantity mass.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 142 — XSD source of MassType

7.18.  NameType

7.18.1.  General

Type for name. Used for names in units, quantities, and prefixes.

This complex type is used by:

7.18.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

NameType @xml:lang [0..1] Simple content xsd:token
Figure 143 — Structure of NameType

7.18.3.  Attributes

@xml:lang

[0..1]

7.18.4.  Content model

  • Simple content based on xsd:token [1..1]

EXAMPLE — Illustrative element using NameType

<UnitName xml:lang="..."/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="NameType">
  <annotation>
    <documentation>Type for name.  Used for names in units, quantities, and prefixes.</documentation>
  </annotation>
  <simpleContent>
    <extension base="xsd:token">
      <attribute ref="xml:lang"/>
    </extension>
  </simpleContent>
</complexType>
Figure 144 — XSD source of NameType

7.19.  NoteType

7.19.1.  General

Type for notes. Used in units and conversion factors.

This complex type is used by:

7.19.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

NoteType @xml:lang [0..1] Simple content xsd:string
Figure 145 — Structure of NoteType

7.19.3.  Attributes

@xml:lang

[0..1]

7.19.4.  Content model

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative element using NoteType

<UnitVersionHistory xml:lang="..."/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="NoteType">
  <annotation>
    <documentation>Type for notes.  Used in units and conversion factors.</documentation>
  </annotation>
  <simpleContent>
    <extension base="xsd:string">
      <attribute ref="xml:lang"/>
    </extension>
  </simpleContent>
</complexType>
Figure 146 — XSD source of NoteType

7.20.  PlaneAngleType

7.20.1.  General

Type of the quantity plane angle.

This complex type is used by:

7.20.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 147 — Structure of PlaneAngleType

7.20.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity plane angle.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.20.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using PlaneAngleType

<PlaneAngle symbol="xsd:token" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="PlaneAngleType">
  <annotation>
    <documentation>Type of the quantity plane angle.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token">
    <annotation>
      <documentation>Symbol of the quantity plane angle.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 148 — XSD source of PlaneAngleType

7.21.  PrefixSetType

7.21.1.  General

Type for container for prefixes.

This complex type is used by:

7.21.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 149 — Structure of PrefixSetType

7.21.3.  Attributes

No attributes defined.

7.21.4.  Content model

  • Sequence [1..1]

    • <Prefix> of type PrefixType [1..*]

EXAMPLE — Illustrative element using PrefixSetType

<PrefixSet>
  <Prefix>...</Prefix>

</PrefixSet>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="PrefixSetType">
  <annotation>
    <documentation>Type for container for prefixes.</documentation>
  </annotation>
  <sequence>
    <element ref="Prefix" maxOccurs="unbounded"/>
  </sequence>
</complexType>
Figure 150 — XSD source of PrefixSetType

7.22.  PrefixType

7.22.1.  General

Type for element for describing prefixes. Use in container PrefixSet.

This complex type is used by:

7.22.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 151 — Structure of PrefixType

7.22.3.  Attributes

@xml:id

[1]

@prefixBase

[0..1]

The base of the prefix system, i.e., 10 (SI) or 2 (binary).

Base type: xsd:byte

Allowed values:

  • 10

  • 2

@prefixPower

xsd:byte [0..1]

The exponential power of the prefix with relation to the base.

7.22.4.  Content model

  • Sequence [1..1]

    • <PrefixName> of type NameType [1..*]

    • <PrefixSymbol> of type SymbolType [0..*]

EXAMPLE — Illustrative element using PrefixType

<Prefix xml:id="..." prefixBase="10" prefixPower="xsd:byte">
  <PrefixName>...</PrefixName>
  <PrefixSymbol>...</PrefixSymbol>

</Prefix>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="PrefixType">
  <annotation>
    <documentation>Type for element for describing prefixes. Use in container PrefixSet.</documentation>
  </annotation>
  <sequence>
    <element ref="PrefixName" maxOccurs="unbounded"/>
    <element ref="PrefixSymbol" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attribute name="prefixBase" default="10">
    <annotation>
      <documentation>The base of the prefix system, i.e., 10 (SI) or 2 (binary).</documentation>
    </annotation>
    <simpleType>
      <restriction base="xsd:byte">
        <enumeration value="10"/>
        <enumeration value="2"/>
      </restriction>
    </simpleType>
  </attribute>
  <attribute name="prefixPower" type="xsd:byte">
    <annotation>
      <documentation>The exponential power of the prefix with relation to the base.</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 152 — XSD source of PrefixType

7.23.  QuantitySetType

7.23.1.  General

Type for quantity container.

This complex type is used by:

7.23.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 153 — Structure of QuantitySetType

7.23.3.  Attributes

No attributes defined.

7.23.4.  Content model

  • Sequence [1..1]

    • <Quantity> of type QuantityType [1..*]

EXAMPLE — Illustrative element using QuantitySetType

<QuantitySet>
  <Quantity>...</Quantity>

</QuantitySet>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="QuantitySetType">
  <annotation>
    <documentation>Type for quantity container.</documentation>
  </annotation>
  <sequence>
    <element ref="Quantity" maxOccurs="unbounded"/>
  </sequence>
</complexType>
Figure 154 — XSD source of QuantitySetType

7.24.  QuantityType

7.24.1.  General

Type for the quantity.

This complex type is used by:

7.24.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 155 — Structure of QuantityType

7.24.3.  Attributes

@xml:id

[1]

@quantityType

[0..1]

Type of the quantity. For example base or derived.

Base type: xsd:token

Allowed values:

  • base

  • derived

@dimensionURL

xsd:anyURI [0..1]

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

7.24.4.  Content model

  • Sequence [1..1]

    • <QuantityName> of type NameType [1..*]

    • <QuantitySymbol> of type SymbolType [0..*]

    • <UnitReference> of type ReferenceType [0..*]

    • <QuantityVersionHistory> of type NoteType [0..*]

    • <QuantityDefinition> of type DefinitionType [0..*]

    • <QuantityHistory> of type HistoryType [0..*]

    • <QuantityRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative element using QuantityType

<Quantity xml:id="..." quantityType="..." dimensionURL="xsd:anyURI">
  <QuantityName>...</QuantityName>
  <QuantitySymbol>...</QuantitySymbol>
  <UnitReference>...</UnitReference>
  <QuantityVersionHistory>...</QuantityVersionHistory>
  <QuantityDefinition>...</QuantityDefinition>
  <QuantityHistory>...</QuantityHistory>
  <QuantityRemark>...</QuantityRemark>

</Quantity>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="QuantityType">
  <annotation>
    <documentation>Type for the quantity.</documentation>
  </annotation>
  <sequence>
    <element ref="QuantityName" maxOccurs="unbounded"/>
    <element ref="QuantitySymbol" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element containing various quantity symbols.</documentation>
      </annotation>
    </element>
    <element ref="UnitReference" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for specifying particular units associated with the quantity.</documentation>
      </annotation>
    </element>
    <element ref="QuantityVersionHistory" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for descriptive information, including version changes to the quantity.</documentation>
      </annotation>
    </element>
    <element ref="QuantityDefinition" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="QuantityHistory" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="QuantityRemark" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attribute name="quantityType" use="optional">
    <annotation>
      <documentation>Type of the quantity.  For example base or derived.</documentation>
    </annotation>
    <simpleType>
      <restriction base="xsd:token">
        <enumeration value="base"/>
        <enumeration value="derived"/>
      </restriction>
    </simpleType>
    <!-- REVISE -->
  </attribute>
  <attributeGroup ref="dimensionURL"/>
</complexType>
Figure 156 — XSD source of QuantityType

7.25.  ReferenceType

7.25.1.  General

Type for reference to a unit or quantity.

This complex type is used by:

7.25.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 157 — Structure of ReferenceType

7.25.3.  Attributes

@url

xsd:anyURI [1]

URL to the reference item.

@name

xsd:token [0..1]

Name of the referenced item.

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

7.25.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using ReferenceType

<QuantityReference url="xsd:anyURI" name="xsd:token" xml:lang="..."/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ReferenceType">
  <annotation>
    <documentation>Type for reference to a unit or quantity.</documentation>
  </annotation>
  <attribute name="url" type="xsd:anyURI" use="required">
    <annotation>
      <documentation>URL to the reference item.</documentation>
    </annotation>
  </attribute>
  <attribute name="name" type="xsd:token" use="optional">
    <annotation>
      <documentation>Name of the referenced item.</documentation>
    </annotation>
  </attribute>
  <attribute ref="xml:lang">
    <annotation>
      <documentation>Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 158 — XSD source of ReferenceType

7.26.  RemarkType

7.26.1.  General

Type for remark.

This complex type is used by:

7.26.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 159 — Structure of RemarkType

7.26.3.  Attributes

@xml:lang

[0..1]

Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

@sourceName

xsd:string [0..1]

Name of relevant publication.

7.26.4.  Content model

  • Simple content based on xsd:string [1..1]

EXAMPLE — Illustrative element using RemarkType

<UnitRemark xml:lang="..." sourceURL="xsd:anyURI" sourceName="xsd:string"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="RemarkType">
  <annotation>
    <documentation>Type for remark.</documentation>
  </annotation>
  <simpleContent>
    <extension base="xsd:string">
      <attributeGroup ref="sourceURL"/>
      <attributeGroup ref="sourceName"/>
      <attribute ref="xml:lang">
        <annotation>
          <documentation>Primary language of the element and/or its attributes. [See RFC 4646, RFC 4647 and ISO 639.]</documentation>
        </annotation>
      </attribute>
    </extension>
  </simpleContent>
</complexType>
Figure 160 — XSD source of RemarkType

7.27.  RootUnitsType

7.27.1.  General

Type for the container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered base units.

This complex type is used by:

7.27.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 161 — Structure of RootUnitsType

7.27.3.  Attributes

No attributes defined.

7.27.4.  Content model

  • Sequence [1..1]

    • <EnumeratedRootUnit> of type EnumeratedRootUnitType [0..*]

    • <ExternalRootUnit> of type ExternalRootUnitType [0..*]

EXAMPLE — Illustrative element using RootUnitsType

<RootUnits>
  <EnumeratedRootUnit>...</EnumeratedRootUnit>
  <ExternalRootUnit>...</ExternalRootUnit>

</RootUnits>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="RootUnitsType">
  <annotation>
    <documentation>Type for the container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered base units.</documentation>
  </annotation>
  <sequence>
    <element ref="EnumeratedRootUnit" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for a root unit (from an extensive enumerated list) allowing an optional prefix and power. E.g., mm^2</documentation>
      </annotation>
    </element>
    <element ref="ExternalRootUnit" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for those special cases where the root unit needed is not included in the enumerated list in the above element.</documentation>
      </annotation>
    </element>
  </sequence>
</complexType>
Figure 162 — XSD source of RootUnitsType

7.28.  SpecialConversionFromType

7.28.1.  General

Type for the element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.

This complex type is used by:

7.28.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 163 — Structure of SpecialConversionFromType

7.28.3.  Attributes

@xml:id

[1]

@conversionURL

xsd:anyURI [0..1]

URL for external description of the conversion or for an online convertor.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

7.28.4.  Content model

  • Sequence [1..1]

    • <ConversionDescription> of type NoteType [0..*]

EXAMPLE — Illustrative element using SpecialConversionFromType

<SpecialConversionFrom xml:id="..." conversionURL="xsd:anyURI" initialUnit="xsd:anyURI">
  <ConversionDescription>...</ConversionDescription>

</SpecialConversionFrom>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="SpecialConversionFromType">
  <annotation>
    <documentation>Type for the element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.</documentation>
  </annotation>
  <sequence>
    <element ref="ConversionDescription" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Description of the conversion.</documentation>
      </annotation>
    </element>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attribute name="conversionURL" type="xsd:anyURI">
    <annotation>
      <documentation>URL for external description of the conversion or for an online convertor.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="initialUnit"/>
</complexType>
Figure 164 — XSD source of SpecialConversionFromType

7.29.  SymbolType

7.29.1.  General

Type for symbols. Used in units, quantities, and prefixes.

This complex type is used by:

7.29.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

SymbolType @xml:lang [0..1] @type [1] Sequence Any element skip processing 1. 1. [1..*]
Figure 165 — Structure of SymbolType

7.29.3.  Attributes

@xml:lang

[0..1]

@type

[1]

Type of symbol representation. Examples include ASCII, unicode, HTML, and MathML.

Member types: xsd:token

Allowed xsd:token values:

  • ASCII

  • Unicode

  • LaTeX

  • HTML

  • MathML

  • SVG

7.29.4.  Content model

This complex type allows mixed content.

  • Sequence [1..1]

    • Any element from any namespace (skip processing) [1..*]

EXAMPLE — Illustrative element using SymbolType

<UnitSymbol xml:lang="..." type="...">
<!-- mixed content -->

  <!-- Any element from any namespace -->

</UnitSymbol>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="SymbolType" mixed="true">
  <annotation>
    <documentation>Type for symbols.  Used in units, quantities, and prefixes.</documentation>
  </annotation>
  <sequence minOccurs="0" maxOccurs="unbounded">
    <any processContents="skip" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:lang"/>
  <attribute name="type" use="required">
    <annotation>
      <documentation>Type of symbol representation.  Examples include ASCII, unicode, HTML, and MathML.</documentation>
    </annotation>
    <simpleType>
      <union memberTypes="xsd:token">
        <simpleType>
          <restriction base="xsd:token">
            <enumeration value="ASCII"/>
            <enumeration value="Unicode"/>
            <enumeration value="LaTeX"/>
            <enumeration value="HTML"/>
            <enumeration value="MathML"/>
            <enumeration value="SVG"/>
          </restriction>
        </simpleType>
      </union>
    </simpleType>
  </attribute>
</complexType>
Figure 166 — XSD source of SymbolType

7.30.  SystemType

7.30.1.  General

Type for unit system.

This complex type is used by:

7.30.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 167 — Structure of SystemType

7.30.3.  Attributes

@name

xsd:token [1]

Name of the unit system. For example, SI, inch-pound, CGS, and MKS.

@type

xsd:string [0..1]

Description of the unit relative to the unit system. Examples are SI_base and non-SI_not_acceptable.

@xml:lang

[0..1]

7.30.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using SystemType

<UnitSystem name="xsd:token" type="xsd:string" xml:lang="..."/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="SystemType">
  <annotation>
    <documentation>Type for unit system.</documentation>
  </annotation>
  <attribute name="name" type="xsd:token" use="required">
    <annotation>
      <documentation>Name of the unit system.   For example, SI, inch-pound, CGS, and MKS.</documentation>
    </annotation>
  </attribute>
  <attribute name="type" type="xsd:string" use="optional">
    <annotation>
      <documentation>Description of the unit relative to the unit system.  Examples are SI_base and non-SI_not_acceptable.</documentation>
    </annotation>
  </attribute>
  <attribute ref="xml:lang"/>
</complexType>
Figure 168 — XSD source of SystemType

7.31.  ThermodynamicTemperatureType

7.31.1.  General

Type of the quantity thermodynamic temperature.

This complex type is used by:

7.31.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 169 — Structure of ThermodynamicTemperatureType

7.31.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity thermodynamic temperature.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.31.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using ThermodynamicTemperatureType

<ThermodynamicTemperature symbol="Θ" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="ThermodynamicTemperatureType">
  <annotation>
    <documentation>Type of the quantity thermodynamic temperature.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="Θ">
    <annotation>
      <documentation>Symbol of the quantity thermodynamic temperature.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 170 — XSD source of ThermodynamicTemperatureType

7.32.  TimeType

7.32.1.  General

Type of the quantity time.

This complex type is used by:

7.32.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 171 — Structure of TimeType

7.32.3.  Attributes

@symbol

xsd:token [0..1]

Symbol of the quantity time.

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

7.32.4.  Content model

No child elements defined.

EXAMPLE — Illustrative element using TimeType

<Time symbol="T" powerNumerator="1" powerDenominator="1"/>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="TimeType">
  <annotation>
    <documentation>Type of the quantity time.</documentation>
  </annotation>
  <attribute name="symbol" type="xsd:token" use="optional" fixed="T">
    <annotation>
      <documentation>Symbol of the quantity time.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="powerRational"/>
</complexType>
Figure 172 — XSD source of TimeType

7.33.  UnitSetType

7.33.1.  General

Type for the unit container.

This complex type is used by:

7.33.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

UnitSetType Sequence Unit : UnitType 1. 1. [1..*]
Figure 173 — Structure of UnitSetType

7.33.3.  Attributes

No attributes defined.

7.33.4.  Content model

  • Sequence [1..1]

    • <Unit> of type UnitType [1..*]

EXAMPLE — Illustrative element using UnitSetType

<UnitSet>
  <Unit>...</Unit>

</UnitSet>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="UnitSetType">
  <annotation>
    <documentation>Type for the unit container.</documentation>
  </annotation>
  <sequence>
    <element ref="Unit" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for describing units. Use in containers UnitSet or directly incorporate into a host schema.</documentation>
      </annotation>
    </element>
  </sequence>
</complexType>
Figure 174 — XSD source of UnitSetType

7.34.  UnitType

7.34.1.  General

Type for the unit.

This complex type is used by:

7.34.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 175 — Structure of UnitType

7.34.3.  Attributes

@xml:id

[1]

@timeStamp

xsd:dateTime [0..1]

Used to indicate the version of the unit output from the Units Database. Changes in the time-stamp are made if a substantive change has been made to the unit, such as a change in the unit definition or changes in conversion factors.

@dimensionURL

xsd:anyURI [0..1]

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

7.34.4.  Content model

  • Sequence [1..1]

    • <UnitSystem> of type SystemType [0..*]

    • <UnitName> of type NameType [1..*]

    • <UnitSymbol> of type SymbolType [0..*]

    • <CodeListValue> of type CodeListValueType [0..*]

    • <RootUnits> of type RootUnitsType [0..1]

    • <Conversions> of type ConversionsType [0..1]

    • <QuantityReference> of type ReferenceType [0..*]

    • <UnitVersionHistory> of type NoteType [0..*]

    • <UnitDefinition> of type DefinitionType [0..*]

    • <UnitHistory> of type HistoryType [0..*]

    • <UnitRemark> of type RemarkType [0..*]

EXAMPLE — Illustrative element using UnitType

<Unit xml:id="..." timeStamp="xsd:dateTime" dimensionURL="xsd:anyURI">
  <UnitSystem>...</UnitSystem>
  <UnitName>...</UnitName>
  <UnitSymbol>...</UnitSymbol>
  <CodeListValue>...</CodeListValue>
  <RootUnits>...</RootUnits>
  <Conversions>...</Conversions>
  <QuantityReference>...</QuantityReference>
  <UnitVersionHistory>...</UnitVersionHistory>
  <UnitDefinition>...</UnitDefinition>
  <UnitHistory>...</UnitHistory>
  <UnitRemark>...</UnitRemark>

</Unit>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="UnitType">
  <annotation>
    <documentation>Type for the unit.</documentation>
  </annotation>
  <sequence>
    <element ref="UnitSystem" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Container for describing the system(s) of units.</documentation>
      </annotation>
    </element>
    <element ref="UnitName" maxOccurs="unbounded"/>
    <element ref="UnitSymbol" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="CodeListValue" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="RootUnits" minOccurs="0">
      <annotation>
        <documentation>Container for defining derived units in terms of their root units. This allows a precise definition of a wide range of units. The goal is to improve interoperability among applications and databases which use derived units based on commonly encountered root units.</documentation>
      </annotation>
    </element>
    <element ref="Conversions" minOccurs="0"/>
    <element ref="QuantityReference" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="UnitVersionHistory" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Element for descriptive information, including version changes to the unit.</documentation>
      </annotation>
    </element>
    <element ref="UnitDefinition" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="UnitHistory" minOccurs="0" maxOccurs="unbounded"/>
    <element ref="UnitRemark" minOccurs="0" maxOccurs="unbounded"/>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attribute name="timeStamp" type="xsd:dateTime">
    <annotation>
      <documentation>Used to indicate the version of the unit output from the Units Database. Changes in the time-stamp are made if a substantive change has been made to the unit, such as a change in the unit definition or changes in conversion factors.</documentation>
    </annotation>
  </attribute>
  <attributeGroup ref="dimensionURL">
    <annotation>
      <documentation>Reference to a representation of the unit or quantity in terms of the 7 SI base dimensions.</documentation>
    </annotation>
  </attributeGroup>
</complexType>
Figure 176 — XSD source of UnitType

7.35.  UnitsMLType

7.35.1.  General

ComplexType for the root element of an UnitsML document.

This complex type is used by:

7.35.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 177 — Structure of UnitsMLType

7.35.3.  Attributes

No attributes defined.

7.35.4.  Content model

  • Sequence [1..1]

    • <UnitSet> of type UnitSetType [0..1]

    • <CountedItemSet> of type CountedItemSetType [0..1]

    • <QuantitySet> of type QuantitySetType [0..1]

    • <DimensionSet> of type DimensionSetType [0..1]

    • <PrefixSet> of type PrefixSetType [0..1]

EXAMPLE — Illustrative element using UnitsMLType

<UnitsML>
  <UnitSet>...</UnitSet>
  <CountedItemSet>...</CountedItemSet>
  <QuantitySet>...</QuantitySet>
  <DimensionSet>...</DimensionSet>
  <PrefixSet>...</PrefixSet>

</UnitsML>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="UnitsMLType">
  <annotation>
    <documentation>ComplexType for the root element of an UnitsML document.</documentation>
  </annotation>
  <sequence>
    <element ref="UnitSet" minOccurs="0"/>
    <element ref="CountedItemSet" minOccurs="0"/>
    <element ref="QuantitySet" minOccurs="0"/>
    <element ref="DimensionSet" minOccurs="0"/>
    <element ref="PrefixSet" minOccurs="0"/>
  </sequence>
</complexType>
Figure 178 — XSD source of UnitsMLType

7.36.  WSDLConversionFromType

7.36.1.  General

Type for the element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.

This complex type is used by:

7.36.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 179 — Structure of WSDLConversionFromType

7.36.3.  Attributes

@xml:id

[1]

@wsdlURL

xsd:anyURI [1]

URL for external WSDL definition file.

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

7.36.4.  Content model

  • Sequence [1..1]

    • <WSDLDescription> of type NoteType [0..*]

EXAMPLE — Illustrative element using WSDLConversionFromType

<WSDLConversionFrom xml:id="..." wsdlURL="xsd:anyURI" initialUnit="xsd:anyURI">
  <WSDLDescription>...</WSDLDescription>

</WSDLConversionFrom>
<complexType xmlns="http://www.w3.org/2001/XMLSchema" name="WSDLConversionFromType">
  <annotation>
    <documentation>Type for the element for providing unit conversion information for conversions that are more complex than the Float64ConversionFrom linear equation.</documentation>
  </annotation>
  <sequence>
    <element ref="WSDLDescription" minOccurs="0" maxOccurs="unbounded">
      <annotation>
        <documentation>Description of the service.</documentation>
      </annotation>
    </element>
  </sequence>
  <attribute ref="xml:id" use="required"/>
  <attributeGroup ref="initialUnit"/>
  <attribute name="wsdlURL" type="xsd:anyURI" use="required">
    <annotation>
      <documentation>URL for external WSDL definition file.</documentation>
    </annotation>
  </attribute>
</complexType>
Figure 180 — XSD source of WSDLConversionFromType

8.  Attribute groups

8.1.  dimensionURL

8.1.1.  Group

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

This attribute group is used by:

8.1.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 181 — Structure of dimensionURL

8.1.3.  Attributes

@dimensionURL

xsd:anyURI [0..1]

URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="dimensionURL">
  <annotation>
    <documentation>URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.</documentation>
  </annotation>
  <attribute name="dimensionURL" type="xsd:anyURI">
    <annotation>
      <documentation>URL to a representation of the unit or quantity in terms of the 7 SI base dimensions.</documentation>
    </annotation>
  </attribute>
</attributeGroup>
Figure 182 — XSD source of dimensionURL

8.2.  initialUnit

8.2.1.  Group

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

This attribute group is used by:

8.2.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 183 — Structure of initialUnit

8.2.3.  Attributes

@initialUnit

xsd:anyURI [1]

URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="initialUnit">
  <annotation>
    <documentation>URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.</documentation>
  </annotation>
  <attribute name="initialUnit" type="xsd:anyURI" use="required">
    <annotation>
      <documentation>URI indicating the unitID of the starting unit for the conversion. For units which are defined in the same document, the URI should consist of a pound sign (#) followed by the ID value.</documentation>
    </annotation>
  </attribute>
</attributeGroup>
Figure 184 — XSD source of initialUnit

8.3.  powerRational

8.3.1.  Group

An exponent of the unit, specified as powerNumerator and powerDenominator.

This attribute group is used by:

8.3.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 185 — Structure of powerRational

8.3.3.  Attributes

@powerNumerator

xsd:byte [0..1]

An integer exponent of the unit.

@powerDenominator

xsd:byte [0..1]

An integer value divided into the powerNumerator to create a non integer exponent of a unit. For example 1/2.

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="powerRational">
  <annotation>
    <documentation>An exponent of the unit, specified as powerNumerator and powerDenominator.</documentation>
  </annotation>
  <attribute name="powerNumerator" type="xsd:byte" use="optional" default="1">
    <annotation>
      <documentation>An integer exponent of the unit.</documentation>
    </annotation>
  </attribute>
  <attribute name="powerDenominator" type="xsd:byte" use="optional" default="1">
    <annotation>
      <documentation>An integer value divided into the powerNumerator to create a non integer exponent of a unit.  For example 1/2.</documentation>
    </annotation>
  </attribute>
</attributeGroup>
Figure 186 — XSD source of powerRational

8.4.  prefix

8.4.1.  Group

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

This attribute group is used by:

8.4.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 187 — Structure of prefix

8.4.3.  Attributes

@prefix

[0..1]

Prefix identifier; e.g., m, k, M, G. [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]

Base type: xsd:token

Allowed values:

  • d

  • p

  • f

  • a

  • c

  • z

  • y

  • r

  • m

  • q

  • u

  • n

  • 1

  • da

  • T

  • P

  • E

  • h

  • Z

  • Y

  • R

  • k

  • Q

  • M

  • G

  • Ki

  • Mi

  • Gi

  • Ti

  • Pi

  • Ei

  • Zi

  • Yi

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="prefix">
  <annotation>
    <documentation>Prefix identifier; e.g., m, k, M, G.  [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]</documentation>
  </annotation>
  <attribute name="prefix">
    <annotation>
      <documentation>Prefix identifier; e.g., m, k, M, G.  [Enumeration order is by prefix magnitude (Y to y) followed by binary prefixes.]</documentation>
    </annotation>
    <simpleType>
      <restriction base="xsd:token">
        <enumeration value="d"/>
        <enumeration value="p"/>
        <enumeration value="f"/>
        <enumeration value="a"/>
        <enumeration value="c"/>
        <enumeration value="z"/>
        <enumeration value="y"/>
        <enumeration value="r"/>
        <enumeration value="m"/>
        <enumeration value="q"/>
        <enumeration value="u"/>
        <enumeration value="n"/>
        <enumeration value="1"/>
        <enumeration value="da"/>
        <enumeration value="T"/>
        <enumeration value="P"/>
        <enumeration value="E"/>
        <enumeration value="h"/>
        <enumeration value="Z"/>
        <enumeration value="Y"/>
        <enumeration value="R"/>
        <enumeration value="k"/>
        <enumeration value="Q"/>
        <enumeration value="M"/>
        <enumeration value="G"/>
        <enumeration value="Ki"/>
        <enumeration value="Mi"/>
        <enumeration value="Gi"/>
        <enumeration value="Ti"/>
        <enumeration value="Pi"/>
        <enumeration value="Ei"/>
        <enumeration value="Zi"/>
        <enumeration value="Yi"/>
      </restriction>
    </simpleType>
  </attribute>
</attributeGroup>
Figure 188 — XSD source of prefix

8.5.  sourceName

8.5.1.  Group

Name of relevant publication.

This attribute group is used by:

8.5.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 189 — Structure of sourceName

8.5.3.  Attributes

@sourceName

xsd:string [0..1]

Name of relevant publication.

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="sourceName">
  <annotation>
    <documentation>Name of relevant publication.</documentation>
  </annotation>
  <attribute name="sourceName" type="xsd:string" use="optional">
    <annotation>
      <documentation>Name of relevant publication.</documentation>
    </annotation>
  </attribute>
</attributeGroup>
Figure 190 — XSD source of sourceName

8.6.  sourceURL

8.6.1.  Group

Relevant URL for available information.

This attribute group is used by:

8.6.2.  Structure diagram

The diagram shows attributes and the content model in schema order. Element edges show occurrence ranges; see the declarations below for all constraints.

Figure 191 — Structure of sourceURL

8.6.3.  Attributes

@sourceURL

xsd:anyURI [0..1]

Relevant URL for available information.

<attributeGroup xmlns="http://www.w3.org/2001/XMLSchema" name="sourceURL">
  <annotation>
    <documentation>Relevant URL for available information.</documentation>
  </annotation>
  <attribute name="sourceURL" type="xsd:anyURI" use="optional">
    <annotation>
      <documentation>Relevant URL for available information.</documentation>
    </annotation>
  </attribute>
</attributeGroup>
Figure 192 — XSD source of sourceURL

Bibliography

Index