XMLSchema#
type: Ontology
comment: XML Schema Datatypes

XML qualified name
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

URI reference
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

base64 binary
type: Datatype
comment: Base64-encoded arbitrary binary data.
on datatype: anySimpleType
with restrictions:
  pattern: (?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?
with restrictions:
  white space: collapse

boolean
type: Datatype
on datatype: anySimpleType
with restrictions:
  pattern: (true|false)
with restrictions:
  white space: collapse

byte
type: Datatype
on datatype: short
with restrictions:
  min inclusive: -128
with restrictions:
  max inclusive: 127

date
type: Datatype
on datatype: anySimpleType
with restrictions:
  pattern: -?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
with restrictions:
  white space: collapse

date time
type: Datatype
on datatype: anySimpleType
with restrictions:
  pattern: -?([1-9][0-9]{3,}|0[0-9]{3})-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9](\.[0-9]+)?|(24:00:00(\.0+)?))(Z|(\+|-)((0[0-9]|1[0-3]):[0-5][0-9]|14:00))?
with restrictions:
  white space: collapse

decimal
type: Datatype
comment: A subset of the real numbers, which can be represented by decimal numerals.
on datatype: anySimpleType
with restrictions:
  pattern: [+-]?[0-9]*\.?[0-9]*
with restrictions:
  white space: collapse

double
type: Datatype
comment: IEEE double-precision 64-bit floating point.
on datatype: anySimpleType
with restrictions:
  pattern: [+-]?[0-9]*\.?[0-9]*([eE][-+]?[0-9]+)?
with restrictions:
  white space: collapse

duration
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

float
type: Datatype
comment: IEEE single-precision 32-bit floating point.
on datatype: anySimpleType
with restrictions:
  pattern: [+-]?[0-9]*\.?[0-9]*([eE][-+]?[0-9]+)?
with restrictions:
  white space: collapse

fraction digits
type: Property
type: DatatypeProperty
comment: The total number of digits to the right of the decimal point required to represent a value.
range: non-negative integer

gDay
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

gMonth
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

gMonthDay
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

gYear
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

gYearMonth
type: Datatype
on datatype: anySimpleType
with restrictions:
  white space: collapse

hex binary
type: Datatype
comment: Hex-encoded arbitrary binary data.
on datatype: anySimpleType
with restrictions:
  pattern: [0-9A-F]*
with restrictions:
  white space: collapse

int
type: Datatype
on datatype: long
with restrictions:
  min inclusive: -2147483648
with restrictions:
  max inclusive: 2147483647

integer
type: Datatype
on datatype: decimal
with restrictions:
  pattern: [-+]?[0-9]+
with restrictions:
  fraction digits: 0

language
type: Datatype
on datatype: token
with restrictions:
  pattern: [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*

long
type: Datatype
on datatype: integer
with restrictions:
  min inclusive: -9223372036854775808
with restrictions:
  max inclusive: 9223372036854775807

max exclusive
type: Property
type: DatatypeProperty
comment: The exclusive upper bound of an ordered datatype.

max inclusive
type: Property
type: DatatypeProperty
comment: The inclusive upper bound of an ordered datatype.

min exclusive
type: Property
type: DatatypeProperty
comment: The exclusive lower bound of an ordered datatype.

min inclusive
type: Property
type: DatatypeProperty
comment: The inclusive lower bound of an ordered datatype.

negative integer
type: Datatype
on datatype: non-positive integer
with restrictions:
  max inclusive: -1

non-negative integer
type: Datatype
on datatype: integer
with restrictions:
  pattern: [0-9]*
with restrictions:
  min inclusive: 0

non-positive integer
type: Datatype
on datatype: integer
with restrictions:
  pattern: (0|-[0-9]+)
with restrictions:
  max inclusive: 0

normalized string
type: Datatype
comment: The set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters.
on datatype: string
with restrictions:
  white space: replace

pattern
type: Property
type: DatatypeProperty
comment: A regular expression that matches complete valid literals.

white space
type: Property
type: DatatypeProperty
comment: A string that describes whitespace normalization for a string type.
range: Datatype
  on datatype: string
  with restrictions:
    pattern: (preserve|replace|collapse)

positive integer
type: Datatype
on datatype: non-negative integer
with restrictions:
  pattern: [+]?[0-9]+
with restrictions:
  min inclusive: 1

short
type: Datatype
on datatype: int
with restrictions:
  min inclusive: -32768
with restrictions:
  max inclusive: 32767

string
type: Datatype
comment: A character string.
on datatype: anySimpleType
with restrictions:
  white space: preserve

time
type: Datatype
on datatype: anySimpleType
with restrictions:
  pattern: [1-2][0-9]:[0-5][0-9]:[0-5][0-9].[0-9][0-9][0-9]
with restrictions:
  white space: collapse

token
type: Datatype
comment: The set of strings that do not contain the carriage return (#xD), line feed (#xA) nor tab (#x9) characters, that have no leading or trailing spaces (#x20) and that have no internal sequences of two or more spaces.
on datatype: normalized string
with restrictions:
  white space: collapse

total digits
type: Property
type: DatatypeProperty
comment: The maximum number of decimal digits required to represent a value.
range: positive integer

unsigned byte
type: Datatype
on datatype: unsigned short
with restrictions:
  max inclusive: 255

unsigned int
type: Datatype
on datatype: unsigned long
with restrictions:
  max inclusive: 4294967295

unsigned long
type: Datatype
on datatype: non-negative integer
with restrictions:
  max inclusive: 18446744073709551615

unsigned short
type: Datatype
on datatype: unsigned int
with restrictions:
  max inclusive: 65535