mirror of
https://github.com/apache/superset.git
synced 2026-08-04 13:02:41 +00:00
28 lines
784 B
JSON
28 lines
784 B
JSON
{
|
|
"schema": {
|
|
"properties": {
|
|
"delimiter": {
|
|
"description": "The character used to separate values in the CSV file (e.g., a comma, semicolon, or tab).",
|
|
"type": "string"
|
|
},
|
|
"file": {
|
|
"description": "The file to upload",
|
|
"format": "binary",
|
|
"type": "string"
|
|
},
|
|
"header_row": {
|
|
"description": "Row containing the headers to use as column names(0 is first line of data). Leave empty if there is no header row.",
|
|
"type": "integer"
|
|
},
|
|
"type": {
|
|
"description": "File type to upload",
|
|
"enum": ["csv", "excel", "columnar"]
|
|
}
|
|
},
|
|
"required": ["file", "type"],
|
|
"type": "object",
|
|
"title": "UploadFileMetadataPostSchema"
|
|
},
|
|
"schemaType": "response"
|
|
}
|