forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bigquery-table.json
29 lines (29 loc) · 932 Bytes
/
bigquery-table.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://json.schemastore.org/bigquery-table",
"title": "BigQuery table schema",
"description": "BigQuery lets you specify a table's schema when you load data into a table or when you create an empty table. A table schema is a JSON file.",
"type": "array",
"items": {
"type": "object",
"description": "A column in a BigQuery table",
"additionalProperties": false,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "string",
"enum": [ "INT64", "FLOAT64", "NUMERIC", "BIGNUMERIC", "BOOL", "STRING", "BYTES", "DATE", "DATETIME", "TIME", "TIMESTAMP", "STRUCT", "GEOGRAPHY" ]
},
"mode": {
"type": "string",
"enum": ["NULLABLE", "REQUIRED", "REPEATED"]
}
},
"required": ["name", "type"]
}
}