diff --git a/tap_klaviyo/schemas/campaigns.json b/tap_klaviyo/schemas/campaigns.json index e5ba60d..63aff82 100644 --- a/tap_klaviyo/schemas/campaigns.json +++ b/tap_klaviyo/schemas/campaigns.json @@ -15,6 +15,19 @@ "null" ] }, + "relationships": { + "description": "", + "type": [ + "object", + "null" + ] + }, + "links": { + "description": "", + "type": [ + "object" + ] + }, "attributes": { "properties": { "name": { @@ -31,6 +44,30 @@ "null" ] }, + "audiences": { + "description": "The audiences to be included and/or excluded from the campaign", + "type": [ + "object" + ] + }, + "send_options": { + "description": "Options to use when sending a campaign", + "type": [ + "object" + ] + }, + "tracking_options": { + "description": "The tracking options associated with the campaign", + "type": [ + "object" + ] + }, + "send_strategy": { + "description": "The send strategy the campaign will send with", + "type": [ + "object" + ] + }, "status": { "description": "The current status of the campaign", "type": [ diff --git a/tap_klaviyo/schemas/event.json b/tap_klaviyo/schemas/event.json index 39eaf78..b5856ef 100644 --- a/tap_klaviyo/schemas/event.json +++ b/tap_klaviyo/schemas/event.json @@ -1,11 +1,5 @@ { "properties": { - "name": { - "type": [ - "string", - "null" - ] - }, "id": { "description": "The event ID", "type": [ @@ -28,22 +22,21 @@ "null" ] }, + "relationships": { + "description": "Event relationships", + "type": [ + "null", + "object" + ] + }, + "links": { + "description": "links", + "type": [ + "object" + ] + }, "attributes": { "properties": { - "metric_id": { - "description": "The metric ID", - "type": [ - "string", - "null" - ] - }, - "profile_id": { - "description": "Profile ID of the associated profile, if available", - "type": [ - "string", - "null" - ] - }, "timestamp": { "description": "Event timestamp in seconds", "type": [ @@ -74,6 +67,13 @@ ] } }, + "included": { + "description": "", + "type": [ + "null", + "array" + ] + }, "type": [ "object", "null" diff --git a/tap_klaviyo/schemas/flows.json b/tap_klaviyo/schemas/flows.json index c37dea4..a49dab4 100644 --- a/tap_klaviyo/schemas/flows.json +++ b/tap_klaviyo/schemas/flows.json @@ -10,6 +10,19 @@ "string" ] }, + "relationships": { + "description": "", + "type": [ + "null", + "object" + ] + }, + "links": { + "description": "", + "type": [ + "object" + ] + }, "attributes": { "properties": { "name": { diff --git a/tap_klaviyo/schemas/lists.json b/tap_klaviyo/schemas/lists.json index c6d4476..63bc6a8 100644 --- a/tap_klaviyo/schemas/lists.json +++ b/tap_klaviyo/schemas/lists.json @@ -15,6 +15,20 @@ "null" ] }, + "relationships": { + "description": "Relationships to other resources that are related to this list", + "type": [ + "object", + "null" + ] + }, + "links": { + "description": "Relationships to other resources that are related to this list", + "type": [ + "object", + "null" + ] + }, "attributes": { "properties": { "name": { @@ -24,7 +38,13 @@ "null" ] }, - + "opt_in_process": { + "description": "The opt-in process for this list. Could be either 'single_opt_in' or 'double_opt_in'.", + "type": [ + "string", + "null" + ] + }, "created": { "description": "Date and time when the list was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm)", "format": "date-time", diff --git a/tap_klaviyo/schemas/metrics.json b/tap_klaviyo/schemas/metrics.json index 5c0bc4b..72d1327 100644 --- a/tap_klaviyo/schemas/metrics.json +++ b/tap_klaviyo/schemas/metrics.json @@ -15,6 +15,19 @@ "null" ] }, + "relationships": { + "description": "Event relationships", + "type": [ + "null", + "object" + ] + }, + "links": { + "description": "links", + "type": [ + "object" + ] + }, "attributes": { "properties": { "name": { @@ -40,6 +53,13 @@ "null" ] }, + "links": { + "description": "Links related to the metric", + "type": [ + "object", + "null" + ] + }, "integration": { "properties": { "id": { diff --git a/tap_klaviyo/schemas/profiles.json b/tap_klaviyo/schemas/profiles.json index 557e32d..d530049 100644 --- a/tap_klaviyo/schemas/profiles.json +++ b/tap_klaviyo/schemas/profiles.json @@ -19,6 +19,19 @@ "null" ] }, + "relationships": { + "description": "", + "type": [ + "null", + "object" + ] + }, + "links": { + "description": "", + "type": [ + "object" + ] + }, "attributes": { "properties": { "email": { @@ -167,6 +180,13 @@ "string", "null" ] + }, + "ip": { + "description": "IP address", + "type": [ + "null", + "string" + ] } }, "type": [ diff --git a/tap_klaviyo/schemas/templates.json b/tap_klaviyo/schemas/templates.json index 3b8dbe8..85d76b3 100644 --- a/tap_klaviyo/schemas/templates.json +++ b/tap_klaviyo/schemas/templates.json @@ -21,6 +21,12 @@ "null" ] }, + "links": { + "description": "Links", + "type": [ + "object" + ] + }, "attributes": { "properties": { "company_id": {