OpenAPI types mapping: BDL
Conversion mapping for Genero BDL data types in OpenAPI documentation.
Genero BDL data types | JSON data types | Format | Additional format keywords |
---|---|---|---|
STRING | STRING | ||
VARCHAR(5) | STRING | maxLength: 5
(For an example, go to VARCHAR(N)) |
|
CHAR | STRING | ||
DATE | STRING | format: date |
(For examples of date conversion, go to DATE/DATETIME) |
DATETIME YEAR TO SECOND | STRING | format: date-time |
(For examples of datetime conversion, go to DATE/DATETIME) |
INTERVAL DAY(5) TO SECOND | STRING | ||
TEXT | STRING | ||
BYTE | STRING | format: binary |
|
BOOLEAN | BOOLEAN | ||
INTEGER | INTEGER |
|
|
TINYINT | INTEGER | ||
SMALLINT | INTEGER | ||
BIGINT | INTEGER |
|
|
DECIMAL | NUMBER | (For examples of decimal conversion, go to DECIMAL(p,s)) | |
SMALLFLOAT | NUMBER | format: float |
|
FLOAT | NUMBER | format: double |
|
MONEY | NUMBER | format: double |
|
RECORD | OBJECT | ||
DYNAMIC ARRAY OF | ARRAY | ||
ARRAY [ ] OF | N/A | N/A | |
DICTIONARY OF | OBJECT | additionalProperties:"type":"object" |
|
util.JSONObject | OBJECT | additionalProperties: {} |
|
util.JSONArray | OBJECT | additionalProperties: {} |