A BooleanValue represents a state in the Boolean logic and represents the results of a true/false proposition. For example, the two propositions, one asked as a question and the other a statement of fact can both be used.
BooleanValue ::= [FALSE | TRUE | UNKNOWN ]
Return to Top An Integer is a whole number (not a fraction) that can be positive, negative, or zero.
IntegerNumber ::= ::= /^[+-]?([0-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/
Return to Top A PositiveWholeNumber is an IntegerNumber that is greater than zero.
PositiveWholeNumber ::= /^[+]?([1-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/
A natural number is an integer greater than or equal to 0. Natural numbers begin at 0 and increment to infinity: 0, 1, 2, 3, 4, 5, etc.
NaturalNumber ::= /^[+]?([0-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/
Return to Top A NegativeNumber is an IntegerNumber that is less than zero.
NegativeNumber ::= /^-?([1-9]+(?:[\.][0-9]*)?|\.[0-9]+)$/
A FixedNumber is characterized by the word length in bits, the position of the binary point, and the signedness of a number which can be signed or unsigned. Signed numbers and data types can represent both positive and negative values, whereas unsigned numbers and data types can only represent values that are greater than or equal to zero.1)
The position of the binary point is the means by which fixed-point values are scaled and interpreted.
* NOTE: Change the character ¿
to the number of decimals required. For example, if 2 decimal places are desired, change the ¿
to a 2
.
FixedNumber ::= ^[0-9]*\.[0-9]{0,¿}$
A FloatNumber is a Data Type composed of a number that is not just a IntegerNumber, but also includes a fraction. For example, the number Pi is a 3.14159. the 3
represent the whole number and the .14159
represents the fraction.
FloatNumber ::= ^[-+][0-9]+\.[0-9]+[eE][-+]?[0-9]+$
HexNumber ::= /^#?([a-f0-9]{6}|[a-f0-9]{3})$/
A TextValue is a sequence of characters (Strings of characters) that is represented using UTF16.
TextValue ::= /"(?:[^"\\]|\\.)*"/
An Internet Protocol Address (IP Address) is a numerical label assigned to each device connected network using the Internet Protocol (IP). IP addresses serves two main functions:
The older Internet Protocol version 4 (IPv4) uses 32-bit number while IP (IPv6) uses 128 bits for the IP address.
IpAddressValue::= /^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/
The DIDO-CLI uses the ISO Format for Date. See: ISO 8601-1:2019 Date and time -- Representations for information interchange -- Part 1: Basic rules
Date Time is represented as String with YYYY-MM-DD HH:MM:SS ( See the Constant DATE_FORMAT_STRING For example, ''2008-09-01 12:35:45'
DateTimeValue ::= (\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})[+|-](\d{2}):(\d{2})
The DIDO-CLI uses Linux timestamps to capture TimestampValue.
DateValue ::= (Base32)