Datatypes
All formats attempt to follow these same consistent datatypes. Inconsistencies in certain fields will be specified as needed.
Bool
Boolean value representing true or false. Must be either 0 or 1 in CSV formats and a true bool type in JSON formats.
Strings
Strings will be listed with a max length if applicable. If no number is listed with the datatype, then the string has no length limit.
Integers
Whole numbers with no decimals.
Enum
Integers using bits as booleans to reduce storage requirements. Each entry is stored as double the previous value, starting at 1.
Value | Entry |
---|---|
1 | First |
2 | Second |
4 | Third |
8 | Fourth |
Float
Numbers with decimal places. Will be specified the maximum size of both sides of the decimal.
Dates
Dates are in ISO 8601 format (1994-11-05).
Datetimes
Datetimes are in ISO 8601 format (1994-11-05T13:15:30Z). If no timezone information is included, local time is assumed.
Base64-Encoded String
String contained proper base64-encoded data.
Datatype Examples
{
"Boolean": true,
"String": "Hello world",
"Integer": 3,
"Enum": 8,
"Float": 1.5,
"Date": "1994-11-05",
"DateTime": "1994-11-05T13:15:30Z"
}