Properties
| Name | Type | Description |
|---|---|---|
| src_type | string | Type of the source. Possible values include: stream, table, view |
| name | string | Name of the source whose changes are tracked by the stream |
| database_name | string | Database name to which stream source type belongs. If not provided, database name provided in the path param will be used. |
| schema_name | string | Schema name to which stream source type belongs. If not provided, schema name provided in the path param will be used. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StreamSource",
"title": "StreamSource",
"type": "object",
"properties": {
"src_type": {
"type": "string",
"description": "Type of the source. Possible values include: stream, table, view",
"example": "example_value"
},
"name": {
"type": "string",
"pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$",
"description": "Name of the source whose changes are tracked by the stream",
"example": "Example Title"
},
"database_name": {
"type": "string",
"pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$",
"description": "Database name to which stream source type belongs. If not provided, database name provided in the path param will be used.",
"example": "example_value"
},
"schema_name": {
"type": "string",
"pattern": "^\"([^\"]|\"\")+\"|[a-zA-Z_][a-zA-Z0-9_$]*$",
"description": "Schema name to which stream source type belongs. If not provided, schema name provided in the path param will be used.",
"example": "example_value"
}
},
"required": [
"src_type",
"name"
],
"discriminator": {
"propertyName": "src_type",
"mapping": {
"table": "StreamSourceTable",
"external_table": "StreamSourceExternalTable",
"view": "StreamSourceView",
"stage": "StreamSourceStage"
}
}
}