Created
August 31, 2022 21:01
-
-
Save Mark-McCracken/0fc9e17b45bd0a7f5cd6a439e42d36d1 to your computer and use it in GitHub Desktop.
example table schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "../../json_schemas/table_definition.schema.json", | |
"tableName": "billedusage", | |
"tableType": "transactional fact", | |
"dataset": "sid_common", | |
"description": "Total bill for per customer per month", | |
"labels": {}, | |
"clusteringColumns": [], | |
"columns": [ | |
{ | |
"name": "subscription_id", | |
"type": "STRING", | |
"mode": "NULLABLE", | |
"description": "The id of the Subscription associated with the Usage.", | |
"foreignKey": { | |
"reference": "subscriptions.id", | |
"relationshipName": "billed usage references subscription", | |
"relationshipCardinality": "n,1" | |
}, | |
"isPrimaryKey": false, | |
"piiCategory": "CustomerNumber" | |
}, | |
... | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment