Data Types
  • 14 Sep 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Data Types

  • Dark
    Light

Article summary

The data type specifies what kind of data a value can have in a particular field.

Caption

Name

Base Type

Constraint

Description

Bit Mask

bitmask_t

String

Must be less than 8 characters
Must fit this regex:
^[a-f0-9]+$
A hex representation of a bitmask of up to 64 bits

Boolean

boolean_t

Boolean


Boolean value. One of true or false.

Hex Byte String

bytestring_hex_t

String

Must fit this regex:
^[a-f0-9]+$
Hex encoded immutable byte sequence. No leading 0x

Byte String

bytestring_t

String


Base64 encoded immutable byte sequence.

Datetime

datetime_t

DateTime

Must fit this regex:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}%3A\d{2}(?:.\d+)?[A-Z]?(?:[.-](?:08:\d{2}|\d{2}[A-Z]))?$
The Internet Date/Time format as defined in RFC-3339. For example 1985-04-12T23:20:50.52Z.

Email Address

email_t

String

Must fit this regex:
^[a-z0-9_.+-]+@[a-z0-9-]+\.[a-z0-9-.]+$
Email address. For example: john_doe@example.com.

File Hash

file_hash_t

String

Must be less than 64 characters
Must fit this regex:
^[a-f0-9]+$
File hash. A unique value that corresponds to the content of the file.

File Name

file_name_t

String


File name. For example: text-file.txt.

Float

float_t

Float


Real floating-point value. For example: 3.14.

Hostname

hostname_t

String

Must fit this regex:
^(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])$
Unique name assigned to a device connected to a computer network. A domain name in general is an Internet address that can be resolved through the Domain Name System (DNS). For example: r2-d2.example.com.

Integer

integer_t

Integer


Signed integer value.

IP Address

ip_t

String

Must be less than 40 characters
Must fit this regex:
((^\s*((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))\s*$)|(^\s*((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(\.(25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(%.+)?\s*$))
Internet Protocol address (IP address), in either IPv4 or IPv6 format.

JSON

json_t

JSON


Embedded JSON value. A value can be a string, or a number, or true or false or null, or an object or an array. These structures can be nested. See www.json.org.

Long

long_t

BigInteger


8-byte long, signed integer value.

MAC Address

mac_t

String

Must be less than 32 characters
Must fit this regex:
^([0-9a-f]{2}[-]){5}([0-9a-f]{2})$
Media Access Control (MAC) address. For example: 18-36-f3-98-4f-9a.

object_t

JSON



Port

port_t

Integer


The TCP/UDP port number. For example: 80 or 22.

Process Name

process_name_t

String


Process name. For example: Notepad.

Resource UID

resource_uid_t

String

Must be less than 64 characters
Resource unique identifier. For example, S3 Bucket name or EC2 Instance ID.

Case Insensitive String

string_insensitive_t

String


This is a designation to tell the UI to accommodate a case insensitive search

String

string_t

String

Must be less than 65535 characters
UTF-8 encoded byte sequence.

Subnet

subnet_t

String

Must be less than 40 characters
Subnet mask in Classless Inter-Domain Routing (CIDR) notation. For example 192.168.200.0/24.

Timestamp

timestamp_t

DateTime


The timestamp format is the number of milliseconds since the Epoch 01/01/1970 00:00:00 UTC. For example 1618524549901.

URL String

url_t

String


Uniform Resource Locator (URL) string. For example: http://www.example.com/download/trouble.exe.

User Name

username_t

String


User name. For example: john_doe.

UUID

uuid_t

String

Must fit this regex:
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}
128-bit universal unique identifier. For example: 123e4567-e89b-12d3-a456-42661417400.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence