You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/declarative_component_schema.yaml
+34-2Lines changed: 34 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -2520,6 +2520,34 @@ definitions:
2520
2520
type:
2521
2521
type: string
2522
2522
enum: [JsonlDecoder]
2523
+
JsonSchemaPropertySelector:
2524
+
title: Json Schema Property Selector
2525
+
description: When configured, the JSON schema supplied in the catalog containing which columns are selected for the current stream will be used to reduce which query properties will be included in the outbound API request. This can improve the performance of API requests, especially for those requiring multiple requests to get a complete record.
2526
+
type: object
2527
+
required:
2528
+
- type
2529
+
properties:
2530
+
type:
2531
+
type: string
2532
+
enum: [JsonSchemaPropertySelector]
2533
+
transformations:
2534
+
title: Transformations
2535
+
description: A list of transformations to be applied on the customer configured schema that will be used to filter out unselected fields when specifying query properties for API requests.
2536
+
linkable: true
2537
+
type: array
2538
+
items:
2539
+
anyOf:
2540
+
- "$ref": "#/definitions/AddFields"
2541
+
- "$ref": "#/definitions/RemoveFields"
2542
+
- "$ref": "#/definitions/KeysToLower"
2543
+
- "$ref": "#/definitions/KeysToSnakeCase"
2544
+
- "$ref": "#/definitions/FlattenFields"
2545
+
- "$ref": "#/definitions/DpathFlattenFields"
2546
+
- "$ref": "#/definitions/KeysReplace"
2547
+
- "$ref": "#/definitions/CustomTransformation"
2548
+
$parameters:
2549
+
type: object
2550
+
additionalProperties: true
2523
2551
KeysToLower:
2524
2552
title: Keys to Lower Case
2525
2553
description: A transformation that renames all keys to lower case.
@@ -3410,6 +3438,10 @@ definitions:
3410
3438
title: Property Chunking
3411
3439
description: Defines how query properties will be grouped into smaller sets for APIs with limitations on the number of properties fetched per API request.
3412
3440
"$ref": "#/definitions/PropertyChunking"
3441
+
property_selector:
3442
+
title: Property Selector
3443
+
description: Defines where to look for and which query properties that should be sent in outbound API requests. For example, you can specify that only the selected columns of a stream should be in the request.
Copy file name to clipboardExpand all lines: airbyte_cdk/sources/declarative/models/declarative_component_schema.py
+30Lines changed: 30 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
# Copyright (c) 2025 Airbyte, Inc., all rights reserved.
2
+
1
3
# generated by datamodel-codegen:
2
4
# filename: declarative_component_schema.yaml
3
5
@@ -2029,6 +2031,29 @@ class SessionTokenRequestApiKeyAuthenticator(BaseModel):
2029
2031
)
2030
2032
2031
2033
2034
+
classJsonSchemaPropertySelector(BaseModel):
2035
+
type: Literal["JsonSchemaPropertySelector"]
2036
+
transformations: Optional[
2037
+
List[
2038
+
Union[
2039
+
AddFields,
2040
+
RemoveFields,
2041
+
KeysToLower,
2042
+
KeysToSnakeCase,
2043
+
FlattenFields,
2044
+
DpathFlattenFields,
2045
+
KeysReplace,
2046
+
CustomTransformation,
2047
+
]
2048
+
]
2049
+
] =Field(
2050
+
None,
2051
+
description="A list of transformations to be applied on the customer configured schema that will be used to filter out unselected fields when specifying query properties for API requests.",
@@ -2799,6 +2824,11 @@ class QueryProperties(BaseModel):
2799
2824
description="Defines how query properties will be grouped into smaller sets for APIs with limitations on the number of properties fetched per API request.",
description="Defines where to look for and which query properties that should be sent in outbound API requests. For example, you can specify that only the selected columns of a stream should be in the request.",
0 commit comments