Skip to content

Field Types

Every field in a LightLead report has a strictly defined type. The field type determines which operations can be performed on it: filtering, sorting, aggregation, formatting.

Base types

TypeDescriptionExampleFilteringSortingAggregation
stringA text string"Search campaign"CONTAIN, EQUAL, INAlphabeticalNone
integerA whole number1420All numeric operatorsBy valueSUM, AVG, MIN, MAX, COUNT
floatA floating-point number54.32All numeric operatorsBy valueSUM, AVG, MIN, MAX
moneyA monetary value1250.50All numeric operatorsBy valueSUM, AVG, MIN, MAX
percentageA percentage value3.45All numeric operatorsBy valueAVG
dateA date2026-01-15BETWEEN, EQUALChronologicalMIN, MAX
datetimeA date and time2026-01-15T14:30:00ZBETWEEN, EQUALChronologicalMIN, MAX
booleanA logical valuetrueEQUALNoneNone
enumAn enumeration"active"EQUAL, INBy value orderNone
uuidA unique identifier550e8400-e29b-...EQUAL, INNoneCOUNT DISTINCT
urlA linkhttps://example.comCONTAIN, EQUALAlphabeticalNone
jsonA structured object{"key": "value"}NoneNoneNone

Type characteristics

money

All monetary fields are stored in the source account's currency. Conversion happens at the display level, if the currency parameter is specified.

  • Internal storage: in minor units (cents, kopecks)
  • Display: in major units with two decimal places
  • The currency symbol is added on the frontend

percentage

Percentage values are stored as a decimal fraction:

  • 3.45 means 3.45%
  • 100.00 means 100%

datetime

All datetime values are stored and transmitted in UTC (ISO 8601): 2026-01-15T14:30:00Z.

The time zone specified in the source account or in the report settings is applied when displaying it.

enum

An enumerable type has a fixed set of allowed values. For example, campaign status: active, paused, archived, deleted.

Formatting

Fields are formatted automatically based on their type:

  • money1,250.50 ₽
  • percentage3.45%
  • integer1,420
  • float54.32
  • date01/15/2026
  • datetime01/15/2026 17:30

Maintained by the LightLead Documentation Team · Last verified: 2026-07-25