<?xml version="1.0" encoding="UTF-8"?>
<schema targetNamespace="Tethys/Units"
    elementFormDefault="qualified"
    xmlns="http://www.w3.org/2001/XMLSchema"
    xmlns:Units="Tethys/Units"
    xmlns:Tethys="Tethys">

    <import namespace="Tethys" schemaLocation="Tethys.xsd"/>

    <!-- SI base Units -->
    <element name="ampere" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="candela" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kelvin" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="mole" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- SI named Units -->
    <element name="becquerel" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="coulomb" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="farad" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gray" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="henry" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="hertz" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="joule" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="katal" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="lumen" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="lux" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="newton" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ohm" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pascal" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="siemens" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="sievert" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="steradian" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="tesla" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="volt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="watt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="weber" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- derived SI Units -->
    <element name="ampere_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ampere_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ampere_per_square_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="candela_per_square_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_meter_per_kilogram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_meter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_meter_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kelvin_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_meter_squared" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_per_cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_per_kilogram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="meter_per_radian" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="meter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="meter_per_second_squared" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="mole_per_cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="newton_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pascal_per_pascal" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pascal_per_volt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian_per_second_squared" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian_per_second_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="radian_second_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="reciprocal_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="reciprocal_meter_per_steradian" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="reciprocal_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="siemens_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="square_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="square_meter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- Non-SI Units accepted for use with the International System of Units -->
    <element name="angular_degree" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="angular_minute" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="angular_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="celsius" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="day" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="liter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="litre" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="minute" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="hectare" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="tonne" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- prefixed SI (base, named, derived, & accepted non-SI) Units -->
    <element name="ampere_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="angular_degree_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="angular_degree_per_second_squared" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="angular_minute_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="centimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="centimeter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter_per_meter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="cubic_centimeter_second_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="degree" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="degree_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="decibar" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gram_per_cubic_centimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gram_per_kilogram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilojoule" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilometer" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilowatt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilowatt_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="megajoule" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microampere" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microgram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microgram_per_liter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microjoule" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microsecond" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microvolt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="micromole" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="micromole_per_cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="micromole_per_liter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microwatt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microwatt_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milliampere" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milligram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milligram_per_cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milligram_per_liter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millijoule" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milliliter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millimeter_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millimho_per_centimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millisecond" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="millivolt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milliwatt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milliwatt_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="watt_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- non-SI physical Units -->
    <element name="atmosphere" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="fahrenheit" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="celsius_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="fluid_ounce" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="foot" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="foot_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gallon" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gauss" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="inch" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="inch_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilogram_force" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="knot" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="mile" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="mile_per_hour" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="milligauss" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="nautical_mile" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ounce_force" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ounce_mass" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="partial_pressure_percent" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pound_force" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pound_mass" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pound_per_square_inch" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="pound_per_square_inch_per_volt" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="practical_salinity_unit" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="revolution_per_minute" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="revolution_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="sigma_t" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- Non-physical Units -->
    <element name="byte" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="byte_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="none" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="ratio" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="bit" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="bit_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="gigabyte" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilobit_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilobyte" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="kilobyte_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="megabit_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="megabyte" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="megabyte_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="part_per_billion" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="part_per_million" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="part_per_thousand" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="percent" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

    <!-- Pure counting Units -->
    <element name="bool" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="enum" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_cubic_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_kilogram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_meter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_newton" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_radian" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_second" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="microgram_per_liter_per_count" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="reciprocal_meter_per_steradian_count" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_angular_degree" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_cubic_centimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_gram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_milligram" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_milliliter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_millimeter" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>
    <element name="count_per_revolution" substitutionGroup="Tethys:Unit" type="Tethys:UnitType"/>

</schema>