Skip to content

Commit

Permalink
Source Klaviyo: Add missing fields to stream schemas (#34998)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristoGrab committed Feb 8, 2024
1 parent 623d481 commit 72ee783
Show file tree
Hide file tree
Showing 12 changed files with 560 additions and 62 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ data:
definitionId: 95e8cffd-b8c4-4039-968e-d32fb4a69bde
connectorBuildOptions:
baseImage: docker.io/airbyte/python-connector-base:1.1.0@sha256:bd98f6505c6764b1b5f99d3aedc23dfc9e9af631a62533f60eb32b1d3dbab20c
dockerImageTag: 2.1.0
dockerImageTag: 2.1.1
dockerRepository: airbyte/source-klaviyo
githubIssueLabel: source-klaviyo
icon: klaviyo.svg
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
Expand All @@ -15,22 +16,84 @@
"channel": { "type": "string" },
"audiences": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"included": {
"type": ["null", "array"],
"items": {
"type": ["null", "string"]
}
},
"excluded": {
"type": ["null", "array"],
"items": {
"type": ["null", "string"]
}
}
},
"send_options": {
"type": ["null", "object"],
"properties": {
"use_smart_sending": { "type": "boolean" }
"ignore_unsubscribes": { "type": ["null", "boolean"] },
"use_smart_sending": { "type": ["null", "boolean"] }
}
},
"message": { "type": "string" },
"tracking_options": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"is_tracking_opens": { "type": ["null", "boolean"] },
"is_tracking_clicks": { "type": ["null", "boolean"] },
"is_add_utm": { "type": ["null", "boolean"] },
"utm_params": {
"type": ["null", "array"],
"items": {
"type": ["null", "object"],
"properties": {
"name": { "type": "string" },
"value": { "type": "string" }
}
}
}
}
},
"send_strategy": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"method": { "type": "string" },
"options_static": {
"type": ["null", "object"],
"properties": {
"datetime": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"is_local": { "type": ["null", "boolean"] },
"send_past_recipients_immediately": {
"type": ["null", "boolean"]
}
}
},
"options_throttled": {
"type": ["null", "object"],
"properties": {
"datetime": {
"type": "string",
"format": "date-time",
"airbyte_type": "timestamp_without_timezone"
},
"throttle_percentage": { "type": "integer" }
}
},
"options_sto": {
"type": ["null", "object"],
"properties": {
"date": { "type": "string", "format": "date" }
}
}
}
},
"created_at": { "type": ["null", "string"], "format": "date-time" },
"scheduled_at": { "type": ["null", "string"], "format": "date-time" },
Expand All @@ -40,11 +103,38 @@
},
"links": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"self": { "type": "string" }
}
},
"relationships": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"tags": {
"type": ["null", "object"],
"properties": {
"data": {
"type": "array",
"items": {
"type": ["null", "object"],
"properties": {
"type": { "type": "string" },
"id": { "type": "string" }
}
}
},
"links": {
"type": ["null", "object"],
"properties": {
"self": { "type": "string" },
"related": { "type": "string" }
}
}
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
Expand All @@ -20,7 +21,10 @@
},
"links": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"self": { "type": "string" }
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
Expand Down Expand Up @@ -38,7 +39,15 @@
},
"links": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"self": {
"type": "string"
},
"related": {
"type": "string"
}
}
}
}
},
Expand All @@ -54,7 +63,15 @@
},
"links": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"self": {
"type": "string"
},
"related": {
"type": "string"
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": true,
"properties": {
Expand All @@ -19,11 +20,61 @@
},
"links": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"self": { "type": "string" }
}
},
"relationships": {
"type": ["null", "object"],
"additionalProperties": true
"additionalProperties": true,
"properties": {
"flow-actions": {
"type": ["null", "object"],
"properties": {
"data": {
"type": "array",
"items": {
"type": ["null", "object"],
"additionalProperties": true,
"properties": {
"type": { "type": "string" },
"id": { "type": "string" }
}
}
},
"links": {
"type": ["null", "object"],
"properties": {
"self": { "type": "string" },
"related": { "type": "string" }
}
}
}
},
"tags": {
"type": ["null", "object"],
"properties": {
"data": {
"type": "array",
"items": {
"type": ["null", "object"],
"properties": {
"type": { "type": "string" },
"id": { "type": "string" }
}
}
},
"links": {
"type": ["null", "object"],
"properties": {
"self": { "type": "string" },
"related": { "type": "string" }
}
}
}
}
}
}
}
}
Loading

0 comments on commit 72ee783

Please sign in to comment.