Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Latest commit

 

History

History
25 lines (23 loc) · 2.87 KB

datatypes.md

File metadata and controls

25 lines (23 loc) · 2.87 KB

Data Types

The following table shows the data types that are used by fiboa Schema.

fiboa data type Description
boolean a value with only two possible states, e.g. true/false, on/off, or yes/no
int8 integer number without decimal places
minimum value: -128
maximum value: 127
uint8 integer number without decimal places
minimum value: 0
maximum value: 255
int16 integer number without decimal places
minimum value: -32768
maximum value: 32767
uint16 integer number without decimal places
minimum value: 0
maximum value: 65535
int32 integer number without decimal places
minimum value: -2147483648
maximum value: 2147483647
uint32 integer number without decimal places
minimum value: 0
maximum value: 4294967295
int64 integer number without decimal places
minimum value: -9223372036854775808
maximum value: 9223372036854775807
uint64 integer number without decimal places
minimum value: 0
maximum value: 18446744073709551615
float
IEEE 32-bit
floating-point number
minimum value: ?
maximum value: ?
double
IEEE 64-bit
floating-point number
minimum value: ?
maximum value: ?
binary binary data, e.g. an image
string
charset: UTF-8
texts
array a list of values
object
keys: string
values: any
key-value-pairs - the keys are always textual and must be known upfront.
date a date consisting of year, month and day, e.g. 2022-07-25
date-time
with milliseconds
timezone: UTC
a date (year, month, date) and time (hour, minute, second and optionally milliseconds) in the UTC timezone
geometry A spatial geometry, e.g. a point, line or polygon.
bounding-box
x and y only, no z
A two-dimensional spatial bounding box