Narrative Data Types

Narrative supports the following data types when defining the schema of a dataset.

String

Represents a sequence of characters, used to store textual data. The length of a string is not strictly defined.

Long

A numeric data type that can store large integer values. It's 64 bits in size and has a range from -9223372036854775808 to 9223372036854775807.

Double

A numeric data type that is a double-precision 64-bit IEEE 754 floating-point. It's used for storing very large or very small numbers, with a range of approximately 1.7E-308 to 1.7E+308.

Timestamptz

Represents a point in time, which includes date and time, with timezone information.

Boolean

Represents a logical entity and can have only two values: true or false.

Array

A collection of elements with the same data type. The length of an array can be variable and its elements can be any valid data type.

Object

A collection of elements with predetermined types.