/
VDB format in JSON

VDB format in JSON

To view a VDB as JSON, you can click on the VDB editand click Show Source.

Screen Shot 2024-02-09 at 11.31.36 AM.png

Here is another example of what a VDB file looks like in JSON:

{ "tables":{ "Address":{ "desc":"Physical location", "columns":[ {"type":"integer", "name":"Id", "desc":"Unique identifier" }, {"type":"string", "name":"Street", "desc":"" }, {"type":"string", "name":"City", "desc":"" }, {"type":"string", "name":"Country","desc":"" }, {"type":"string", "name":"Zip", "desc":"" }, {"type":"string", "name":"Type", "desc":"0 means home, 1 means business"}]}, "Patient":{ "desc":"Demographics", "columns":[ {"type":"integer", "name":"Id", "desc":"Unique ID" ,"key":1}, {"type":"string", "name":"FirstName","desc":"Given name" }, {"type":"string", "name":"LastName", "desc":"Family name" }, {"type":"datetime","name":"DOB", "desc":"Date of birth"}, {"type":"double", "name":"Height", "desc":"In cm" }]} }}

Note that there are only 4 basic datatypes:

  • string

  • integer

  • double

  • datetime

There are no datatypes like text, boolean etc.

Related content

Generate Database and Tables from a VDB
Generate Database and Tables from a VDB
More like this
Understanding Databases in Iguana
Understanding Databases in Iguana
More like this
Licensing Iguana
Licensing Iguana
Read with this
Creating a VDB
Creating a VDB
More like this
Salesforce Adapter
Salesforce Adapter
Read with this
Library to convert DBS files into VDB files
Library to convert DBS files into VDB files
More like this