forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bigquery-table.json
43 lines (43 loc) · 1.04 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
"$schema": "http://json-schema.org/draft-04/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.",
"id": "https://json.schemastore.org/bigquery-table",
"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"]
},
"title": "BigQuery table schema",
"type": "array"
}