pattern
type: Property
domain: Datatype
range: string
comment: A regular expression that matches literals of this type.

base64Binary
type: Datatype
pattern: (?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$

boolean
type: Datatype
pattern: (true|false)$

byte
type: Datatype
subclass of: short
pattern: [0-9A-F][0-9A-F]$

date
type: Datatype
pattern: -?[0-9][0-9][0-9][0-9]([0-9]*)?-(0[1-9]|1[0-1])-([0-3][1-9])([+-][0-1][0-9]:[0-6][0-9])?$

decimal
type: Datatype
pattern: [+-]?[0-9]*\.?[0-9]*$

double
type: Datatype
pattern: [+-]?[0-9]*\.?[0-9]*([eE][-+]?[0-9]+)$

hexBinary
type: Datatype
pattern: [0-9A-F]*$

integer
type: Datatype
subclass of: decimal
pattern: [-+]?[0-9]+$

language
type: Datatype
subclass of: NCName
subclass of: ID
subclass of: IDREF
pattern: [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*$

nonNegativeInteger
type: Datatype
subclass of: integer
pattern: [0-9]*$

nonPositiveInteger
type: Datatype
subclass of: integer
pattern: (0|-[0-9]+)$

positiveInteger
type: Datatype
subclass of: nonNegativeInteger
pattern: +?[0-9]+$

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

unsignedByte
type: Datatype
subclass of: short
subclass of: unsignedShort
pattern: ([0-9]|[0-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$