-
Notifications
You must be signed in to change notification settings - Fork 6
/
dataset-export.json
107 lines (107 loc) · 2.66 KB
/
dataset-export.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"type":"object",
"properties":{
"dataset":{
"type":"object",
"properties":{
"excluded_input_fields":{
"type":"array" ,
"items":{
"anyOf":[
{
"type":"integer"
},
{
"type":"string"
}
]
},
"description":"List of field identifiers, names or columns to exclude from input"
},
"format":{
"type":"string" ,
"enum":[
"csv", "tde"
],
"default": "csv",
"description":"The externalization format"
},
"header":{
"type":"boolean",
"description":"Whether to include a header with field names"
},
"input_fields":{
"type":"array" ,
"items":{
"anyOf":[
{
"type":"integer"
},
{
"type":"string"
}
]
},
"description":"List of field identifiers, names or columns to externalize"
},
"kind":{
"type":"string" ,
"enum":[
"export"
]
},
"newline":{
"type":"string" ,
"enum":[
"LF", "CRLF", "crlf", "lf"
],
"default": "lf",
"description":"Newline character: either lf (default) or crlf"
},
"origin_id":{
"type":"string",
"description":"The dataset to be exported to CS"
},
"output_file":{
"type":"string",
"description":"Name of the file to store the output"
},
"output_store":{
"type":"string",
"description":"Full URI to the store where the final output file will be stored"
},
"preview":{
"type":"array" ,
"items":{
"type":"array" ,
"items":{
"type":"string"
}
},
"description":"A preview of the output initial rows, as a list of lists of strings"
},
"preview_rows":{
"type":"integer",
"minimum":0,
"description":"Maximum number of preview rows in response"
},
"separator":{
"type":"string",
"default": ",",
"description":"Separator to use for the output CSV (only the first character is used)"
},
"table_name":{
"type":"string",
"description":"Name of the exported table name, for tabular formats (such as tde). Currently unsupported by Tableau's SDK."
}
},
"required":[
"kind", "origin_id"
]
}
},
"required":[
"dataset"
],
"additionalProperties": false
}