UNPKG

dancecard-email-schemas

Version:

Schemas for objects for Dancecard Email Nurturing System

24 lines (22 loc) 959 B
let EmailSubtype = { "id": "./EmailSubtype", "title": "EmailSubtype", "description": "An Email Subtype object that contains the fields specific to a given email type.", "type": "object", "properties": { "first_email_fields": { "description": 'All fields for an email with email_type == "First Email" otherwise this property will be null', "type": ["null", {"$ref": "./FirstEmailSubtype"}] }, "single_email_fields": { "description": 'All fields for an email with email_type == "Single Email" otherwise this property will be null', "type": ["null", {"$ref": "./SingleEmailSubtype"}] }, "opt_in_email_fields": { "description": 'All fields for an email with email_type == "Opt-In Email" otherwise this property will be null', "type": ["null", {"$ref": "./OptInEmailSubtype"}] } }, "required": ["first_email_fields", "single_email_fields", "opt_in_email_fields"] } export { EmailSubtype }