XMLSchema#
type: Ontology
comment: XML Schema Datatypes

XML qualified name
type: Datatype

URI reference
type: Datatype

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

boolean
type: Datatype
with restrictions:
  pattern: (true|false)

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

date
type: Datatype
with restrictions:
  pattern: -?[0-9][0-9][0-9][0-9]([0-9]*)?-(0[1-9]|1[0-2])-([0-3][0-9])([+-]([0-1][0-9]|2[0-3]):[0-5][0-9])?

date time
type: Datatype

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

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

duration
type: Datatype

float
type: Datatype
comment: IEEE single-precision 32-bit floating point.
on datatype: double

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

hex binary
type: Datatype
comment: Hex-encoded arbitrary binary data.
with restrictions:
  pattern: [0-9A-F]*

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

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:
  max inclusive: 9223372036854775807
with restrictions:
  min inclusive: -9223372036854775808

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

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

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:
  max inclusive: 32767
with restrictions:
  min inclusive: -32768

string
type: Datatype
comment: A character string.

time
type: Datatype
with restrictions:
  pattern: [1-2][0-9]:[0-5][0-9]:[0-5][0-9].[0-9][0-9][0-9]

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

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