UNPKG

dancecard-email-schemas

Version:

Schemas for objects for Dancecard Email Nurturing System

28 lines (26 loc) 1.06 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var 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"] }; exports.EmailSubtype = EmailSubtype;