diff --git a/datacontract.schema.json b/datacontract.schema.json index d74f637..844afc4 100644 --- a/datacontract.schema.json +++ b/datacontract.schema.json @@ -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",