-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1320 from snowplow/release/r146
Release R146
- Loading branch information
Showing
12 changed files
with
969 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for a SendGrid bounce event. Property descriptions derived from the SendGrid documentation: https://sendgrid.com/docs/for-developers/tracking-events/event/", | ||
"self": { | ||
"vendor": "com.sendgrid", | ||
"name": "bounce", | ||
"version": "3-0-0", | ||
"format": "jsonschema" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"ip": { | ||
"description": "The IP address used to send the email. For open and click events, it is the IP address of the recipient who engaged with the email.", | ||
"type": "string", | ||
"maxLength": 45 | ||
}, | ||
"timestamp": { | ||
"description": "The timestamp of when the message was sent", | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
"email": { | ||
"description": "The email address of the recipient", | ||
"type": "string", | ||
"maxLength": 320 | ||
}, | ||
"newsletter": { | ||
"description": "Legacy Marketing Email tool fields", | ||
"type": "object", | ||
"properties": { | ||
"newsletter_user_list_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_send_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
"sg_event_id": { | ||
"description": "A unique ID to this event that you can use for deduplication purposes. These IDs are up to 100 characters long and are URL safe.", | ||
"type": "string", | ||
"minLength": 22, | ||
"maxLength": 4096 | ||
}, | ||
"smtp-id": { | ||
"description": "A unique ID attached to the message by the originating system", | ||
"type": "string" | ||
}, | ||
"reason": { | ||
"description": "Any sort of error response returned by the receiving server that describes the reason this event type was triggered", | ||
"type": "string" | ||
}, | ||
"tls": { | ||
"description": "Indicates whether TLS encription was used in sending this message. For more information about TLS, see the SendGrid TLS Glossary page.", | ||
"type": ["string", "integer"] | ||
}, | ||
"status": { | ||
"description": "Status code string. Corresponds to HTTP status code - for example, a JSON response of 5.0.0 is the same as a 500 error response.", | ||
"type": "string" | ||
}, | ||
"cert_error": { | ||
"description": "No longer found in the SendGrid documentation; possibly deprecated", | ||
"type": "string" | ||
}, | ||
"category": { | ||
"description": "Categories are custom tags that you set for the purpose of organizing your emails. Categories can be set as an array or string, and they will be returned as such when posted in your event endpoint.", | ||
"type": ["array", "string"], | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"asm_group_id": { | ||
"description": "The ID of the unsubscribe group the recipient’s email address is included in. ASM IDs correspond to the ID that is returned when you create an unsubscribe group.", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 9223372036854775807 | ||
}, | ||
"type": { | ||
"description": "Type of bounce, eg Bounce/Blocked/Expired", | ||
"type": "string" | ||
}, | ||
"sg_message_id": { | ||
"description": "A unique, internal SendGrid ID for the message. The first half of this is pulled from the smtp-id.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_id": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "integer" | ||
}, | ||
"marketing_campaign_name": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_version": { | ||
"description": "Displayed in the event data for emails sent as part of an A/B Test. The value for marketing_campaign_version are returned as A, B, C, etc.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_split_id": { | ||
"description": "Marketing campaign split id", | ||
"type": "integer" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for a SendGrid clicked event. Property descriptions derived from the SendGrid documentation: https://sendgrid.com/docs/for-developers/tracking-events/event/", | ||
"self": { | ||
"vendor": "com.sendgrid", | ||
"name": "click", | ||
"version": "3-0-0", | ||
"format": "jsonschema" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"ip": { | ||
"description": "The IP address used to send the email. For open and click events, it is the IP address of the recipient who engaged with the email.", | ||
"type": "string", | ||
"maxLength": 45 | ||
}, | ||
"timestamp": { | ||
"description": "The timestamp of when the message was sent", | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
"email": { | ||
"description": "The email address of the recipient", | ||
"type": "string", | ||
"maxLength": 320 | ||
}, | ||
"url": { | ||
"description": "The URL where the event originates. For click events, this is the URL clicked on by the recipient.", | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"newsletter": { | ||
"description": "Legacy Marketing Email tool fields", | ||
"type": "object", | ||
"properties": { | ||
"newsletter_user_list_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_send_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
"sg_event_id": { | ||
"description": "A unique ID to this event that you can use for deduplication purposes. These IDs are up to 100 characters long and are URL safe.", | ||
"type": "string", | ||
"minLength": 22, | ||
"maxLength": 4096 | ||
}, | ||
"smtp-id": { | ||
"description": "A unique ID attached to the message by the originating system", | ||
"type": "string" | ||
}, | ||
"useragent": { | ||
"description": "The user agent responsible for the event. This is usually a web browser. For example, Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36.", | ||
"type": "string" | ||
}, | ||
"category": { | ||
"description": "Categories are custom tags that you set for the purpose of organizing your emails. Categories can be set as an array or string, and they will be returned as such when posted in your event endpoint.", | ||
"type": ["array", "string"], | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"asm_group_id": { | ||
"description": "The ID of the unsubscribe group the recipient’s email address is included in. ASM IDs correspond to the ID that is returned when you create an unsubscribe group.", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 9223372036854775807 | ||
}, | ||
"sg_message_id": { | ||
"description": "A unique, internal SendGrid ID for the message. The first half of this is pulled from the smtp-id.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_id": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "integer" | ||
}, | ||
"marketing_campaign_name": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_version": { | ||
"description": "Displayed in the event data for emails sent as part of an A/B Test. The value for marketing_campaign_version are returned as A, B, C, etc.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_split_id": { | ||
"description": "Marketing campaign split id", | ||
"type": "integer" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Schema for a SendGrid deferred event. Property descriptions derived from the SendGrid documentation: https://sendgrid.com/docs/for-developers/tracking-events/event/", | ||
"self": { | ||
"vendor": "com.sendgrid", | ||
"name": "deferred", | ||
"version": "3-0-0", | ||
"format": "jsonschema" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"ip": { | ||
"description": "The IP address used to send the email", | ||
"type": "string", | ||
"maxLength": 45 | ||
}, | ||
"timestamp": { | ||
"description": "The timestamp of when the message was sent", | ||
"type": "string", | ||
"format": "date-time" | ||
}, | ||
"email": { | ||
"description": "The email address of the recipient", | ||
"type": "string", | ||
"maxLength": 320 | ||
}, | ||
"newsletter": { | ||
"description": "Legacy Marketing Email tool fields", | ||
"type": "object", | ||
"properties": { | ||
"newsletter_user_list_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_id": { | ||
"type": "string" | ||
}, | ||
"newsletter_send_id": { | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": true | ||
}, | ||
"sg_event_id": { | ||
"description": "A unique ID to this event that you can use for deduplication purposes. These IDs are up to 100 characters long and are URL safe.", | ||
"type": "string", | ||
"minLength": 22, | ||
"maxLength": 4096 | ||
}, | ||
"smtp-id": { | ||
"description": "A unique ID attached to the message by the originating system", | ||
"type": "string" | ||
}, | ||
"tls": { | ||
"description": "Indicates whether TLS encription was used in sending this message. For more information about TLS, see the SendGrid TLS Glossary page.", | ||
"type": ["string", "integer"] | ||
}, | ||
"response": { | ||
"description": "The full text of the HTTP response error returned from the receiving server", | ||
"type": "string" | ||
}, | ||
"cert_error": { | ||
"description": "No longer found in the SendGrid documentation; possibly deprecated", | ||
"type": "string" | ||
}, | ||
"category": { | ||
"description": "Categories are custom tags that you set for the purpose of organizing your emails. Categories can be set as an array or string, and they will be returned as such when posted in your event endpoint.", | ||
"type": ["array", "string"], | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
"asm_group_id": { | ||
"description": "The ID of the unsubscribe group the recipient’s email address is included in. ASM IDs correspond to the ID that is returned when you create an unsubscribe group.", | ||
"type": "integer", | ||
"minimum": 0, | ||
"maximum": 9223372036854775807 | ||
}, | ||
"attempt": { | ||
"description": "The number of times SendGrid has attempted to deliver this message", | ||
"type": "string" | ||
}, | ||
"sg_message_id": { | ||
"description": "A unique, internal SendGrid ID for the message. The first half of this is pulled from the smtp-id.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_id": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "integer" | ||
}, | ||
"marketing_campaign_name": { | ||
"description": "For emails sent through our Marketing Campaigns feature, we add Marketing Campaigns specific parameters to the Event Webhook. Both marketing_campaign_name and marketing_campaign_id are displayed as unique arguments in the event data.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_version": { | ||
"description": "Displayed in the event data for emails sent as part of an A/B Test. The value for marketing_campaign_version are returned as A, B, C, etc.", | ||
"type": "string" | ||
}, | ||
"marketing_campaign_split_id": { | ||
"description": "Marketing campaign split id", | ||
"type": "integer" | ||
} | ||
}, | ||
"additionalProperties": true | ||
} |
Oops, something went wrong.