Skip to content

Commit

Permalink
Namespace fields were introduced between 0.24.6 and 0.24.8 in the bac…
Browse files Browse the repository at this point in the history
…kend (#4154)

* Namespace fields were introduced between 0.24.6 and 0.24.8 in the backend

* add schema file

* format code
  • Loading branch information
ChristopheDuong authored Jun 16, 2021
1 parent 286f30f commit e468c2c
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@

FB_API_VERSION = "11.0"


@pytest.fixture(scope="session", name="account_id")
def account_id_fixture():
return "unknown_account"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"$schema": http://json-schema.org/draft-07/schema#
"$id": https://github.com/airbytehq/airbyte/blob/master/airbyte-config/models/src/main/resources/types/NamespaceDefinitionType.yaml
title: Namespace Definition
description: Method used for computing final namespace in destination
type: string
default: source
enum:
- source
- destination
- customformat
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ required:
- manual
additionalProperties: false
properties:
namespaceDefinition:
"$ref": NamespaceDefinitionType.yaml
namespaceFormat:
type: string
default: null
example: "${SOURCE_NAMESPACE}"
prefix:
description: Prefix that will be prepended to the name of each stream when it is written to the destination.
type: string
Expand Down

0 comments on commit e468c2c

Please sign in to comment.