Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ definitions:
- CATALOG
- TRACE
- CONTROL
- DESTINATION_CATALOG
log:
description: "log message: any kind of logging you want the platform to know about."
"$ref": "#/definitions/AirbyteLogMessage"
Expand All @@ -52,6 +53,9 @@ definitions:
control:
description: "connector config message: a message to communicate an updated configuration from a connector that should be persisted"
"$ref": "#/definitions/AirbyteControlMessage"
destination_catalog:
description: "destination catalog message: the catalog"
"$ref": "#/definitions/DestinationCatalog"
AirbyteRecordMessage:
type: object
additionalProperties: true
Expand Down Expand Up @@ -539,6 +543,8 @@ definitions:
destination_sync_mode:
"$ref": "#/definitions/DestinationSyncMode"
default: append
destination_object_name:
type: string
primary_key:
description: Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup`. Otherwise it is ignored.
type: array
Expand Down Expand Up @@ -582,8 +588,47 @@ definitions:
enum:
- append
- overwrite
#- upsert_dedup # TODO chris: SCD Type 1 can be implemented later
- append_dedup # SCD Type 1 & 2
- append_dedup
- update
- soft_delete
DestinationCatalog:
type: object
additionalProperties: true
description: Catalog for a destination
required:
- operations
properties:
operations:
description: An array of operations that can be performed on destination objects.
type: array
items:
"$ref": "#/definitions/DestinationOperation"
DestinationOperation:
type: object
additionalProperties: true
description: A possible operation on a destination object.
required:
- object_name
- sync_mode
- schema
properties:
object_name:
description: The name of the destination object.
type: string
sync_mode:
description: The sync mode to be performed on the destination object.
"$ref": "#/definitions/DestinationSyncMode"
schema:
description: Stream schema using Json Schema specs.
type: object
existingJavaType: com.fasterxml.jackson.databind.JsonNode
matching_keys:
description: A list of keys that can be used to match a record in the destination object. The inner array of strings represents a nested object path.
type: array
items:
type: array
items:
type: string
# Deprecated
OAuth2Specification:
type: object
Expand Down Expand Up @@ -677,7 +722,7 @@ definitions:
properties:
auth_type:
type: string
enum: [ "oauth2.0" ] # Future auth types should be added here
enum: ["oauth2.0"] # Future auth types should be added here
oauth2Specification:
description: If the connector supports OAuth, this field should be non-null.
"$ref": "#/definitions/OAuth2Specification"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ definitions:
- CATALOG
- TRACE
- CONTROL
- DESTINATION_CATALOG
log:
description: "log message: any kind of logging you want the platform to know about."
"$ref": "#/definitions/AirbyteLogMessage"
Expand All @@ -52,6 +53,9 @@ definitions:
control:
description: "connector config message: a message to communicate an updated configuration from a connector that should be persisted"
"$ref": "#/definitions/AirbyteControlMessage"
destination_catalog:
description: "destination catalog message: the catalog"
"$ref": "#/definitions/DestinationCatalog"
AirbyteRecordMessage:
type: object
additionalProperties: true
Expand Down Expand Up @@ -542,6 +546,8 @@ definitions:
destination_sync_mode:
"$ref": "#/definitions/DestinationSyncMode"
default: append
destination_object_name:
type: string
primary_key:
description: Paths to the fields that will be used as primary key. This field is REQUIRED if `destination_sync_mode` is `*_dedup`. Otherwise it is ignored.
type: array
Expand Down Expand Up @@ -585,8 +591,47 @@ definitions:
enum:
- append
- overwrite
#- upsert_dedup # TODO chris: SCD Type 1 can be implemented later
- append_dedup # SCD Type 1 & 2
- append_dedup
- update
- soft_delete
DestinationCatalog:
type: object
additionalProperties: true
description: Catalog for a destination
required:
- operations
properties:
operations:
description: An array of operations that can be performed on destination objects.
type: array
items:
"$ref": "#/definitions/DestinationOperation"
DestinationOperation:
type: object
additionalProperties: true
description: A possible operation on a destination object.
required:
- object_name
- sync_mode
- schema
properties:
object_name:
description: The name of the destination object.
type: string
sync_mode:
description: The sync mode to be performed on the destination object.
"$ref": "#/definitions/DestinationSyncMode"
schema:
description: Stream schema using Json Schema specs.
type: object
existingJavaType: com.fasterxml.jackson.databind.JsonNode
matching_keys:
description: A list of keys that can be used to match a record in the destination object. The inner array of strings represents a nested object path.
type: array
items:
type: array
items:
type: string
OAuth2Specification:
type: object
additionalProperties: true
Expand Down
Loading