Each value type may optionally define a constraint to enforce data validation. You can configure these constraints when creating a new value type in the Value Type Manager application. The available value type constraints, listed by base types, are below:
Array: Represents an ordered collection of elements of the same value type.
Constraints: Uniqueness, array size, element type-specific constraints.
Boolean: Represents a Boolean value of true or false.
Constraints: enum (one of)
Byte: Represents a single signed byte, covering values -128 to 127 as an integer.
Constraints: Uniqueness, array size, element specific constraints
Date: Represents an ISO 8601 date string.
Constraints: Range
Decimal: Represents arbitrary-precision numerical values defined by scale and precision.
Constraints: Range, enum (one of)
Double: Represents numerical values within a range of 4.9e-324 to 1.7976931348623157e+308.
Constraints: Range, enum (one of)
Float: Represents numerical values within a range of -1.4e-45f to 3.4028235e+38f.
Constraints: Range, enum (one of)
Integer: Represents numerical values within a range of 2147483648 to 2147483647.
Constraints: Range, enum (one of)
Short: Represents numerical values within a range of -32768 to 32767.
Constraints: Range, enum (one of)
String: Represents character strings and Palantir-specific string types.