|
35 | 35 | "description": "The pattern used to specify which files should be selected from the file system. For more information on glob pattern matching look <a href=\"https://en.wikipedia.org/wiki/Glob_(programming)\">here</a>.",
|
36 | 36 | "order": 1,
|
37 | 37 | "type": "array",
|
38 |
| - "items": { "type": "string" } |
| 38 | + "items": { |
| 39 | + "type": "string" |
| 40 | + } |
39 | 41 | },
|
40 | 42 | "legacy_prefix": {
|
41 | 43 | "title": "Legacy Prefix",
|
|
116 | 118 | "description": "A set of case-sensitive strings that should be interpreted as null values. For example, if the value 'NA' should be interpreted as null, enter 'NA' in this field.",
|
117 | 119 | "default": [],
|
118 | 120 | "type": "array",
|
119 |
| - "items": { "type": "string" }, |
| 121 | + "items": { |
| 122 | + "type": "string" |
| 123 | + }, |
120 | 124 | "uniqueItems": true
|
121 | 125 | },
|
122 | 126 | "strings_can_be_null": {
|
|
140 | 144 | "header_definition": {
|
141 | 145 | "title": "CSV Header Definition",
|
142 | 146 | "description": "How headers will be defined. `User Provided` assumes the CSV does not have a header row and uses the headers provided and `Autogenerated` assumes the CSV does not have a header row and the CDK will generate headers using for `f{i}` where `i` is the index starting from 0. Else, the default behavior is to use the header from the CSV file. If a user wants to autogenerate or provide column names for a CSV having headers, they can skip rows.",
|
143 |
| - "default": { "header_definition_type": "From CSV" }, |
| 147 | + "default": { |
| 148 | + "header_definition_type": "From CSV" |
| 149 | + }, |
144 | 150 | "oneOf": [
|
145 | 151 | {
|
146 | 152 | "title": "From CSV",
|
|
182 | 188 | "title": "Column Names",
|
183 | 189 | "description": "The column names that will be used while emitting the CSV records",
|
184 | 190 | "type": "array",
|
185 |
| - "items": { "type": "string" } |
| 191 | + "items": { |
| 192 | + "type": "string" |
| 193 | + } |
186 | 194 | }
|
187 | 195 | },
|
188 | 196 | "required": ["column_names", "header_definition_type"]
|
|
195 | 203 | "description": "A set of case-sensitive strings that should be interpreted as true values.",
|
196 | 204 | "default": ["y", "yes", "t", "true", "on", "1"],
|
197 | 205 | "type": "array",
|
198 |
| - "items": { "type": "string" }, |
| 206 | + "items": { |
| 207 | + "type": "string" |
| 208 | + }, |
199 | 209 | "uniqueItems": true
|
200 | 210 | },
|
201 | 211 | "false_values": {
|
202 | 212 | "title": "False Values",
|
203 | 213 | "description": "A set of case-sensitive strings that should be interpreted as false values.",
|
204 | 214 | "default": ["n", "no", "f", "false", "off", "0"],
|
205 | 215 | "type": "array",
|
206 |
| - "items": { "type": "string" }, |
| 216 | + "items": { |
| 217 | + "type": "string" |
| 218 | + }, |
207 | 219 | "uniqueItems": true
|
208 | 220 | },
|
209 | 221 | "inference_type": {
|
|
229 | 241 | "description": "When enabled, syncs will not validate or structure records against the stream's schema.",
|
230 | 242 | "default": false,
|
231 | 243 | "type": "boolean"
|
| 244 | + }, |
| 245 | + "recent_n_files_to_read_for_schema_discovery": { |
| 246 | + "title": "Files To Read For Schema Discover", |
| 247 | + "description": "The number of resent files which will be used to discover the schema for this stream.", |
| 248 | + "exclusiveMinimum": 0, |
| 249 | + "type": "integer" |
232 | 250 | }
|
233 | 251 | },
|
234 | 252 | "required": ["name", "format"]
|
|
0 commit comments