Data types

Type Corresponding JSON type Description
string string Character string in UTF-8 encoding.
amount number Amount. Fixed-point decimal number with 2-digit precision.
boolean boolean Logical value, possible values are true or false.
int number 32-bit signed integer number.
long number 64-bit signed integer number.
object object Embedded JSON object.
array array Array of JSON objects.
datetime string

Timestamp value conforming to the specification RFC3339in the format YYYY-MM-DDThh:mm:ss.fZZZZZ (see explanation below).

Description of the datetime format:

  • YYYY - Year, always 4 digits.
  • MM - Month, always 2 digits (for example, 01 for January).
  • DD - Day of the month, always 2 digits (from 01 to 31).
  • T - Uppercase letter "T".
  • hh - Hour, always 2 digits (24-hour format, from 00 to 23).
  • mm - Minute, always 2 digits (from 00 to 59).
  • ss - Second, always 2 digits (from 00 to 59).
  • f - Fraction of a second, from 1 to 6 digits; may be omitted, in which case the preceding dot separator (.) should be omitted as well.
  • ZZZZZ - Time Zone Offset, mandatory parameter. Can take the values:
    • Z — UTC, uppercase letter "Z".
    • +hh:mm or -hh:mm – UTC (GMT) offset (indicates that a local time is shown that is either ahead of or behind UTC by the specified number of hours and minutes).


2011-07-01T19:00:00.000+04:00 — 7 p.m. on July 1, 2011 in the time zone Europe/Moscow (UTC+04:00).