json icon

Customer Registered

v1.0.0events

Published when a new customer has registered.

1{
2  "$schema": "http://json-schema.org/draft-07/schema#",
3  "title": "CustomerRegistered",
4  "description": "Emitted when a new customer registers",
5  "type": "object",
6  "properties": {
7    "eventId": {
8      "description": "Unique identifier for this event",
9      "type": "string",
10      "format": "uuid"
11    },
12    "occurredAt": {
13      "description": "Time the customer registered",
14      "type": "string",
15      "format": "date-time"
16    },
17    "customer": {
18      "description": "The customer that registered",
19      "type": "object",
20      "properties": {
21        "customerId": {
22          "description": "Unique identifier for the customer",
23          "type": "string",
24          "format": "uuid"
25        },
26        "email": {
27          "description": "Customer's email address",
28          "type": "string",
29          "format": "email"
30        },
31        "name": {
32          "description": "Customer's full name",
33          "type": "string"
34        },
35        "status": {
36          "description": "Lifecycle status of the customer account",
37          "type": "string",
38          "enum": ["ACTIVE", "SUSPENDED", "CLOSED"]
39        }
40      },
41      "required": ["customerId", "email", "status"]
42    }
43  },
44  "required": ["eventId", "occurredAt", "customer"]
45}
46

Details

Format
JSON Schema
Resource
events
Filename
schema.json

Versions