NewsletterSubscriptionRequested (v1.0.0)

New user has subscribed to our newsletter.

schema.json
{ "$id": "https://docs.nobletary.com/NewsletterSubscriptionRequested.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "NewsletterSubscriptionRequested", "type": "object", "properties": { "email": { "type": "string", "pattern": "^\\S+@\\S+\\.\\S+$", "description": "The email of the user" }, "frequency": { "enum": [ "monthly" ], "description": "The frequency the user wants to receive the newsletter", "default": "monthly" }, "metadata": { "$ref": "#/$defs/metadata" } }, "required": [ "email" ], "$defs": { "metadata": { "type": "object", "properties": { "language": { "type": "string" }, "form": { "type": "object", "properties": { "id": { "type": "string" }, "prefix": { "type": "string" }, "timeZone": { "type": "string" }, "timeZoneOffset": { "type": "integer" }, "createdTimestamp": { "type": "string", "format": "date" } } }, "sessionStorage": { "type": "object", "properties": { "id": { "type": "string" }, "createdTimestamp": { "type": "string", "format": "date" } } }, "localStorage": { "type": "object", "properties": { "id": { "type": "string" }, "createdTimestamp": { "type": "string", "format": "date" } } }, "userId": { "type": "string", "description": "The ID of the user" }, "domain": { "type": "string", "description": "The domain of the event" }, "service": { "type": "string", "description": "The name of the service that triggered the event" } } } } }