XMLSchema#
type: Ontology
comment: XML Schema Datatypes

any simple type
type: Datatype
comment: The base class of any primitive XSD dataype.

any URI
type: Datatype
on datatype: any simple type

base64 binary
type: Datatype
comment: Base64-encoded arbitrary binary data.
on datatype: any simple type
with restrictions:
  pattern: (([A-Za-z0-9+/] *[A-Za-z0-9+/] *[A-Za-z0-9+/] *[A-Za-z0-9+/] *)*(([A-Za-z0-9+/] *[A-Za-z0-9+/] *[A-Za-z0-9+/] *[A-Za-z0-9+/])|([A-Za-z0-9+/] *[A-Za-z0-9+/] *[AEIMQUYcgkosw048] *=)|([A-Za-z0-9+/] *[AQgw] *= *=)))?

boolean
type: Datatype
on datatype: any simple type
with restrictions:
  pattern: (true|false|0|1)

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

date
type: Datatype
on datatype: any simple type
with restrictions:
  pattern: -?[0-9][0-9][0-9][0-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])(Z|[-+][0-2][0-9]:[0-5][0-9])?

date time
type: Datatype
on datatype: any simple type
with restrictions:
  pattern: -?[0-9][0-9][0-9][0-9][0-9]*-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T(([0-1][0-9])|(2[0-4])):[0-5][0-9]:[0-5][0-9](.[0-9]+)?(Z|[-+][0-2][0-9]:[0-5][0-9])?

decimal
type: Datatype
comment: A subset of the real numbers, which can be represented by decimal numerals.
on datatype: any simple type
with restrictions:
  pattern: -?INF|NaN|[+-]?(([0-9]+[.]?[0-9]*)|([0-9]*[.]?[0-9]+))([eE][-+]?[0-9]+)?

double
type: Datatype
comment: IEEE double-precision 64-bit floating point.
on datatype: any simple type
with restrictions:
  pattern: -?INF|NaN|[+-]?(([0-9]+[.]?[0-9]*)|([0-9]*[.]?[0-9]+))([eE][-+]?[0-9]+)?

duration
type: Datatype
on datatype: any simple type
with restrictions:
  pattern: -?P([0-9]+Y)?([0-9]+M)?([0-9]+D)?(T([0-9]+H)?([0-9]+M)?([0-9]+(\.[0-9]+)?S)?)?
with restrictions:
  white space: collapse

float
type: Datatype
comment: IEEE single-precision 32-bit floating point.
on datatype: any simple type
with restrictions:
  pattern: -?INF|NaN|[+-]?(([0-9]+[.]?[0-9]*)|([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

hex binary
type: Datatype
comment: Hex-encoded arbitrary binary data.
on datatype: any simple type
with restrictions:
  pattern: ([0-9A-Fa-f][0-9A-Fa-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][a-zA-Z]?[a-zA-Z]?[a-zA-Z]?[a-zA-Z]?[a-zA-Z]?[a-zA-Z]?[a-zA-Z]?(-[a-zA-Z0-9][a-zA-Z0-9]?[a-zA-Z0-9]?[a-zA-Z0-9]?[a-zA-Z0-9]?[a-zA-Z0-9]?[a-zA-Z0-9]?[a-zA-Z0-9]?)*

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]*[1-9]+[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.
on datatype: any simple type

time
type: Datatype
on datatype: any simple type
with restrictions:
  pattern: (([0-1][0-9])|(2[0-4])):[0-5][0-9]:[0-5][0-9](.[0-9]+)?(Z|[-+][0-2][0-9]:[0-5][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

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

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)