Skip to content

Commit

Permalink
Airbyte-protocol: add new fileType and rename message
Browse files Browse the repository at this point in the history
  • Loading branch information
aldogonzalez8 committed Nov 12, 2024
1 parent 3702f58 commit 009278c
Showing 1 changed file with 26 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ definitions:
- SOURCE_RETRIEVAL_ERROR
# Errors casting to appropriate type
- DESTINATION_TYPECAST_ERROR
AirbyteFileTransferRecordMessage:
AirbyteFileTransferMessage:
type: object
additionalProperties: true
required:
Expand All @@ -137,13 +137,7 @@ definitions:
description: "stream the data is associated with"
type: string
file:
description: "transfer file data"
type: object
existingJavaType: com.fasterxml.jackson.databind.JsonNode
data:
description: "record data"
type: object
existingJavaType: com.fasterxml.jackson.databind.JsonNode
"$ref": "#/definitions/AirbyteFileType"
emitted_at:
description: "when the data was emitted from the source. epoch in millisecond."
type: integer
Expand Down Expand Up @@ -201,6 +195,30 @@ definitions:
type: array
items:
"$ref": "#/definitions/AirbyteStreamState"
AirbyteFileType:
type: object
additionalProperties: true
required:
- file_url
- file_relative_path
- modified
- bytes
properties:
file_url:
description: "local path to file"
type: string
file_relative_path:
description: "relative path to file"
type: string
source_file_url:
description: "source file path"
type: string
modified:
description: "file modified date. epoch in millisecond"
type: string
bytes:
description: "file size in bytes"
type: integer
StreamDescriptor:
type: object
additionalProperties: true
Expand Down

0 comments on commit 009278c

Please sign in to comment.