jsonschema-bigquery
Version:
Convert JSON schema to Google BigQuery schema
31 lines (30 loc) • 620 B
JSON
{
"id": "http://yourdomain.com/schemas/myschema.json",
"description": "Example description",
"type": "object",
"properties": {
"names": {
"allOf": [
{
"type": "object",
"properties": {
"first_name": {
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"properties": {
"last_name": {
"type": "string"
}
},
"additionalProperties": false
}
]
}
},
"additionalProperties": false
}