diff --git a/src/configurations/destinations/mp/schema.json b/src/configurations/destinations/mp/schema.json index cf9b2c11f..afdf1512f 100644 --- a/src/configurations/destinations/mp/schema.json +++ b/src/configurations/destinations/mp/schema.json @@ -12,20 +12,46 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "serviceAccountUserName": { "type": "string" }, - "serviceAccountSecret": { "type": "string" }, - "projectId": { "type": "string" }, - "dataResidency": { "type": "string", "enum": ["us", "eu"], "default": "us" }, + "serviceAccountUserName": { + "type": "string" + }, + "serviceAccountSecret": { + "type": "string" + }, + "dataResidency": { + "type": "string", + "enum": ["us", "eu"], + "default": "us" + }, + "projectId": { + "type": "string" + }, "identityMergeApi": { "type": "string", "enum": ["simplified", "original"], "default": "original" }, - "userDeletionApi": { "type": "string", "enum": ["engage", "task"], "default": "engage" }, - "strictMode": { "type": "boolean", "default": false }, - "ignoreDnt": { "type": "boolean", "default": false }, - "people": { "type": "boolean", "default": false }, - "setAllTraitsByDefault": { "type": "boolean", "default": false }, + "userDeletionApi": { + "type": "string", + "enum": ["engage", "task"], + "default": "engage" + }, + "strictMode": { + "type": "boolean", + "default": false + }, + "ignoreDnt": { + "type": "boolean", + "default": false + }, + "people": { + "type": "boolean", + "default": false + }, + "setAllTraitsByDefault": { + "type": "boolean", + "default": false + }, "superProperties": { "type": "array", "items": { @@ -74,14 +100,26 @@ } } }, - "consolidatedPageCalls": { "type": "boolean", "default": true }, - "trackCategorizedPages": { "type": "boolean", "default": false }, - "trackNamedPages": { "type": "boolean", "default": false }, + "consolidatedPageCalls": { + "type": "boolean", + "default": true + }, + "trackCategorizedPages": { + "type": "boolean", + "default": false + }, + "trackNamedPages": { + "type": "boolean", + "default": false + }, "sourceName": { "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "crossSubdomainCookie": { "type": "boolean", "default": false }, + "crossSubdomainCookie": { + "type": "boolean", + "default": false + }, "persistenceType": { "type": "string", "enum": ["none", "cookie", "localStorage"], @@ -91,7 +129,10 @@ "type": "string", "pattern": "(^\\{\\{.*\\|\\|(.*)\\}\\}$)|(^env[.].+)|^(.{0,100})$" }, - "secureCookie": { "type": "boolean", "default": false }, + "secureCookie": { + "type": "boolean", + "default": false + }, "groupKeySettings": { "type": "array", "items": { @@ -104,8 +145,18 @@ } } }, - "useNativeSDK": { "type": "object", "properties": { "web": { "type": "boolean" } } }, - "useNewMapping": { "type": "boolean", "default": false }, + "useNativeSDK": { + "type": "object", + "properties": { + "web": { + "type": "boolean" + } + } + }, + "useNewMapping": { + "type": "boolean", + "default": false + }, "eventFilteringOption": { "type": "string", "enum": ["disable", "whitelistedEvents", "blacklistedEvents"], @@ -151,14 +202,23 @@ "type": "array", "items": { "type": "object", - "properties": { "purpose": { "type": "string", "pattern": "^(.{0,100})$" } } + "properties": { + "purpose": { + "type": "string", + "pattern": "^(.{0,100})$" + } + } } } }, "anyOf": [ { "if": { - "properties": { "userDeletionApi": { "const": "task" } }, + "properties": { + "userDeletionApi": { + "const": "task" + } + }, "required": ["userDeletionApi"] }, "then": {