Skip to content

Commit

Permalink
Add GCS to schema (need to add to REAME.md) as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
jochenchrist committed Aug 11, 2024
1 parent 9b8a889 commit 42d8e49
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions datacontract.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,50 @@
"location"
]
},
{
"type": "object",
"title": "GcsServer",
"properties": {
"type": {
"type": "string",
"enum": [
"gcs"
],
"description": "The type of the data product technology that implements the data contract."
},
"location": {
"type": "string",
"format": "uri",
"description": "The GS/GCS url to the data.",
"examples": [
"gs://example-storage/data/*/*.json"
]
},
"format": {
"type": "string",
"enum": [
"parquet",
"delta",
"json",
"csv"
],
"description": "File format."
},
"delimiter": {
"type": "string",
"enum": [
"new_line",
"array"
],
"description": "Only for format = json. How multiple json documents are delimited within one file"
}
},
"additionalProperties": true,
"required": [
"type",
"location"
]
},
{
"type": "object",
"title": "SftpServer",
Expand Down

0 comments on commit 42d8e49

Please sign in to comment.