## Name

xsd:unsignedShort — Unsigned integer of 16 bits

## Synopsis

<xsd:simpleType name="unsignedShort" id="unsignedShort">
<xsd:restriction base="xsd:unsignedInt">
<xsd:maxInclusive value="65535"/>
</xsd:restriction>
</xsd:simpleType> |

## Derived from

`xsd:unsignedInt`

## Known subtypes

`xsd:unsignedByte`

## Data parameters (facets)

`enumeration`, `fractionDigits`,
`maxExclusive`, `maxInclusive`,
`minExclusive`, `minInclusive`,
`pattern`, `totalDigits`

## Description

The value space of `xsd:unsignedShort` is the range
of integers between 0 and 65535—the unsigned values that can
fit in a word of 16 bits. Its lexical space allows an optional + sign
and leading zeros before the significant digits.

## Restrictions

The decimal point (even when followed only by insignificant zeros) is
forbidden.

## Example

Valid values include `65535`, `0`,
`+0000000000000000000005`, and `1`.

Invalid values include `-1` and
`1`..