From 0c5f2711218c2bc7d9ff9624b3e9e6df1897e792 Mon Sep 17 00:00:00 2001 From: Luishfs Date: Mon, 12 Aug 2024 15:49:25 -0300 Subject: [PATCH 1/3] source-iterable: adding checkpoint interval --- source-iterable/source_iterable/streams.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source-iterable/source_iterable/streams.py b/source-iterable/source_iterable/streams.py index 34e381948f..77bd1d6b1a 100644 --- a/source-iterable/source_iterable/streams.py +++ b/source-iterable/source_iterable/streams.py @@ -152,6 +152,7 @@ class IterableExportStream(IterableStream, IncrementalMixin, ABC): cursor_field = "createdAt" primary_key = None + state_checkpoint_interval = 500 def __init__(self, start_date=None, end_date=None, **kwargs): super().__init__(**kwargs) From c4cba560921c19bc787282c82dec208e1729126f Mon Sep 17 00:00:00 2001 From: Luishfs Date: Mon, 12 Aug 2024 16:11:25 -0300 Subject: [PATCH 2/3] source-iterable: ramping up state checkpoint interval to 10k --- source-iterable/source_iterable/streams.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source-iterable/source_iterable/streams.py b/source-iterable/source_iterable/streams.py index 77bd1d6b1a..81e3e7bbcc 100644 --- a/source-iterable/source_iterable/streams.py +++ b/source-iterable/source_iterable/streams.py @@ -152,7 +152,7 @@ class IterableExportStream(IterableStream, IncrementalMixin, ABC): cursor_field = "createdAt" primary_key = None - state_checkpoint_interval = 500 + state_checkpoint_interval = 10000 def __init__(self, start_date=None, end_date=None, **kwargs): super().__init__(**kwargs) @@ -570,6 +570,7 @@ class EmailOpen(IterableExportStreamAdjustableRange): class EmailSend(IterableExportStreamAdjustableRange): data_field = "emailSend" primary_key = ["messageId", "email"] + state_checkpoint_interval = 1000 def read_records( self, From e137679c6a0d16a42a2d1c5145e73ad14d134629 Mon Sep 17 00:00:00 2001 From: Luishfs Date: Mon, 14 Oct 2024 14:27:59 -0300 Subject: [PATCH 3/3] source-iterable: modifying schemas to minimal schema --- source-iterable/acmeCo/campaigns.schema.yaml | 84 - .../acmeCo/custom_event.schema.yaml | 43 - .../acmeCo/email_bounce.schema.yaml | 51 - .../acmeCo/email_click.schema.yaml | 83 - .../acmeCo/email_complaint.schema.yaml | 51 - source-iterable/acmeCo/email_open.schema.yaml | 71 - source-iterable/acmeCo/email_send.schema.yaml | 170 - .../acmeCo/email_send_skip.schema.yaml | 171 - .../acmeCo/email_subscribe.schema.yaml | 57 - .../acmeCo/email_unsubscribe.schema.yaml | 75 - source-iterable/acmeCo/events.schema.yaml | 43 - source-iterable/acmeCo/flow.yaml | 753 ++++- .../hosted_unsubscribe_click.schema.yaml | 43 - .../acmeCo/in_app_click.schema.yaml | 43 - .../acmeCo/in_app_close.schema.yaml | 43 - .../acmeCo/in_app_delete.schema.yaml | 43 - .../acmeCo/in_app_delivery.schema.yaml | 43 - .../acmeCo/in_app_open.schema.yaml | 43 - .../acmeCo/in_app_send.schema.yaml | 43 - .../acmeCo/in_app_send_skip.schema.yaml | 43 - .../inbox_message_impression.schema.yaml | 43 - .../acmeCo/inbox_session.schema.yaml | 43 - source-iterable/acmeCo/purchase.schema.yaml | 43 - .../acmeCo/push_bounce.schema.yaml | 43 - source-iterable/acmeCo/push_open.schema.yaml | 43 - source-iterable/acmeCo/push_send.schema.yaml | 43 - .../acmeCo/push_send_skip.schema.yaml | 43 - .../acmeCo/push_uninstall.schema.yaml | 43 - source-iterable/acmeCo/sms_bounce.schema.yaml | 43 - source-iterable/acmeCo/sms_click.schema.yaml | 43 - .../acmeCo/sms_received.schema.yaml | 43 - source-iterable/acmeCo/sms_send.schema.yaml | 43 - .../acmeCo/sms_send_skip.schema.yaml | 43 - .../acmeCo/sms_usage_info.schema.yaml | 43 - source-iterable/acmeCo/templates.schema.yaml | 42 - source-iterable/acmeCo/users.schema.yaml | 438 --- .../acmeCo/web_push_click.schema.yaml | 43 - .../acmeCo/web_push_send.schema.yaml | 43 - .../acmeCo/web_push_send_skip.schema.yaml | 43 - .../source_iterable/schemas/campaigns.json | 54 - .../source_iterable/schemas/channels.json | 9 - .../source_iterable/schemas/email_bounce.json | 29 - .../source_iterable/schemas/email_click.json | 53 - .../schemas/email_complaint.json | 29 - .../source_iterable/schemas/email_open.json | 44 - .../source_iterable/schemas/email_send.json | 122 - .../schemas/email_send_skip.json | 122 - .../schemas/email_subscribe.json | 33 - .../schemas/email_unsubscribe.json | 49 - .../source_iterable/schemas/events.json | 22 - .../source_iterable/schemas/lists.json | 11 +- .../schemas/message_types.json | 6 - .../source_iterable/schemas/templates.json | 22 - .../source_iterable/schemas/users.json | 329 -- source-iterable/source_iterable/streams.py | 2 +- ...t_snapshots__discover__capture.stdout.json | 2994 +---------------- 56 files changed, 732 insertions(+), 6405 deletions(-) delete mode 100644 source-iterable/acmeCo/campaigns.schema.yaml delete mode 100644 source-iterable/acmeCo/custom_event.schema.yaml delete mode 100644 source-iterable/acmeCo/email_bounce.schema.yaml delete mode 100644 source-iterable/acmeCo/email_click.schema.yaml delete mode 100644 source-iterable/acmeCo/email_complaint.schema.yaml delete mode 100644 source-iterable/acmeCo/email_open.schema.yaml delete mode 100644 source-iterable/acmeCo/email_send.schema.yaml delete mode 100644 source-iterable/acmeCo/email_send_skip.schema.yaml delete mode 100644 source-iterable/acmeCo/email_subscribe.schema.yaml delete mode 100644 source-iterable/acmeCo/email_unsubscribe.schema.yaml delete mode 100644 source-iterable/acmeCo/events.schema.yaml delete mode 100644 source-iterable/acmeCo/hosted_unsubscribe_click.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_click.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_close.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_delete.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_delivery.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_open.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_send.schema.yaml delete mode 100644 source-iterable/acmeCo/in_app_send_skip.schema.yaml delete mode 100644 source-iterable/acmeCo/inbox_message_impression.schema.yaml delete mode 100644 source-iterable/acmeCo/inbox_session.schema.yaml delete mode 100644 source-iterable/acmeCo/purchase.schema.yaml delete mode 100644 source-iterable/acmeCo/push_bounce.schema.yaml delete mode 100644 source-iterable/acmeCo/push_open.schema.yaml delete mode 100644 source-iterable/acmeCo/push_send.schema.yaml delete mode 100644 source-iterable/acmeCo/push_send_skip.schema.yaml delete mode 100644 source-iterable/acmeCo/push_uninstall.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_bounce.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_click.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_received.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_send.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_send_skip.schema.yaml delete mode 100644 source-iterable/acmeCo/sms_usage_info.schema.yaml delete mode 100644 source-iterable/acmeCo/templates.schema.yaml delete mode 100644 source-iterable/acmeCo/users.schema.yaml delete mode 100644 source-iterable/acmeCo/web_push_click.schema.yaml delete mode 100644 source-iterable/acmeCo/web_push_send.schema.yaml delete mode 100644 source-iterable/acmeCo/web_push_send_skip.schema.yaml diff --git a/source-iterable/acmeCo/campaigns.schema.yaml b/source-iterable/acmeCo/campaigns.schema.yaml deleted file mode 100644 index 582a5b37e0..0000000000 --- a/source-iterable/acmeCo/campaigns.schema.yaml +++ /dev/null @@ -1,84 +0,0 @@ ---- -properties: - id: - type: integer - createdAt: - type: - - "null" - - integer - updatedAt: - type: - - "null" - - integer - startAt: - type: - - "null" - - integer - endedAt: - type: - - "null" - - integer - name: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - messageMedium: - type: - - "null" - - string - createdByUserId: - type: - - "null" - - string - updatedByUserId: - type: - - "null" - - string - campaignState: - type: - - "null" - - string - listIds: - type: - - "null" - - array - items: {} - suppressionListIds: - type: - - "null" - - array - items: {} - sendSize: - type: - - "null" - - number - recurringCampaignId: - type: - - "null" - - number - workflowId: - type: - - "null" - - number - labels: - type: - - "null" - - array - items: {} - type: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/custom_event.schema.yaml b/source-iterable/acmeCo/custom_event.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/custom_event.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_bounce.schema.yaml b/source-iterable/acmeCo/email_bounce.schema.yaml deleted file mode 100644 index 95044c7dd2..0000000000 --- a/source-iterable/acmeCo/email_bounce.schema.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -properties: - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - messageId: - type: string - templateId: - type: - - "null" - - integer - email: - type: string - userId: - type: - - "null" - - string - recipientState: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_click.schema.yaml b/source-iterable/acmeCo/email_click.schema.yaml deleted file mode 100644 index 17968d5e97..0000000000 --- a/source-iterable/acmeCo/email_click.schema.yaml +++ /dev/null @@ -1,83 +0,0 @@ ---- -properties: - country: - type: - - "null" - - string - city: - type: - - "null" - - string - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - ip: - type: - - "null" - - string - contentId: - type: - - "null" - - integer - userAgentDevice: - type: - - "null" - - string - messageId: - type: string - hrefIndex: - type: - - "null" - - integer - userAgent: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - url: - type: - - "null" - - string - createdAt: - type: - - "null" - - string - format: date-time - region: - type: - - "null" - - string - email: - type: string - userId: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_complaint.schema.yaml b/source-iterable/acmeCo/email_complaint.schema.yaml deleted file mode 100644 index 95044c7dd2..0000000000 --- a/source-iterable/acmeCo/email_complaint.schema.yaml +++ /dev/null @@ -1,51 +0,0 @@ ---- -properties: - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - messageId: - type: string - templateId: - type: - - "null" - - integer - email: - type: string - userId: - type: - - "null" - - string - recipientState: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_open.schema.yaml b/source-iterable/acmeCo/email_open.schema.yaml deleted file mode 100644 index 8610bdb70a..0000000000 --- a/source-iterable/acmeCo/email_open.schema.yaml +++ /dev/null @@ -1,71 +0,0 @@ ---- -properties: - country: - type: - - "null" - - string - createdAt: - type: - - "null" - - string - format: date-time - city: - type: - - "null" - - string - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - ip: - type: - - "null" - - string - userAgentDevice: - type: - - "null" - - string - messageId: - type: string - userAgent: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - region: - type: - - "null" - - string - email: - type: string - userId: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_send.schema.yaml b/source-iterable/acmeCo/email_send.schema.yaml deleted file mode 100644 index ce2f665fda..0000000000 --- a/source-iterable/acmeCo/email_send.schema.yaml +++ /dev/null @@ -1,170 +0,0 @@ ---- -properties: - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - messageTypeId: - type: - - "null" - - integer - transactionalData: - type: - - "null" - - object - properties: - inventory: - type: - - "null" - - integer - eventName: - type: - - "null" - - string - name: - type: - - "null" - - string - sku: - type: - - "null" - - string - email: - type: - - "null" - - string - url: - type: - - "null" - - string - description: - type: - - "null" - - string - price: - type: - - "null" - - integer - product_type: - type: - - "null" - - string - compare_at_price: - type: - - "null" - - number - id: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - product_id: - type: - - "null" - - string - categories: - type: - - "null" - - array - items: {} - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - vendor: - type: - - "null" - - string - eventUpdatedAt: - type: - - "null" - - string - format: date-time - discount: - type: - - "null" - - integer - imageUrl: - type: - - "null" - - string - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - handle: - type: - - "null" - - string - contentId: - type: - - "null" - - integer - messageId: - type: string - messageBusId: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - email: - type: string - userId: - type: - - "null" - - string - channelId: - type: - - "null" - - integer - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_send_skip.schema.yaml b/source-iterable/acmeCo/email_send_skip.schema.yaml deleted file mode 100644 index 179c5792f3..0000000000 --- a/source-iterable/acmeCo/email_send_skip.schema.yaml +++ /dev/null @@ -1,171 +0,0 @@ ---- -properties: - reason: - type: - - "null" - - string - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - messageTypeId: - type: - - "null" - - integer - transactionalData: - type: - - string - - object - - "null" - properties: - inventory: - type: - - "null" - - integer - eventName: - type: - - "null" - - string - name: - type: - - "null" - - string - sku: - type: - - "null" - - string - email: - type: - - "null" - - string - url: - type: - - "null" - - string - description: - type: - - "null" - - string - price: - type: - - "null" - - integer - product_type: - type: - - "null" - - string - compare_at_price: - type: - - "null" - - number - id: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - product_id: - type: - - "null" - - string - categories: - type: - - "null" - - array - items: {} - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - vendor: - type: - - "null" - - string - eventUpdatedAt: - type: - - "null" - - string - format: date-time - discount: - type: - - "null" - - integer - imageUrl: - type: - - "null" - - string - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - handle: - type: - - "null" - - string - contentId: - type: - - "null" - - integer - messageId: - type: string - templateId: - type: - - "null" - - integer - email: - type: string - userId: - type: - - "null" - - string - channelId: - type: - - "null" - - integer - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_subscribe.schema.yaml b/source-iterable/acmeCo/email_subscribe.schema.yaml deleted file mode 100644 index 596dbec8f8..0000000000 --- a/source-iterable/acmeCo/email_subscribe.schema.yaml +++ /dev/null @@ -1,57 +0,0 @@ ---- -properties: - createdAt: - type: string - format: date-time - signupSource: - type: - - "null" - - string - emailListIds: - type: - - "null" - - array - items: {} - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - emailListId: - type: - - "null" - - integer - email: - type: string - userId: - type: - - "null" - - string - profileUpdatedAt: - type: - - "null" - - string - format: date-time - workflowId: - type: - - "null" - - integer - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/email_unsubscribe.schema.yaml b/source-iterable/acmeCo/email_unsubscribe.schema.yaml deleted file mode 100644 index a356026aae..0000000000 --- a/source-iterable/acmeCo/email_unsubscribe.schema.yaml +++ /dev/null @@ -1,75 +0,0 @@ ---- -properties: - unsubSource: - type: - - "null" - - string - createdAt: - type: - - "null" - - string - format: date-time - campaignId: - type: - - "null" - - integer - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - emailListId: - type: - - "null" - - integer - emailListIds: - type: - - "null" - - array - items: {} - workflowId: - type: - - "null" - - integer - messageId: - type: - - "null" - - string - templateId: - type: - - "null" - - integer - channelIds: - type: - - "null" - - array - items: {} - email: - type: string - userId: - type: - - "null" - - string - channelId: - type: - - "null" - - integer - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/events.schema.yaml b/source-iterable/acmeCo/events.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/events.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/flow.yaml b/source-iterable/acmeCo/flow.yaml index 3416294d64..25f93ef26b 100644 --- a/source-iterable/acmeCo/flow.yaml +++ b/source-iterable/acmeCo/flow.yaml @@ -1,7 +1,19 @@ --- collections: acmeCo/campaigns: - schema: campaigns.schema.yaml + schema: + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /id acmeCo/campaigns_metrics: @@ -32,18 +44,6 @@ collections: properties: id: type: integer - name: - type: - - "null" - - string - channelType: - type: - - "null" - - string - messageMedium: - type: - - "null" - - string _meta: type: object properties: @@ -56,110 +56,243 @@ collections: key: - /id acmeCo/custom_event: - schema: custom_event.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/email_bounce: - schema: email_bounce.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_click: - schema: email_click.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_complaint: - schema: email_complaint.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_open: - schema: email_open.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_send: - schema: email_send.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_send_skip: - schema: email_send_skip.schema.yaml + schema: + properties: + messageId: + type: string + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /messageId - /email acmeCo/email_subscribe: - schema: email_subscribe.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/email_unsubscribe: - schema: email_unsubscribe.schema.yaml + schema: + properties: + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email acmeCo/events: - schema: events.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - - /_meta/row_id + - /email + - /createdAt acmeCo/hosted_unsubscribe_click: - schema: hosted_unsubscribe_click.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/in_app_click: - schema: in_app_click.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/in_app_close: - schema: in_app_close.schema.yaml - key: - - /email - - /createdAt - acmeCo/in_app_delete: - schema: in_app_delete.schema.yaml - key: - - /email - - /createdAt - acmeCo/in_app_delivery: - schema: in_app_delivery.schema.yaml - key: - - /email - - /createdAt - acmeCo/in_app_open: - schema: in_app_open.schema.yaml - key: - - /email - - /createdAt - acmeCo/in_app_send: - schema: in_app_send.schema.yaml - key: - - /email - - /createdAt - acmeCo/in_app_send_skip: - schema: in_app_send_skip.schema.yaml - key: - - /email - - /createdAt - acmeCo/inbox_message_impression: - schema: inbox_message_impression.schema.yaml - key: - - /email - - /createdAt - acmeCo/inbox_session: - schema: inbox_session.schema.yaml - key: - - /email - - /createdAt - acmeCo/list_users: schema: properties: + createdAt: + type: string + format: date-time email: type: string - listId: - type: integer _meta: type: object properties: @@ -170,26 +303,16 @@ collections: type: object x-infer-schema: true key: - - /listId - acmeCo/lists: + - /email + - /createdAt + acmeCo/in_app_delete: schema: properties: - id: - type: - - "null" - - integer - name: - type: - - "null" - - string createdAt: - type: - - "null" - - integer - listType: - type: - - "null" - - string + type: string + format: date-time + email: + type: string _meta: type: object properties: @@ -200,20 +323,16 @@ collections: type: object x-infer-schema: true key: - - /id - acmeCo/message_types: + - /email + - /createdAt + acmeCo/in_app_delivery: schema: properties: - id: - type: integer - name: - type: - - "null" - - string - channelId: - type: - - "null" - - number + createdAt: + type: string + format: date-time + email: + type: string _meta: type: object properties: @@ -224,11 +343,162 @@ collections: type: object x-infer-schema: true key: - - /id - acmeCo/metadata: + - /email + - /createdAt + acmeCo/in_app_open: schema: properties: - name: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /email + - /createdAt + acmeCo/in_app_send: + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /email + - /createdAt + acmeCo/in_app_send_skip: + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /email + - /createdAt + acmeCo/inbox_message_impression: + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /email + - /createdAt + acmeCo/inbox_session: + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /email + - /createdAt + acmeCo/list_users: + schema: + properties: + email: + type: string + listId: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /listId + acmeCo/lists: + schema: + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /id + acmeCo/message_types: + schema: + properties: + id: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true + key: + - /id + acmeCo/metadata: + schema: + properties: + name: type: string _meta: type: object @@ -242,85 +512,334 @@ collections: key: - /_meta/row_id acmeCo/purchase: - schema: purchase.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/push_bounce: - schema: push_bounce.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/push_open: - schema: push_open.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/push_send: - schema: push_send.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/push_send_skip: - schema: push_send_skip.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/push_uninstall: - schema: push_uninstall.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_bounce: - schema: sms_bounce.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_click: - schema: sms_click.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_received: - schema: sms_received.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_send: - schema: sms_send.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_send_skip: - schema: sms_send_skip.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/sms_usage_info: - schema: sms_usage_info.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/templates: - schema: templates.schema.yaml + schema: + properties: + templateId: + type: integer + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /templateId acmeCo/users: - schema: users.schema.yaml + schema: + properties: + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email acmeCo/web_push_click: - schema: web_push_click.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/web_push_send: - schema: web_push_send.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt acmeCo/web_push_send_skip: - schema: web_push_send_skip.schema.yaml + schema: + properties: + createdAt: + type: string + format: date-time + email: + type: string + _meta: + type: object + properties: + row_id: + type: integer + required: + - row_id + type: object + x-infer-schema: true key: - /email - /createdAt diff --git a/source-iterable/acmeCo/hosted_unsubscribe_click.schema.yaml b/source-iterable/acmeCo/hosted_unsubscribe_click.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/hosted_unsubscribe_click.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_click.schema.yaml b/source-iterable/acmeCo/in_app_click.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_click.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_close.schema.yaml b/source-iterable/acmeCo/in_app_close.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_close.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_delete.schema.yaml b/source-iterable/acmeCo/in_app_delete.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_delete.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_delivery.schema.yaml b/source-iterable/acmeCo/in_app_delivery.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_delivery.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_open.schema.yaml b/source-iterable/acmeCo/in_app_open.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_open.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_send.schema.yaml b/source-iterable/acmeCo/in_app_send.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_send.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/in_app_send_skip.schema.yaml b/source-iterable/acmeCo/in_app_send_skip.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/in_app_send_skip.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/inbox_message_impression.schema.yaml b/source-iterable/acmeCo/inbox_message_impression.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/inbox_message_impression.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/inbox_session.schema.yaml b/source-iterable/acmeCo/inbox_session.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/inbox_session.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/purchase.schema.yaml b/source-iterable/acmeCo/purchase.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/purchase.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/push_bounce.schema.yaml b/source-iterable/acmeCo/push_bounce.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/push_bounce.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/push_open.schema.yaml b/source-iterable/acmeCo/push_open.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/push_open.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/push_send.schema.yaml b/source-iterable/acmeCo/push_send.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/push_send.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/push_send_skip.schema.yaml b/source-iterable/acmeCo/push_send_skip.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/push_send_skip.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/push_uninstall.schema.yaml b/source-iterable/acmeCo/push_uninstall.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/push_uninstall.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_bounce.schema.yaml b/source-iterable/acmeCo/sms_bounce.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_bounce.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_click.schema.yaml b/source-iterable/acmeCo/sms_click.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_click.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_received.schema.yaml b/source-iterable/acmeCo/sms_received.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_received.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_send.schema.yaml b/source-iterable/acmeCo/sms_send.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_send.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_send_skip.schema.yaml b/source-iterable/acmeCo/sms_send_skip.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_send_skip.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/sms_usage_info.schema.yaml b/source-iterable/acmeCo/sms_usage_info.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/sms_usage_info.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/templates.schema.yaml b/source-iterable/acmeCo/templates.schema.yaml deleted file mode 100644 index 415a0e4e6a..0000000000 --- a/source-iterable/acmeCo/templates.schema.yaml +++ /dev/null @@ -1,42 +0,0 @@ ---- -properties: - templateId: - type: integer - createdAt: - type: - - "null" - - string - format: date-time - updatedAt: - type: - - "null" - - integer - name: - type: - - "null" - - string - creatorUserId: - type: - - "null" - - string - messageTypeId: - type: - - "null" - - number - campaignId: - type: - - "null" - - number - clientTemplateId: - type: - - "null" - - string - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/users.schema.yaml b/source-iterable/acmeCo/users.schema.yaml deleted file mode 100644 index 9bd6c38aa3..0000000000 --- a/source-iterable/acmeCo/users.schema.yaml +++ /dev/null @@ -1,438 +0,0 @@ ---- -properties: - country: - type: - - "null" - - string - firstOrderDate: - type: - - "null" - - string - format: date-time - addresses: - type: - - "null" - - array - items: - type: - - "null" - - object - properties: - first_name: - type: - - "null" - - string - city: - type: - - "null" - - string - name: - type: - - "null" - - string - zip: - type: - - "null" - - string - country: - type: - - "null" - - string - address1: - type: - - "null" - - string - address2: - type: - - "null" - - string - company: - type: - - "null" - - string - country_code: - type: - - "null" - - string - default: - type: - - "null" - - boolean - id: - type: - - "null" - - string - last_name: - type: - - "null" - - string - province: - type: - - "null" - - string - province_code: - type: - - "null" - - string - country_name: - type: - - "null" - - string - phone: - type: - - "null" - - string - emailAcquiredDate: - type: - - "null" - - string - format: date-time - emailSegmentStatus: - type: - - "null" - - string - admin_graphql_api_id: - type: - - "null" - - string - id: - type: - - "null" - - string - mostRecentEmailList: - type: - - "null" - - string - mostRecentEmailSegment: - type: - - "null" - - string - aov: - type: - - "null" - - number - firstCampaign: - type: - - "null" - - string - thirdMostRecentOrderDate: - type: - - "null" - - string - format: date-time - firstPurchaseDate: - type: - - "null" - - string - format: date-time - firstMedium: - type: - - "null" - - string - default_address: - type: - - "null" - - object - properties: - first_name: - type: - - "null" - - string - city: - type: - - "null" - - string - name: - type: - - "null" - - string - zip: - type: - - "null" - - string - country: - type: - - "null" - - string - address2: - type: - - "null" - - string - company: - type: - - "null" - - string - country_code: - type: - - "null" - - string - id: - type: - - "null" - - string - last_name: - type: - - "null" - - string - address1: - type: - - "null" - - string - default: - type: - - "null" - - boolean - province: - type: - - "null" - - string - province_code: - type: - - "null" - - string - country_name: - type: - - "null" - - string - phone: - type: - - "null" - - string - emailListIds: - type: - - "null" - - array - items: {} - accepts_marketing: - type: - - "null" - - boolean - secondMostRecentOrderDate: - type: - - "null" - - string - format: date-time - state: - type: - - "null" - - string - mostRecentCampaign: - type: - - "null" - - string - zip: - type: - - "null" - - string - total_spent: - type: - - "null" - - number - mostRecentOrderDate: - type: - - "null" - - string - format: date-time - last_order_id: - type: - - "null" - - string - tax_exempt: - type: - - "null" - - boolean - mostRecentSource: - type: - - "null" - - string - twelveMonthLtr: - type: - - "null" - - integer - verified_email: - type: - - "null" - - boolean - mostRecentMedium: - type: - - "null" - - string - orders_count: - type: - - "null" - - integer - firstName: - type: - - "null" - - string - lastInteractionTs: - type: - - "null" - - string - format: date-time - boughtSas: - type: - - "null" - - boolean - secondMostRecentOrderCards: - type: - - "null" - - array - items: {} - unsubscribedChannelIds: - type: - - "null" - - array - items: {} - lastName: - type: - - "null" - - string - last_order_name: - type: - - "null" - - string - secondOrderDate: - type: - - "null" - - string - format: date-time - hasAccount: - type: - - "null" - - boolean - city: - type: - - "null" - - string - mostRecentOrderCards: - type: - - "null" - - array - items: {} - itblInternal: - type: - - "null" - - object - properties: - emailDomain: - type: - - "null" - - string - documentUpdatedAt: - type: - - "null" - - string - format: date-time - documentCreatedAt: - type: - - "null" - - string - format: date-time - hasReminder: - type: - - "null" - - boolean - thirdOrderDate: - type: - - "null" - - string - format: date-time - subscribedMessageTypeIds: - type: - - "null" - - array - items: {} - firstSource: - type: - - "null" - - string - unsubscribedMessageTypeIds: - type: - - "null" - - array - items: {} - first_name: - type: - - "null" - - string - email: - type: string - thirdMostRecentOrderCards: - type: - - "null" - - array - items: {} - profileUpdatedAt: - type: - - "null" - - string - format: date-time - signupDate: - type: - - "null" - - string - format: date-time - businessLines: - type: - - "null" - - array - items: {} - secondOrderCards: - type: - - "null" - - array - items: {} - address1: - type: - - "null" - - string - last_name: - type: - - "null" - - string - ltr: - type: - - "null" - - integer - userId: - type: - - "null" - - string - shopify_created_at: - type: - - "null" - - string - format: date-time - signupSource: - type: - - "null" - - string - thirdOrderCards: - type: - - "null" - - array - items: {} - firstOrderCards: - type: - - "null" - - array - items: {} - totalOrders: - type: - - "null" - - integer - shopify_updated_at: - type: - - "null" - - string - format: date-time - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/web_push_click.schema.yaml b/source-iterable/acmeCo/web_push_click.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/web_push_click.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/web_push_send.schema.yaml b/source-iterable/acmeCo/web_push_send.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/web_push_send.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/acmeCo/web_push_send_skip.schema.yaml b/source-iterable/acmeCo/web_push_send_skip.schema.yaml deleted file mode 100644 index b896615900..0000000000 --- a/source-iterable/acmeCo/web_push_send_skip.schema.yaml +++ /dev/null @@ -1,43 +0,0 @@ ---- -properties: - itblInternal: - type: - - "null" - - object - properties: - documentCreatedAt: - type: - - "null" - - string - format: date-time - documentUpdatedAt: - type: - - "null" - - string - format: date-time - _type: - type: - - "null" - - string - createdAt: - type: string - format: date-time - email: - type: string - userId: - type: - - "null" - - string - data: - type: - - "null" - - object - _meta: - type: object - properties: - row_id: - type: integer - required: - - row_id -type: object -x-infer-schema: true diff --git a/source-iterable/source_iterable/schemas/campaigns.json b/source-iterable/source_iterable/schemas/campaigns.json index 7d375bc520..6c6a957043 100644 --- a/source-iterable/source_iterable/schemas/campaigns.json +++ b/source-iterable/source_iterable/schemas/campaigns.json @@ -2,60 +2,6 @@ "properties": { "id": { "type": "integer" - }, - "createdAt": { - "type": ["null", "integer"] - }, - "updatedAt": { - "type": ["null", "integer"] - }, - "startAt": { - "type": ["null", "integer"] - }, - "endedAt": { - "type": ["null", "integer"] - }, - "name": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "messageMedium": { - "type": ["null", "string"] - }, - "createdByUserId": { - "type": ["null", "string"] - }, - "updatedByUserId": { - "type": ["null", "string"] - }, - "campaignState": { - "type": ["null", "string"] - }, - "listIds": { - "type": ["null", "array"], - "items": {} - }, - "suppressionListIds": { - "type": ["null", "array"], - "items": {} - }, - "sendSize": { - "type": ["null", "number"] - }, - "recurringCampaignId": { - "type": ["null", "number"] - }, - "workflowId": { - "type": ["null", "number"] - }, - "labels": { - "type": ["null", "array"], - "items": {} - }, - "type": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/channels.json b/source-iterable/source_iterable/schemas/channels.json index 12859a8ba3..6c6a957043 100644 --- a/source-iterable/source_iterable/schemas/channels.json +++ b/source-iterable/source_iterable/schemas/channels.json @@ -2,15 +2,6 @@ "properties": { "id": { "type": "integer" - }, - "name": { - "type": ["null", "string"] - }, - "channelType": { - "type": ["null", "string"] - }, - "messageMedium": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_bounce.json b/source-iterable/source_iterable/schemas/email_bounce.json index 7e2e8d7940..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_bounce.json +++ b/source-iterable/source_iterable/schemas/email_bounce.json @@ -1,39 +1,10 @@ { "properties": { - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, "messageId": { "type": "string" }, - "templateId": { - "type": ["null", "integer"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "recipientState": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_click.json b/source-iterable/source_iterable/schemas/email_click.json index bd7e89c2a9..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_click.json +++ b/source-iterable/source_iterable/schemas/email_click.json @@ -1,63 +1,10 @@ { "properties": { - "country": { - "type": ["null", "string"] - }, - "city": { - "type": ["null", "string"] - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "ip": { - "type": ["null", "string"] - }, - "contentId": { - "type": ["null", "integer"] - }, - "userAgentDevice": { - "type": ["null", "string"] - }, "messageId": { "type": "string" }, - "hrefIndex": { - "type": ["null", "integer"] - }, - "userAgent": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "url": { - "type": ["null", "string"] - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "region": { - "type": ["null", "string"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_complaint.json b/source-iterable/source_iterable/schemas/email_complaint.json index 7e2e8d7940..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_complaint.json +++ b/source-iterable/source_iterable/schemas/email_complaint.json @@ -1,39 +1,10 @@ { "properties": { - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, "messageId": { "type": "string" }, - "templateId": { - "type": ["null", "integer"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "recipientState": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_open.json b/source-iterable/source_iterable/schemas/email_open.json index f8d9fd5790..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_open.json +++ b/source-iterable/source_iterable/schemas/email_open.json @@ -1,54 +1,10 @@ { "properties": { - "country": { - "type": ["null", "string"] - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "city": { - "type": ["null", "string"] - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "ip": { - "type": ["null", "string"] - }, - "userAgentDevice": { - "type": ["null", "string"] - }, "messageId": { "type": "string" }, - "userAgent": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "region": { - "type": ["null", "string"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_send.json b/source-iterable/source_iterable/schemas/email_send.json index 582de067e6..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_send.json +++ b/source-iterable/source_iterable/schemas/email_send.json @@ -1,132 +1,10 @@ { "properties": { - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "messageTypeId": { - "type": ["null", "integer"] - }, - "transactionalData": { - "type": ["null", "object"], - "properties": { - "inventory": { - "type": ["null", "integer"] - }, - "eventName": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "sku": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "price": { - "type": ["null", "integer"] - }, - "product_type": { - "type": ["null", "string"] - }, - "compare_at_price": { - "type": ["null", "number"] - }, - "id": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "product_id": { - "type": ["null", "string"] - }, - "categories": { - "type": ["null", "array"], - "items": {} - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "vendor": { - "type": ["null", "string"] - }, - "eventUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "discount": { - "type": ["null", "integer"] - }, - "imageUrl": { - "type": ["null", "string"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "handle": { - "type": ["null", "string"] - } - } - }, - "contentId": { - "type": ["null", "integer"] - }, "messageId": { "type": "string" }, - "messageBusId": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "integer"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_send_skip.json b/source-iterable/source_iterable/schemas/email_send_skip.json index 21c65645e7..1684072be1 100644 --- a/source-iterable/source_iterable/schemas/email_send_skip.json +++ b/source-iterable/source_iterable/schemas/email_send_skip.json @@ -1,132 +1,10 @@ { "properties": { - "reason": { - "type": ["null", "string"] - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "messageTypeId": { - "type": ["null", "integer"] - }, - "transactionalData": { - "type": ["string", "object", "null"], - "properties": { - "inventory": { - "type": ["null", "integer"] - }, - "eventName": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "sku": { - "type": ["null", "string"] - }, - "email": { - "type": ["null", "string"] - }, - "url": { - "type": ["null", "string"] - }, - "description": { - "type": ["null", "string"] - }, - "price": { - "type": ["null", "integer"] - }, - "product_type": { - "type": ["null", "string"] - }, - "compare_at_price": { - "type": ["null", "number"] - }, - "id": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "product_id": { - "type": ["null", "string"] - }, - "categories": { - "type": ["null", "array"], - "items": {} - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "vendor": { - "type": ["null", "string"] - }, - "eventUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "discount": { - "type": ["null", "integer"] - }, - "imageUrl": { - "type": ["null", "string"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "handle": { - "type": ["null", "string"] - } - } - }, - "contentId": { - "type": ["null", "integer"] - }, "messageId": { "type": "string" }, - "templateId": { - "type": ["null", "integer"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "integer"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_subscribe.json b/source-iterable/source_iterable/schemas/email_subscribe.json index 649149cf82..d623711038 100644 --- a/source-iterable/source_iterable/schemas/email_subscribe.json +++ b/source-iterable/source_iterable/schemas/email_subscribe.json @@ -4,41 +4,8 @@ "type": "string", "format": "date-time" }, - "signupSource": { - "type": ["null", "string"] - }, - "emailListIds": { - "type": ["null", "array"], - "items": {} - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "emailListId": { - "type": ["null", "integer"] - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "profileUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "workflowId": { - "type": ["null", "integer"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/email_unsubscribe.json b/source-iterable/source_iterable/schemas/email_unsubscribe.json index be590bfc5e..66f6d33cf5 100644 --- a/source-iterable/source_iterable/schemas/email_unsubscribe.json +++ b/source-iterable/source_iterable/schemas/email_unsubscribe.json @@ -1,56 +1,7 @@ { "properties": { - "unsubSource": { - "type": ["null", "string"] - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "campaignId": { - "type": ["null", "integer"] - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "emailListId": { - "type": ["null", "integer"] - }, - "emailListIds": { - "type": ["null", "array"], - "items": {} - }, - "workflowId": { - "type": ["null", "integer"] - }, - "messageId": { - "type": ["null", "string"] - }, - "templateId": { - "type": ["null", "integer"] - }, - "channelIds": { - "type": ["null", "array"], - "items": {} - }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "integer"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/events.json b/source-iterable/source_iterable/schemas/events.json index 47a7d0ddad..d623711038 100644 --- a/source-iterable/source_iterable/schemas/events.json +++ b/source-iterable/source_iterable/schemas/events.json @@ -1,33 +1,11 @@ { "properties": { - "itblInternal": { - "type": ["null", "object"], - "properties": { - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "_type": { - "type": ["null", "string"] - }, "createdAt": { "type": "string", "format": "date-time" }, "email": { "type": "string" - }, - "userId": { - "type": ["null", "string"] - }, - "data": { - "type": ["null", "object"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/lists.json b/source-iterable/source_iterable/schemas/lists.json index cc0852a2c6..6c6a957043 100644 --- a/source-iterable/source_iterable/schemas/lists.json +++ b/source-iterable/source_iterable/schemas/lists.json @@ -1,16 +1,7 @@ { "properties": { "id": { - "type": ["null", "integer"] - }, - "name": { - "type": ["null", "string"] - }, - "createdAt": { - "type": ["null", "integer"] - }, - "listType": { - "type": ["null", "string"] + "type": "integer" } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/message_types.json b/source-iterable/source_iterable/schemas/message_types.json index 9ca5aa2187..6c6a957043 100644 --- a/source-iterable/source_iterable/schemas/message_types.json +++ b/source-iterable/source_iterable/schemas/message_types.json @@ -2,12 +2,6 @@ "properties": { "id": { "type": "integer" - }, - "name": { - "type": ["null", "string"] - }, - "channelId": { - "type": ["null", "number"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/templates.json b/source-iterable/source_iterable/schemas/templates.json index 13a4d5d8db..3c575bd681 100644 --- a/source-iterable/source_iterable/schemas/templates.json +++ b/source-iterable/source_iterable/schemas/templates.json @@ -2,28 +2,6 @@ "properties": { "templateId": { "type": "integer" - }, - "createdAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "updatedAt": { - "type": ["null", "integer"] - }, - "name": { - "type": ["null", "string"] - }, - "creatorUserId": { - "type": ["null", "string"] - }, - "messageTypeId": { - "type": ["null", "number"] - }, - "campaignId": { - "type": ["null", "number"] - }, - "clientTemplateId": { - "type": ["null", "string"] } }, "type": "object" diff --git a/source-iterable/source_iterable/schemas/users.json b/source-iterable/source_iterable/schemas/users.json index 68676d9aed..66f6d33cf5 100644 --- a/source-iterable/source_iterable/schemas/users.json +++ b/source-iterable/source_iterable/schemas/users.json @@ -1,336 +1,7 @@ { "properties": { - "country": { - "type": ["null", "string"] - }, - "firstOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "addresses": { - "type": ["null", "array"], - "items": { - "type": ["null", "object"], - "properties": { - "first_name": { - "type": ["null", "string"] - }, - "city": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "zip": { - "type": ["null", "string"] - }, - "country": { - "type": ["null", "string"] - }, - "address1": { - "type": ["null", "string"] - }, - "address2": { - "type": ["null", "string"] - }, - "company": { - "type": ["null", "string"] - }, - "country_code": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] - }, - "id": { - "type": ["null", "string"] - }, - "last_name": { - "type": ["null", "string"] - }, - "province": { - "type": ["null", "string"] - }, - "province_code": { - "type": ["null", "string"] - }, - "country_name": { - "type": ["null", "string"] - }, - "phone": { - "type": ["null", "string"] - } - } - } - }, - "emailAcquiredDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "emailSegmentStatus": { - "type": ["null", "string"] - }, - "admin_graphql_api_id": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "string"] - }, - "mostRecentEmailList": { - "type": ["null", "string"] - }, - "mostRecentEmailSegment": { - "type": ["null", "string"] - }, - "aov": { - "type": ["null", "number"] - }, - "firstCampaign": { - "type": ["null", "string"] - }, - "thirdMostRecentOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "firstPurchaseDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "firstMedium": { - "type": ["null", "string"] - }, - "default_address": { - "type": ["null", "object"], - "properties": { - "first_name": { - "type": ["null", "string"] - }, - "city": { - "type": ["null", "string"] - }, - "name": { - "type": ["null", "string"] - }, - "zip": { - "type": ["null", "string"] - }, - "country": { - "type": ["null", "string"] - }, - "address2": { - "type": ["null", "string"] - }, - "company": { - "type": ["null", "string"] - }, - "country_code": { - "type": ["null", "string"] - }, - "id": { - "type": ["null", "string"] - }, - "last_name": { - "type": ["null", "string"] - }, - "address1": { - "type": ["null", "string"] - }, - "default": { - "type": ["null", "boolean"] - }, - "province": { - "type": ["null", "string"] - }, - "province_code": { - "type": ["null", "string"] - }, - "country_name": { - "type": ["null", "string"] - }, - "phone": { - "type": ["null", "string"] - } - } - }, - "emailListIds": { - "type": ["null", "array"], - "items": {} - }, - "accepts_marketing": { - "type": ["null", "boolean"] - }, - "secondMostRecentOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "state": { - "type": ["null", "string"] - }, - "mostRecentCampaign": { - "type": ["null", "string"] - }, - "zip": { - "type": ["null", "string"] - }, - "total_spent": { - "type": ["null", "number"] - }, - "mostRecentOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "last_order_id": { - "type": ["null", "string"] - }, - "tax_exempt": { - "type": ["null", "boolean"] - }, - "mostRecentSource": { - "type": ["null", "string"] - }, - "twelveMonthLtr": { - "type": ["null", "integer"] - }, - "verified_email": { - "type": ["null", "boolean"] - }, - "mostRecentMedium": { - "type": ["null", "string"] - }, - "orders_count": { - "type": ["null", "integer"] - }, - "firstName": { - "type": ["null", "string"] - }, - "lastInteractionTs": { - "type": ["null", "string"], - "format": "date-time" - }, - "boughtSas": { - "type": ["null", "boolean"] - }, - "secondMostRecentOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "unsubscribedChannelIds": { - "type": ["null", "array"], - "items": {} - }, - "lastName": { - "type": ["null", "string"] - }, - "last_order_name": { - "type": ["null", "string"] - }, - "secondOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "hasAccount": { - "type": ["null", "boolean"] - }, - "city": { - "type": ["null", "string"] - }, - "mostRecentOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "itblInternal": { - "type": ["null", "object"], - "properties": { - "emailDomain": { - "type": ["null", "string"] - }, - "documentUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "documentCreatedAt": { - "type": ["null", "string"], - "format": "date-time" - } - } - }, - "hasReminder": { - "type": ["null", "boolean"] - }, - "thirdOrderDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "subscribedMessageTypeIds": { - "type": ["null", "array"], - "items": {} - }, - "firstSource": { - "type": ["null", "string"] - }, - "unsubscribedMessageTypeIds": { - "type": ["null", "array"], - "items": {} - }, - "first_name": { - "type": ["null", "string"] - }, "email": { "type": "string" - }, - "thirdMostRecentOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "profileUpdatedAt": { - "type": ["null", "string"], - "format": "date-time" - }, - "signupDate": { - "type": ["null", "string"], - "format": "date-time" - }, - "businessLines": { - "type": ["null", "array"], - "items": {} - }, - "secondOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "address1": { - "type": ["null", "string"] - }, - "last_name": { - "type": ["null", "string"] - }, - "ltr": { - "type": ["null", "integer"] - }, - "userId": { - "type": ["null", "string"] - }, - "shopify_created_at": { - "type": ["null", "string"], - "format": "date-time" - }, - "signupSource": { - "type": ["null", "string"] - }, - "thirdOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "firstOrderCards": { - "type": ["null", "array"], - "items": {} - }, - "totalOrders": { - "type": ["null", "integer"] - }, - "shopify_updated_at": { - "type": ["null", "string"], - "format": "date-time" } }, "type": "object" diff --git a/source-iterable/source_iterable/streams.py b/source-iterable/source_iterable/streams.py index 81e3e7bbcc..31e0f78076 100644 --- a/source-iterable/source_iterable/streams.py +++ b/source-iterable/source_iterable/streams.py @@ -510,7 +510,7 @@ class Events(IterableStream): https://api.iterable.com/api/docs#export_exportUserEvents """ - primary_key = None + primary_key = ["email", "createdAt"] data_field = "events" common_fields = ("itblInternal", "_type", "createdAt", "email") diff --git a/source-iterable/tests/snapshots/source_iterable_tests_test_snapshots__discover__capture.stdout.json b/source-iterable/tests/snapshots/source_iterable_tests_test_snapshots__discover__capture.stdout.json index 195ffdde90..773dd38f5f 100644 --- a/source-iterable/tests/snapshots/source_iterable_tests_test_snapshots__discover__capture.stdout.json +++ b/source-iterable/tests/snapshots/source_iterable_tests_test_snapshots__discover__capture.stdout.json @@ -13,113 +13,8 @@ ], "type": "object" }, - "campaignState": { - "type": [ - "null", - "string" - ] - }, - "createdAt": { - "type": [ - "null", - "integer" - ] - }, - "createdByUserId": { - "type": [ - "null", - "string" - ] - }, - "endedAt": { - "type": [ - "null", - "integer" - ] - }, "id": { "type": "integer" - }, - "labels": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "listIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "messageMedium": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "recurringCampaignId": { - "type": [ - "null", - "number" - ] - }, - "sendSize": { - "type": [ - "null", - "number" - ] - }, - "startAt": { - "type": [ - "null", - "integer" - ] - }, - "suppressionListIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "type": { - "type": [ - "null", - "string" - ] - }, - "updatedAt": { - "type": [ - "null", - "integer" - ] - }, - "updatedByUserId": { - "type": [ - "null", - "string" - ] - }, - "workflowId": { - "type": [ - "null", - "number" - ] } }, "type": "object", @@ -189,26 +84,8 @@ ], "type": "object" }, - "channelType": { - "type": [ - "null", - "string" - ] - }, "id": { "type": "integer" - }, - "messageMedium": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -237,29 +114,8 @@ ], "type": "object" }, - "createdAt": { - "type": [ - "null", - "integer" - ] - }, "id": { - "type": [ - "null", - "integer" - ] - }, - "listType": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] + "type": "integer" } }, "type": "object", @@ -288,20 +144,8 @@ ], "type": "object" }, - "channelId": { - "type": [ - "null", - "number" - ] - }, "id": { "type": "integer" - }, - "name": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -360,51 +204,8 @@ ], "type": "object" }, - "campaignId": { - "type": [ - "null", - "number" - ] - }, - "clientTemplateId": { - "type": [ - "null", - "string" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "creatorUserId": { - "type": [ - "null", - "string" - ] - }, - "messageTypeId": { - "type": [ - "null", - "number" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, "templateId": { "type": "integer" - }, - "updatedAt": { - "type": [ - "null", - "integer" - ] } }, "type": "object", @@ -436,634 +237,8 @@ ], "type": "object" }, - "accepts_marketing": { - "type": [ - "null", - "boolean" - ] - }, - "address1": { - "type": [ - "null", - "string" - ] - }, - "addresses": { - "items": { - "properties": { - "address1": { - "type": [ - "null", - "string" - ] - }, - "address2": { - "type": [ - "null", - "string" - ] - }, - "city": { - "type": [ - "null", - "string" - ] - }, - "company": { - "type": [ - "null", - "string" - ] - }, - "country": { - "type": [ - "null", - "string" - ] - }, - "country_code": { - "type": [ - "null", - "string" - ] - }, - "country_name": { - "type": [ - "null", - "string" - ] - }, - "default": { - "type": [ - "null", - "boolean" - ] - }, - "first_name": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "last_name": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "phone": { - "type": [ - "null", - "string" - ] - }, - "province": { - "type": [ - "null", - "string" - ] - }, - "province_code": { - "type": [ - "null", - "string" - ] - }, - "zip": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "type": [ - "null", - "array" - ] - }, - "admin_graphql_api_id": { - "type": [ - "null", - "string" - ] - }, - "aov": { - "type": [ - "null", - "number" - ] - }, - "boughtSas": { - "type": [ - "null", - "boolean" - ] - }, - "businessLines": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "city": { - "type": [ - "null", - "string" - ] - }, - "country": { - "type": [ - "null", - "string" - ] - }, - "default_address": { - "properties": { - "address1": { - "type": [ - "null", - "string" - ] - }, - "address2": { - "type": [ - "null", - "string" - ] - }, - "city": { - "type": [ - "null", - "string" - ] - }, - "company": { - "type": [ - "null", - "string" - ] - }, - "country": { - "type": [ - "null", - "string" - ] - }, - "country_code": { - "type": [ - "null", - "string" - ] - }, - "country_name": { - "type": [ - "null", - "string" - ] - }, - "default": { - "type": [ - "null", - "boolean" - ] - }, - "first_name": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "last_name": { - "type": [ - "null", - "string" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "phone": { - "type": [ - "null", - "string" - ] - }, - "province": { - "type": [ - "null", - "string" - ] - }, - "province_code": { - "type": [ - "null", - "string" - ] - }, - "zip": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "emailAcquiredDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "emailListIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "emailSegmentStatus": { - "type": [ - "null", - "string" - ] - }, - "firstCampaign": { - "type": [ - "null", - "string" - ] - }, - "firstMedium": { - "type": [ - "null", - "string" - ] - }, - "firstName": { - "type": [ - "null", - "string" - ] - }, - "firstOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "firstOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "firstPurchaseDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "firstSource": { - "type": [ - "null", - "string" - ] - }, - "first_name": { - "type": [ - "null", - "string" - ] - }, - "hasAccount": { - "type": [ - "null", - "boolean" - ] - }, - "hasReminder": { - "type": [ - "null", - "boolean" - ] - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "emailDomain": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "lastInteractionTs": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "lastName": { - "type": [ - "null", - "string" - ] - }, - "last_name": { - "type": [ - "null", - "string" - ] - }, - "last_order_id": { - "type": [ - "null", - "string" - ] - }, - "last_order_name": { - "type": [ - "null", - "string" - ] - }, - "ltr": { - "type": [ - "null", - "integer" - ] - }, - "mostRecentCampaign": { - "type": [ - "null", - "string" - ] - }, - "mostRecentEmailList": { - "type": [ - "null", - "string" - ] - }, - "mostRecentEmailSegment": { - "type": [ - "null", - "string" - ] - }, - "mostRecentMedium": { - "type": [ - "null", - "string" - ] - }, - "mostRecentOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "mostRecentOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "mostRecentSource": { - "type": [ - "null", - "string" - ] - }, - "orders_count": { - "type": [ - "null", - "integer" - ] - }, - "profileUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "secondMostRecentOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "secondMostRecentOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "secondOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "secondOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "shopify_created_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "shopify_updated_at": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "signupDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "signupSource": { - "type": [ - "null", - "string" - ] - }, - "state": { - "type": [ - "null", - "string" - ] - }, - "subscribedMessageTypeIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "tax_exempt": { - "type": [ - "null", - "boolean" - ] - }, - "thirdMostRecentOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "thirdMostRecentOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "thirdOrderCards": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "thirdOrderDate": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "totalOrders": { - "type": [ - "null", - "integer" - ] - }, - "total_spent": { - "type": [ - "null", - "number" - ] - }, - "twelveMonthLtr": { - "type": [ - "null", - "integer" - ] - }, - "unsubscribedChannelIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "unsubscribedMessageTypeIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] - }, - "verified_email": { - "type": [ - "null", - "boolean" - ] - }, - "zip": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -1128,64 +303,11 @@ ], "type": "object" }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, "email": { "type": "string" }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "messageId": { "type": "string" - }, - "recipientState": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -1218,112 +340,11 @@ ], "type": "object" }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "city": { - "type": [ - "null", - "string" - ] - }, - "contentId": { - "type": [ - "null", - "integer" - ] - }, - "country": { - "type": [ - "null", - "string" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, "email": { "type": "string" }, - "hrefIndex": { - "type": [ - "null", - "integer" - ] - }, - "ip": { - "type": [ - "null", - "string" - ] - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "messageId": { "type": "string" - }, - "region": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "userAgent": { - "type": [ - "null", - "string" - ] - }, - "userAgentDevice": { - "type": [ - "null", - "string" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -1356,64 +377,11 @@ ], "type": "object" }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, "email": { "type": "string" }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, "messageId": { "type": "string" - }, - "recipientState": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -1429,646 +397,28 @@ "createdAt" ], "stream": "email_complaint", - "syncMode": "incremental" - } - }, - { - "documentSchema": { - "properties": { - "_meta": { - "properties": { - "row_id": { - "type": "integer" - } - }, - "required": [ - "row_id" - ], - "type": "object" - }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "city": { - "type": [ - "null", - "string" - ] - }, - "country": { - "type": [ - "null", - "string" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "email": { - "type": "string" - }, - "ip": { - "type": [ - "null", - "string" - ] - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "messageId": { - "type": "string" - }, - "region": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "userAgent": { - "type": [ - "null", - "string" - ] - }, - "userAgentDevice": { - "type": [ - "null", - "string" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object", - "x-infer-schema": true - }, - "key": [ - "/messageId", - "/email" - ], - "recommendedName": "email_open", - "resourceConfig": { - "cursorField": [ - "createdAt" - ], - "stream": "email_open", - "syncMode": "incremental" - } - }, - { - "documentSchema": { - "properties": { - "_meta": { - "properties": { - "row_id": { - "type": "integer" - } - }, - "required": [ - "row_id" - ], - "type": "object" - }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "channelId": { - "type": [ - "null", - "integer" - ] - }, - "contentId": { - "type": [ - "null", - "integer" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "email": { - "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "messageBusId": { - "type": [ - "null", - "string" - ] - }, - "messageId": { - "type": "string" - }, - "messageTypeId": { - "type": [ - "null", - "integer" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "transactionalData": { - "properties": { - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "categories": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "compare_at_price": { - "type": [ - "null", - "number" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "discount": { - "type": [ - "null", - "integer" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "eventName": { - "type": [ - "null", - "string" - ] - }, - "eventUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "handle": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "imageUrl": { - "type": [ - "null", - "string" - ] - }, - "inventory": { - "type": [ - "null", - "integer" - ] - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "price": { - "type": [ - "null", - "integer" - ] - }, - "product_id": { - "type": [ - "null", - "string" - ] - }, - "product_type": { - "type": [ - "null", - "string" - ] - }, - "sku": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "vendor": { - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] - } - }, - "type": "object", - "x-infer-schema": true - }, - "key": [ - "/messageId", - "/email" - ], - "recommendedName": "email_send", - "resourceConfig": { - "cursorField": [ - "createdAt" - ], - "stream": "email_send", - "syncMode": "incremental" - } - }, - { - "documentSchema": { - "properties": { - "_meta": { - "properties": { - "row_id": { - "type": "integer" - } - }, - "required": [ - "row_id" - ], - "type": "object" - }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "channelId": { - "type": [ - "null", - "integer" - ] - }, - "contentId": { - "type": [ - "null", - "integer" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "email": { - "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "messageId": { - "type": "string" - }, - "messageTypeId": { - "type": [ - "null", - "integer" - ] - }, - "reason": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "transactionalData": { - "properties": { - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "categories": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "compare_at_price": { - "type": [ - "null", - "number" - ] - }, - "createdAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "description": { - "type": [ - "null", - "string" - ] - }, - "discount": { - "type": [ - "null", - "integer" - ] - }, - "email": { - "type": [ - "null", - "string" - ] - }, - "eventName": { - "type": [ - "null", - "string" - ] - }, - "eventUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "handle": { - "type": [ - "null", - "string" - ] - }, - "id": { - "type": [ - "null", - "string" - ] - }, - "imageUrl": { - "type": [ - "null", - "string" - ] - }, - "inventory": { - "type": [ - "null", - "integer" - ] - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "name": { - "type": [ - "null", - "string" - ] - }, - "price": { - "type": [ - "null", - "integer" - ] - }, - "product_id": { - "type": [ - "null", - "string" - ] - }, - "product_type": { - "type": [ - "null", - "string" - ] - }, - "sku": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "url": { - "type": [ - "null", - "string" - ] - }, - "vendor": { - "type": [ - "null", - "string" - ] + "syncMode": "incremental" + } + }, + { + "documentSchema": { + "properties": { + "_meta": { + "properties": { + "row_id": { + "type": "integer" } }, - "type": [ - "string", - "object", - "null" - ] + "required": [ + "row_id" + ], + "type": "object" + }, + "email": { + "type": "string" }, - "userId": { - "type": [ - "null", - "string" - ] + "messageId": { + "type": "string" } }, "type": "object", @@ -2078,12 +428,12 @@ "/messageId", "/email" ], - "recommendedName": "email_send_skip", + "recommendedName": "email_open", "resourceConfig": { "cursorField": [ "createdAt" ], - "stream": "email_send_skip", + "stream": "email_open", "syncMode": "incremental" } }, @@ -2101,87 +451,63 @@ ], "type": "object" }, - "createdAt": { - "format": "date-time", - "type": "string" - }, "email": { "type": "string" }, - "emailListId": { - "type": [ - "null", - "integer" - ] - }, - "emailListIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "itblInternal": { + "messageId": { + "type": "string" + } + }, + "type": "object", + "x-infer-schema": true + }, + "key": [ + "/messageId", + "/email" + ], + "recommendedName": "email_send", + "resourceConfig": { + "cursorField": [ + "createdAt" + ], + "stream": "email_send", + "syncMode": "incremental" + } + }, + { + "documentSchema": { + "properties": { + "_meta": { "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "profileUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "signupSource": { - "type": [ - "null", - "string" - ] + "required": [ + "row_id" + ], + "type": "object" }, - "userId": { - "type": [ - "null", - "string" - ] + "email": { + "type": "string" }, - "workflowId": { - "type": [ - "null", - "integer" - ] + "messageId": { + "type": "string" } }, "type": "object", "x-infer-schema": true }, "key": [ - "/email", - "/createdAt" + "/messageId", + "/email" ], - "recommendedName": "email_subscribe", + "recommendedName": "email_send_skip", "resourceConfig": { "cursorField": [ "createdAt" ], - "stream": "email_subscribe", + "stream": "email_send_skip", "syncMode": "incremental" } }, @@ -2199,99 +525,46 @@ ], "type": "object" }, - "campaignId": { - "type": [ - "null", - "integer" - ] - }, - "channelId": { - "type": [ - "null", - "integer" - ] - }, - "channelIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, "createdAt": { "format": "date-time", - "type": [ - "null", - "string" - ] + "type": "string" }, "email": { "type": "string" - }, - "emailListId": { - "type": [ - "null", - "integer" - ] - }, - "emailListIds": { - "items": {}, - "type": [ - "null", - "array" - ] - }, - "itblInternal": { + } + }, + "type": "object", + "x-infer-schema": true + }, + "key": [ + "/email", + "/createdAt" + ], + "recommendedName": "email_subscribe", + "resourceConfig": { + "cursorField": [ + "createdAt" + ], + "stream": "email_subscribe", + "syncMode": "incremental" + } + }, + { + "documentSchema": { + "properties": { + "_meta": { "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] + "row_id": { + "type": "integer" } }, - "type": [ - "null", - "object" - ] - }, - "messageId": { - "type": [ - "null", - "string" - ] - }, - "templateId": { - "type": [ - "null", - "integer" - ] - }, - "unsubSource": { - "type": [ - "null", - "string" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] + "required": [ + "row_id" + ], + "type": "object" }, - "workflowId": { - "type": [ - "null", - "integer" - ] + "email": { + "type": "string" } }, "type": "object", @@ -2323,52 +596,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2401,52 +634,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2479,52 +672,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2557,52 +710,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2635,52 +748,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2713,52 +786,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2791,52 +824,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2869,52 +862,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -2947,52 +900,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { - "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] + "type": "string" } }, "type": "object", @@ -3025,52 +938,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3103,52 +976,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3181,52 +1014,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3259,52 +1052,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3337,52 +1090,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3415,52 +1128,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3493,52 +1166,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3571,52 +1204,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3649,52 +1242,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3727,52 +1280,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3805,52 +1318,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3883,52 +1356,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -3961,52 +1394,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -4039,52 +1432,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -4117,52 +1470,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -4195,52 +1508,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -4273,52 +1546,12 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", @@ -4351,59 +1584,20 @@ ], "type": "object" }, - "_type": { - "type": [ - "null", - "string" - ] - }, "createdAt": { "format": "date-time", "type": "string" }, - "data": { - "type": [ - "null", - "object" - ] - }, "email": { "type": "string" - }, - "itblInternal": { - "properties": { - "documentCreatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - }, - "documentUpdatedAt": { - "format": "date-time", - "type": [ - "null", - "string" - ] - } - }, - "type": [ - "null", - "object" - ] - }, - "userId": { - "type": [ - "null", - "string" - ] } }, "type": "object", "x-infer-schema": true }, "key": [ - "/_meta/row_id" + "/email", + "/createdAt" ], "recommendedName": "events", "resourceConfig": {