Copy as Markdown[Open in ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdataprime%2Flanguage-reference%2Ftypes.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)[Open in Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Fdocs-docusaurus.kinsta.page%2Fdataprime%2Flanguage-reference%2Ftypes.md%20and%20help%20me%20with%20my%20question%20about%20this%20Coralogix%20documentation%20page.)

# DataPrime Types

| **Type**    | **Description**                                                                                | **Encoding**                            |
| ----------- | ---------------------------------------------------------------------------------------------- | --------------------------------------- |
| `string`    | UTF-8 character sequence. Used for text, labels, identifiers.                                  | JSON *string*. e.g., `"example text"`   |
| `number`    | Integer or floating-point. Used in math and filters.                                           | JSON *number*. e.g., `42`, `5.5`        |
| `boolean`   | Logical true/false values.                                                                     | JSON *boolean*. `true` or `false`       |
| `timestamp` | A point in time, in nanoseconds.                                                               | JSON *number*. e.g., `1609459200000000` |
| `interval`  | Duration value. String input, number internal (nanoseconds).                                   | JSON *string* or *number* (nanoseconds) |
| `null`      | 1. Absence of a value<br />2. Non-computable expression<br />3. `null` value of the JSON field | `null`                                  |
| `regexp`    | Regular expression for pattern matching.                                                       | JSON *string* (rarely shown directly)   |
| `array<T>`  | A list of values of the same primitive type.                                                   | JSON *array*. e.g., `["a", "b", "c"]`   |
