myapp.applications

Some general description for this event source

FlexApplicationConfirmed

Event is raised when the user flexs their application using the mobile application.

Detail Properties

  • newCoverAmount - The new amount the user will be covered for ,
  • previousCoverAmount - The previous amount the user was covered for


Event Rules

  • myapp-api-dev-PostMessageToASlackChannelFlexAp-U2KWLOKONNME


Schema details

Schema name: myapp.applications@FlexApplicationConfirmed

Version: 1

Event Example

 1{
 2    "Time": "2020-07-14T00:00:00Z",
 3    "Source": "myapp.applications",
 4    "Resources": [
 5        "1"
 6    ],
 7    "DetailType": "UserCreated",
 8    "Detail": {
 9        "data": {
10            "brand": {
11                "code": "00001"
12            },
13            "user": {
14                "email": "test@test.com",
15                "id": 1
16            },
17            "newCoverAmount": 1000,
18            "previousCoverAmount": 1000
19        },
20        "metadata": {
21            "correlationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
22            "service": "myapp-some-service"
23        }
24    },
25    "EventBusName": "myapp-event-bus-dev"
26}

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "FlexApplicationConfirmed",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "newCoverAmount": {
 22                    "type": "string"
 23                },
 24                "previousCoverAmount": {
 25                    "type": "string"
 26                },
 27                "user": {
 28                    "$ref": "#/definitions/User"
 29                }
 30            },
 31            "required": [
 32                "newCoverAmount",
 33                "previousCoverAmount",
 34                "brand",
 35                "user"
 36            ],
 37            "type": "object"
 38        },
 39        "FlexApplicationConfirmed": {
 40            "properties": {
 41                "data": {
 42                    "$ref": "#/definitions/Data"
 43                },
 44                "metadata": {
 45                    "$ref": "#/definitions/Metadata"
 46                }
 47            },
 48            "required": [
 49                "metadata",
 50                "data"
 51            ],
 52            "type": "object"
 53        },
 54        "Metadata": {
 55            "properties": {
 56                "correlationId": {
 57                    "type": "string"
 58                },
 59                "service": {
 60                    "type": "string"
 61                }
 62            },
 63            "required": [
 64                "service",
 65                "correlationId"
 66            ],
 67            "type": "object"
 68        },
 69        "User": {
 70            "properties": {
 71                "email": {
 72                    "type": "string"
 73                },
 74                "id": {
 75                    "type": "number"
 76                }
 77            },
 78            "required": [
 79                "id",
 80                "email"
 81            ],
 82            "type": "object"
 83        }
 84    },
 85    "properties": {
 86        "account": {
 87            "type": "string"
 88        },
 89        "detail": {
 90            "$ref": "#/definitions/FlexApplicationConfirmed"
 91        },
 92        "detail-type": {
 93            "type": "string"
 94        },
 95        "id": {
 96            "type": "string"
 97        },
 98        "region": {
 99            "type": "string"
100        },
101        "resources": {
102            "items": {
103                "type": "object"
104            },
105            "type": "array"
106        },
107        "source": {
108            "type": "string"
109        },
110        "time": {
111            "format": "date-time",
112            "type": "string"
113        },
114        "version": {
115            "type": "string"
116        }
117    },
118    "required": [
119        "detail-type",
120        "resources",
121        "detail",
122        "id",
123        "source",
124        "time",
125        "region",
126        "version",
127        "account"
128    ],
129    "type": "object",
130    "x-amazon-events-detail-type": "FlexApplicationConfirmed",
131    "x-amazon-events-source": "myapp.applications"
132}

myapp.items

Some general description for this event source

DeathwishCreated

Event is raised when an item is created on the ecommerce store

Detail Properties

  • id - Unique identifier for the item ,
  • createdAt - Date the item was created ,
  • description - Description the user inserted


Event Rules

  • myapp-api-dev-RecalcCoverAmountDeathwishCreate-NO3O92D7677H


Schema details

Schema name: myapp.items@DeathwishCreated

Version: 665

Event Example

 1{
 2    "Time": "2020-07-14T00:00:00Z",
 3    "Source": "myapp.items",
 4    "Resources": [
 5        "1"
 6    ],
 7    "DetailType": "DeathwishCreated",
 8    "Detail": {
 9        "data": {
10            "amountInCents": 10000,
11            "applicationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
12            "connections": [
13                1,
14                2,
15                3
16            ],
17            "createdAt": "2020-01-01T07:09:01+00:00",
18            "description": "New Item Description",
19            "id": 1
20        },
21        "metadata": {
22            "correlationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
23            "service": "myapp-some-service"
24        }
25    },
26    "EventBusName": "myapp-event-bus-dev"
27}

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "DeathwishCreated",
  4    "definitions": {
  5        "Data": {
  6            "properties": {
  7                "amountInCents": {
  8                    "type": "number"
  9                },
 10                "applicationId": {
 11                    "type": "number"
 12                },
 13                "connections": {
 14                    "items": {
 15                        "type": [
 16                            "number",
 17                            "null"
 18                        ]
 19                    },
 20                    "type": "array"
 21                },
 22                "createdAt": {
 23                    "format": "date-time",
 24                    "type": "string"
 25                },
 26                "description": {
 27                    "type": "string"
 28                },
 29                "id": {
 30                    "type": "number"
 31                },
 32                "image": {
 33                    "type": "string"
 34                },
 35                "questions": {
 36                    "items": {
 37                        "$ref": "#/definitions/DataItem"
 38                    },
 39                    "type": "array"
 40                },
 41                "slug": {
 42                    "type": "string"
 43                },
 44                "subtitle": {
 45                    "type": "string"
 46                },
 47                "title": {
 48                    "type": "string"
 49                },
 50                "type": {
 51                    "type": "string"
 52                },
 53                "updatedAt": {
 54                    "format": "date-time",
 55                    "type": "string"
 56                }
 57            },
 58            "required": [
 59                "amountInCents",
 60                "createdAt",
 61                "image",
 62                "subtitle",
 63                "questions",
 64                "id",
 65                "applicationId",
 66                "title",
 67                "type",
 68                "connections",
 69                "slug",
 70                "updatedAt"
 71            ],
 72            "type": "object"
 73        },
 74        "DataItem": {
 75            "properties": {
 76                "active": {
 77                    "type": "boolean"
 78                },
 79                "field": {
 80                    "type": "string"
 81                },
 82                "helptext": {
 83                    "type": "string"
 84                },
 85                "question": {
 86                    "type": "string"
 87                },
 88                "required": {
 89                    "type": "boolean"
 90                }
 91            },
 92            "required": [
 93                "field",
 94                "question",
 95                "helptext",
 96                "active",
 97                "required"
 98            ],
 99            "type": "object"
100        },
101        "DeathwishCreated": {
102            "properties": {
103                "data": {
104                    "$ref": "#/definitions/Data"
105                },
106                "metadata": {
107                    "$ref": "#/definitions/Metadata"
108                }
109            },
110            "required": [
111                "metadata",
112                "data"
113            ],
114            "type": "object"
115        },
116        "Metadata": {
117            "properties": {
118                "service": {
119                    "type": "string"
120                }
121            },
122            "required": [
123                "service"
124            ],
125            "type": "object"
126        }
127    },
128    "properties": {
129        "account": {
130            "type": "string"
131        },
132        "detail": {
133            "$ref": "#/definitions/DeathwishCreated"
134        },
135        "detail-type": {
136            "type": "string"
137        },
138        "id": {
139            "type": "string"
140        },
141        "region": {
142            "type": "string"
143        },
144        "resources": {
145            "items": {
146                "type": "string"
147            },
148            "type": "array"
149        },
150        "source": {
151            "type": "string"
152        },
153        "time": {
154            "format": "date-time",
155            "type": "string"
156        },
157        "version": {
158            "type": "string"
159        }
160    },
161    "required": [
162        "detail-type",
163        "resources",
164        "detail",
165        "id",
166        "source",
167        "time",
168        "region",
169        "version",
170        "account"
171    ],
172    "type": "object",
173    "x-amazon-events-detail-type": "DeathwishCreated",
174    "x-amazon-events-source": "myapp.items"
175}

DeathwishDeleted

Event is raised when an item is deleted on the ecommerce store

Detail Properties

  • id - Unique identifier for the item ,
  • createdAt - Date the item was created ,
  • description - Description the user inserted


Event Rules

  • myapp-api-dev-RecalcCoverAmountDeathwishCreate-NO3O92D7677H


Schema details

Schema name: myapp.items@DeathwishDeleted

Version: 23

Event Example

 1{
 2    "Time": "2020-07-14T00:00:00Z",
 3    "Source": "myapp.items",
 4    "Resources": [
 5        "1"
 6    ],
 7    "DetailType": "DeathwishDeleted",
 8    "Detail": {
 9        "data": {
10            "amountInCents": 10000,
11            "applicationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
12            "connections": [
13                1,
14                2,
15                3
16            ],
17            "createdAt": "2020-01-01T07:09:01+00:00",
18            "description": "New Item Description",
19            "id": 1
20        },
21        "metadata": {
22            "correlationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
23            "service": "myapp-some-service"
24        }
25    },
26    "EventBusName": "myapp-event-bus-dev"
27}

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "DeathwishDeleted",
  4    "definitions": {
  5        "Data": {
  6            "properties": {
  7                "amountInCents": {
  8                    "type": "number"
  9                },
 10                "applicationId": {
 11                    "type": "number"
 12                },
 13                "beneficiaries": {
 14                    "type": [
 15                        "object",
 16                        "null"
 17                    ]
 18                },
 19                "createdAt": {
 20                    "format": "date-time",
 21                    "type": "string"
 22                },
 23                "description": {
 24                    "type": [
 25                        "object",
 26                        "null"
 27                    ]
 28                },
 29                "hasBeenShared": {
 30                    "type": "boolean"
 31                },
 32                "id": {
 33                    "type": "number"
 34                },
 35                "image": {
 36                    "type": "string"
 37                },
 38                "questions": {
 39                    "items": {
 40                        "$ref": "#/definitions/DataItem"
 41                    },
 42                    "type": "array"
 43                },
 44                "slug": {
 45                    "type": "string"
 46                },
 47                "subtitle": {
 48                    "type": "string"
 49                },
 50                "title": {
 51                    "type": "string"
 52                },
 53                "type": {
 54                    "type": "string"
 55                },
 56                "updatedAt": {
 57                    "format": "date-time",
 58                    "type": "string"
 59                }
 60            },
 61            "required": [
 62                "amountInCents",
 63                "image",
 64                "hasBeenShared",
 65                "questions",
 66                "description",
 67                "title",
 68                "type",
 69                "createdAt",
 70                "subtitle",
 71                "id",
 72                "applicationId",
 73                "beneficiaries",
 74                "slug",
 75                "updatedAt"
 76            ],
 77            "type": "object"
 78        },
 79        "DataItem": {
 80            "properties": {
 81                "active": {
 82                    "type": "boolean"
 83                },
 84                "field": {
 85                    "type": "string"
 86                },
 87                "helptext": {
 88                    "type": "string"
 89                },
 90                "question": {
 91                    "type": "string"
 92                },
 93                "required": {
 94                    "type": "boolean"
 95                }
 96            },
 97            "required": [
 98                "field",
 99                "question",
100                "helptext",
101                "active",
102                "required"
103            ],
104            "type": "object"
105        },
106        "DeathwishDeleted": {
107            "properties": {
108                "data": {
109                    "$ref": "#/definitions/Data"
110                },
111                "metadata": {
112                    "$ref": "#/definitions/Metadata"
113                }
114            },
115            "required": [
116                "metadata",
117                "data"
118            ],
119            "type": "object"
120        },
121        "Metadata": {
122            "properties": {
123                "service": {
124                    "type": "string"
125                }
126            },
127            "required": [
128                "service"
129            ],
130            "type": "object"
131        }
132    },
133    "properties": {
134        "account": {
135            "type": "string"
136        },
137        "detail": {
138            "$ref": "#/definitions/DeathwishDeleted"
139        },
140        "detail-type": {
141            "type": "string"
142        },
143        "id": {
144            "type": "string"
145        },
146        "region": {
147            "type": "string"
148        },
149        "resources": {
150            "items": {
151                "type": "string"
152            },
153            "type": "array"
154        },
155        "source": {
156            "type": "string"
157        },
158        "time": {
159            "format": "date-time",
160            "type": "string"
161        },
162        "version": {
163            "type": "string"
164        }
165    },
166    "required": [
167        "detail-type",
168        "resources",
169        "detail",
170        "id",
171        "source",
172        "time",
173        "region",
174        "version",
175        "account"
176    ],
177    "type": "object",
178    "x-amazon-events-detail-type": "DeathwishDeleted",
179    "x-amazon-events-source": "myapp.items"
180}

DeathwishShared

Event is raised when an item is shared on social media

Detail Properties

  • id - Unique identifier for the item ,
  • createdAt - Date the item was created ,
  • description - Description the user inserted


Event Rules

  • email-platform-dev-SendEmailDeathwishSharedByEmail-MKAR27RGSF1


Schema details

Schema name: myapp.items@DeathwishShared

Version: 3

Event Example

 1{
 2    "Time": "2020-07-14T00:00:00Z",
 3    "Source": "myapp.items",
 4    "Resources": [
 5        "1"
 6    ],
 7    "DetailType": "DeathwishShared",
 8    "Detail": {
 9        "data": {
10            "amountInCents": 10000,
11            "applicationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
12            "connections": [
13                1,
14                2,
15                3
16            ],
17            "createdAt": "2020-01-01T07:09:01+00:00",
18            "description": "New Item Description",
19            "id": 1
20        },
21        "metadata": {
22            "correlationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
23            "service": "myapp-some-service"
24        }
25    },
26    "EventBusName": "myapp-event-bus-dev"
27}

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "DeathwishShared",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "item": {
 22                    "$ref": "#/definitions/Deathwish"
 23                },
 24                "message": {
 25                    "type": [
 26                        "object",
 27                        "null"
 28                    ]
 29                },
 30                "shareTo": {
 31                    "type": "string"
 32                },
 33                "shareVia": {
 34                    "type": "string"
 35                },
 36                "user": {
 37                    "$ref": "#/definitions/User"
 38                }
 39            },
 40            "required": [
 41                "shareVia",
 42                "item",
 43                "shareTo",
 44                "message",
 45                "brand",
 46                "user"
 47            ],
 48            "type": "object"
 49        },
 50        "Deathwish": {
 51            "properties": {
 52                "id": {
 53                    "type": "number"
 54                },
 55                "share": {
 56                    "$ref": "#/definitions/Share"
 57                }
 58            },
 59            "required": [
 60                "share",
 61                "id"
 62            ],
 63            "type": "object"
 64        },
 65        "DeathwishShared": {
 66            "properties": {
 67                "data": {
 68                    "$ref": "#/definitions/Data"
 69                },
 70                "metadata": {
 71                    "$ref": "#/definitions/Metadata"
 72                }
 73            },
 74            "required": [
 75                "metadata",
 76                "data"
 77            ],
 78            "type": "object"
 79        },
 80        "Metadata": {
 81            "properties": {
 82                "correlationId": {
 83                    "type": "string"
 84                },
 85                "service": {
 86                    "type": "string"
 87                }
 88            },
 89            "required": [
 90                "service",
 91                "correlationId"
 92            ],
 93            "type": "object"
 94        },
 95        "Share": {
 96            "properties": {
 97                "uuid": {
 98                    "type": "string"
 99                }
100            },
101            "required": [
102                "uuid"
103            ],
104            "type": "object"
105        },
106        "User": {
107            "properties": {
108                "email": {
109                    "type": "string"
110                },
111                "firstName": {
112                    "type": "string"
113                },
114                "id": {
115                    "type": "number"
116                }
117            },
118            "required": [
119                "firstName",
120                "id",
121                "email"
122            ],
123            "type": "object"
124        }
125    },
126    "properties": {
127        "account": {
128            "type": "string"
129        },
130        "detail": {
131            "$ref": "#/definitions/DeathwishShared"
132        },
133        "detail-type": {
134            "type": "string"
135        },
136        "id": {
137            "type": "string"
138        },
139        "region": {
140            "type": "string"
141        },
142        "resources": {
143            "items": {
144                "type": "object"
145            },
146            "type": "array"
147        },
148        "source": {
149            "type": "string"
150        },
151        "time": {
152            "format": "date-time",
153            "type": "string"
154        },
155        "version": {
156            "type": "string"
157        }
158    },
159    "required": [
160        "detail-type",
161        "resources",
162        "detail",
163        "id",
164        "source",
165        "time",
166        "region",
167        "version",
168        "account"
169    ],
170    "type": "object",
171    "x-amazon-events-detail-type": "DeathwishShared",
172    "x-amazon-events-source": "myapp.items"
173}

DeathwishUpdated

Event is raised when an item is updated

Detail Properties

  • id - Unique identifier for the item ,
  • createdAt - Date the item was created ,
  • description - Description the user inserted


Event Rules

  • myapp-api-dev-NotifyConnectionsOnDWUpdateDeath-1D5ADSK92FPCZ,- myapp-api-dev-RecalcCoverAmountDeathwishCoverA-BEXBF65NW81U


Schema details

Schema name: myapp.items@DeathwishUpdated

Version: 85

Event Example

 1{
 2    "Time": "2020-07-14T00:00:00Z",
 3    "Source": "myapp.items",
 4    "Resources": [
 5        "1"
 6    ],
 7    "DetailType": "DeathwishUpdated",
 8    "Detail": {
 9        "data": {
10            "amountInCents": 10000,
11            "applicationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
12            "connections": [
13                1,
14                2,
15                3
16            ],
17            "createdAt": "2020-01-01T07:09:01+00:00",
18            "description": "New Item Description",
19            "id": 1
20        },
21        "metadata": {
22            "correlationId": "5e2ad09c-c502-11eb-8529-0242ac130003",
23            "service": "myapp-some-service"
24        }
25    },
26    "EventBusName": "myapp-event-bus-dev"
27}

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "DeathwishUpdated",
  4    "definitions": {
  5        "Data": {
  6            "properties": {
  7                "changed": {
  8                    "items": {
  9                        "type": "string"
 10                    },
 11                    "type": "array"
 12                },
 13                "new": {
 14                    "$ref": "#/definitions/New"
 15                },
 16                "old": {
 17                    "$ref": "#/definitions/New"
 18                }
 19            },
 20            "required": [
 21                "new",
 22                "old",
 23                "changed"
 24            ],
 25            "type": "object"
 26        },
 27        "DeathwishUpdated": {
 28            "properties": {
 29                "data": {
 30                    "$ref": "#/definitions/Data"
 31                },
 32                "metadata": {
 33                    "$ref": "#/definitions/Metadata"
 34                }
 35            },
 36            "required": [
 37                "metadata",
 38                "data"
 39            ],
 40            "type": "object"
 41        },
 42        "Metadata": {
 43            "properties": {
 44                "service": {
 45                    "type": "string"
 46                }
 47            },
 48            "required": [
 49                "service"
 50            ],
 51            "type": "object"
 52        },
 53        "New": {
 54            "properties": {
 55                "amountInCents": {
 56                    "type": "number"
 57                },
 58                "applicationId": {
 59                    "type": "number"
 60                },
 61                "beneficiaries": {
 62                    "items": {
 63                        "type": "object"
 64                    },
 65                    "type": "array"
 66                },
 67                "connectionIds": {
 68                    "items": {
 69                        "type": "number"
 70                    },
 71                    "type": "array"
 72                },
 73                "createdAt": {
 74                    "format": "date-time",
 75                    "type": "string"
 76                },
 77                "description": {
 78                    "type": "string"
 79                },
 80                "hasBeenShared": {
 81                    "type": "boolean"
 82                },
 83                "id": {
 84                    "type": "number"
 85                },
 86                "image": {
 87                    "type": "string"
 88                },
 89                "questions": {
 90                    "items": {
 91                        "$ref": "#/definitions/NewItem"
 92                    },
 93                    "type": "array"
 94                },
 95                "slug": {
 96                    "type": "string"
 97                },
 98                "subtitle": {
 99                    "type": "string"
100                },
101                "title": {
102                    "type": "string"
103                },
104                "type": {
105                    "type": "string"
106                },
107                "updatedAt": {
108                    "format": "date-time",
109                    "type": "string"
110                }
111            },
112            "required": [
113                "amountInCents",
114                "image",
115                "hasBeenShared",
116                "questions",
117                "description",
118                "title",
119                "type",
120                "createdAt",
121                "connectionIds",
122                "subtitle",
123                "id",
124                "applicationId",
125                "beneficiaries",
126                "slug",
127                "updatedAt"
128            ],
129            "type": "object"
130        },
131        "NewItem": {
132            "properties": {
133                "active": {
134                    "type": "boolean"
135                },
136                "field": {
137                    "type": "string"
138                },
139                "helptext": {
140                    "type": "string"
141                },
142                "question": {
143                    "type": "string"
144                },
145                "required": {
146                    "type": "boolean"
147                }
148            },
149            "required": [
150                "field",
151                "question",
152                "helptext",
153                "active",
154                "required"
155            ],
156            "type": "object"
157        }
158    },
159    "properties": {
160        "account": {
161            "type": "string"
162        },
163        "detail": {
164            "$ref": "#/definitions/DeathwishUpdated"
165        },
166        "detail-type": {
167            "type": "string"
168        },
169        "id": {
170            "type": "string"
171        },
172        "region": {
173            "type": "string"
174        },
175        "resources": {
176            "items": {
177                "type": "string"
178            },
179            "type": "array"
180        },
181        "source": {
182            "type": "string"
183        },
184        "time": {
185            "format": "date-time",
186            "type": "string"
187        },
188        "version": {
189            "type": "string"
190        }
191    },
192    "required": [
193        "detail-type",
194        "resources",
195        "detail",
196        "id",
197        "source",
198        "time",
199        "region",
200        "version",
201        "account"
202    ],
203    "type": "object",
204    "x-amazon-events-detail-type": "DeathwishUpdated",
205    "x-amazon-events-source": "myapp.items"
206}

DeathwishesUpdated


Event Rules

  • myapp-api-dev-RecalcCoverAmountDeathwishesUpda-WDKHI1RM3YWA


Schema details

Schema name: myapp.items@DeathwishesUpdated

Version: 4

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "DeathwishesUpdated",
  4    "definitions": {
  5        "Data": {
  6            "properties": {
  7                "applicationId": {
  8                    "type": "number"
  9                },
 10                "items": {
 11                    "items": {
 12                        "$ref": "#/definitions/DataItem"
 13                    },
 14                    "type": "array"
 15                }
 16            },
 17            "required": [
 18                "items",
 19                "applicationId"
 20            ],
 21            "type": "object"
 22        },
 23        "DataItem": {
 24            "properties": {
 25                "amountInCents": {
 26                    "type": "number"
 27                },
 28                "applicationId": {
 29                    "type": "number"
 30                },
 31                "beneficiaries": {
 32                    "type": [
 33                        "object",
 34                        "null"
 35                    ]
 36                },
 37                "createdAt": {
 38                    "format": "date-time",
 39                    "type": "string"
 40                },
 41                "description": {
 42                    "type": "string"
 43                },
 44                "hasBeenShared": {
 45                    "type": "boolean"
 46                },
 47                "id": {
 48                    "type": "number"
 49                },
 50                "image": {
 51                    "type": "string"
 52                },
 53                "questions": {
 54                    "items": {
 55                        "$ref": "#/definitions/DataItemItem"
 56                    },
 57                    "type": "array"
 58                },
 59                "slug": {
 60                    "type": "string"
 61                },
 62                "subtitle": {
 63                    "type": "string"
 64                },
 65                "title": {
 66                    "type": "string"
 67                },
 68                "type": {
 69                    "type": "string"
 70                },
 71                "updatedAt": {
 72                    "format": "date-time",
 73                    "type": "string"
 74                }
 75            },
 76            "required": [
 77                "amountInCents",
 78                "image",
 79                "hasBeenShared",
 80                "questions",
 81                "description",
 82                "title",
 83                "type",
 84                "createdAt",
 85                "subtitle",
 86                "id",
 87                "applicationId",
 88                "beneficiaries",
 89                "slug",
 90                "updatedAt"
 91            ],
 92            "type": "object"
 93        },
 94        "DataItemItem": {
 95            "properties": {
 96                "active": {
 97                    "type": "boolean"
 98                },
 99                "field": {
100                    "type": "string"
101                },
102                "helptext": {
103                    "type": "string"
104                },
105                "question": {
106                    "type": "string"
107                },
108                "required": {
109                    "type": "boolean"
110                }
111            },
112            "required": [
113                "field",
114                "question",
115                "helptext",
116                "active",
117                "required"
118            ],
119            "type": "object"
120        },
121        "DeathwishesUpdated": {
122            "properties": {
123                "data": {
124                    "$ref": "#/definitions/Data"
125                },
126                "metadata": {
127                    "$ref": "#/definitions/Metadata"
128                }
129            },
130            "required": [
131                "metadata",
132                "data"
133            ],
134            "type": "object"
135        },
136        "Metadata": {
137            "properties": {
138                "service": {
139                    "type": "string"
140                }
141            },
142            "required": [
143                "service"
144            ],
145            "type": "object"
146        }
147    },
148    "properties": {
149        "account": {
150            "type": "string"
151        },
152        "detail": {
153            "$ref": "#/definitions/DeathwishesUpdated"
154        },
155        "detail-type": {
156            "type": "string"
157        },
158        "id": {
159            "type": "string"
160        },
161        "region": {
162            "type": "string"
163        },
164        "resources": {
165            "items": {
166                "type": "string"
167            },
168            "type": "array"
169        },
170        "source": {
171            "type": "string"
172        },
173        "time": {
174            "format": "date-time",
175            "type": "string"
176        },
177        "version": {
178            "type": "string"
179        }
180    },
181    "required": [
182        "detail-type",
183        "resources",
184        "detail",
185        "id",
186        "source",
187        "time",
188        "region",
189        "version",
190        "account"
191    ],
192    "type": "object",
193    "x-amazon-events-detail-type": "DeathwishesUpdated",
194    "x-amazon-events-source": "myapp.items"
195}

myapp.php_platform

UserCreated


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.php_platform@UserCreated

Version: 2

Event Schema

 1{
 2    "$schema": "http://json-schema.org/draft-04/schema#",
 3    "title": "UserCreated",
 4    "definitions": {
 5        "UserCreated": {
 6            "properties": {
 7                "email": {
 8                    "type": "string"
 9                },
10                "firstName": {
11                    "type": "string"
12                },
13                "userId": {
14                    "type": "number"
15                }
16            },
17            "required": [
18                "firstName",
19                "userId",
20                "email"
21            ],
22            "type": "object"
23        }
24    },
25    "properties": {
26        "account": {
27            "type": "string"
28        },
29        "detail": {
30            "$ref": "#/definitions/UserCreated"
31        },
32        "detail-type": {
33            "type": "string"
34        },
35        "id": {
36            "type": "string"
37        },
38        "region": {
39            "type": "string"
40        },
41        "resources": {
42            "items": {
43                "type": "object"
44            },
45            "type": "array"
46        },
47        "source": {
48            "type": "string"
49        },
50        "time": {
51            "format": "date-time",
52            "type": "string"
53        },
54        "version": {
55            "type": "string"
56        }
57    },
58    "required": [
59        "detail-type",
60        "resources",
61        "detail",
62        "id",
63        "source",
64        "time",
65        "region",
66        "version",
67        "account"
68    ],
69    "type": "object",
70    "x-amazon-events-detail-type": "UserCreated",
71    "x-amazon-events-source": "myapp.php_platform"
72}

myapp.policies

FlexApplicationConfirmed


Event Rules

  • myapp-api-dev-PostMessageToASlackChannelFlexAp-U2KWLOKONNME


Schema details

Schema name: myapp.policies@FlexApplicationConfirmed

Version: 1

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "FlexApplicationConfirmed",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "newCoverAmount": {
 22                    "type": "string"
 23                },
 24                "previousCoverAmount": {
 25                    "type": "string"
 26                },
 27                "user": {
 28                    "$ref": "#/definitions/User"
 29                }
 30            },
 31            "required": [
 32                "newCoverAmount",
 33                "previousCoverAmount",
 34                "brand",
 35                "user"
 36            ],
 37            "type": "object"
 38        },
 39        "FlexApplicationConfirmed": {
 40            "properties": {
 41                "data": {
 42                    "$ref": "#/definitions/Data"
 43                },
 44                "metadata": {
 45                    "$ref": "#/definitions/Metadata"
 46                }
 47            },
 48            "required": [
 49                "metadata",
 50                "data"
 51            ],
 52            "type": "object"
 53        },
 54        "Metadata": {
 55            "properties": {
 56                "correlationId": {
 57                    "type": "string"
 58                },
 59                "service": {
 60                    "type": "string"
 61                }
 62            },
 63            "required": [
 64                "service",
 65                "correlationId"
 66            ],
 67            "type": "object"
 68        },
 69        "User": {
 70            "properties": {
 71                "email": {
 72                    "type": "string"
 73                },
 74                "id": {
 75                    "type": "number"
 76                }
 77            },
 78            "required": [
 79                "id",
 80                "email"
 81            ],
 82            "type": "object"
 83        }
 84    },
 85    "properties": {
 86        "account": {
 87            "type": "string"
 88        },
 89        "detail": {
 90            "$ref": "#/definitions/FlexApplicationConfirmed"
 91        },
 92        "detail-type": {
 93            "type": "string"
 94        },
 95        "id": {
 96            "type": "string"
 97        },
 98        "region": {
 99            "type": "string"
100        },
101        "resources": {
102            "items": {
103                "type": "object"
104            },
105            "type": "array"
106        },
107        "source": {
108            "type": "string"
109        },
110        "time": {
111            "format": "date-time",
112            "type": "string"
113        },
114        "version": {
115            "type": "string"
116        }
117    },
118    "required": [
119        "detail-type",
120        "resources",
121        "detail",
122        "id",
123        "source",
124        "time",
125        "region",
126        "version",
127        "account"
128    ],
129    "type": "object",
130    "x-amazon-events-detail-type": "FlexApplicationConfirmed",
131    "x-amazon-events-source": "myapp.policies"
132}

FlexiblePolicyCreated



Schema details

Schema name: myapp.policies@FlexiblePolicyCreated

Version: 1

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "FlexiblePolicyCreated",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "newCoverAmount": {
 22                    "type": "string"
 23                },
 24                "previousCoverAmount": {
 25                    "type": "string"
 26                },
 27                "user": {
 28                    "$ref": "#/definitions/User"
 29                }
 30            },
 31            "required": [
 32                "newCoverAmount",
 33                "previousCoverAmount",
 34                "brand",
 35                "user"
 36            ],
 37            "type": "object"
 38        },
 39        "FlexiblePolicyCreated": {
 40            "properties": {
 41                "data": {
 42                    "$ref": "#/definitions/Data"
 43                },
 44                "metadata": {
 45                    "$ref": "#/definitions/Metadata"
 46                }
 47            },
 48            "required": [
 49                "metadata",
 50                "data"
 51            ],
 52            "type": "object"
 53        },
 54        "Metadata": {
 55            "properties": {
 56                "correlationId": {
 57                    "type": "string"
 58                },
 59                "service": {
 60                    "type": "string"
 61                }
 62            },
 63            "required": [
 64                "service",
 65                "correlationId"
 66            ],
 67            "type": "object"
 68        },
 69        "User": {
 70            "properties": {
 71                "email": {
 72                    "type": "string"
 73                },
 74                "id": {
 75                    "type": "number"
 76                }
 77            },
 78            "required": [
 79                "id",
 80                "email"
 81            ],
 82            "type": "object"
 83        }
 84    },
 85    "properties": {
 86        "account": {
 87            "type": "string"
 88        },
 89        "detail": {
 90            "$ref": "#/definitions/FlexiblePolicyCreated"
 91        },
 92        "detail-type": {
 93            "type": "string"
 94        },
 95        "id": {
 96            "type": "string"
 97        },
 98        "region": {
 99            "type": "string"
100        },
101        "resources": {
102            "items": {
103                "type": "object"
104            },
105            "type": "array"
106        },
107        "source": {
108            "type": "string"
109        },
110        "time": {
111            "format": "date-time",
112            "type": "string"
113        },
114        "version": {
115            "type": "string"
116        }
117    },
118    "required": [
119        "detail-type",
120        "resources",
121        "detail",
122        "id",
123        "source",
124        "time",
125        "region",
126        "version",
127        "account"
128    ],
129    "type": "object",
130    "x-amazon-events-detail-type": "FlexiblePolicyCreated",
131    "x-amazon-events-source": "myapp.policies"
132}

PolicyRefreshAccepted


Event Rules

  • email-platform-dev-SendEmailPolicyRefreshAcceptedE-NKFFQ65N6I6O


Schema details

Schema name: myapp.policies@PolicyRefreshAccepted

Version: 1

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "PolicyRefreshAccepted",
  4    "definitions": {
  5        "Application": {
  6            "properties": {
  7                "coverAmount": {
  8                    "type": "number"
  9                }
 10            },
 11            "required": [
 12                "coverAmount"
 13            ],
 14            "type": "object"
 15        },
 16        "Brand": {
 17            "properties": {
 18                "code": {
 19                    "type": "string"
 20                }
 21            },
 22            "required": [
 23                "code"
 24            ],
 25            "type": "object"
 26        },
 27        "Data": {
 28            "properties": {
 29                "application": {
 30                    "$ref": "#/definitions/Application"
 31                },
 32                "brand": {
 33                    "$ref": "#/definitions/Brand"
 34                },
 35                "numberOfYearsLeftOnPolicy": {
 36                    "type": "number"
 37                },
 38                "upcomingPremiumAmount": {
 39                    "type": "string"
 40                },
 41                "user": {
 42                    "$ref": "#/definitions/User"
 43                }
 44            },
 45            "required": [
 46                "numberOfYearsLeftOnPolicy",
 47                "application",
 48                "upcomingPremiumAmount",
 49                "brand",
 50                "user"
 51            ],
 52            "type": "object"
 53        },
 54        "Metadata": {
 55            "properties": {
 56                "correlationId": {
 57                    "type": "string"
 58                },
 59                "service": {
 60                    "type": "string"
 61                }
 62            },
 63            "required": [
 64                "service",
 65                "correlationId"
 66            ],
 67            "type": "object"
 68        },
 69        "PolicyRefreshAccepted": {
 70            "properties": {
 71                "data": {
 72                    "$ref": "#/definitions/Data"
 73                },
 74                "metadata": {
 75                    "$ref": "#/definitions/Metadata"
 76                }
 77            },
 78            "required": [
 79                "metadata",
 80                "data"
 81            ],
 82            "type": "object"
 83        },
 84        "User": {
 85            "properties": {
 86                "email": {
 87                    "type": "string"
 88                },
 89                "firstName": {
 90                    "type": "string"
 91                },
 92                "id": {
 93                    "type": "number"
 94                }
 95            },
 96            "required": [
 97                "firstName",
 98                "id",
 99                "email"
100            ],
101            "type": "object"
102        }
103    },
104    "properties": {
105        "account": {
106            "type": "string"
107        },
108        "detail": {
109            "$ref": "#/definitions/PolicyRefreshAccepted"
110        },
111        "detail-type": {
112            "type": "string"
113        },
114        "id": {
115            "type": "string"
116        },
117        "region": {
118            "type": "string"
119        },
120        "resources": {
121            "items": {
122                "type": "object"
123            },
124            "type": "array"
125        },
126        "source": {
127            "type": "string"
128        },
129        "time": {
130            "format": "date-time",
131            "type": "string"
132        },
133        "version": {
134            "type": "string"
135        }
136    },
137    "required": [
138        "detail-type",
139        "resources",
140        "detail",
141        "id",
142        "source",
143        "time",
144        "region",
145        "version",
146        "account"
147    ],
148    "type": "object",
149    "x-amazon-events-detail-type": "PolicyRefreshAccepted",
150    "x-amazon-events-source": "myapp.policies"
151}

PolicyRefreshApproaching


Event Rules

  • email-platform-dev-SendEmailPolicyRefreshApproachi-1900I0C4RKDO4


Schema details

Schema name: myapp.policies@PolicyRefreshApproaching

Version: 2

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "PolicyRefreshApproaching",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "numberOfDaysUntilRefresh": {
 22                    "type": "number"
 23                },
 24                "numberOfYearsInitiallyInsuredFor": {
 25                    "type": "number"
 26                },
 27                "numberOfYearsIntoPolicy": {
 28                    "type": "number"
 29                },
 30                "numberOfYearsLeftOnPolicy": {
 31                    "type": "number"
 32                },
 33                "policyRefreshToken": {
 34                    "type": "string"
 35                },
 36                "refreshDate": {
 37                    "format": "date-time",
 38                    "type": "string"
 39                },
 40                "upcomingPremiumAmount": {
 41                    "type": "string"
 42                },
 43                "user": {
 44                    "$ref": "#/definitions/User"
 45                }
 46            },
 47            "required": [
 48                "numberOfYearsIntoPolicy",
 49                "refreshDate",
 50                "policyRefreshToken",
 51                "numberOfDaysUntilRefresh",
 52                "numberOfYearsLeftOnPolicy",
 53                "upcomingPremiumAmount",
 54                "brand",
 55                "user",
 56                "numberOfYearsInitiallyInsuredFor"
 57            ],
 58            "type": "object"
 59        },
 60        "Metadata": {
 61            "properties": {
 62                "correlationId": {
 63                    "type": "string"
 64                },
 65                "service": {
 66                    "type": "string"
 67                }
 68            },
 69            "required": [
 70                "service",
 71                "correlationId"
 72            ],
 73            "type": "object"
 74        },
 75        "PolicyRefreshApproaching": {
 76            "properties": {
 77                "data": {
 78                    "$ref": "#/definitions/Data"
 79                },
 80                "metadata": {
 81                    "$ref": "#/definitions/Metadata"
 82                }
 83            },
 84            "required": [
 85                "metadata",
 86                "data"
 87            ],
 88            "type": "object"
 89        },
 90        "User": {
 91            "properties": {
 92                "email": {
 93                    "type": "string"
 94                },
 95                "firstName": {
 96                    "type": "string"
 97                },
 98                "id": {
 99                    "type": "number"
100                }
101            },
102            "required": [
103                "firstName",
104                "id",
105                "email"
106            ],
107            "type": "object"
108        }
109    },
110    "properties": {
111        "account": {
112            "type": "string"
113        },
114        "detail": {
115            "$ref": "#/definitions/PolicyRefreshApproaching"
116        },
117        "detail-type": {
118            "type": "string"
119        },
120        "id": {
121            "type": "string"
122        },
123        "region": {
124            "type": "string"
125        },
126        "resources": {
127            "items": {
128                "type": "object"
129            },
130            "type": "array"
131        },
132        "source": {
133            "type": "string"
134        },
135        "time": {
136            "format": "date-time",
137            "type": "string"
138        },
139        "version": {
140            "type": "string"
141        }
142    },
143    "required": [
144        "detail-type",
145        "resources",
146        "detail",
147        "id",
148        "source",
149        "time",
150        "region",
151        "version",
152        "account"
153    ],
154    "type": "object",
155    "x-amazon-events-detail-type": "PolicyRefreshApproaching",
156    "x-amazon-events-source": "myapp.policies"
157}

PolicyRenewed


Event Rules

  • email-platform-dev-SendEmailPolicyRenewedEvent-LMS71LTU69CY


Schema details

Schema name: myapp.policies@PolicyRenewed

Version: 2

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "PolicyRenewed",
  4    "definitions": {
  5        "Application": {
  6            "properties": {
  7                "coverAmount": {
  8                    "type": "number"
  9                }
 10            },
 11            "required": [
 12                "coverAmount"
 13            ],
 14            "type": "object"
 15        },
 16        "Brand": {
 17            "properties": {
 18                "code": {
 19                    "type": "string"
 20                }
 21            },
 22            "required": [
 23                "code"
 24            ],
 25            "type": "object"
 26        },
 27        "Data": {
 28            "properties": {
 29                "application": {
 30                    "$ref": "#/definitions/Application"
 31                },
 32                "brand": {
 33                    "$ref": "#/definitions/Brand"
 34                },
 35                "currentPremiumAmount": {
 36                    "type": "string"
 37                },
 38                "numberOfYearsLeftOnPolicy": {
 39                    "type": "number"
 40                },
 41                "user": {
 42                    "$ref": "#/definitions/User"
 43                }
 44            },
 45            "required": [
 46                "numberOfYearsLeftOnPolicy",
 47                "application",
 48                "currentPremiumAmount",
 49                "brand",
 50                "user"
 51            ],
 52            "type": "object"
 53        },
 54        "Metadata": {
 55            "properties": {
 56                "correlationId": {
 57                    "type": "string"
 58                },
 59                "service": {
 60                    "type": "string"
 61                }
 62            },
 63            "required": [
 64                "service",
 65                "correlationId"
 66            ],
 67            "type": "object"
 68        },
 69        "PolicyRenewed": {
 70            "properties": {
 71                "data": {
 72                    "$ref": "#/definitions/Data"
 73                },
 74                "metadata": {
 75                    "$ref": "#/definitions/Metadata"
 76                }
 77            },
 78            "required": [
 79                "metadata",
 80                "data"
 81            ],
 82            "type": "object"
 83        },
 84        "User": {
 85            "properties": {
 86                "email": {
 87                    "type": "string"
 88                },
 89                "firstName": {
 90                    "type": "string"
 91                },
 92                "id": {
 93                    "type": "number"
 94                }
 95            },
 96            "required": [
 97                "firstName",
 98                "id",
 99                "email"
100            ],
101            "type": "object"
102        }
103    },
104    "properties": {
105        "account": {
106            "type": "string"
107        },
108        "detail": {
109            "$ref": "#/definitions/PolicyRenewed"
110        },
111        "detail-type": {
112            "type": "string"
113        },
114        "id": {
115            "type": "string"
116        },
117        "region": {
118            "type": "string"
119        },
120        "resources": {
121            "items": {
122                "type": "object"
123            },
124            "type": "array"
125        },
126        "source": {
127            "type": "string"
128        },
129        "time": {
130            "format": "date-time",
131            "type": "string"
132        },
133        "version": {
134            "type": "string"
135        }
136    },
137    "required": [
138        "detail-type",
139        "resources",
140        "detail",
141        "id",
142        "source",
143        "time",
144        "region",
145        "version",
146        "account"
147    ],
148    "type": "object",
149    "x-amazon-events-detail-type": "PolicyRenewed",
150    "x-amazon-events-source": "myapp.policies"
151}

myapp.quotes

QuoteCreated


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.quotes@QuoteCreated

Version: 2

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "QuoteCreated",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "coverAmount": {
 22                    "type": "string"
 23                },
 24                "monthlyPremium": {
 25                    "type": "string"
 26                },
 27                "user": {
 28                    "$ref": "#/definitions/User"
 29                }
 30            },
 31            "required": [
 32                "brand",
 33                "user",
 34                "coverAmount",
 35                "monthlyPremium"
 36            ],
 37            "type": "object"
 38        },
 39        "Metadata": {
 40            "properties": {
 41                "correlationId": {
 42                    "type": "string"
 43                },
 44                "service": {
 45                    "type": "string"
 46                }
 47            },
 48            "required": [
 49                "service",
 50                "correlationId"
 51            ],
 52            "type": "object"
 53        },
 54        "QuoteCreated": {
 55            "properties": {
 56                "data": {
 57                    "$ref": "#/definitions/Data"
 58                },
 59                "metadata": {
 60                    "$ref": "#/definitions/Metadata"
 61                }
 62            },
 63            "required": [
 64                "metadata",
 65                "data"
 66            ],
 67            "type": "object"
 68        },
 69        "User": {
 70            "properties": {
 71                "email": {
 72                    "type": "string"
 73                },
 74                "firstName": {
 75                    "type": "string"
 76                },
 77                "id": {
 78                    "type": "number"
 79                },
 80                "resumeSetupToken": {
 81                    "type": "string"
 82                }
 83            },
 84            "required": [
 85                "firstName",
 86                "resumeSetupToken",
 87                "id",
 88                "email"
 89            ],
 90            "type": "object"
 91        }
 92    },
 93    "properties": {
 94        "account": {
 95            "type": "string"
 96        },
 97        "detail": {
 98            "$ref": "#/definitions/QuoteCreated"
 99        },
100        "detail-type": {
101            "type": "string"
102        },
103        "id": {
104            "type": "string"
105        },
106        "region": {
107            "type": "string"
108        },
109        "resources": {
110            "items": {
111                "type": "object"
112            },
113            "type": "array"
114        },
115        "source": {
116            "type": "string"
117        },
118        "time": {
119            "format": "date-time",
120            "type": "string"
121        },
122        "version": {
123            "type": "string"
124        }
125    },
126    "required": [
127        "detail-type",
128        "resources",
129        "detail",
130        "id",
131        "source",
132        "time",
133        "region",
134        "version",
135        "account"
136    ],
137    "type": "object",
138    "x-amazon-events-detail-type": "QuoteCreated",
139    "x-amazon-events-source": "myapp.quotes"
140}

QuoteExpiryApproaching


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.quotes@QuoteExpiryApproaching

Version: 5

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "QuoteExpiryApproaching",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "coverAmount": {
 22                    "type": "number"
 23                },
 24                "monthlyPremium": {
 25                    "format": "double",
 26                    "type": "number"
 27                },
 28                "user": {
 29                    "$ref": "#/definitions/User"
 30                }
 31            },
 32            "required": [
 33                "brand",
 34                "user",
 35                "coverAmount",
 36                "monthlyPremium"
 37            ],
 38            "type": "object"
 39        },
 40        "Metadata": {
 41            "properties": {
 42                "correlationId": {
 43                    "type": "string"
 44                },
 45                "service": {
 46                    "type": "string"
 47                }
 48            },
 49            "required": [
 50                "service",
 51                "correlationId"
 52            ],
 53            "type": "object"
 54        },
 55        "QuoteExpiryApproaching": {
 56            "properties": {
 57                "data": {
 58                    "$ref": "#/definitions/Data"
 59                },
 60                "metadata": {
 61                    "$ref": "#/definitions/Metadata"
 62                }
 63            },
 64            "required": [
 65                "metadata",
 66                "data"
 67            ],
 68            "type": "object"
 69        },
 70        "User": {
 71            "properties": {
 72                "email": {
 73                    "type": "string"
 74                },
 75                "firstName": {
 76                    "type": "string"
 77                },
 78                "id": {
 79                    "type": "number"
 80                }
 81            },
 82            "required": [
 83                "firstName",
 84                "id",
 85                "email"
 86            ],
 87            "type": "object"
 88        }
 89    },
 90    "properties": {
 91        "account": {
 92            "type": "string"
 93        },
 94        "detail": {
 95            "$ref": "#/definitions/QuoteExpiryApproaching"
 96        },
 97        "detail-type": {
 98            "type": "string"
 99        },
100        "id": {
101            "type": "string"
102        },
103        "region": {
104            "type": "string"
105        },
106        "resources": {
107            "items": {
108                "type": "object"
109            },
110            "type": "array"
111        },
112        "source": {
113            "type": "string"
114        },
115        "time": {
116            "format": "date-time",
117            "type": "string"
118        },
119        "version": {
120            "type": "string"
121        }
122    },
123    "required": [
124        "detail-type",
125        "resources",
126        "detail",
127        "id",
128        "source",
129        "time",
130        "region",
131        "version",
132        "account"
133    ],
134    "type": "object",
135    "x-amazon-events-detail-type": "QuoteExpiryApproaching",
136    "x-amazon-events-source": "myapp.quotes"
137}

myapp.subscriptions

CancelSubscription


Event Rules

  • subscriptions-service-dev-CancelSubscriptionCancel-XEOQEIXBOQ6Y


Schema details

Schema name: myapp.subscriptions@CancelSubscription

Version: 15

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "CancelSubscription",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "CancelSubscription": {
 17            "properties": {
 18                "data": {
 19                    "$ref": "#/definitions/Data"
 20                },
 21                "metadata": {
 22                    "$ref": "#/definitions/Metadata"
 23                }
 24            },
 25            "required": [
 26                "metadata",
 27                "data"
 28            ],
 29            "type": "object"
 30        },
 31        "Data": {
 32            "properties": {
 33                "brand": {
 34                    "$ref": "#/definitions/Brand"
 35                },
 36                "id": {
 37                    "type": "number"
 38                },
 39                "paymentType": {
 40                    "type": "string"
 41                },
 42                "reason": {
 43                    "type": "string"
 44                },
 45                "stripeId": {
 46                    "type": "string"
 47                },
 48                "user": {
 49                    "$ref": "#/definitions/User"
 50                }
 51            },
 52            "required": [
 53                "reason",
 54                "stripeId",
 55                "id",
 56                "brand",
 57                "user",
 58                "paymentType"
 59            ],
 60            "type": "object"
 61        },
 62        "Metadata": {
 63            "properties": {
 64                "correlationId": {
 65                    "type": "string"
 66                },
 67                "service": {
 68                    "type": "string"
 69                }
 70            },
 71            "required": [
 72                "service",
 73                "correlationId"
 74            ],
 75            "type": "object"
 76        },
 77        "User": {
 78            "properties": {
 79                "email": {
 80                    "type": "string"
 81                },
 82                "firstName": {
 83                    "type": "string"
 84                },
 85                "id": {
 86                    "type": "number"
 87                }
 88            },
 89            "required": [
 90                "firstName",
 91                "id",
 92                "email"
 93            ],
 94            "type": "object"
 95        }
 96    },
 97    "properties": {
 98        "account": {
 99            "type": "string"
100        },
101        "detail": {
102            "$ref": "#/definitions/CancelSubscription"
103        },
104        "detail-type": {
105            "type": "string"
106        },
107        "id": {
108            "type": "string"
109        },
110        "region": {
111            "type": "string"
112        },
113        "resources": {
114            "items": {
115                "type": "object"
116            },
117            "type": "array"
118        },
119        "source": {
120            "type": "string"
121        },
122        "time": {
123            "format": "date-time",
124            "type": "string"
125        },
126        "version": {
127            "type": "string"
128        }
129    },
130    "required": [
131        "detail-type",
132        "resources",
133        "detail",
134        "id",
135        "source",
136        "time",
137        "region",
138        "version",
139        "account"
140    ],
141    "type": "object",
142    "x-amazon-events-detail-type": "CancelSubscription",
143    "x-amazon-events-source": "myapp.subscriptions"
144}

CanceledSubscription



Schema details

Schema name: myapp.subscriptions@CanceledSubscription

Version: 1

Event Schema

 1{
 2    "$schema": "http://json-schema.org/draft-04/schema#",
 3    "title": "CanceledSubscription",
 4    "definitions": {
 5        "CanceledSubscription": {
 6            "properties": {
 7                "data": {
 8                    "$ref": "#/definitions/Data"
 9                },
10                "metadata": {
11                    "$ref": "#/definitions/Metadata"
12                }
13            },
14            "required": [
15                "metadata",
16                "data"
17            ],
18            "type": "object"
19        },
20        "Data": {
21            "properties": {
22                "reason": {
23                    "type": "string"
24                }
25            },
26            "required": [
27                "reason"
28            ],
29            "type": "object"
30        },
31        "Metadata": {
32            "properties": {
33                "correlationId": {
34                    "type": "string"
35                },
36                "service": {
37                    "type": "string"
38                }
39            },
40            "required": [
41                "service",
42                "correlationId"
43            ],
44            "type": "object"
45        }
46    },
47    "properties": {
48        "account": {
49            "type": "string"
50        },
51        "detail": {
52            "$ref": "#/definitions/CanceledSubscription"
53        },
54        "detail-type": {
55            "type": "string"
56        },
57        "id": {
58            "type": "string"
59        },
60        "region": {
61            "type": "string"
62        },
63        "resources": {
64            "items": {
65                "type": "object"
66            },
67            "type": "array"
68        },
69        "source": {
70            "type": "string"
71        },
72        "time": {
73            "format": "date-time",
74            "type": "string"
75        },
76        "version": {
77            "type": "string"
78        }
79    },
80    "required": [
81        "detail-type",
82        "resources",
83        "detail",
84        "id",
85        "source",
86        "time",
87        "region",
88        "version",
89        "account"
90    ],
91    "type": "object",
92    "x-amazon-events-detail-type": "CanceledSubscription",
93    "x-amazon-events-source": "myapp.subscriptions"
94}

InitialPaymentCompleted


Event Rules

  • myapp-api-dev-NotifyConnectionsInitialPaymentC-5TEQS65T9C48,- email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.subscriptions@InitialPaymentCompleted

Version: 2

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "InitialPaymentCompleted",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "user": {
 22                    "$ref": "#/definitions/User"
 23                }
 24            },
 25            "required": [
 26                "brand",
 27                "user"
 28            ],
 29            "type": "object"
 30        },
 31        "InitialPaymentCompleted": {
 32            "properties": {
 33                "data": {
 34                    "$ref": "#/definitions/Data"
 35                },
 36                "metadata": {
 37                    "$ref": "#/definitions/Metadata"
 38                }
 39            },
 40            "required": [
 41                "metadata",
 42                "data"
 43            ],
 44            "type": "object"
 45        },
 46        "Metadata": {
 47            "properties": {
 48                "correlationId": {
 49                    "type": "string"
 50                },
 51                "service": {
 52                    "type": "string"
 53                }
 54            },
 55            "required": [
 56                "service",
 57                "correlationId"
 58            ],
 59            "type": "object"
 60        },
 61        "User": {
 62            "properties": {
 63                "email": {
 64                    "type": "string"
 65                },
 66                "firstName": {
 67                    "type": "string"
 68                },
 69                "id": {
 70                    "type": "number"
 71                }
 72            },
 73            "required": [
 74                "firstName",
 75                "id",
 76                "email"
 77            ],
 78            "type": "object"
 79        }
 80    },
 81    "properties": {
 82        "account": {
 83            "type": "string"
 84        },
 85        "detail": {
 86            "$ref": "#/definitions/InitialPaymentCompleted"
 87        },
 88        "detail-type": {
 89            "type": "string"
 90        },
 91        "id": {
 92            "type": "string"
 93        },
 94        "region": {
 95            "type": "string"
 96        },
 97        "resources": {
 98            "items": {
 99                "type": "object"
100            },
101            "type": "array"
102        },
103        "source": {
104            "type": "string"
105        },
106        "time": {
107            "format": "date-time",
108            "type": "string"
109        },
110        "version": {
111            "type": "string"
112        }
113    },
114    "required": [
115        "detail-type",
116        "resources",
117        "detail",
118        "id",
119        "source",
120        "time",
121        "region",
122        "version",
123        "account"
124    ],
125    "type": "object",
126    "x-amazon-events-detail-type": "InitialPaymentCompleted",
127    "x-amazon-events-source": "myapp.subscriptions"
128}

PaymentFailed


Event Rules

  • email-platform-dev-SendEmailDirectDebitPaymentFail-DM11CY6SYDHA


Schema details

Schema name: myapp.subscriptions@PaymentFailed

Version: 3

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "PaymentFailed",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "paymentType": {
 22                    "type": "string"
 23                },
 24                "policyDays": {
 25                    "type": "number"
 26                },
 27                "reason": {
 28                    "type": "string"
 29                },
 30                "user": {
 31                    "$ref": "#/definitions/User"
 32                }
 33            },
 34            "required": [
 35                "reason",
 36                "brand",
 37                "policyDays",
 38                "user",
 39                "paymentType"
 40            ],
 41            "type": "object"
 42        },
 43        "Metadata": {
 44            "properties": {
 45                "correlationId": {
 46                    "type": "string"
 47                },
 48                "service": {
 49                    "type": "string"
 50                }
 51            },
 52            "required": [
 53                "service",
 54                "correlationId"
 55            ],
 56            "type": "object"
 57        },
 58        "PaymentFailed": {
 59            "properties": {
 60                "data": {
 61                    "$ref": "#/definitions/Data"
 62                },
 63                "metadata": {
 64                    "$ref": "#/definitions/Metadata"
 65                }
 66            },
 67            "required": [
 68                "metadata",
 69                "data"
 70            ],
 71            "type": "object"
 72        },
 73        "User": {
 74            "properties": {
 75                "email": {
 76                    "type": "string"
 77                },
 78                "firstName": {
 79                    "type": "string"
 80                },
 81                "id": {
 82                    "type": "number"
 83                }
 84            },
 85            "required": [
 86                "firstName",
 87                "id",
 88                "email"
 89            ],
 90            "type": "object"
 91        }
 92    },
 93    "properties": {
 94        "account": {
 95            "type": "string"
 96        },
 97        "detail": {
 98            "$ref": "#/definitions/PaymentFailed"
 99        },
100        "detail-type": {
101            "type": "string"
102        },
103        "id": {
104            "type": "string"
105        },
106        "region": {
107            "type": "string"
108        },
109        "resources": {
110            "items": {
111                "type": "object"
112            },
113            "type": "array"
114        },
115        "source": {
116            "type": "string"
117        },
118        "time": {
119            "format": "date-time",
120            "type": "string"
121        },
122        "version": {
123            "type": "string"
124        }
125    },
126    "required": [
127        "detail-type",
128        "resources",
129        "detail",
130        "id",
131        "source",
132        "time",
133        "region",
134        "version",
135        "account"
136    ],
137    "type": "object",
138    "x-amazon-events-detail-type": "PaymentFailed",
139    "x-amazon-events-source": "myapp.subscriptions"
140}

SubscriptionCancelled


Event Rules

  • email-platform-dev-SendEmailSubscriptionCancelledE-1ENN9RKA9GMRS


Schema details

Schema name: myapp.subscriptions@SubscriptionCancelled

Version: 10

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "SubscriptionCancelled",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "id": {
 22                    "type": "number"
 23                },
 24                "reason": {
 25                    "type": "string"
 26                },
 27                "user": {
 28                    "$ref": "#/definitions/User"
 29                }
 30            },
 31            "required": [
 32                "reason",
 33                "id",
 34                "brand",
 35                "user"
 36            ],
 37            "type": "object"
 38        },
 39        "Metadata": {
 40            "properties": {
 41                "correlationId": {
 42                    "type": "string"
 43                },
 44                "service": {
 45                    "type": "string"
 46                }
 47            },
 48            "required": [
 49                "service",
 50                "correlationId"
 51            ],
 52            "type": "object"
 53        },
 54        "SubscriptionCancelled": {
 55            "properties": {
 56                "data": {
 57                    "$ref": "#/definitions/Data"
 58                },
 59                "metadata": {
 60                    "$ref": "#/definitions/Metadata"
 61                }
 62            },
 63            "required": [
 64                "metadata",
 65                "data"
 66            ],
 67            "type": "object"
 68        },
 69        "User": {
 70            "properties": {
 71                "email": {
 72                    "type": "string"
 73                },
 74                "firstName": {
 75                    "type": "string"
 76                },
 77                "id": {
 78                    "type": "number"
 79                }
 80            },
 81            "required": [
 82                "firstName",
 83                "id",
 84                "email"
 85            ],
 86            "type": "object"
 87        }
 88    },
 89    "properties": {
 90        "account": {
 91            "type": "string"
 92        },
 93        "detail": {
 94            "$ref": "#/definitions/SubscriptionCancelled"
 95        },
 96        "detail-type": {
 97            "type": "string"
 98        },
 99        "id": {
100            "type": "string"
101        },
102        "region": {
103            "type": "string"
104        },
105        "resources": {
106            "items": {
107                "type": "string"
108            },
109            "type": "array"
110        },
111        "source": {
112            "type": "string"
113        },
114        "time": {
115            "format": "date-time",
116            "type": "string"
117        },
118        "version": {
119            "type": "string"
120        }
121    },
122    "required": [
123        "detail-type",
124        "resources",
125        "detail",
126        "id",
127        "source",
128        "time",
129        "region",
130        "version",
131        "account"
132    ],
133    "type": "object",
134    "x-amazon-events-detail-type": "SubscriptionCancelled",
135    "x-amazon-events-source": "myapp.subscriptions"
136}

myapp.users

LeadCaptured


Event Rules

  • myapp-api-dev-ProcessReferralLifeSearchLeadCap-MXPS0H49KAG7


Schema details

Schema name: myapp.users@LeadCaptured

Version: 4

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "LeadCaptured",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "phoneNumber": {
 22                    "type": "string"
 23                },
 24                "referredMethod": {
 25                    "type": "string"
 26                },
 27                "referredTo": {
 28                    "type": "string"
 29                },
 30                "user": {
 31                    "$ref": "#/definitions/User"
 32                }
 33            },
 34            "required": [
 35                "phoneNumber",
 36                "referredTo",
 37                "referredMethod",
 38                "brand",
 39                "user"
 40            ],
 41            "type": "object"
 42        },
 43        "LeadCaptured": {
 44            "properties": {
 45                "data": {
 46                    "$ref": "#/definitions/Data"
 47                },
 48                "metadata": {
 49                    "$ref": "#/definitions/Metadata"
 50                }
 51            },
 52            "required": [
 53                "metadata",
 54                "data"
 55            ],
 56            "type": "object"
 57        },
 58        "Metadata": {
 59            "properties": {
 60                "correlationId": {
 61                    "type": "string"
 62                },
 63                "service": {
 64                    "type": "string"
 65                }
 66            },
 67            "required": [
 68                "service",
 69                "correlationId"
 70            ],
 71            "type": "object"
 72        },
 73        "User": {
 74            "properties": {
 75                "id": {
 76                    "type": "number"
 77                }
 78            },
 79            "required": [
 80                "id"
 81            ],
 82            "type": "object"
 83        }
 84    },
 85    "properties": {
 86        "account": {
 87            "type": "string"
 88        },
 89        "detail": {
 90            "$ref": "#/definitions/LeadCaptured"
 91        },
 92        "detail-type": {
 93            "type": "string"
 94        },
 95        "id": {
 96            "type": "string"
 97        },
 98        "region": {
 99            "type": "string"
100        },
101        "resources": {
102            "items": {
103                "type": "object"
104            },
105            "type": "array"
106        },
107        "source": {
108            "type": "string"
109        },
110        "time": {
111            "format": "date-time",
112            "type": "string"
113        },
114        "version": {
115            "type": "string"
116        }
117    },
118    "required": [
119        "detail-type",
120        "resources",
121        "detail",
122        "id",
123        "source",
124        "time",
125        "region",
126        "version",
127        "account"
128    ],
129    "type": "object",
130    "x-amazon-events-detail-type": "LeadCaptured",
131    "x-amazon-events-source": "myapp.users"
132}

NotifyConnection


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.users@NotifyConnection

Version: 14

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "NotifyConnection",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "action": {
 19                    "type": "string"
 20                },
 21                "brand": {
 22                    "$ref": "#/definitions/Brand"
 23                },
 24                "items": {
 25                    "items": {
 26                        "$ref": "#/definitions/DataItem"
 27                    },
 28                    "type": "array"
 29                },
 30                "email": {
 31                    "type": "string"
 32                },
 33                "hasAccount": {
 34                    "type": "boolean"
 35                },
 36                "id": {
 37                    "type": "number"
 38                },
 39                "inviteToken": {
 40                    "type": "string"
 41                },
 42                "name": {
 43                    "type": "string"
 44                },
 45                "user": {
 46                    "$ref": "#/definitions/User"
 47                }
 48            },
 49            "required": [
 50                "inviteToken",
 51                "hasAccount",
 52                "items",
 53                "name",
 54                "action",
 55                "id",
 56                "brand",
 57                "user",
 58                "email"
 59            ],
 60            "type": "object"
 61        },
 62        "DataItem": {
 63            "properties": {
 64                "amountInCents": {
 65                    "type": "number"
 66                },
 67                "description": {
 68                    "type": "string"
 69                },
 70                "id": {
 71                    "type": "number"
 72                },
 73                "title": {
 74                    "type": "string"
 75                }
 76            },
 77            "required": [
 78                "amountInCents",
 79                "description",
 80                "id",
 81                "title"
 82            ],
 83            "type": "object"
 84        },
 85        "Metadata": {
 86            "properties": {
 87                "correlationId": {
 88                    "type": "string"
 89                },
 90                "service": {
 91                    "type": "string"
 92                }
 93            },
 94            "required": [
 95                "service",
 96                "correlationId"
 97            ],
 98            "type": "object"
 99        },
100        "NotifyConnection": {
101            "properties": {
102                "data": {
103                    "$ref": "#/definitions/Data"
104                },
105                "metadata": {
106                    "$ref": "#/definitions/Metadata"
107                }
108            },
109            "required": [
110                "metadata",
111                "data"
112            ],
113            "type": "object"
114        },
115        "User": {
116            "properties": {
117                "firstName": {
118                    "type": "string"
119                },
120                "id": {
121                    "type": "number"
122                },
123                "lastName": {
124                    "type": "string"
125                }
126            },
127            "required": [
128                "firstName",
129                "lastName",
130                "id"
131            ],
132            "type": "object"
133        }
134    },
135    "properties": {
136        "account": {
137            "type": "string"
138        },
139        "detail": {
140            "$ref": "#/definitions/NotifyConnection"
141        },
142        "detail-type": {
143            "type": "string"
144        },
145        "id": {
146            "type": "string"
147        },
148        "region": {
149            "type": "string"
150        },
151        "resources": {
152            "items": {
153                "type": "string"
154            },
155            "type": "array"
156        },
157        "source": {
158            "type": "string"
159        },
160        "time": {
161            "format": "date-time",
162            "type": "string"
163        },
164        "version": {
165            "type": "string"
166        }
167    },
168    "required": [
169        "detail-type",
170        "resources",
171        "detail",
172        "id",
173        "source",
174        "time",
175        "region",
176        "version",
177        "account"
178    ],
179    "type": "object",
180    "x-amazon-events-detail-type": "NotifyConnection",
181    "x-amazon-events-source": "myapp.users"
182}

NotifyCustomers



Schema details

Schema name: myapp.users@NotifyCustomers

Version: 1

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "NotifyCustomers",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "action": {
 19                    "type": "string"
 20                },
 21                "brand": {
 22                    "$ref": "#/definitions/Brand"
 23                },
 24                "items": {
 25                    "items": {
 26                        "$ref": "#/definitions/DataItem"
 27                    },
 28                    "type": "array"
 29                },
 30                "email": {
 31                    "type": "string"
 32                },
 33                "hasAccount": {
 34                    "type": "boolean"
 35                },
 36                "id": {
 37                    "type": "number"
 38                },
 39                "name": {
 40                    "type": "string"
 41                },
 42                "user": {
 43                    "$ref": "#/definitions/User"
 44                }
 45            },
 46            "required": [
 47                "hasAccount",
 48                "items",
 49                "name",
 50                "action",
 51                "id",
 52                "brand",
 53                "user",
 54                "email"
 55            ],
 56            "type": "object"
 57        },
 58        "DataItem": {
 59            "properties": {
 60                "amountInCents": {
 61                    "type": "number"
 62                },
 63                "description": {
 64                    "type": "string"
 65                },
 66                "id": {
 67                    "type": "number"
 68                },
 69                "title": {
 70                    "type": "string"
 71                }
 72            },
 73            "required": [
 74                "amountInCents",
 75                "description",
 76                "id",
 77                "title"
 78            ],
 79            "type": "object"
 80        },
 81        "Metadata": {
 82            "properties": {
 83                "correlationId": {
 84                    "type": "string"
 85                },
 86                "service": {
 87                    "type": "string"
 88                }
 89            },
 90            "required": [
 91                "service",
 92                "correlationId"
 93            ],
 94            "type": "object"
 95        },
 96        "NotifyCustomers": {
 97            "properties": {
 98                "data": {
 99                    "$ref": "#/definitions/Data"
100                },
101                "metadata": {
102                    "$ref": "#/definitions/Metadata"
103                }
104            },
105            "required": [
106                "metadata",
107                "data"
108            ],
109            "type": "object"
110        },
111        "User": {
112            "properties": {
113                "firstName": {
114                    "type": "string"
115                },
116                "id": {
117                    "type": "number"
118                },
119                "lastName": {
120                    "type": "string"
121                }
122            },
123            "required": [
124                "firstName",
125                "lastName",
126                "id"
127            ],
128            "type": "object"
129        }
130    },
131    "properties": {
132        "account": {
133            "type": "string"
134        },
135        "detail": {
136            "$ref": "#/definitions/NotifyCustomers"
137        },
138        "detail-type": {
139            "type": "string"
140        },
141        "id": {
142            "type": "string"
143        },
144        "region": {
145            "type": "string"
146        },
147        "resources": {
148            "items": {
149                "type": "string"
150            },
151            "type": "array"
152        },
153        "source": {
154            "type": "string"
155        },
156        "time": {
157            "format": "date-time",
158            "type": "string"
159        },
160        "version": {
161            "type": "string"
162        }
163    },
164    "required": [
165        "detail-type",
166        "resources",
167        "detail",
168        "id",
169        "source",
170        "time",
171        "region",
172        "version",
173        "account"
174    ],
175    "type": "object",
176    "x-amazon-events-detail-type": "NotifyCustomers",
177    "x-amazon-events-source": "myapp.users"
178}

UnsubscribeFromEmails


Event Rules

  • user-service-dev-UnsubscribeFromEmailsUnsubscribeF-1AEVDBIAA49H2


Schema details

Schema name: myapp.users@UnsubscribeFromEmails

Version: 4

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UnsubscribeFromEmails",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "email": {
 22                    "type": "string"
 23                },
 24                "firstName": {
 25                    "type": "string"
 26                }
 27            },
 28            "required": [
 29                "firstName",
 30                "brand",
 31                "email"
 32            ],
 33            "type": "object"
 34        },
 35        "Metadata": {
 36            "properties": {
 37                "correlationId": {
 38                    "type": "string"
 39                },
 40                "service": {
 41                    "type": "string"
 42                }
 43            },
 44            "required": [
 45                "service",
 46                "correlationId"
 47            ],
 48            "type": "object"
 49        },
 50        "UnsubscribeFromEmails": {
 51            "properties": {
 52                "data": {
 53                    "$ref": "#/definitions/Data"
 54                },
 55                "metadata": {
 56                    "$ref": "#/definitions/Metadata"
 57                }
 58            },
 59            "required": [
 60                "metadata",
 61                "data"
 62            ],
 63            "type": "object"
 64        }
 65    },
 66    "properties": {
 67        "account": {
 68            "type": "string"
 69        },
 70        "detail": {
 71            "$ref": "#/definitions/UnsubscribeFromEmails"
 72        },
 73        "detail-type": {
 74            "type": "string"
 75        },
 76        "id": {
 77            "type": "string"
 78        },
 79        "region": {
 80            "type": "string"
 81        },
 82        "resources": {
 83            "items": {
 84                "type": "string"
 85            },
 86            "type": "array"
 87        },
 88        "source": {
 89            "type": "string"
 90        },
 91        "time": {
 92            "format": "date-time",
 93            "type": "string"
 94        },
 95        "version": {
 96            "type": "string"
 97        }
 98    },
 99    "required": [
100        "detail-type",
101        "resources",
102        "detail",
103        "id",
104        "source",
105        "time",
106        "region",
107        "version",
108        "account"
109    ],
110    "type": "object",
111    "x-amazon-events-detail-type": "UnsubscribeFromEmails",
112    "x-amazon-events-source": "myapp.users"
113}

UserCreated


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.users@UserCreated

Version: 6

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UserCreated",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "confirmEmailToken": {
 22                    "type": "string"
 23                },
 24                "email": {
 25                    "type": "string"
 26                },
 27                "firstName": {
 28                    "type": "string"
 29                },
 30                "id": {
 31                    "type": "number"
 32                }
 33            },
 34            "required": [
 35                "confirmEmailToken",
 36                "firstName",
 37                "id",
 38                "brand",
 39                "email"
 40            ],
 41            "type": "object"
 42        },
 43        "Metadata": {
 44            "properties": {
 45                "correlationId": {
 46                    "type": "string"
 47                },
 48                "service": {
 49                    "type": "string"
 50                }
 51            },
 52            "required": [
 53                "service",
 54                "correlationId"
 55            ],
 56            "type": "object"
 57        },
 58        "UserCreated": {
 59            "properties": {
 60                "data": {
 61                    "$ref": "#/definitions/Data"
 62                },
 63                "metadata": {
 64                    "$ref": "#/definitions/Metadata"
 65                }
 66            },
 67            "required": [
 68                "metadata",
 69                "data"
 70            ],
 71            "type": "object"
 72        }
 73    },
 74    "properties": {
 75        "account": {
 76            "type": "string"
 77        },
 78        "detail": {
 79            "$ref": "#/definitions/UserCreated"
 80        },
 81        "detail-type": {
 82            "type": "string"
 83        },
 84        "id": {
 85            "type": "string"
 86        },
 87        "region": {
 88            "type": "string"
 89        },
 90        "resources": {
 91            "items": {
 92                "type": "object"
 93            },
 94            "type": "array"
 95        },
 96        "source": {
 97            "type": "string"
 98        },
 99        "time": {
100            "format": "date-time",
101            "type": "string"
102        },
103        "version": {
104            "type": "string"
105        }
106    },
107    "required": [
108        "detail-type",
109        "resources",
110        "detail",
111        "id",
112        "source",
113        "time",
114        "region",
115        "version",
116        "account"
117    ],
118    "type": "object",
119    "x-amazon-events-detail-type": "UserCreated",
120    "x-amazon-events-source": "myapp.users"
121}

UserForgotPassword


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.users@UserForgotPassword

Version: 2

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UserForgotPassword",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "email": {
 22                    "type": "string"
 23                },
 24                "firstName": {
 25                    "type": "string"
 26                },
 27                "id": {
 28                    "type": "number"
 29                },
 30                "resetPasswordToken": {
 31                    "type": "string"
 32                }
 33            },
 34            "required": [
 35                "firstName",
 36                "resetPasswordToken",
 37                "id",
 38                "brand",
 39                "email"
 40            ],
 41            "type": "object"
 42        },
 43        "Metadata": {
 44            "properties": {
 45                "correlationId": {
 46                    "type": "string"
 47                },
 48                "service": {
 49                    "type": "string"
 50                }
 51            },
 52            "required": [
 53                "service",
 54                "correlationId"
 55            ],
 56            "type": "object"
 57        },
 58        "UserForgotPassword": {
 59            "properties": {
 60                "data": {
 61                    "$ref": "#/definitions/Data"
 62                },
 63                "metadata": {
 64                    "$ref": "#/definitions/Metadata"
 65                }
 66            },
 67            "required": [
 68                "metadata",
 69                "data"
 70            ],
 71            "type": "object"
 72        }
 73    },
 74    "properties": {
 75        "account": {
 76            "type": "string"
 77        },
 78        "detail": {
 79            "$ref": "#/definitions/UserForgotPassword"
 80        },
 81        "detail-type": {
 82            "type": "string"
 83        },
 84        "id": {
 85            "type": "string"
 86        },
 87        "region": {
 88            "type": "string"
 89        },
 90        "resources": {
 91            "items": {
 92                "type": "object"
 93            },
 94            "type": "array"
 95        },
 96        "source": {
 97            "type": "string"
 98        },
 99        "time": {
100            "format": "date-time",
101            "type": "string"
102        },
103        "version": {
104            "type": "string"
105        }
106    },
107    "required": [
108        "detail-type",
109        "resources",
110        "detail",
111        "id",
112        "source",
113        "time",
114        "region",
115        "version",
116        "account"
117    ],
118    "type": "object",
119    "x-amazon-events-detail-type": "UserForgotPassword",
120    "x-amazon-events-source": "myapp.users"
121}

UserHasNotConfirmedAccount


Event Rules

  • email-platform-dev-SendEmailUserCreatedEvent-1RLPO22B6WFL3


Schema details

Schema name: myapp.users@UserHasNotConfirmedAccount

Version: 1

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UserHasNotConfirmedAccount",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "confirmEmailToken": {
 22                    "type": "string"
 23                },
 24                "confirmedEmailStatus": {
 25                    "type": "string"
 26                },
 27                "email": {
 28                    "type": "string"
 29                },
 30                "firstName": {
 31                    "type": "string"
 32                },
 33                "id": {
 34                    "type": "number"
 35                }
 36            },
 37            "required": [
 38                "confirmEmailToken",
 39                "firstName",
 40                "confirmedEmailStatus",
 41                "id",
 42                "brand",
 43                "email"
 44            ],
 45            "type": "object"
 46        },
 47        "Metadata": {
 48            "properties": {
 49                "correlationId": {
 50                    "type": "string"
 51                },
 52                "service": {
 53                    "type": "string"
 54                }
 55            },
 56            "required": [
 57                "service",
 58                "correlationId"
 59            ],
 60            "type": "object"
 61        },
 62        "UserHasNotConfirmedAccount": {
 63            "properties": {
 64                "data": {
 65                    "$ref": "#/definitions/Data"
 66                },
 67                "metadata": {
 68                    "$ref": "#/definitions/Metadata"
 69                }
 70            },
 71            "required": [
 72                "metadata",
 73                "data"
 74            ],
 75            "type": "object"
 76        }
 77    },
 78    "properties": {
 79        "account": {
 80            "type": "string"
 81        },
 82        "detail": {
 83            "$ref": "#/definitions/UserHasNotConfirmedAccount"
 84        },
 85        "detail-type": {
 86            "type": "string"
 87        },
 88        "id": {
 89            "type": "string"
 90        },
 91        "region": {
 92            "type": "string"
 93        },
 94        "resources": {
 95            "items": {
 96                "type": "object"
 97            },
 98            "type": "array"
 99        },
100        "source": {
101            "type": "string"
102        },
103        "time": {
104            "format": "date-time",
105            "type": "string"
106        },
107        "version": {
108            "type": "string"
109        }
110    },
111    "required": [
112        "detail-type",
113        "resources",
114        "detail",
115        "id",
116        "source",
117        "time",
118        "region",
119        "version",
120        "account"
121    ],
122    "type": "object",
123    "x-amazon-events-detail-type": "UserHasNotConfirmedAccount",
124    "x-amazon-events-source": "myapp.users"
125}

UserLoggedIn


Event Rules

  • email-platform-dev-SendEmailUserLoggedInEvent-1ILDQX0OES2DG


Schema details

Schema name: myapp.users@UserLoggedIn

Version: 6

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UserLoggedIn",
  4    "definitions": {
  5        "Brand": {
  6            "properties": {
  7                "code": {
  8                    "type": "string"
  9                }
 10            },
 11            "required": [
 12                "code"
 13            ],
 14            "type": "object"
 15        },
 16        "Data": {
 17            "properties": {
 18                "brand": {
 19                    "$ref": "#/definitions/Brand"
 20                },
 21                "confirmEmailToken": {
 22                    "type": "string"
 23                },
 24                "confirmedEmailStatus": {
 25                    "type": "string"
 26                },
 27                "email": {
 28                    "type": "string"
 29                },
 30                "firstName": {
 31                    "type": "string"
 32                },
 33                "id": {
 34                    "type": "number"
 35                }
 36            },
 37            "required": [
 38                "confirmEmailToken",
 39                "firstName",
 40                "confirmedEmailStatus",
 41                "id",
 42                "brand",
 43                "email"
 44            ],
 45            "type": "object"
 46        },
 47        "Metadata": {
 48            "properties": {
 49                "correlationId": {
 50                    "type": "string"
 51                },
 52                "service": {
 53                    "type": "string"
 54                }
 55            },
 56            "required": [
 57                "service",
 58                "correlationId"
 59            ],
 60            "type": "object"
 61        },
 62        "UserLoggedIn": {
 63            "properties": {
 64                "data": {
 65                    "$ref": "#/definitions/Data"
 66                },
 67                "metadata": {
 68                    "$ref": "#/definitions/Metadata"
 69                }
 70            },
 71            "required": [
 72                "metadata",
 73                "data"
 74            ],
 75            "type": "object"
 76        }
 77    },
 78    "properties": {
 79        "account": {
 80            "type": "string"
 81        },
 82        "detail": {
 83            "$ref": "#/definitions/UserLoggedIn"
 84        },
 85        "detail-type": {
 86            "type": "string"
 87        },
 88        "id": {
 89            "type": "string"
 90        },
 91        "region": {
 92            "type": "string"
 93        },
 94        "resources": {
 95            "items": {
 96                "type": "object"
 97            },
 98            "type": "array"
 99        },
100        "source": {
101            "type": "string"
102        },
103        "time": {
104            "format": "date-time",
105            "type": "string"
106        },
107        "version": {
108            "type": "string"
109        }
110    },
111    "required": [
112        "detail-type",
113        "resources",
114        "detail",
115        "id",
116        "source",
117        "time",
118        "region",
119        "version",
120        "account"
121    ],
122    "type": "object",
123    "x-amazon-events-detail-type": "UserLoggedIn",
124    "x-amazon-events-source": "myapp.users"
125}

UserMedicalConditionOutcomeProcessed


Event Rules

  • medical-conditions-servic-UpdateDecisionUserMedica-1RARYGR8TQN46,- medical-conditions-servic-WriteConditionToS3Medica-1D5JCH6KY905K


Schema details

Schema name: myapp.users@UserMedicalConditionOutcomeProcessed

Version: 7

Event Schema

  1{
  2    "$schema": "http://json-schema.org/draft-04/schema#",
  3    "title": "UserMedicalConditionOutcomeProcessed",
  4    "definitions": {
  5        "Choice": {
  6            "properties": {
  7                "label": {
  8                    "type": "string"
  9                }
 10            },
 11            "type": "object"
 12        },
 13        "Data": {
 14            "properties": {
 15                "condition": {
 16                    "type": "string"
 17                },
 18                "decisionId": {
 19                    "type": "number"
 20                },
 21                "outcome": {
 22                    "type": "string"
 23                },
 24                "surveyResponse": {
 25                    "$ref": "#/definitions/SurveyResponse"
 26                },
 27                "userId": {
 28                    "type": "number"
 29                }
 30            },
 31            "required": [
 32                "condition",
 33                "surveyResponse",
 34                "decisionId",
 35                "userId",
 36                "outcome"
 37            ],
 38            "type": "object"
 39        },
 40        "Definition": {
 41            "properties": {
 42                "fields": {
 43                    "items": {
 44                        "$ref": "#/definitions/DefinitionItem"
 45                    },
 46                    "type": "array"
 47                },
 48                "id": {
 49                    "type": "string"
 50                },
 51                "title": {
 52                    "type": "string"
 53                }
 54            },
 55            "required": [
 56                "id",
 57                "fields",
 58                "title"
 59            ],
 60            "type": "object"
 61        },
 62        "DefinitionItem": {
 63            "properties": {
 64                "choices": {
 65                    "items": {
 66                        "$ref": "#/definitions/DefinitionItemItem"
 67                    },
 68                    "type": "array"
 69                },
 70                "id": {
 71                    "type": "string"
 72                },
 73                "properties": {
 74                    "$ref": "#/definitions/Properties"
 75                },
 76                "ref": {
 77                    "type": "string"
 78                },
 79                "title": {
 80                    "type": "string"
 81                },
 82                "type": {
 83                    "type": "string"
 84                }
 85            },
 86            "required": [
 87                "ref",
 88                "id",
 89                "title",
 90                "type",
 91                "properties"
 92            ],
 93            "type": "object"
 94        },
 95        "DefinitionItemItem": {
 96            "properties": {
 97                "id": {
 98                    "type": [
 99                        "string",
100                        "null"
101                    ]
102                },
103                "label": {
104                    "type": [
105                        "string",
106                        "null"
107                    ]
108                }
109            },
110            "required": [
111                "id",
112                "label"
113            ],
114            "type": [
115                "object",
116                "null"
117            ]
118        },
119        "Field": {
120            "properties": {
121                "id": {
122                    "type": "string"
123                },
124                "ref": {
125                    "type": "string"
126                },
127                "type": {
128                    "type": "string"
129                }
130            },
131            "required": [
132                "ref",
133                "id",
134                "type"
135            ],
136            "type": "object"
137        },
138        "Form_response": {
139            "properties": {
140                "answers": {
141                    "items": {
142                        "$ref": "#/definitions/Form_responseItem"
143                    },
144                    "type": "array"
145                },
146                "definition": {
147                    "$ref": "#/definitions/Definition"
148                },
149                "form_id": {
150                    "type": "string"
151                },
152                "hidden": {
153                    "$ref": "#/definitions/Hidden"
154                },
155                "landed_at": {
156                    "format": "date-time",
157                    "type": "string"
158                },
159                "submitted_at": {
160                    "format": "date-time",
161                    "type": "string"
162                },
163                "token": {
164                    "type": "string"
165                }
166            },
167            "required": [
168                "hidden",
169                "submitted_at",
170                "answers",
171                "form_id",
172                "landed_at",
173                "definition",
174                "token"
175            ],
176            "type": "object"
177        },
178        "Form_responseItem": {
179            "properties": {
180                "choice": {
181                    "$ref": "#/definitions/Choice"
182                },
183                "field": {
184                    "$ref": "#/definitions/Field"
185                },
186                "number": {
187                    "type": "number"
188                },
189                "type": {
190                    "type": "string"
191                }
192            },
193            "required": [
194                "field",
195                "type"
196            ],
197            "type": "object"
198        },
199        "Hidden": {
200            "properties": {
201                "condition": {
202                    "type": "string"
203                },
204                "decision_id": {
205                    "type": "string"
206                },
207                "first_name": {
208                    "type": "string"
209                },
210                "offline": {
211                    "type": "string"
212                },
213                "user_id": {
214                    "type": "string"
215                }
216            },
217            "required": [
218                "offline",
219                "condition",
220                "decision_id",
221                "user_id",
222                "first_name"
223            ],
224            "type": "object"
225        },
226        "Metadata": {
227            "properties": {
228                "domain": {
229                    "type": "string"
230                },
231                "service": {
232                    "type": "string"
233                }
234            },
235            "required": [
236                "service",
237                "domain"
238            ],
239            "type": "object"
240        },
241        "Properties": {
242            "type": "object"
243        },
244        "SurveyResponse": {
245            "properties": {
246                "event_id": {
247                    "type": "string"
248                },
249                "event_type": {
250                    "type": "string"
251                },
252                "form_response": {
253                    "$ref": "#/definitions/Form_response"
254                }
255            },
256            "required": [
257                "event_id",
258                "event_type",
259                "form_response"
260            ],
261            "type": "object"
262        },
263        "UserMedicalConditionOutcomeProcessed": {
264            "properties": {
265                "data": {
266                    "$ref": "#/definitions/Data"
267                },
268                "metadata": {
269                    "$ref": "#/definitions/Metadata"
270                }
271            },
272            "required": [
273                "metadata",
274                "data"
275            ],
276            "type": "object"
277        }
278    },
279    "properties": {
280        "account": {
281            "type": "string"
282        },
283        "detail": {
284            "$ref": "#/definitions/UserMedicalConditionOutcomeProcessed"
285        },
286        "detail-type": {
287            "type": "string"
288        },
289        "id": {
290            "type": "string"
291        },
292        "region": {
293            "type": "string"
294        },
295        "resources": {
296            "items": {
297                "type": "string"
298            },
299            "type": "array"
300        },
301        "source": {
302            "type": "string"
303        },
304        "time": {
305            "format": "date-time",
306            "type": "string"
307        },
308        "version": {
309            "type": "string"
310        }
311    },
312    "required": [
313        "detail-type",
314        "resources",
315        "detail",
316        "id",
317        "source",
318        "time",
319        "region",
320        "version",
321        "account"
322    ],
323    "type": "object",
324    "x-amazon-events-detail-type": "UserMedicalConditionOutcomeProcessed",
325    "x-amazon-events-source": "myapp.users"
326}