Created
April 30, 2023 07:39
-
-
Save amirhadadi/88ca4f31f9f9d8327d0c06da5806c031 to your computer and use it in GitHub Desktop.
json schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"allOf": [ | |
{ | |
"type": "object", | |
"properties": { | |
"cancelRetriesOnTimeout": { | |
"type": "boolean" | |
}, | |
"connectionName": { | |
"type": "string" | |
}, | |
"disableTempFolderRemoval": { | |
"type": "boolean" | |
}, | |
"name": { | |
"allOf": [ | |
{ | |
"type": "string" | |
}, | |
{ | |
"type": "object", | |
"properties": { | |
"type": { | |
"const": "String" | |
} | |
}, | |
"required": [ | |
"type" | |
] | |
} | |
] | |
}, | |
"primaryKeyConflictHandling": { | |
"$ref": "#/$defs/PrimaryKeyConflictHandling" | |
}, | |
"sourceQuery": { | |
"anyOf": [ | |
{ | |
"allOf": [ | |
{ | |
"$ref": "#/$defs/HiveQueryDTO" | |
}, | |
{ | |
"type": "object", | |
"properties": { | |
"type": { | |
"const": "HiveQueryDTO" | |
} | |
}, | |
"required": [ | |
"type" | |
] | |
} | |
] | |
}, | |
{ | |
"allOf": [ | |
{ | |
"$ref": "#/$defs/JdbcQueryDTO" | |
}, | |
{ | |
"type": "object", | |
"properties": { | |
"type": { | |
"const": "JdbcQueryDTO" | |
} | |
}, | |
"required": [ | |
"type" | |
] | |
} | |
] | |
}, | |
{ | |
"allOf": [ | |
{ | |
"$ref": "#/$defs/CassandraQueryDTO" | |
}, | |
{ | |
"type": "object", | |
"properties": { | |
"type": { | |
"const": "CassandraQueryDTO" | |
} | |
}, | |
"required": [ | |
"type" | |
] | |
} | |
] | |
} | |
] | |
}, | |
"splitFilesNumLines": { | |
"type": "integer" | |
}, | |
"stepTimeoutSec": { | |
"type": "integer" | |
}, | |
"targetColumnNames": { | |
"type": "string" | |
}, | |
"targetTableName": { | |
"type": "string" | |
} | |
} | |
}, | |
{ | |
"type": "object", | |
"properties": { | |
"type": { | |
"const": "SmartLoadStepDTO" | |
} | |
}, | |
"required": [ | |
"type" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment