JSON to BigQuery Schema
Instantly generate valid Google BigQuery JSON schemas from your JSON data objects for effortless data warehousing.
[
{
"name": "id",
"type": "INTEGER",
"mode": "NULLABLE"
},
{
"name": "event_type",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "created_at",
"type": "TIMESTAMP",
"mode": "NULLABLE"
},
{
"name": "amount",
"type": "FLOAT",
"mode": "NULLABLE"
},
{
"name": "items",
"type": "RECORD",
"mode": "REPEATED",
"fields": [
{
"name": "sku",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "quantity",
"type": "INTEGER",
"mode": "NULLABLE"
}
]
},
{
"name": "metadata",
"type": "RECORD",
"mode": "NULLABLE",
"fields": [
{
"name": "source",
"type": "STRING",
"mode": "NULLABLE"
},
{
"name": "campaign",
"type": "STRING",
"mode": "NULLABLE"
}
]
}
]Auto-Detection
Intelligently identifies BigQuery types like `TIMESTAMP`, `BOOLEAN`, and `RECORD` based on the values in your sample JSON file.
Nested Support
Fully supports nested objects and arrays, mapping them correctly to BigQuery's `RECORD` type with appropriate modes like `REPEATED`.