From f9a880c2671c6e99e964ebf9b25a7b30ff97590f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 1 Mar 2023 11:54:42 +0100 Subject: [PATCH 01/16] #711: rename type setDefinition to attributeSetDefinition --- docs/dist/documentation.md | 74 +++++++++---------- lib/MetadataTypeDefinitions.js | 2 +- lib/MetadataTypeInfo.js | 2 +- ...efinition.js => AttributeSetDefinition.js} | 8 +- ...s => AttributeSetDefinition.definition.js} | 2 +- 5 files changed, 44 insertions(+), 44 deletions(-) rename lib/metadataTypes/{SetDefinition.js => AttributeSetDefinition.js} (82%) rename lib/metadataTypes/definitions/{SetDefinition.definition.js => AttributeSetDefinition.definition.js} (99%) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index d720bfd89..e32410bf0 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -20,6 +20,9 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

+
AttributeSetDefinitionMetadataType
+

AttributeSetDefinition MetadataType

+
AutomationMetadataType

Automation MetadataType

@@ -105,9 +108,6 @@ Provides default functionality that can be overwritten by child metadata type cl
SendClassificationMetadataType

SendClassification MetadataType

-
SetDefinitionMetadataType
-

SetDefinition MetadataType

-
TransactionalEmailTransactionalMessage

TransactionalEmail MetadataType

@@ -1230,6 +1230,40 @@ Retrieves Metadata of schema attribute groups for caching. **Kind**: static method of [AttributeGroup](#AttributeGroup) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + + +## AttributeSetDefinition ⇐ [MetadataType](#MetadataType) +AttributeSetDefinition MetadataType + +**Kind**: global class +**Extends**: [MetadataType](#MetadataType) + +* [AttributeSetDefinition](#AttributeSetDefinition) ⇐ [MetadataType](#MetadataType) + * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeSetDefinition.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.retrieveForCache()](#AttributeSetDefinition.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + + + +### AttributeSetDefinition.retrieve(retrieveDir, [_], [__], [key]) ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema set Definitions. + +**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise + +| Param | Type | Description | +| --- | --- | --- | +| retrieveDir | string | Directory where retrieved metadata directory will be saved | +| [_] | void | unused parameter | +| [__] | void | unused parameter | +| [key] | string | customer key of single item to retrieve | + + + +### AttributeSetDefinition.retrieveForCache() ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema set definitions for caching. + +**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise ## Automation ⇐ [MetadataType](#MetadataType) @@ -4582,40 +4616,6 @@ Retrieves SOAP based metadata of metadata type into local filesystem. executes c | [__] | void | unused parameter | | [key] | string | customer key of single item to retrieve | - - -## SetDefinition ⇐ [MetadataType](#MetadataType) -SetDefinition MetadataType - -**Kind**: global class -**Extends**: [MetadataType](#MetadataType) - -* [SetDefinition](#SetDefinition) ⇐ [MetadataType](#MetadataType) - * [.retrieve(retrieveDir, [_], [__], [key])](#SetDefinition.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.retrieveForCache()](#SetDefinition.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - - - -### SetDefinition.retrieve(retrieveDir, [_], [__], [key]) ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema set Definitions. - -**Kind**: static method of [SetDefinition](#SetDefinition) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise - -| Param | Type | Description | -| --- | --- | --- | -| retrieveDir | string | Directory where retrieved metadata directory will be saved | -| [_] | void | unused parameter | -| [__] | void | unused parameter | -| [key] | string | customer key of single item to retrieve | - - - -### SetDefinition.retrieveForCache() ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema set definitions for caching. - -**Kind**: static method of [SetDefinition](#SetDefinition) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise ## TransactionalEmail ⇐ [TransactionalMessage](#TransactionalMessage) diff --git a/lib/MetadataTypeDefinitions.js b/lib/MetadataTypeDefinitions.js index 021564d0c..a4d6c1fed 100644 --- a/lib/MetadataTypeDefinitions.js +++ b/lib/MetadataTypeDefinitions.js @@ -7,6 +7,7 @@ const MetadataTypeDefinitions = { accountUser: require('./metadataTypes/definitions/AccountUser.definition'), asset: require('./metadataTypes/definitions/Asset.definition'), attributeGroup: require('./metadataTypes/definitions/AttributeGroup.definition'), + attributeSetDefinition: require('./metadataTypes/definitions/AttributeSetDefinition.definition'), automation: require('./metadataTypes/definitions/Automation.definition'), campaign: require('./metadataTypes/definitions/Campaign.definition'), contentArea: require('./metadataTypes/definitions/ContentArea.definition'), @@ -32,7 +33,6 @@ const MetadataTypeDefinitions = { role: require('./metadataTypes/definitions/Role.definition'), script: require('./metadataTypes/definitions/Script.definition'), sendClassification: require('./metadataTypes/definitions/SendClassification.definition'), - setDefinition: require('./metadataTypes/definitions/SetDefinition.definition'), transactionalEmail: require('./metadataTypes/definitions/TransactionalEmail.definition'), transactionalPush: require('./metadataTypes/definitions/TransactionalPush.definition'), transactionalSMS: require('./metadataTypes/definitions/TransactionalSMS.definition'), diff --git a/lib/MetadataTypeInfo.js b/lib/MetadataTypeInfo.js index 8f6db645b..dbc6e1722 100644 --- a/lib/MetadataTypeInfo.js +++ b/lib/MetadataTypeInfo.js @@ -7,6 +7,7 @@ const MetadataTypeInfo = { accountUser: require('./metadataTypes/AccountUser'), asset: require('./metadataTypes/Asset'), attributeGroup: require('./metadataTypes/AttributeGroup'), + attributeSetDefinition: require('./metadataTypes/AttributeSetDefinition'), automation: require('./metadataTypes/Automation'), campaign: require('./metadataTypes/Campaign'), contentArea: require('./metadataTypes/ContentArea'), @@ -32,7 +33,6 @@ const MetadataTypeInfo = { role: require('./metadataTypes/Role'), script: require('./metadataTypes/Script'), sendClassification: require('./metadataTypes/SendClassification'), - setDefinition: require('./metadataTypes/SetDefinition'), transactionalEmail: require('./metadataTypes/TransactionalEmail'), transactionalPush: require('./metadataTypes/TransactionalPush'), transactionalSMS: require('./metadataTypes/TransactionalSMS'), diff --git a/lib/metadataTypes/SetDefinition.js b/lib/metadataTypes/AttributeSetDefinition.js similarity index 82% rename from lib/metadataTypes/SetDefinition.js rename to lib/metadataTypes/AttributeSetDefinition.js index bcbf64ff0..625920be0 100644 --- a/lib/metadataTypes/SetDefinition.js +++ b/lib/metadataTypes/AttributeSetDefinition.js @@ -4,11 +4,11 @@ const TYPE = require('../../types/mcdev.d'); const MetadataType = require('./MetadataType'); /** - * SetDefinition MetadataType + * AttributeSetDefinition MetadataType * * @augments MetadataType */ -class SetDefinition extends MetadataType { +class AttributeSetDefinition extends MetadataType { /** * Retrieves Metadata of schema set Definitions. * @@ -38,6 +38,6 @@ class SetDefinition extends MetadataType { } // Assign definition to static attributes -SetDefinition.definition = require('../MetadataTypeDefinitions').setDefinition; +AttributeSetDefinition.definition = require('../MetadataTypeDefinitions').attributeSetDefinition; -module.exports = SetDefinition; +module.exports = AttributeSetDefinition; diff --git a/lib/metadataTypes/definitions/SetDefinition.definition.js b/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js similarity index 99% rename from lib/metadataTypes/definitions/SetDefinition.definition.js rename to lib/metadataTypes/definitions/AttributeSetDefinition.definition.js index e5b7f9176..b30ea4a2b 100644 --- a/lib/metadataTypes/definitions/SetDefinition.definition.js +++ b/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js @@ -10,7 +10,7 @@ module.exports = { lastmodDateField: null, lastmodNameField: null, restPagination: false, - type: 'setDefinition', + type: 'AttributeSetDefinition', typeDescription: 'BETA: Data Extensions linked to Attribute Groups in Data Designer.', typeRetrieveByDefault: false, typeName: 'Data Designer Set Definitions', From 390ccfceab5548089c8e343136ffa8189656f7dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 1 Mar 2023 16:21:58 +0100 Subject: [PATCH 02/16] #711: resolve attributeSets and attributeGroups as preDeploy/postRetrieve task --- docs/dist/documentation.md | 66 +++++ lib/metadataTypes/AttributeGroup.js | 71 ++++- lib/metadataTypes/AttributeSetDefinition.js | 275 +++++++++++++++++- .../definitions/AttributeGroup.definition.js | 80 ++--- .../AttributeSetDefinition.definition.js | 5 +- 5 files changed, 452 insertions(+), 45 deletions(-) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index e32410bf0..f7b4c17b3 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -1207,6 +1207,8 @@ AttributeGroup MetadataType * [AttributeGroup](#AttributeGroup) ⇐ [MetadataType](#MetadataType) * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + * [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1230,6 +1232,30 @@ Retrieves Metadata of schema attribute groups for caching. **Kind**: static method of [AttributeGroup](#AttributeGroup) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + + +### AttributeGroup.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem +manages post retrieve steps + +**Kind**: static method of [AttributeGroup](#AttributeGroup) +**Returns**: TYPE.MetadataTypeItem - metadata + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single metadata | + + + +### AttributeGroup.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem +prepares for deployment + +**Kind**: static method of [AttributeGroup](#AttributeGroup) +**Returns**: TYPE.MetadataTypeItem - Promise + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single item | + ## AttributeSetDefinition ⇐ [MetadataType](#MetadataType) @@ -1241,6 +1267,9 @@ AttributeSetDefinition MetadataType * [AttributeSetDefinition](#AttributeSetDefinition) ⇐ [MetadataType](#MetadataType) * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeSetDefinition.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeSetDefinition.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.parseResponseBody(body, [singleRetrieve])](#AttributeSetDefinition.parseResponseBody) ⇒ TYPE.MetadataTypeMap + * [.postRetrieveTasks(metadata)](#AttributeSetDefinition.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + * [.preDeployTasks(metadata)](#AttributeSetDefinition.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1264,6 +1293,43 @@ Retrieves Metadata of schema set definitions for caching. **Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise + + +### AttributeSetDefinition.parseResponseBody(body, [singleRetrieve]) ⇒ TYPE.MetadataTypeMap +Builds map of metadata entries mapped to their keyfields + +**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Returns**: TYPE.MetadataTypeMap - keyField => metadata map + +| Param | Type | Description | +| --- | --- | --- | +| body | object | json of response body | +| [singleRetrieve] | string \| number | key of single item to filter by | + + + +### AttributeSetDefinition.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem +manages post retrieve steps + +**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Returns**: TYPE.MetadataTypeItem - metadata + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single metadata | + + + +### AttributeSetDefinition.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem +prepares for deployment + +**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Returns**: TYPE.MetadataTypeItem - Promise + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single item | + ## Automation ⇐ [MetadataType](#MetadataType) diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index 77b5e008b..395d388af 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -1,7 +1,9 @@ 'use strict'; -const MetadataType = require('./MetadataType'); const TYPE = require('../../types/mcdev.d'); +const MetadataType = require('./MetadataType'); +const Util = require('../util/util'); +const cache = require('../util/cache'); /** * AttributeGroup MetadataType @@ -18,7 +20,7 @@ class AttributeGroup extends MetadataType { * @param {string} [key] customer key of single item to retrieve * @returns {Promise.} Promise of metadata */ - static retrieve(retrieveDir, _, __, key) { + static async retrieve(retrieveDir, _, __, key) { return super.retrieveREST( retrieveDir, '/hub/v1/contacts/schema/attributeGroups', @@ -35,6 +37,71 @@ class AttributeGroup extends MetadataType { static retrieveForCache() { return super.retrieveREST(null, '/hub/v1/contacts/schema/attributeGroups'); } + /** + * manages post retrieve steps + * + * @param {TYPE.MetadataTypeItem} metadata a single metadata + * @returns {TYPE.MetadataTypeItem} metadata + */ + static postRetrieveTasks(metadata) { + // attributeSetDefinition + for (const attributeSet of metadata.attributeSetIdentifiers) { + try { + const key = cache.searchForField( + 'attributeSetDefinition', + attributeSet.definitionID, + 'definitionID', + 'definitionKey' + ); + if (key !== attributeSet.definitionKey) { + throw new Error( + `AttributeSetDefinition key mismatch. Found ${key} instead of ${attributeSet.definitionKey}` + ); + } + delete attributeSet.definitionID; + delete attributeSet.definitionName; + delete attributeSet.connectingID; + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]} (for ${ + attributeSet.definitionKey + }): ${ex.message}` + ); + } + } + // Member ID + delete metadata.mID; + + return metadata; + } + /** + * prepares for deployment + * + * @param {TYPE.MetadataTypeItem} metadata a single item + * @returns {TYPE.MetadataTypeItem} Promise + */ + static async preDeployTasks(metadata) { + // attributeSetDefinition + for (const attributeSet of metadata.attributeSetIdentifiers) { + try { + const as = cache.getByKey('attributeSetDefinition', attributeSet.definitionKey); + attributeSet.definitionID = as.definitionID; + attributeSet.definitionName = as.definitionName?.value; + attributeSet.connectingID = as.connectingID; + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ + ex.message + }` + ); + } + } + + // Member ID - set to ID of deployment target automatically + metadata.mID = this.buObject.mid; + + return metadata; + } } // Assign definition to static attributes diff --git a/lib/metadataTypes/AttributeSetDefinition.js b/lib/metadataTypes/AttributeSetDefinition.js index 625920be0..a0fd63c59 100644 --- a/lib/metadataTypes/AttributeSetDefinition.js +++ b/lib/metadataTypes/AttributeSetDefinition.js @@ -2,6 +2,9 @@ const TYPE = require('../../types/mcdev.d'); const MetadataType = require('./MetadataType'); +const AttributeGroup = require('./AttributeGroup'); +const Util = require('../util/util'); +const cache = require('../util/cache'); /** * AttributeSetDefinition MetadataType @@ -18,7 +21,16 @@ class AttributeSetDefinition extends MetadataType { * @param {string} [key] customer key of single item to retrieve * @returns {Promise.} Promise */ - static retrieve(retrieveDir, _, __, key) { + static async retrieve(retrieveDir, _, __, key) { + if (retrieveDir && !cache.getCache()?.attributeGroup) { + // ! attributeGroup and attributeSetDefinition both link to each other. caching attributeGroup here "manually", assuming that it's quicker than the other way round + Util.logger.info(' - Caching dependent Metadata: attributeGroup'); + AttributeGroup.buObject = this.buObject; + AttributeGroup.client = this.client; + AttributeGroup.properties = this.properties; + const result = await AttributeGroup.retrieveForCache(); + cache.setMetadata('attributeGroup', result.metadata); + } return super.retrieveREST( retrieveDir, '/hub/v1/contacts/schema/setDefinitions', @@ -35,6 +47,267 @@ class AttributeSetDefinition extends MetadataType { static retrieveForCache() { return super.retrieveREST(null, '/hub/v1/contacts/schema/setDefinitions'); } + + /** + * Builds map of metadata entries mapped to their keyfields + * + * @param {object} body json of response body + * @param {string|number} [singleRetrieve] key of single item to filter by + * @returns {TYPE.MetadataTypeMap} keyField => metadata map + */ + static parseResponseBody(body, singleRetrieve) { + const metadataStructure = super.parseResponseBody(body, singleRetrieve); + + // make sure we add the entire list to cache before running postRetrieveTasks because of the self-references this type is using + // usually, the cache is only written into after all postRetrieveTasks have been run + cache.setMetadata(this.definition.type, metadataStructure); + + return metadataStructure; + } + + /** + * manages post retrieve steps + * + * @param {TYPE.MetadataTypeItem} metadata a single metadata + * @returns {TYPE.MetadataTypeItem} metadata + */ + static postRetrieveTasks(metadata) { + // folder + if (metadata.storageLogicalType === 'DataExtension') { + // attributeSetDefinition created for Group Connect do not have a folder + super.setFolderPath(metadata); + } + + // source + switch (metadata.storageLogicalType) { + case 'ExactTargetSchema': // synced / shared DEs + case 'DataExtension': { + // local DEs + try { + metadata.r__dataExtension_CustomerKey = cache.searchForField( + 'dataExtension', + metadata.storageReferenceID.value, + 'ObjectID', + 'CustomerKey' + ); + // TODO: check if fields in metadata.sendAttributeStorageName exist in data extension --> error + // TODO: check if fields in data extension exist in metadata.sendAttributeStorageName --> warn + + delete metadata.storageReferenceID; + delete metadata.storageName; + delete metadata.storageObjectInformation; // type ExactTargetSchema only + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ + ex.message + }` + ); + } + break; + } + case 'MobileAttributes': { + // TODO: implement + // "storageName": "_MobileAddress", + + break; + } + case 'EnterpriseAttributes': { + // TODO: implement + // "storageName": "_EnterpriseAttribute", + + break; + } + case 'PushAttributes': { + // TODO: implement + // "storageName": "_PushAddress", + + break; + } + } + + // relationships to attributeGroups & AttributeSet + if (Array.isArray(metadata.relationships)) { + for (const relationship of metadata.relationships) { + for (const type of ['left', 'right']) { + switch (relationship[type + 'Item'].relationshipType) { + case 'AttributeGroup': { + try { + relationship[type + 'Item'].r__attributeGroup_definitionKey = + cache.searchForField( + 'attributeGroup', + relationship[type + 'Item']?.identifier, + 'definitionID', + 'definitionKey' + ); + delete relationship[type + 'Item']?.identifier; + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${ + metadata[this.definition.keyField] + }: ${ex.message}` + ); + } + break; + } + case 'AttributeSet': { + try { + relationship[ + type + 'Item' + ].r__attributeSetDefinition_definitionKey = cache.searchForField( + 'attributeSetDefinition', + relationship[type + 'Item']?.identifier, + 'definitionID', + 'definitionKey' + ); + delete relationship[type + 'Item']?.identifier; + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${ + metadata[this.definition.keyField] + }: ${ex.message}` + ); + } + break; + } + } + } + } + } + + // Member ID + delete metadata.customObjectOwnerMID; + + return metadata; + } + /** + * prepares for deployment + * + * @param {TYPE.MetadataTypeItem} metadata a single item + * @returns {TYPE.MetadataTypeItem} Promise + */ + static async preDeployTasks(metadata) { + // folder + if (metadata.storageLogicalType) { + // attributeSetDefinition created for Group Connect do not have a folder + super.setFolderId(metadata); + } + + // source + switch (metadata.storageLogicalType) { + case 'ExactTargetSchema': // synced / shared DEs + case 'DataExtension': { + // local DEs + try { + const de = cache.getByKey( + 'dataExtension', + metadata.r__dataExtension_CustomerKey + ); + + metadata.storageReferenceID = { + value: de.ObjectID, + }; + metadata.storageName = de.Name; + if (metadata.storageLogicalType === 'ExactTargetSchema') { + metadata.storageObjectInformation = { + externalObjectAPIName: de.Name.split('_Salesforce')[0], + }; + } + + // TODO: check if fields in metadata.sendAttributeStorageName exist in data extension --> error + // TODO: check if fields in data extension exist in metadata.sendAttributeStorageName --> warn + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ + ex.message + }` + ); + } + break; + } + case 'MobileAttributes': { + // TODO: implement + // "storageName": "_MobileAddress", + + break; + } + case 'EnterpriseAttributes': { + // TODO: implement + // "storageName": "_EnterpriseAttribute", + + break; + } + case 'PushAttributes': { + // TODO: implement + // "storageName": "_PushAddress", + + break; + } + } + + // attributeGroups + // relationships to attributeGroups & AttributeSet + if (Array.isArray(metadata.relationships)) { + for (const relationship of metadata.relationships) { + try { + relationship.leftItem.identifier = cache.searchForField( + 'attributeGroup', + relationship.leftItem.r__attributeGroup_definitionKey, + 'definitionKey', + 'definitionID' + ); + delete relationship.leftItem.r__attributeGroup_definitionKey; + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ + ex.message + }` + ); + } + } + for (const relationship of metadata.relationships) { + for (const type of ['left', 'right']) { + switch (relationship[type + 'Item'].relationshipType) { + case 'AttributeGroup': { + relationship[type + 'Item'].identifier = cache.searchForField( + 'attributeGroup', + relationship[type + 'Item']?.r__attributeGroup_definitionKey, + 'definitionKey', + 'definitionID' + ); + break; + } + case 'AttributeSet': { + try { + relationship[type + 'Item'].identifier = cache.searchForField( + 'attributeSetDefinition', + relationship[type + 'Item'] + ?.r__attributeSetDefinition_definitionKey, + 'definitionID', + 'definitionKey' + ); + + // get relationship fieldnames + // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSetDefinition + // TODO: implement + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${ + metadata[this.definition.keyField] + }: ${ex.message}` + ); + } + break; + } + } + } + } + } + + // Member ID - set to ID of deployment target automatically + metadata.customObjectOwnerMID = this.buObject.mid; + + return metadata; + } } // Assign definition to static attributes diff --git a/lib/metadataTypes/definitions/AttributeGroup.definition.js b/lib/metadataTypes/definitions/AttributeGroup.definition.js index cc6048fd8..a585f64ae 100644 --- a/lib/metadataTypes/definitions/AttributeGroup.definition.js +++ b/lib/metadataTypes/definitions/AttributeGroup.definition.js @@ -1,6 +1,6 @@ module.exports = { bodyIteratorField: 'attributeGroupDefinitions', - dependencies: [], // future may have dependency on Data Extensions + dependencies: ['attributeSetDefinition'], // future may have dependency on Data Extensions hasExtended: false, idField: 'definitionID', keyField: 'definitionKey', @@ -15,223 +15,223 @@ module.exports = { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, applicationKey: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, attributeCount: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, attributeGroupIconKey: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, attributeGroupType: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, attributeSetIdentifiers: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, 'attributeSetIdentifiers[].connectingID.identifierType': { isCreateable: null, isUpdateable: null, - retrieving: false, - template: null, + retrieving: true, + template: false, }, 'attributeSetIdentifiers[].definitionID': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: false, }, 'attributeSetIdentifiers[].definitionKey': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, - 'attributeSetIdentifiers[].definitionName.Contact': { + 'attributeSetIdentifiers[].definitionName.value': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: false, }, 'attributeSetIdentifiers[].namespace': { isCreateable: null, isUpdateable: null, retrieving: false, - template: null, + template: false, }, canAddProperties: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, canAddRelationships: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, canChangeProperties: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, canModify: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, canRemove: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, connectingID: { isCreateable: null, isUpdateable: null, retrieving: false, - template: null, + template: false, }, 'connectingID.identifierType': { isCreateable: null, isUpdateable: null, retrieving: false, - template: null, + template: false, }, containsSchemaAttributes: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, definitionID: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, definitionKey: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, 'definitionName.value': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, description: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, displayOrder: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, fullyQualifiedName: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, isHidden: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, isOwner: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, isPrimary: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, isSystemDefined: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, localizedDescription: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, 'localizedDescription.resourceSetKey': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, 'localizedDescription.resourceValueKey': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, 'localizedDescription.value': { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, mID: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, namespace: { isCreateable: null, isUpdateable: null, retrieving: false, - template: null, + template: false, }, objectState: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, requiredRelationships: { isCreateable: null, isUpdateable: null, retrieving: true, - template: null, + template: true, }, }, }; diff --git a/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js b/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js index b30ea4a2b..f650caf70 100644 --- a/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js +++ b/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js @@ -1,16 +1,17 @@ module.exports = { bodyIteratorField: 'setDefinition', - dependencies: [], // future may have dependency on Data Extensions + dependencies: ['folder-hidden', 'folder-dataextension', 'dataExtension'], // future may have dependency on Data Extensions hasExtended: false, idField: 'definitionID', keyField: 'definitionKey', nameField: 'name', + folderIdField: 'categoryID', createdDateField: 'createDate', createdNameField: 'createdBy', lastmodDateField: null, lastmodNameField: null, restPagination: false, - type: 'AttributeSetDefinition', + type: 'attributeSetDefinition', typeDescription: 'BETA: Data Extensions linked to Attribute Groups in Data Designer.', typeRetrieveByDefault: false, typeName: 'Data Designer Set Definitions', From c5c90f9012d79bf717cf425c3df2978f32be3636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 1 Mar 2023 16:29:32 +0100 Subject: [PATCH 03/16] #711: rename AttributeSetDefinition to AttributeSet --- docs/dist/documentation.md | 52 +++++++++--------- lib/MetadataTypeDefinitions.js | 2 +- lib/MetadataTypeInfo.js | 2 +- lib/metadataTypes/AttributeGroup.js | 10 ++-- ...ributeSetDefinition.js => AttributeSet.js} | 55 ++++++++++++------- .../definitions/AttributeGroup.definition.js | 2 +- ...finition.js => AttributeSet.definition.js} | 3 +- 7 files changed, 72 insertions(+), 54 deletions(-) rename lib/metadataTypes/{AttributeSetDefinition.js => AttributeSet.js} (83%) rename lib/metadataTypes/definitions/{AttributeSetDefinition.definition.js => AttributeSet.definition.js} (99%) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index f7b4c17b3..d88ed78e2 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -20,8 +20,8 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

-
AttributeSetDefinitionMetadataType
-

AttributeSetDefinition MetadataType

+
AttributeSetMetadataType
+

AttributeSet MetadataType

AutomationMetadataType

Automation MetadataType

@@ -1256,27 +1256,27 @@ prepares for deployment | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single item | - + -## AttributeSetDefinition ⇐ [MetadataType](#MetadataType) -AttributeSetDefinition MetadataType +## AttributeSet ⇐ [MetadataType](#MetadataType) +AttributeSet MetadataType **Kind**: global class **Extends**: [MetadataType](#MetadataType) -* [AttributeSetDefinition](#AttributeSetDefinition) ⇐ [MetadataType](#MetadataType) - * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeSetDefinition.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.retrieveForCache()](#AttributeSetDefinition.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.parseResponseBody(body, [singleRetrieve])](#AttributeSetDefinition.parseResponseBody) ⇒ TYPE.MetadataTypeMap - * [.postRetrieveTasks(metadata)](#AttributeSetDefinition.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem - * [.preDeployTasks(metadata)](#AttributeSetDefinition.preDeployTasks) ⇒ TYPE.MetadataTypeItem +* [AttributeSet](#AttributeSet) ⇐ [MetadataType](#MetadataType) + * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeSet.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.retrieveForCache()](#AttributeSet.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.parseResponseBody(body, [singleRetrieve])](#AttributeSet.parseResponseBody) ⇒ TYPE.MetadataTypeMap + * [.postRetrieveTasks(metadata)](#AttributeSet.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + * [.preDeployTasks(metadata)](#AttributeSet.preDeployTasks) ⇒ TYPE.MetadataTypeItem - + -### AttributeSetDefinition.retrieve(retrieveDir, [_], [__], [key]) ⇒ Promise.<TYPE.MetadataTypeMapObj> +### AttributeSet.retrieve(retrieveDir, [_], [__], [key]) ⇒ Promise.<TYPE.MetadataTypeMapObj> Retrieves Metadata of schema set Definitions. -**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise | Param | Type | Description | @@ -1286,19 +1286,19 @@ Retrieves Metadata of schema set Definitions. | [__] | void | unused parameter | | [key] | string | customer key of single item to retrieve | - + -### AttributeSetDefinition.retrieveForCache() ⇒ Promise.<TYPE.MetadataTypeMapObj> +### AttributeSet.retrieveForCache() ⇒ Promise.<TYPE.MetadataTypeMapObj> Retrieves Metadata of schema set definitions for caching. -**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise - + -### AttributeSetDefinition.parseResponseBody(body, [singleRetrieve]) ⇒ TYPE.MetadataTypeMap +### AttributeSet.parseResponseBody(body, [singleRetrieve]) ⇒ TYPE.MetadataTypeMap Builds map of metadata entries mapped to their keyfields -**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: TYPE.MetadataTypeMap - keyField => metadata map | Param | Type | Description | @@ -1306,24 +1306,24 @@ Builds map of metadata entries mapped to their keyfields | body | object | json of response body | | [singleRetrieve] | string \| number | key of single item to filter by | - + -### AttributeSetDefinition.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem +### AttributeSet.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem manages post retrieve steps -**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: TYPE.MetadataTypeItem - metadata | Param | Type | Description | | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single metadata | - + -### AttributeSetDefinition.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem +### AttributeSet.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem prepares for deployment -**Kind**: static method of [AttributeSetDefinition](#AttributeSetDefinition) +**Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: TYPE.MetadataTypeItem - Promise | Param | Type | Description | diff --git a/lib/MetadataTypeDefinitions.js b/lib/MetadataTypeDefinitions.js index a4d6c1fed..e49da6535 100644 --- a/lib/MetadataTypeDefinitions.js +++ b/lib/MetadataTypeDefinitions.js @@ -7,7 +7,7 @@ const MetadataTypeDefinitions = { accountUser: require('./metadataTypes/definitions/AccountUser.definition'), asset: require('./metadataTypes/definitions/Asset.definition'), attributeGroup: require('./metadataTypes/definitions/AttributeGroup.definition'), - attributeSetDefinition: require('./metadataTypes/definitions/AttributeSetDefinition.definition'), + attributeSet: require('./metadataTypes/definitions/AttributeSet.definition'), automation: require('./metadataTypes/definitions/Automation.definition'), campaign: require('./metadataTypes/definitions/Campaign.definition'), contentArea: require('./metadataTypes/definitions/ContentArea.definition'), diff --git a/lib/MetadataTypeInfo.js b/lib/MetadataTypeInfo.js index dbc6e1722..cdca5770e 100644 --- a/lib/MetadataTypeInfo.js +++ b/lib/MetadataTypeInfo.js @@ -7,7 +7,7 @@ const MetadataTypeInfo = { accountUser: require('./metadataTypes/AccountUser'), asset: require('./metadataTypes/Asset'), attributeGroup: require('./metadataTypes/AttributeGroup'), - attributeSetDefinition: require('./metadataTypes/AttributeSetDefinition'), + attributeSet: require('./metadataTypes/AttributeSet'), automation: require('./metadataTypes/Automation'), campaign: require('./metadataTypes/Campaign'), contentArea: require('./metadataTypes/ContentArea'), diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index 395d388af..fea0b50d6 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -44,18 +44,18 @@ class AttributeGroup extends MetadataType { * @returns {TYPE.MetadataTypeItem} metadata */ static postRetrieveTasks(metadata) { - // attributeSetDefinition + // attributeSet for (const attributeSet of metadata.attributeSetIdentifiers) { try { const key = cache.searchForField( - 'attributeSetDefinition', + 'attributeSet', attributeSet.definitionID, 'definitionID', 'definitionKey' ); if (key !== attributeSet.definitionKey) { throw new Error( - `AttributeSetDefinition key mismatch. Found ${key} instead of ${attributeSet.definitionKey}` + `AttributeSet key mismatch. Found ${key} instead of ${attributeSet.definitionKey}` ); } delete attributeSet.definitionID; @@ -81,10 +81,10 @@ class AttributeGroup extends MetadataType { * @returns {TYPE.MetadataTypeItem} Promise */ static async preDeployTasks(metadata) { - // attributeSetDefinition + // attributeSet for (const attributeSet of metadata.attributeSetIdentifiers) { try { - const as = cache.getByKey('attributeSetDefinition', attributeSet.definitionKey); + const as = cache.getByKey('attributeSet', attributeSet.definitionKey); attributeSet.definitionID = as.definitionID; attributeSet.definitionName = as.definitionName?.value; attributeSet.connectingID = as.connectingID; diff --git a/lib/metadataTypes/AttributeSetDefinition.js b/lib/metadataTypes/AttributeSet.js similarity index 83% rename from lib/metadataTypes/AttributeSetDefinition.js rename to lib/metadataTypes/AttributeSet.js index a0fd63c59..ddac7ca92 100644 --- a/lib/metadataTypes/AttributeSetDefinition.js +++ b/lib/metadataTypes/AttributeSet.js @@ -7,11 +7,11 @@ const Util = require('../util/util'); const cache = require('../util/cache'); /** - * AttributeSetDefinition MetadataType + * AttributeSet MetadataType * * @augments MetadataType */ -class AttributeSetDefinition extends MetadataType { +class AttributeSet extends MetadataType { /** * Retrieves Metadata of schema set Definitions. * @@ -23,7 +23,7 @@ class AttributeSetDefinition extends MetadataType { */ static async retrieve(retrieveDir, _, __, key) { if (retrieveDir && !cache.getCache()?.attributeGroup) { - // ! attributeGroup and attributeSetDefinition both link to each other. caching attributeGroup here "manually", assuming that it's quicker than the other way round + // ! attributeGroup and attributeSet both link to each other. caching attributeGroup here "manually", assuming that it's quicker than the other way round Util.logger.info(' - Caching dependent Metadata: attributeGroup'); AttributeGroup.buObject = this.buObject; AttributeGroup.client = this.client; @@ -74,7 +74,7 @@ class AttributeSetDefinition extends MetadataType { static postRetrieveTasks(metadata) { // folder if (metadata.storageLogicalType === 'DataExtension') { - // attributeSetDefinition created for Group Connect do not have a folder + // attributeSet created for Group Connect do not have a folder super.setFolderPath(metadata); } @@ -151,15 +151,33 @@ class AttributeSetDefinition extends MetadataType { } case 'AttributeSet': { try { - relationship[ - type + 'Item' - ].r__attributeSetDefinition_definitionKey = cache.searchForField( - 'attributeSetDefinition', - relationship[type + 'Item']?.identifier, - 'definitionID', - 'definitionKey' - ); + relationship[type + 'Item'].r__attributeSet_definitionKey = + cache.searchForField( + 'attributeSet', + relationship[type + 'Item']?.identifier, + 'definitionID', + 'definitionKey' + ); delete relationship[type + 'Item']?.identifier; + + // get relationship fieldnames + // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet + const relationshipObj = + relationship[type + 'Item'].r__attributeSet_definitionKey === + metadata.definitionKey + ? metadata + : cache.getByKey( + relationship[type + 'Item'] + .r__attributeSet_definitionKey + ); + // resolve field values + for (const attr of relationship.relationshipAttributes) { + const id = attr[type + 'AttributeID']; + attr['c__' + type + 'FullyQualifiedName'] = + relationshipObj.valueDefinitions.find( + (item) => item.valueDefinitionID === id + ).fullyQualifiedName; + } } catch (ex) { Util.logger.warn( ` - ${this.definition.type} ${ @@ -188,7 +206,7 @@ class AttributeSetDefinition extends MetadataType { static async preDeployTasks(metadata) { // folder if (metadata.storageLogicalType) { - // attributeSetDefinition created for Group Connect do not have a folder + // attributeSet created for Group Connect do not have a folder super.setFolderId(metadata); } @@ -279,15 +297,14 @@ class AttributeSetDefinition extends MetadataType { case 'AttributeSet': { try { relationship[type + 'Item'].identifier = cache.searchForField( - 'attributeSetDefinition', - relationship[type + 'Item'] - ?.r__attributeSetDefinition_definitionKey, + 'attributeSet', + relationship[type + 'Item']?.r__attributeSet_definitionKey, 'definitionID', 'definitionKey' ); // get relationship fieldnames - // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSetDefinition + // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet // TODO: implement } catch (ex) { Util.logger.warn( @@ -311,6 +328,6 @@ class AttributeSetDefinition extends MetadataType { } // Assign definition to static attributes -AttributeSetDefinition.definition = require('../MetadataTypeDefinitions').attributeSetDefinition; +AttributeSet.definition = require('../MetadataTypeDefinitions').attributeSet; -module.exports = AttributeSetDefinition; +module.exports = AttributeSet; diff --git a/lib/metadataTypes/definitions/AttributeGroup.definition.js b/lib/metadataTypes/definitions/AttributeGroup.definition.js index a585f64ae..9382df3a4 100644 --- a/lib/metadataTypes/definitions/AttributeGroup.definition.js +++ b/lib/metadataTypes/definitions/AttributeGroup.definition.js @@ -1,6 +1,6 @@ module.exports = { bodyIteratorField: 'attributeGroupDefinitions', - dependencies: ['attributeSetDefinition'], // future may have dependency on Data Extensions + dependencies: ['attributeSet'], // future may have dependency on Data Extensions hasExtended: false, idField: 'definitionID', keyField: 'definitionKey', diff --git a/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js b/lib/metadataTypes/definitions/AttributeSet.definition.js similarity index 99% rename from lib/metadataTypes/definitions/AttributeSetDefinition.definition.js rename to lib/metadataTypes/definitions/AttributeSet.definition.js index f650caf70..bea93f2b9 100644 --- a/lib/metadataTypes/definitions/AttributeSetDefinition.definition.js +++ b/lib/metadataTypes/definitions/AttributeSet.definition.js @@ -3,6 +3,7 @@ module.exports = { dependencies: ['folder-hidden', 'folder-dataextension', 'dataExtension'], // future may have dependency on Data Extensions hasExtended: false, idField: 'definitionID', + keepId: true, keyField: 'definitionKey', nameField: 'name', folderIdField: 'categoryID', @@ -11,7 +12,7 @@ module.exports = { lastmodDateField: null, lastmodNameField: null, restPagination: false, - type: 'attributeSetDefinition', + type: 'attributeSet', typeDescription: 'BETA: Data Extensions linked to Attribute Groups in Data Designer.', typeRetrieveByDefault: false, typeName: 'Data Designer Set Definitions', From e2e887c59c1e4f7ad5c7ca7b7d9225f7b41d066d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 2 Mar 2023 00:10:26 +0100 Subject: [PATCH 04/16] #711: resolve relationshipAttributes for sets --- lib/metadataTypes/AttributeSet.js | 45 +++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/lib/metadataTypes/AttributeSet.js b/lib/metadataTypes/AttributeSet.js index ddac7ca92..c4e76d468 100644 --- a/lib/metadataTypes/AttributeSet.js +++ b/lib/metadataTypes/AttributeSet.js @@ -129,6 +129,12 @@ class AttributeSet extends MetadataType { if (Array.isArray(metadata.relationships)) { for (const relationship of metadata.relationships) { for (const type of ['left', 'right']) { + if ( + relationship[type + 'Item']?.connectingID?.identifierType === + 'FullyQualifiedName' + ) { + delete relationship[type + 'Item'].connectingID; + } switch (relationship[type + 'Item'].relationshipType) { case 'AttributeGroup': { try { @@ -147,6 +153,8 @@ class AttributeSet extends MetadataType { }: ${ex.message}` ); } + // get relationship fieldnames + // TODO: implement break; } case 'AttributeSet': { @@ -167,6 +175,7 @@ class AttributeSet extends MetadataType { metadata.definitionKey ? metadata : cache.getByKey( + 'attributeSet', relationship[type + 'Item'] .r__attributeSet_definitionKey ); @@ -177,6 +186,8 @@ class AttributeSet extends MetadataType { relationshipObj.valueDefinitions.find( (item) => item.valueDefinitionID === id ).fullyQualifiedName; + delete attr[type + 'AttributeID']; + delete attr[type + 'ConnectingID']; } } catch (ex) { Util.logger.warn( @@ -284,6 +295,10 @@ class AttributeSet extends MetadataType { } for (const relationship of metadata.relationships) { for (const type of ['left', 'right']) { + relationship[type + 'Item'].connectingID = relationship[type + 'Item'] + .connectingID || { + identifierType: 'FullyQualifiedName', + }; switch (relationship[type + 'Item'].relationshipType) { case 'AttributeGroup': { relationship[type + 'Item'].identifier = cache.searchForField( @@ -292,6 +307,8 @@ class AttributeSet extends MetadataType { 'definitionKey', 'definitionID' ); + // get relationship fieldnames + // TODO: implement break; } case 'AttributeSet': { @@ -302,10 +319,34 @@ class AttributeSet extends MetadataType { 'definitionID', 'definitionKey' ); - // get relationship fieldnames // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet - // TODO: implement + const relationshipObj = + relationship[type + 'Item'].r__attributeSet_definitionKey === + metadata.definitionKey + ? metadata + : cache.getByKey( + 'attributeSet', + relationship[type + 'Item'] + .r__attributeSet_definitionKey + ); + // resolve field values + for (const attr of relationship.relationshipAttributes) { + attr[type + 'AttributeID'] = + relationshipObj.valueDefinitions.find( + (item) => + item.fullyQualifiedName === + attr['c__' + type + 'FullyQualifiedName'] + ).valueDefinitionID; + attr[type + 'ConnectingID'] = attr[type + 'ConnectingID'] || { + identifierType: 'FullyQualifiedName', + }; + + delete attr['c__' + type + 'FullyQualifiedName']; + } + + // cleanup + delete relationship[type + 'Item']?.r__attributeSet_definitionKey; } catch (ex) { Util.logger.warn( ` - ${this.definition.type} ${ From aa3b710ac2cc64c7476e5e9513e8def4d966f55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 2 Mar 2023 00:16:07 +0100 Subject: [PATCH 05/16] #711: simplify attributeSetIdentifiers --- lib/metadataTypes/AttributeGroup.js | 47 +++++++++++++++-------------- 1 file changed, 24 insertions(+), 23 deletions(-) diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index fea0b50d6..1e19e78e5 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -44,8 +44,11 @@ class AttributeGroup extends MetadataType { * @returns {TYPE.MetadataTypeItem} metadata */ static postRetrieveTasks(metadata) { + // Member ID + delete metadata.mID; + // attributeSet - for (const attributeSet of metadata.attributeSetIdentifiers) { + metadata.attributeSetIdentifiers = metadata.attributeSetIdentifiers.map((attributeSet) => { try { const key = cache.searchForField( 'attributeSet', @@ -58,19 +61,19 @@ class AttributeGroup extends MetadataType { `AttributeSet key mismatch. Found ${key} instead of ${attributeSet.definitionKey}` ); } - delete attributeSet.definitionID; - delete attributeSet.definitionName; - delete attributeSet.connectingID; + return key; } catch (ex) { Util.logger.warn( ` - ${this.definition.type} ${metadata[this.definition.keyField]} (for ${ attributeSet.definitionKey }): ${ex.message}` ); + return attributeSet; } - } - // Member ID - delete metadata.mID; + }); + + // requiredRelationships + // TODO: implement return metadata; } @@ -81,25 +84,23 @@ class AttributeGroup extends MetadataType { * @returns {TYPE.MetadataTypeItem} Promise */ static async preDeployTasks(metadata) { - // attributeSet - for (const attributeSet of metadata.attributeSetIdentifiers) { - try { - const as = cache.getByKey('attributeSet', attributeSet.definitionKey); - attributeSet.definitionID = as.definitionID; - attributeSet.definitionName = as.definitionName?.value; - attributeSet.connectingID = as.connectingID; - } catch (ex) { - Util.logger.warn( - ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ - ex.message - }` - ); - } - } - // Member ID - set to ID of deployment target automatically metadata.mID = this.buObject.mid; + // attributeSet + metadata.attributeSetIdentifiers = metadata.attributeSetIdentifiers.map((key) => { + const as = cache.getByKey('attributeSet', key); + return { + definitionKey: key, + definitionID: as.definitionID, + definitionName: as.definitionName, + connectingID: as.connectingID, + }; + }); + + // requiredRelationships + // TODO: implement + return metadata; } } From 45fd2942c0416769e7aa94cda6f0daa276549ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 2 Mar 2023 00:17:43 +0100 Subject: [PATCH 06/16] #711: disable keepId --- lib/metadataTypes/definitions/AttributeSet.definition.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/metadataTypes/definitions/AttributeSet.definition.js b/lib/metadataTypes/definitions/AttributeSet.definition.js index bea93f2b9..cea97cd10 100644 --- a/lib/metadataTypes/definitions/AttributeSet.definition.js +++ b/lib/metadataTypes/definitions/AttributeSet.definition.js @@ -3,7 +3,6 @@ module.exports = { dependencies: ['folder-hidden', 'folder-dataextension', 'dataExtension'], // future may have dependency on Data Extensions hasExtended: false, idField: 'definitionID', - keepId: true, keyField: 'definitionKey', nameField: 'name', folderIdField: 'categoryID', From 156b2e1852738b05097b11753c5874e4d77e75b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Mon, 6 Mar 2023 23:21:00 +0100 Subject: [PATCH 07/16] #711: enable attributeGroup.create and resolve details for groups and sets --- docs/dist/documentation.md | 92 ++++++++++ lib/metadataTypes/AttributeGroup.js | 64 +++++++ lib/metadataTypes/AttributeSet.js | 108 +++++++++-- .../definitions/AttributeGroup.definition.js | 167 ++++++++++-------- .../definitions/AttributeSet.definition.js | 58 +++--- 5 files changed, 371 insertions(+), 118 deletions(-) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index d88ed78e2..6a4e25eaa 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -20,6 +20,9 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

+
AttributeRelationshipMetadataType
+

AttributeRelationship MetadataType

+
AttributeSetMetadataType

AttributeSet MetadataType

@@ -1207,6 +1210,7 @@ AttributeGroup MetadataType * [AttributeGroup](#AttributeGroup) ⇐ [MetadataType](#MetadataType) * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.create(metadata)](#AttributeGroup.create) ⇒ Promise * [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem * [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1232,6 +1236,18 @@ Retrieves Metadata of schema attribute groups for caching. **Kind**: static method of [AttributeGroup](#AttributeGroup) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + + +### AttributeGroup.create(metadata) ⇒ Promise +Creates a single item + +**Kind**: static method of [AttributeGroup](#AttributeGroup) +**Returns**: Promise - Promise + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single item | + ### AttributeGroup.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem @@ -1256,6 +1272,74 @@ prepares for deployment | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single item | + + +## AttributeRelationship ⇐ [MetadataType](#MetadataType) +AttributeRelationship MetadataType + +**Kind**: global class +**Extends**: [MetadataType](#MetadataType) + +* [AttributeRelationship](#AttributeRelationship) ⇐ [MetadataType](#MetadataType) + * [.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId)](#AttributeRelationship.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.retrieveForCache(_, __, attributeSetId)](#AttributeRelationship.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.postRetrieveTasks(metadata)](#AttributeRelationship.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + * [.preDeployTasks(metadata)](#AttributeRelationship.preDeployTasks) ⇒ TYPE.MetadataTypeItem + + + +### AttributeRelationship.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId) ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema attribute groups. + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + +| Param | Type | Description | +| --- | --- | --- | +| retrieveDir | string | Directory where retrieved metadata directory will be saved | +| [_] | void | unused parameter | +| [__] | void | unused parameter | +| [relationshipID] | string | customer key of single item to retrieve | +| attributeSetId | string | Id of the attribute set for which these relationships are defined | + + + +### AttributeRelationship.retrieveForCache(_, __, attributeSetId) ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema attribute groups for caching. + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + +| Param | Type | Description | +| --- | --- | --- | +| _ | void | unused parameter | +| __ | void | unused parameter | +| attributeSetId | string | Id of the attribute set for which these relationships are defined | + + + +### AttributeRelationship.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem +manages post retrieve steps + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: TYPE.MetadataTypeItem - metadata + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single metadata | + + + +### AttributeRelationship.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem +prepares for deployment + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: TYPE.MetadataTypeItem - Promise + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single item | + ## AttributeSet ⇐ [MetadataType](#MetadataType) @@ -1269,6 +1353,7 @@ AttributeSet MetadataType * [.retrieveForCache()](#AttributeSet.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.parseResponseBody(body, [singleRetrieve])](#AttributeSet.parseResponseBody) ⇒ TYPE.MetadataTypeMap * [.postRetrieveTasks(metadata)](#AttributeSet.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + * [._getSystemValueDefinitions()](#AttributeSet._getSystemValueDefinitions) ⇒ Array.<object> * [.preDeployTasks(metadata)](#AttributeSet.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1318,6 +1403,13 @@ manages post retrieve steps | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single metadata | + + +### AttributeSet.\_getSystemValueDefinitions() ⇒ Array.<object> +helper for [postRetrieveTasks](postRetrieveTasks) + +**Kind**: static method of [AttributeSet](#AttributeSet) +**Returns**: Array.<object> - all system value definitions ### AttributeSet.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index 1e19e78e5..37abaf8b8 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -37,6 +37,16 @@ class AttributeGroup extends MetadataType { static retrieveForCache() { return super.retrieveREST(null, '/hub/v1/contacts/schema/attributeGroups'); } + /** + * Creates a single item + * + * @param {TYPE.MetadataTypeItem} metadata a single item + * @returns {Promise} Promise + */ + static create(metadata) { + return super.createREST(metadata, '/hub/v1/contacts/schema/attributeGroups'); + } + /** * manages post retrieve steps * @@ -75,6 +85,31 @@ class AttributeGroup extends MetadataType { // requiredRelationships // TODO: implement + // description is not returned by API when empty. Set to empty string to propose the field as an option to users + metadata.description = metadata.description || ''; + + // applicationKey is only used by system generated attribute groups and otherwise it's empty. + if (metadata.applicationKey === '') { + // remove useless field + delete metadata.applicationKey; + } + + // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - to be sure we check it here and remove it if it's the case + if (metadata.connectingID?.identifierType === 'FullyQualifiedName') { + // remove useless field + delete metadata.connectingID; + } + + // containsSchemaAttributes is only true for system generated attribute groups and otherwise it's false. + if (!metadata.containsSchemaAttributes) { + delete metadata.containsSchemaAttributes; + } + + // isSystemDefined is only true for system generated attribute groups and cannot be deployed + if (!metadata.isSystemDefined) { + delete metadata.isSystemDefined; + } + return metadata; } /** @@ -101,6 +136,35 @@ class AttributeGroup extends MetadataType { // requiredRelationships // TODO: implement + // description is not returned by API when empty. Remove it before deployment if empty + if (metadata.description === '') { + delete metadata.description; + } + + // filter system defined attribute groups + if (metadata.isSystemDefined) { + throw new Error( + ` ☇ skipping ${this.definition.type} ${metadata[this.definition.keyField]} / ${ + metadata[this.definition.nameField] + }: Cannot deploy system defined attribute groups (isSystemDefined: true)` + ); + } + + // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - we remove it during retrieve and auto-set it here again + if (!metadata.connectingID?.identifierType) { + metadata.connectingID = { + identifierType: 'FullyQualifiedName', + }; + } + + // fullyQualifiedName is equal to definitionName.value and needs to be auto-populated for deploy + metadata.fullyQualifiedName = metadata.definitionName?.value; + + // containsSchemaAttributes is only true for system generated attribute groups and otherwise it's false which is why we remove it during retrieve and auto-set it here again + if (!metadata.containsSchemaAttributes) { + metadata.containsSchemaAttributes = false; + } + return metadata; } } diff --git a/lib/metadataTypes/AttributeSet.js b/lib/metadataTypes/AttributeSet.js index c4e76d468..7b855eb32 100644 --- a/lib/metadataTypes/AttributeSet.js +++ b/lib/metadataTypes/AttributeSet.js @@ -56,12 +56,13 @@ class AttributeSet extends MetadataType { * @returns {TYPE.MetadataTypeMap} keyField => metadata map */ static parseResponseBody(body, singleRetrieve) { - const metadataStructure = super.parseResponseBody(body, singleRetrieve); + const metadataCache = super.parseResponseBody(body); // make sure we add the entire list to cache before running postRetrieveTasks because of the self-references this type is using // usually, the cache is only written into after all postRetrieveTasks have been run - cache.setMetadata(this.definition.type, metadataStructure); + cache.setMetadata(this.definition.type, metadataCache); + const metadataStructure = super.parseResponseBody(body, singleRetrieve); return metadataStructure; } @@ -135,6 +136,7 @@ class AttributeSet extends MetadataType { ) { delete relationship[type + 'Item'].connectingID; } + let relationshipObj = null; switch (relationship[type + 'Item'].relationshipType) { case 'AttributeGroup': { try { @@ -154,7 +156,9 @@ class AttributeSet extends MetadataType { ); } // get relationship fieldnames - // TODO: implement + relationshipObj = { + valueDefinitions: this._getSystemValueDefinitions(), + }; break; } case 'AttributeSet': { @@ -170,7 +174,7 @@ class AttributeSet extends MetadataType { // get relationship fieldnames // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet - const relationshipObj = + relationshipObj = relationship[type + 'Item'].r__attributeSet_definitionKey === metadata.definitionKey ? metadata @@ -179,16 +183,6 @@ class AttributeSet extends MetadataType { relationship[type + 'Item'] .r__attributeSet_definitionKey ); - // resolve field values - for (const attr of relationship.relationshipAttributes) { - const id = attr[type + 'AttributeID']; - attr['c__' + type + 'FullyQualifiedName'] = - relationshipObj.valueDefinitions.find( - (item) => item.valueDefinitionID === id - ).fullyQualifiedName; - delete attr[type + 'AttributeID']; - delete attr[type + 'ConnectingID']; - } } catch (ex) { Util.logger.warn( ` - ${this.definition.type} ${ @@ -199,6 +193,32 @@ class AttributeSet extends MetadataType { break; } } + try { + // get relationship fieldnames + // resolve field values + for (const attr of relationship.relationshipAttributes) { + const id = attr[type + 'AttributeID']; + const valueDefinition = relationshipObj.valueDefinitions.find( + (item) => item.valueDefinitionID === id + ); + if (valueDefinition) { + attr['c__' + type + 'FullyQualifiedName'] = + valueDefinition.fullyQualifiedName; + delete attr[type + 'AttributeID']; + delete attr[type + 'ConnectingID']; + } else { + throw new Error( + `Could not find ${type}AttributeID ${id} of relationship ${relationship.relationshipID}` + ); + } + } + } catch (ex) { + Util.logger.warn( + ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ + ex.message + }` + ); + } } } } @@ -206,8 +226,32 @@ class AttributeSet extends MetadataType { // Member ID delete metadata.customObjectOwnerMID; + // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - to be sure we check it here and remove it if it's the case + if (metadata.connectingID?.identifierType === 'FullyQualifiedName') { + // remove useless field + delete metadata.connectingID; + } + return metadata; } + + /** + * helper for {@link postRetrieveTasks} + * + * @returns {object[]} all system value definitions + */ + static _getSystemValueDefinitions() { + if (!this.systemValueDefinitions) { + this.systemValueDefinitions = Object.values(cache.getCache()['attributeSet']) + .flatMap((item) => { + if (item.isSystemDefined) { + return item.valueDefinitions; + } + }) + .filter(Boolean); + } + return this.systemValueDefinitions; + } /** * prepares for deployment * @@ -307,8 +351,28 @@ class AttributeSet extends MetadataType { 'definitionKey', 'definitionID' ); + // get relationship fieldnames - // TODO: implement + // resolve field values + for (const attr of relationship.relationshipAttributes) { + const relationshipObj = cache.getByKey( + 'attributeSet', + attr['c__' + type + 'FullyQualifiedName'].split('.')[0] + ); + attr[type + 'AttributeID'] = relationshipObj.valueDefinitions.find( + (item) => + item.fullyQualifiedName === + attr['c__' + type + 'FullyQualifiedName'] + ).valueDefinitionID; + attr[type + 'ConnectingID'] = attr[type + 'ConnectingID'] || { + identifierType: 'FullyQualifiedName', + }; + + delete attr['c__' + type + 'FullyQualifiedName']; + } + + // cleanup + delete relationship[type + 'Item']?.r__attributeGroup_definitionKey; break; } case 'AttributeSet': { @@ -319,6 +383,7 @@ class AttributeSet extends MetadataType { 'definitionID', 'definitionKey' ); + // get relationship fieldnames // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet const relationshipObj = @@ -364,6 +429,19 @@ class AttributeSet extends MetadataType { // Member ID - set to ID of deployment target automatically metadata.customObjectOwnerMID = this.buObject.mid; + // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - we remove it during retrieve and auto-set it here again + if (!metadata.connectingID?.identifierType) { + metadata.connectingID = { + identifierType: 'FullyQualifiedName', + }; + } + + // fullyQualifiedName and definitionName.value are equal to 'name' and need to be auto-populated for deploy + metadata.fullyQualifiedName = metadata.name; + metadata.definitionName = { + value: metadata.name, + }; + return metadata; } } diff --git a/lib/metadataTypes/definitions/AttributeGroup.definition.js b/lib/metadataTypes/definitions/AttributeGroup.definition.js index 9382df3a4..ff3e5a049 100644 --- a/lib/metadataTypes/definitions/AttributeGroup.definition.js +++ b/lib/metadataTypes/definitions/AttributeGroup.definition.js @@ -5,45 +5,48 @@ module.exports = { idField: 'definitionID', keyField: 'definitionKey', nameField: 'definitionName.value', - restPagination: false, + restPagination: false, // Hub API does not support pagination and returns everything instead type: 'attributeGroup', typeDescription: 'BETA: Groupings of Set Definitions (Data Extensions) in Data Designer.', typeRetrieveByDefault: false, typeName: 'Data Designer Attribute Groups', fields: { applicationID: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: true, + // used by system generated attribute groups only; contains UUID + isCreateable: false, + isUpdateable: false, + retrieving: false, + template: false, }, applicationKey: { - isCreateable: null, - isUpdateable: null, + // used by system generated attribute groups only + isCreateable: false, + isUpdateable: false, retrieving: true, - template: true, + template: false, }, attributeCount: { - isCreateable: null, - isUpdateable: null, + // auto-populated + isCreateable: false, + isUpdateable: false, retrieving: true, - template: true, + template: false, }, attributeGroupIconKey: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, attributeGroupType: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, attributeSetIdentifiers: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, @@ -78,118 +81,123 @@ module.exports = { template: false, }, canAddProperties: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, canAddRelationships: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, canChangeProperties: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, canModify: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, canRemove: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, connectingID: { - isCreateable: null, - isUpdateable: null, - retrieving: false, - template: false, + isCreateable: true, + isUpdateable: true, + retrieving: true, + template: true, }, 'connectingID.identifierType': { - isCreateable: null, - isUpdateable: null, - retrieving: false, - template: false, + isCreateable: true, + isUpdateable: true, + retrieving: true, + template: true, }, containsSchemaAttributes: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, definitionID: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, - template: true, + template: false, }, definitionKey: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, 'definitionName.value': { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, description: { - isCreateable: null, - isUpdateable: null, + // optional field. not returned by API if empty + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, displayOrder: { - isCreateable: null, - isUpdateable: null, + // auto-set to i+1 + isCreateable: false, + isUpdateable: false, retrieving: true, - template: true, + template: false, }, fullyQualifiedName: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: true, + // equal to defitionName.value; auto-populated by preDeployTasks + isCreateable: true, + isUpdateable: true, + retrieving: false, + template: false, }, isHidden: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, isOwner: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, isPrimary: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: true, + // always false, purpose unknown + isCreateable: false, + isUpdateable: false, + retrieving: false, + template: false, }, isSystemDefined: { - isCreateable: null, - isUpdateable: null, + isCreateable: false, + isUpdateable: false, retrieving: true, - template: true, + template: false, }, localizedDescription: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: true, + // always an empty object + isCreateable: false, + isUpdateable: false, + retrieving: false, + template: false, }, 'localizedDescription.resourceSetKey': { isCreateable: null, @@ -210,26 +218,29 @@ module.exports = { template: true, }, mID: { - isCreateable: null, - isUpdateable: null, + // auto-populated in preDeployTask + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, namespace: { - isCreateable: null, - isUpdateable: null, + // always an empty string + isCreateable: false, + isUpdateable: false, retrieving: false, template: false, }, objectState: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: true, + // seems to always contain "Created" + isCreateable: false, + isUpdateable: false, + retrieving: false, + template: false, }, requiredRelationships: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, template: true, }, diff --git a/lib/metadataTypes/definitions/AttributeSet.definition.js b/lib/metadataTypes/definitions/AttributeSet.definition.js index cea97cd10..11bc72bd2 100644 --- a/lib/metadataTypes/definitions/AttributeSet.definition.js +++ b/lib/metadataTypes/definitions/AttributeSet.definition.js @@ -10,7 +10,7 @@ module.exports = { createdNameField: 'createdBy', lastmodDateField: null, lastmodNameField: null, - restPagination: false, + restPagination: false, // Hub API does not support pagination and returns everything instead type: 'attributeSet', typeDescription: 'BETA: Data Extensions linked to Attribute Groups in Data Designer.', typeRetrieveByDefault: false, @@ -65,10 +65,10 @@ module.exports = { template: null, }, 'connectingID.identifierType': { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: null, + isCreateable: true, + isUpdateable: true, + retrieving: false, + template: false, }, createDate: { isCreateable: null, @@ -130,17 +130,25 @@ module.exports = { retrieving: true, template: null, }, + definitionName: { + isCreateable: true, + isUpdateable: true, + retrieving: false, + template: false, + }, 'definitionName.value': { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: null, + // equal to 'name'; auto-populated by preDeployTasks + isCreateable: true, + isUpdateable: true, + retrieving: false, + template: false, }, fullyQualifiedName: { - isCreateable: null, - isUpdateable: null, - retrieving: true, - template: null, + // equal to 'name'; auto-populated by preDeployTasks + isCreateable: true, + isUpdateable: true, + retrieving: false, + template: false, }, isCustomObjectBacked: { isCreateable: null, @@ -233,28 +241,28 @@ module.exports = { template: null, }, localizedDescription: { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, - template: null, + template: true, }, 'localizedDescription.resourceSetKey': { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, - template: null, + template: true, }, 'localizedDescription.resourceValueKey': { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, - template: null, + template: true, }, 'localizedDescription.value': { - isCreateable: null, - isUpdateable: null, + isCreateable: true, + isUpdateable: true, retrieving: true, - template: null, + template: true, }, name: { isCreateable: null, From 2c1881fd6c63a5b4c748543f508a4185c08e358a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Tue, 11 Jul 2023 17:27:22 +0200 Subject: [PATCH 08/16] #711: improve log --- docs/dist/documentation.md | 59 +++++++++++++++++++++++++++++++ lib/metadataTypes/AttributeSet.js | 6 ++-- 2 files changed, 62 insertions(+), 3 deletions(-) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index 0eca226f5..f3fdcfac8 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -17,6 +17,9 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

+
AttributeRelationshipMetadataType
+

AttributeRelationship MetadataType

+
AttributeSetMetadataType

AttributeSet MetadataType

@@ -1281,6 +1284,62 @@ prepares for deployment | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single item | + + +## AttributeRelationship ⇐ [MetadataType](#MetadataType) +AttributeRelationship MetadataType + +**Kind**: global class +**Extends**: [MetadataType](#MetadataType) + +* [AttributeRelationship](#AttributeRelationship) ⇐ [MetadataType](#MetadataType) + * [.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId)](#AttributeRelationship.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.retrieveForCache(_, __, attributeSetId, relationshipID)](#AttributeRelationship.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> + * [.postRetrieveTasks(metadata)](#AttributeRelationship.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem + + + +### AttributeRelationship.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId) ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema attribute groups. + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + +| Param | Type | Description | +| --- | --- | --- | +| retrieveDir | string | Directory where retrieved metadata directory will be saved | +| [_] | void | unused parameter | +| [__] | void | unused parameter | +| [relationshipID] | string | customer key of single item to retrieve | +| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | + + + +### AttributeRelationship.retrieveForCache(_, __, attributeSetId, relationshipID) ⇒ Promise.<TYPE.MetadataTypeMapObj> +Retrieves Metadata of schema attribute groups for caching. + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata + +| Param | Type | Description | +| --- | --- | --- | +| _ | void | unused parameter | +| __ | void | unused parameter | +| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | +| relationshipID | string | CUSTOM: customer key of single item to retrieve | + + + +### AttributeRelationship.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem +manages post retrieve steps + +**Kind**: static method of [AttributeRelationship](#AttributeRelationship) +**Returns**: TYPE.MetadataTypeItem - metadata + +| Param | Type | Description | +| --- | --- | --- | +| metadata | TYPE.MetadataTypeItem | a single metadata | + ## AttributeSet ⇐ [MetadataType](#MetadataType) diff --git a/lib/metadataTypes/AttributeSet.js b/lib/metadataTypes/AttributeSet.js index 25aeb2a9b..a0f22faa3 100644 --- a/lib/metadataTypes/AttributeSet.js +++ b/lib/metadataTypes/AttributeSet.js @@ -214,9 +214,9 @@ class AttributeSet extends MetadataType { } } catch (ex) { Util.logger.warn( - ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ - ex.message - }` + ` - ${this.definition.type} ${metadata[this.definition.nameField]} / ${ + metadata[this.definition.keyField] + }: ${ex.message}` ); } } From aa09038c81953e8d18fae980cd7c1752ff322846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 12 Jul 2023 14:04:03 +0200 Subject: [PATCH 09/16] #711: remove not supported create method --- docs/dist/documentation.md | 72 ----------------------------- lib/metadataTypes/AttributeGroup.js | 9 ---- 2 files changed, 81 deletions(-) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index f3fdcfac8..bb35e5913 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -17,9 +17,6 @@ Source and target business units are also compared before the deployment to appl
AttributeGroupMetadataType

AttributeGroup MetadataType

-
AttributeRelationshipMetadataType
-

AttributeRelationship MetadataType

-
AttributeSetMetadataType

AttributeSet MetadataType

@@ -1222,7 +1219,6 @@ AttributeGroup MetadataType * [AttributeGroup](#AttributeGroup) ⇐ [MetadataType](#MetadataType) * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.create(metadata)](#AttributeGroup.create) ⇒ Promise * [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem * [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1248,18 +1244,6 @@ Retrieves Metadata of schema attribute groups for caching. **Kind**: static method of [AttributeGroup](#AttributeGroup) **Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - - -### AttributeGroup.create(metadata) ⇒ Promise -Creates a single item - -**Kind**: static method of [AttributeGroup](#AttributeGroup) -**Returns**: Promise - Promise - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single item | - ### AttributeGroup.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem @@ -1284,62 +1268,6 @@ prepares for deployment | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single item | - - -## AttributeRelationship ⇐ [MetadataType](#MetadataType) -AttributeRelationship MetadataType - -**Kind**: global class -**Extends**: [MetadataType](#MetadataType) - -* [AttributeRelationship](#AttributeRelationship) ⇐ [MetadataType](#MetadataType) - * [.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId)](#AttributeRelationship.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.retrieveForCache(_, __, attributeSetId, relationshipID)](#AttributeRelationship.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> - * [.postRetrieveTasks(metadata)](#AttributeRelationship.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem - - - -### AttributeRelationship.retrieve(retrieveDir, [_], [__], [relationshipID], attributeSetId) ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema attribute groups. - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - -| Param | Type | Description | -| --- | --- | --- | -| retrieveDir | string | Directory where retrieved metadata directory will be saved | -| [_] | void | unused parameter | -| [__] | void | unused parameter | -| [relationshipID] | string | customer key of single item to retrieve | -| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | - - - -### AttributeRelationship.retrieveForCache(_, __, attributeSetId, relationshipID) ⇒ Promise.<TYPE.MetadataTypeMapObj> -Retrieves Metadata of schema attribute groups for caching. - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: Promise.<TYPE.MetadataTypeMapObj> - Promise of metadata - -| Param | Type | Description | -| --- | --- | --- | -| _ | void | unused parameter | -| __ | void | unused parameter | -| attributeSetId | string | CUSTOM: Id of the attribute set for which these relationships are defined | -| relationshipID | string | CUSTOM: customer key of single item to retrieve | - - - -### AttributeRelationship.postRetrieveTasks(metadata) ⇒ TYPE.MetadataTypeItem -manages post retrieve steps - -**Kind**: static method of [AttributeRelationship](#AttributeRelationship) -**Returns**: TYPE.MetadataTypeItem - metadata - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single metadata | - ## AttributeSet ⇐ [MetadataType](#MetadataType) diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index 97ddd595f..cf4804bcd 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -36,15 +36,6 @@ class AttributeGroup extends MetadataType { static retrieveForCache() { return super.retrieveREST(null, '/hub/v1/contacts/schema/attributeGroups'); } - /** - * Creates a single item - * - * @param {TYPE.MetadataTypeItem} metadata a single item - * @returns {Promise} Promise - */ - static create(metadata) { - return super.createREST(metadata, '/hub/v1/contacts/schema/attributeGroups'); - } /** * manages post retrieve steps From 4bc60d58d91bd4643d6b19b769c6c7cbd308d295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Wed, 12 Jul 2023 14:33:06 +0200 Subject: [PATCH 10/16] #711: add setDefinition to list of renamed types --- lib/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/index.js b/lib/index.js index 775364b0a..323f087f4 100644 --- a/lib/index.js +++ b/lib/index.js @@ -265,6 +265,7 @@ class Mcdev { // clean up old folders after types were renamed // TODO: Remove renamedTypes-logic 6 months after version 5 release const renamedTypes = { + attributeSet: 'setDefinition', emailSend: 'emailSendDefinition', event: 'eventDefinition', fileLocation: 'ftpLocation', From 8de76eaee615f7487c769b8d68ff5342896fb5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:16:19 +0200 Subject: [PATCH 11/16] #711: ensure retrieve() always returns proper values --- docs/dist/documentation.md | 26 -------------------------- lib/index.js | 37 +++++++++++++++++++++++++++++++------ 2 files changed, 31 insertions(+), 32 deletions(-) diff --git a/docs/dist/documentation.md b/docs/dist/documentation.md index bb35e5913..c8cc127b9 100644 --- a/docs/dist/documentation.md +++ b/docs/dist/documentation.md @@ -1220,7 +1220,6 @@ AttributeGroup MetadataType * [.retrieve(retrieveDir, [_], [__], [key])](#AttributeGroup.retrieve) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.retrieveForCache()](#AttributeGroup.retrieveForCache) ⇒ Promise.<TYPE.MetadataTypeMapObj> * [.postRetrieveTasks(metadata)](#AttributeGroup.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem - * [.preDeployTasks(metadata)](#AttributeGroup.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1256,18 +1255,6 @@ manages post retrieve steps | --- | --- | --- | | metadata | TYPE.MetadataTypeItem | a single metadata | - - -### AttributeGroup.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem -prepares for deployment - -**Kind**: static method of [AttributeGroup](#AttributeGroup) -**Returns**: TYPE.MetadataTypeItem - Promise - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single item | - ## AttributeSet ⇐ [MetadataType](#MetadataType) @@ -1282,7 +1269,6 @@ AttributeSet MetadataType * [.parseResponseBody(body, [singleRetrieve])](#AttributeSet.parseResponseBody) ⇒ TYPE.MetadataTypeMap * [.postRetrieveTasks(metadata)](#AttributeSet.postRetrieveTasks) ⇒ TYPE.MetadataTypeItem * [._getSystemValueDefinitions()](#AttributeSet._getSystemValueDefinitions) ⇒ Array.<object> - * [.preDeployTasks(metadata)](#AttributeSet.preDeployTasks) ⇒ TYPE.MetadataTypeItem @@ -1338,18 +1324,6 @@ helper for [postRetrieveTasks](#AttributeSet.postRetrieveTasks) **Kind**: static method of [AttributeSet](#AttributeSet) **Returns**: Array.<object> - all system value definitions - - -### AttributeSet.preDeployTasks(metadata) ⇒ TYPE.MetadataTypeItem -prepares for deployment - -**Kind**: static method of [AttributeSet](#AttributeSet) -**Returns**: TYPE.MetadataTypeItem - Promise - -| Param | Type | Description | -| --- | --- | --- | -| metadata | TYPE.MetadataTypeItem | a single item | - ## Automation ⇐ [MetadataType](#MetadataType) diff --git a/lib/index.js b/lib/index.js index 323f087f4..4c836dafc 100644 --- a/lib/index.js +++ b/lib/index.js @@ -173,7 +173,7 @@ class Mcdev { } } } - + const resultsObj = {}; if (businessUnit === '*') { Util.logger.info(':: Retrieving all BUs for all credentials'); let counter_credTotal = 0; @@ -181,7 +181,12 @@ class Mcdev { Util.logger.info(`:: Retrieving all BUs for ${cred}`); let counter_credBu = 0; for (const bu in properties.credentials[cred].businessUnits) { - await this.#retrieveBU(cred, bu, selectedTypesArr, keys); + resultsObj[`${cred}/${bu}`] = await this.#retrieveBU( + cred, + bu, + selectedTypesArr, + keys + ); counter_credBu++; Util.startLogger(true); } @@ -215,7 +220,12 @@ class Mcdev { Util.logger.info(`:: Retrieving all BUs for ${cred}`); let counter_credBu = 0; for (const bu in properties.credentials[cred].businessUnits) { - await this.#retrieveBU(cred, bu, selectedTypesArr, keys); + resultsObj[`${cred}/${bu}`] = await this.#retrieveBU( + cred, + bu, + selectedTypesArr, + keys + ); counter_credBu++; Util.startLogger(true); } @@ -231,10 +241,27 @@ class Mcdev { ); if (changelogOnly) { return retrieveChangelog; + } else { + resultsObj[`${cred}/${bu}`] = retrieveChangelog; } Util.logger.info(`:: Done\n`); } } + + // merge all results into one object + for (const credBu in resultsObj) { + for (const type in resultsObj[credBu]) { + const base = resultsObj[credBu][type][0]; + + for (let i = 1; i < resultsObj[credBu][type].length; i++) { + // merge all items into the first array + Object.assign(base, resultsObj[credBu][type][i]); + } + resultsObj[credBu][type] = resultsObj[credBu][type][0]; + } + } + + return resultsObj; } /** * helper for {@link Mcdev.retrieve} @@ -340,9 +367,7 @@ class Mcdev { null, changelogOnly ); - if (changelogOnly) { - return retrieveChangelog; - } + return retrieveChangelog; } catch (ex) { Util.logger.errorStack(ex, 'mcdev.retrieve failed'); } From 650731a2dbe4ef02691201cfe663dd7fecbd55f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:18:59 +0200 Subject: [PATCH 12/16] #711: remove preDeployTasks as upsert is not supported by API --- lib/metadataTypes/AttributeGroup.js | 49 ------- lib/metadataTypes/AttributeSet.js | 192 ---------------------------- 2 files changed, 241 deletions(-) diff --git a/lib/metadataTypes/AttributeGroup.js b/lib/metadataTypes/AttributeGroup.js index cf4804bcd..086ffd845 100644 --- a/lib/metadataTypes/AttributeGroup.js +++ b/lib/metadataTypes/AttributeGroup.js @@ -108,55 +108,6 @@ class AttributeGroup extends MetadataType { * @param {TYPE.MetadataTypeItem} metadata a single item * @returns {TYPE.MetadataTypeItem} Promise */ - static async preDeployTasks(metadata) { - // Member ID - set to ID of deployment target automatically - metadata.mID = this.buObject.mid; - - // attributeSet - metadata.attributeSetIdentifiers = metadata.attributeSetIdentifiers.map((key) => { - const as = cache.getByKey('attributeSet', key); - return { - definitionKey: key, - definitionID: as.definitionID, - definitionName: as.definitionName, - connectingID: as.connectingID, - }; - }); - - // requiredRelationships - // TODO: implement - - // description is not returned by API when empty. Remove it before deployment if empty - if (metadata.description === '') { - delete metadata.description; - } - - // filter system defined attribute groups - if (metadata.isSystemDefined) { - throw new Error( - ` ☇ skipping ${this.definition.type} ${metadata[this.definition.keyField]} / ${ - metadata[this.definition.nameField] - }: Cannot deploy system defined attribute groups (isSystemDefined: true)` - ); - } - - // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - we remove it during retrieve and auto-set it here again - if (!metadata.connectingID?.identifierType) { - metadata.connectingID = { - identifierType: 'FullyQualifiedName', - }; - } - - // fullyQualifiedName is equal to definitionName.value and needs to be auto-populated for deploy - metadata.fullyQualifiedName = metadata.definitionName?.value; - - // containsSchemaAttributes is only true for system generated attribute groups and otherwise it's false which is why we remove it during retrieve and auto-set it here again - if (!metadata.containsSchemaAttributes) { - metadata.containsSchemaAttributes = false; - } - - return metadata; - } } // Assign definition to static attributes diff --git a/lib/metadataTypes/AttributeSet.js b/lib/metadataTypes/AttributeSet.js index a0f22faa3..1f9d82984 100644 --- a/lib/metadataTypes/AttributeSet.js +++ b/lib/metadataTypes/AttributeSet.js @@ -252,198 +252,6 @@ class AttributeSet extends MetadataType { } return this.systemValueDefinitions; } - /** - * prepares for deployment - * - * @param {TYPE.MetadataTypeItem} metadata a single item - * @returns {TYPE.MetadataTypeItem} Promise - */ - static async preDeployTasks(metadata) { - // folder - if (metadata.storageLogicalType) { - // attributeSet created for Group Connect do not have a folder - super.setFolderId(metadata); - } - - // source - switch (metadata.storageLogicalType) { - case 'ExactTargetSchema': // synced / shared DEs - case 'DataExtension': { - // local DEs - try { - const de = cache.getByKey( - 'dataExtension', - metadata.r__dataExtension_CustomerKey - ); - - metadata.storageReferenceID = { - value: de.ObjectID, - }; - metadata.storageName = de.Name; - if (metadata.storageLogicalType === 'ExactTargetSchema') { - metadata.storageObjectInformation = { - externalObjectAPIName: de.Name.split('_Salesforce')[0], - }; - } - - // TODO: check if fields in metadata.sendAttributeStorageName exist in data extension --> error - // TODO: check if fields in data extension exist in metadata.sendAttributeStorageName --> warn - } catch (ex) { - Util.logger.warn( - ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ - ex.message - }` - ); - } - break; - } - case 'MobileAttributes': { - // TODO: implement - // "storageName": "_MobileAddress", - - break; - } - case 'EnterpriseAttributes': { - // TODO: implement - // "storageName": "_EnterpriseAttribute", - - break; - } - case 'PushAttributes': { - // TODO: implement - // "storageName": "_PushAddress", - - break; - } - } - - // attributeGroups - // relationships to attributeGroups & AttributeSet - if (Array.isArray(metadata.relationships)) { - for (const relationship of metadata.relationships) { - try { - relationship.leftItem.identifier = cache.searchForField( - 'attributeGroup', - relationship.leftItem.r__attributeGroup_definitionKey, - 'definitionKey', - 'definitionID' - ); - delete relationship.leftItem.r__attributeGroup_definitionKey; - } catch (ex) { - Util.logger.warn( - ` - ${this.definition.type} ${metadata[this.definition.keyField]}: ${ - ex.message - }` - ); - } - } - for (const relationship of metadata.relationships) { - for (const type of ['left', 'right']) { - relationship[type + 'Item'].connectingID = relationship[type + 'Item'] - .connectingID || { - identifierType: 'FullyQualifiedName', - }; - switch (relationship[type + 'Item'].relationshipType) { - case 'AttributeGroup': { - relationship[type + 'Item'].identifier = cache.searchForField( - 'attributeGroup', - relationship[type + 'Item']?.r__attributeGroup_definitionKey, - 'definitionKey', - 'definitionID' - ); - - // get relationship fieldnames - // resolve field values - for (const attr of relationship.relationshipAttributes) { - const relationshipObj = cache.getByKey( - 'attributeSet', - attr['c__' + type + 'FullyQualifiedName'].split('.')[0] - ); - attr[type + 'AttributeID'] = relationshipObj.valueDefinitions.find( - (item) => - item.fullyQualifiedName === - attr['c__' + type + 'FullyQualifiedName'] - ).valueDefinitionID; - attr[type + 'ConnectingID'] = attr[type + 'ConnectingID'] || { - identifierType: 'FullyQualifiedName', - }; - - delete attr['c__' + type + 'FullyQualifiedName']; - } - - // cleanup - delete relationship[type + 'Item']?.r__attributeGroup_definitionKey; - break; - } - case 'AttributeSet': { - try { - relationship[type + 'Item'].identifier = cache.searchForField( - 'attributeSet', - relationship[type + 'Item']?.r__attributeSet_definitionKey, - 'definitionID', - 'definitionKey' - ); - - // get relationship fieldnames - // check if its a self-reference to metadata.valueDefinitions or if it's a reference to another attributeSet - const relationshipObj = - relationship[type + 'Item'].r__attributeSet_definitionKey === - metadata.definitionKey - ? metadata - : cache.getByKey( - 'attributeSet', - relationship[type + 'Item'] - .r__attributeSet_definitionKey - ); - // resolve field values - for (const attr of relationship.relationshipAttributes) { - attr[type + 'AttributeID'] = - relationshipObj.valueDefinitions.find( - (item) => - item.fullyQualifiedName === - attr['c__' + type + 'FullyQualifiedName'] - ).valueDefinitionID; - attr[type + 'ConnectingID'] = attr[type + 'ConnectingID'] || { - identifierType: 'FullyQualifiedName', - }; - - delete attr['c__' + type + 'FullyQualifiedName']; - } - - // cleanup - delete relationship[type + 'Item']?.r__attributeSet_definitionKey; - } catch (ex) { - Util.logger.warn( - ` - ${this.definition.type} ${ - metadata[this.definition.keyField] - }: ${ex.message}` - ); - } - break; - } - } - } - } - } - - // Member ID - set to ID of deployment target automatically - metadata.customObjectOwnerMID = this.buObject.mid; - - // connectingID.identifierType seems to be always set to 'FullyQualifiedName' - we remove it during retrieve and auto-set it here again - if (!metadata.connectingID?.identifierType) { - metadata.connectingID = { - identifierType: 'FullyQualifiedName', - }; - } - - // fullyQualifiedName and definitionName.value are equal to 'name' and need to be auto-populated for deploy - metadata.fullyQualifiedName = metadata.name; - metadata.definitionName = { - value: metadata.name, - }; - - return metadata; - } } // Assign definition to static attributes From dffb5f348a6985603df8dfd752a365f0ffaa9821 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:20:32 +0200 Subject: [PATCH 13/16] #711: update field definitions --- .../definitions/AttributeSet.definition.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/lib/metadataTypes/definitions/AttributeSet.definition.js b/lib/metadataTypes/definitions/AttributeSet.definition.js index 63a2b8e22..47e77cde4 100644 --- a/lib/metadataTypes/definitions/AttributeSet.definition.js +++ b/lib/metadataTypes/definitions/AttributeSet.definition.js @@ -445,6 +445,18 @@ module.exports = { retrieving: true, template: null, }, + 'relationships[].relationshipAttributes[].c__leftFullyQualifiedName': { + isCreateable: null, + isUpdateable: null, + retrieving: true, + template: null, + }, + 'relationships[].relationshipAttributes[].c__rightFullyQualifiedName': { + isCreateable: null, + isUpdateable: null, + retrieving: true, + template: null, + }, 'relationships[].relationshipID': { isCreateable: null, isUpdateable: null, @@ -841,5 +853,11 @@ module.exports = { retrieving: true, template: null, }, + r__folder_Path: { + isCreateable: null, + isUpdateable: null, + retrieving: true, + template: null, + }, }, }; From 51dfbd0def27765b22139777e7dc717300f3756c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:24:08 +0200 Subject: [PATCH 14/16] #711: test for type attributeSet --- .../attributeSet/retrieve-expected.json | 167 + .../9999999/dataFolder/retrieve-response.xml | 23 + .../schema/attributeGroups/get-response.json | 585 + .../schema/setDefinitions/get-response.json | 19807 ++++++++++++++++ test/type.attributeSet.test.js | 54 + 5 files changed, 20636 insertions(+) create mode 100644 test/resources/9999999/attributeSet/retrieve-expected.json create mode 100644 test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json create mode 100644 test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json create mode 100644 test/type.attributeSet.test.js diff --git a/test/resources/9999999/attributeSet/retrieve-expected.json b/test/resources/9999999/attributeSet/retrieve-expected.json new file mode 100644 index 000000000..fd1214b50 --- /dev/null +++ b/test/resources/9999999/attributeSet/retrieve-expected.json @@ -0,0 +1,167 @@ +{ + "applicationID": "ce703ed3-e01f-4f5f-900d-76a95b363e29", + "applicationKey": "com.exacttarget.contacts", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createDate": "2017-01-24T06:33:00", + "createdBy": -1000, + "definitionKey": "Contact", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "localizedDescription": {}, + "name": "Contact", + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isGroupToSetRelationship": true, + "isHidden": false, + "isSystemDefined": false, + "leftItem": { + "cardinality": "One", + "r__attributeGroup_definitionKey": "ETSystem", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "c__leftFullyQualifiedName": "Contact.Contact ID", + "c__rightFullyQualifiedName": "Contact.Contact ID" + } + ], + "relationshipID": "9893dc39-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "r__attributeSet_definitionKey": "Contact", + "relationshipType": "AttributeSet" + } + } + ], + "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "Contact", + "storageObjectIDs": ["2ba72136-9f31-4a79-ab62-4ba5d19cd759"], + "valueDefinitions": [ + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "customerDataID": 2, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "definitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "description": "", + "fullyQualifiedName": "Contact.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Contact ID", + "parentType": "Set", + "setDefinitionName": { + "value": "Contact" + }, + "storageName": "SubscriberID", + "valueDefinitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactID" + }, + { + "baseType": "Text", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "customerDataID": 3, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "definitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactKey", + "definitionName": { + "value": "Contact Key" + }, + "description": "", + "fullyQualifiedName": "Contact.Contact Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "localizedDescription": { + "value": "" + }, + "name": "Contact Key", + "parentType": "Set", + "setDefinitionName": { + "value": "Contact" + }, + "storageName": "SubscriberKey", + "valueDefinitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactKey" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "customerDataID": 1, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "definitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "BusinessUnitID", + "definitionName": { + "value": "Business Unit ID" + }, + "description": "", + "fullyQualifiedName": "Contact.Business Unit ID", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Business Unit ID", + "parentType": "Set", + "setDefinitionName": { + "value": "Contact" + }, + "storageName": "ClientID", + "valueDefinitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "BusinessUnitID" + } + ] +} diff --git a/test/resources/9999999/dataFolder/retrieve-response.xml b/test/resources/9999999/dataFolder/retrieve-response.xml index 29b1d38a8..f203f327c 100644 --- a/test/resources/9999999/dataFolder/retrieve-response.xml +++ b/test/resources/9999999/dataFolder/retrieve-response.xml @@ -197,6 +197,29 @@ true true + + + 9999999 + + + 2017-02-08T10:19:37.123 + 2017-02-08T10:19:37.123 + 386 + + + + + 2 + + dataextension_default + + Einstein + + dataextension + true + true + true + diff --git a/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json b/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json new file mode 100644 index 000000000..078668f80 --- /dev/null +++ b/test/resources/9999999/hub/v1/contacts/schema/attributeGroups/get-response.json @@ -0,0 +1,585 @@ +{ + "attributeGroupDefinitions": [ + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Email Addresses" + }, + "definitionKey": "EmailAddresses", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Contact" + }, + "definitionKey": "Contact", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": false, + "canAddRelationships": false, + "containsSchemaAttributes": true, + "canRemove": false, + "canChangeProperties": false, + "displayOrder": 0, + "requiredRelationships": [ + "0e51de3f-31e2-e611-80cc-1402ec7222b4", + "1451de3f-31e2-e611-80cc-1402ec7222b4", + "9893dc39-31e2-e611-80cc-1402ec7222b4" + ], + "applicationID": "ce703ed3-e01f-4f5f-900d-76a95b363e29", + "canModify": false, + "applicationKey": "com.exacttarget.contacts", + "attributeGroupIconKey": "People", + "fullyQualifiedName": "System Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 7, + "definitionID": "8f93dc39-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "System Data" + }, + "definitionKey": "ETSystem", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionName": { + "value": "Chat Message Demographics" + }, + "definitionKey": "ChatMessageDemographics", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "definitionKey": "ChatMessageSubscriptions", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": true, + "canAddRelationships": true, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": true, + "displayOrder": 1, + "requiredRelationships": [ + "9a42dcad-ae72-4cde-9937-193e17485ad6", + "04ea847d-696d-eb11-b81e-48df37d1df5a" + ], + "canModify": true, + "fullyQualifiedName": "Chat Message Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 37, + "definitionID": "cae9847d-696d-eb11-b81e-48df37d1df5a", + "definitionName": { + "value": "Chat Message Data" + }, + "definitionKey": "ETChatMessage", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Email Demographics" + }, + "definitionKey": "EmailDemographics", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": false, + "canAddRelationships": true, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": false, + "displayOrder": 2, + "requiredRelationships": ["b751de3f-31e2-e611-80cc-1402ec7222b4"], + "applicationID": "b2ca1f50-3cc4-4fd7-a3a3-88bf09fb59fa", + "canModify": false, + "applicationKey": "com.exacttarget.email", + "attributeGroupIconKey": "Email", + "fullyQualifiedName": "Email Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 16, + "definitionID": "b451de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Email Data" + }, + "definitionKey": "ETEmail", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "definitionKey": "GroupConnectLineAddress", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "definitionKey": "GroupConnectLineDemographics", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "definitionKey": "GroupConnectLineSubscriptions", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": false, + "canAddRelationships": true, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": false, + "displayOrder": 3, + "requiredRelationships": [ + "8686d247-3045-ea11-a2e0-1402ec94ec41", + "a686d247-3045-ea11-a2e0-1402ec94ec41", + "9386d247-3045-ea11-a2e0-1402ec94ec41" + ], + "applicationID": "4e9519db-ad21-483a-a3fc-8ab4557eded1", + "canModify": false, + "applicationKey": "com.exacttarget.GroupConnect", + "attributeGroupIconKey": "Mobile", + "fullyQualifiedName": "GroupConnect LINE Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 23, + "definitionID": "ab51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "GroupConnect LINE Data" + }, + "definitionKey": "ETGroupConnectLine", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "definitionKey": "MobileDemographics", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "definitionKey": "MobileSubscriptions", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": false, + "canAddRelationships": true, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": false, + "displayOrder": 4, + "requiredRelationships": [ + "4651de3f-31e2-e611-80cc-1402ec7222b4", + "4352de3f-31e2-e611-80cc-1402ec7222b4" + ], + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "canModify": false, + "applicationKey": "com.exacttarget.mobileconnect", + "attributeGroupIconKey": "Mobile", + "fullyQualifiedName": "MobileConnect Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 37, + "definitionID": "4351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobileConnect Data" + }, + "definitionKey": "ETMobileConnect", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobilePush Demographics" + }, + "definitionKey": "PushDemographics", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "definitionKey": "PushSubscriptions", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobilePush Tags" + }, + "definitionKey": "PushTags", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": false, + "canAddRelationships": true, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": false, + "displayOrder": 5, + "requiredRelationships": [ + "9651de3f-31e2-e611-80cc-1402ec7222b4", + "d052de3f-31e2-e611-80cc-1402ec7222b4", + "bc52de3f-31e2-e611-80cc-1402ec7222b4" + ], + "applicationID": "2051892d-5de2-4ecf-98af-8ca9a40d2c9c", + "canModify": false, + "applicationKey": "com.exacttarget.mobilepush", + "attributeGroupIconKey": "Mobile", + "fullyQualifiedName": "MobilePush Data", + "attributeGroupType": "Standard", + "localizedDescription": {}, + "attributeCount": 65, + "definitionID": "9351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "MobilePush Data" + }, + "definitionKey": "ETMobilePush", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "mID": 1111111, + "objectState": "Created", + "attributeSetIdentifiers": [ + { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "definitionKey": "PredictiveIntelProductSessions", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "definitionKey": "PredictiveIntelContentViews", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "definitionKey": "PredictiveIntelContent", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "definitionKey": "PredictiveIntelContentAttribs", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "definitionKey": "PredictiveIntelAbandonedCartItems", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "definitionKey": "PredictiveIntelSessionEnds", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "definitionKey": "EinsteinMCPredictiveScores", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Scores" + }, + "definitionKey": "PredictiveIntelScores", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "definitionKey": "PredictiveIntelProductViews", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "definitionKey": "PredictiveIntelProducts", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "definitionKey": "PredictiveIntelProductAttribs", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "definitionKey": "PredictiveIntelProductPurchases", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + }, + { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "definitionKey": "PredictiveIntelProfiles", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "isOwner": true, + "isPrimary": false, + "isSystemDefined": true, + "isHidden": false, + "canAddProperties": true, + "canAddRelationships": false, + "containsSchemaAttributes": false, + "canRemove": false, + "canChangeProperties": true, + "displayOrder": 7, + "requiredRelationships": [ + "1586d645-31e2-e611-80cc-1402ec7222b4", + "2686d645-31e2-e611-80cc-1402ec7222b4", + "3586d645-31e2-e611-80cc-1402ec7222b4", + "4686d645-31e2-e611-80cc-1402ec7222b4", + "5d86d645-31e2-e611-80cc-1402ec7222b4", + "6c86d645-31e2-e611-80cc-1402ec7222b4", + "7887d645-31e2-e611-80cc-1402ec7222b4", + "7d86d645-31e2-e611-80cc-1402ec7222b4", + "c80f6472-c416-ec11-b839-48df37d1dc79", + "a985d645-31e2-e611-80cc-1402ec7222b4", + "ba85d645-31e2-e611-80cc-1402ec7222b4", + "cd85d645-31e2-e611-80cc-1402ec7222b4", + "0086d645-31e2-e611-80cc-1402ec7222b4", + "de85d645-31e2-e611-80cc-1402ec7222b4", + "fd85d645-31e2-e611-80cc-1402ec7222b4", + "9885d645-31e2-e611-80cc-1402ec7222b4" + ], + "applicationID": "aed181bc-d7b7-465e-a3dd-9cdfb13943e2", + "canModify": false, + "applicationKey": "com.sfmc-einstein.Einstein Engagement Scoring", + "attributeGroupIconKey": "PredictiveIntel", + "fullyQualifiedName": "Predictive Intelligence Data", + "attributeGroupType": "Standard", + "description": "Attribute Group for Einstein Engagement Scoring", + "localizedDescription": { + "resourceSetKey": "ContactsMeta.SystemAttributeGroupDescriptions", + "resourceValueKey": "ATTR_GROUP_DESC_ETPredictiveIntel", + "value": "Attribute Group for Einstein Engagement Scoring" + }, + "attributeCount": 112, + "definitionID": "e152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionName": { + "value": "Predictive Intelligence Data" + }, + "definitionKey": "ETPredictiveIntel", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "namespace": "" + } + ], + "responseContext": { + "operationStatus": "OK", + "schemaType": "Contacts", + "populateInternalProperties": false + }, + "requestServiceMessageID": "9dac2279-40db-4e67-a862-d6ecbadf109a", + "responseDateTime": "2023-07-12T09:17:31.8837381-06:00", + "resultMessages": [], + "serviceMessageID": "92930c00-cacf-41e1-ba8d-04ad4d903f65" +} diff --git a/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json b/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json new file mode 100644 index 000000000..8e5dc97ff --- /dev/null +++ b/test/resources/9999999/hub/v1/contacts/schema/setDefinitions/get-response.json @@ -0,0 +1,19807 @@ +{ + "setDefinition": [ + { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "1386d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "1386d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "session_id", + "localizedDescription": { + "value": "session_id" + }, + "definitionID": "1086d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "session_id", + "definitionName": { + "value": "Session ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Session ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "1086d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "session_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "1ca32e3d-4f4e-4771-8d99-057f8bad3733" + }, + "valueDefinitionID": "1086d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "session_id", + "name": "Session ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "1286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "User_ID", + "definitionName": { + "value": "User ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.User ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "1286d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "f2e9ddf5-e18d-43db-ad52-cc754c929811" + }, + "valueDefinitionID": "1286d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "User_ID", + "name": "User ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Batch_ID", + "localizedDescription": { + "value": "Batch_ID" + }, + "definitionID": "0c86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Batch_ID", + "definitionName": { + "value": "Batch ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Batch ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0c86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Batch_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "fed66cad-7da4-469c-b49c-79e8c82ae37f" + }, + "valueDefinitionID": "0c86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Batch_ID", + "name": "Batch ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "List_ID", + "localizedDescription": { + "value": "List_ID" + }, + "definitionID": "0f86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "List_ID", + "definitionName": { + "value": "List ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.List ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0f86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "List_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "39471713-05c1-43d5-ac0f-9ecb66bae213" + }, + "valueDefinitionID": "0f86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "List_ID", + "name": "List ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Job_ID", + "localizedDescription": { + "value": "Job_ID" + }, + "definitionID": "0d86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Job_ID", + "definitionName": { + "value": "Job ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Job ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0d86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Job_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "5c73cf1c-8fbd-4275-bca1-5a232c5ebb35" + }, + "valueDefinitionID": "0d86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Job_ID", + "name": "Job ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Landing_URL_ID", + "localizedDescription": { + "value": "Landing_URL_ID" + }, + "definitionID": "0e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Landing_URL_ID", + "definitionName": { + "value": "Landing URL ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Landing URL ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0e86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Landing_URL_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "60fd37ce-3306-4197-a0e2-7c1b51b46d3a" + }, + "valueDefinitionID": "0e86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Landing_URL_ID", + "name": "Landing URL ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Subscriber_ID", + "localizedDescription": { + "value": "Subscriber_ID" + }, + "definitionID": "1186d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Subscriber_ID", + "definitionName": { + "value": "Subscriber_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Predictive Intelligence Product Sessions.Subscriber_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "1186d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductSessions", + "definitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Subscriber_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "f239f3c3-3ecc-4ec4-a4c9-de258fdefdea" + }, + "valueDefinitionID": "1186d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Subscriber_ID", + "name": "Subscriber_ID", + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "setDefinitionName": { + "value": "Predictive Intelligence Product Sessions" + }, + "parentIdentifier": "0b86d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Product Sessions", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "PI_SESSIONS", + "storageObjectIDs": ["0286d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "dd52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductSessions", + "name": "Predictive Intelligence Product Sessions" + }, + { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddresses", + "definitionName": { + "value": "Email Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "8f93dc39-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "4" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "1451de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "1251de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ListID", + "definitionName": { + "value": "List ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 0, + "fullyQualifiedName": "Email Addresses.List ID", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 0, + "parentDefinition": { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddresses", + "definitionName": { + "value": "Email Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ListID", + "valueDefinitionID": "1251de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ListID", + "name": "List ID", + "setDefinitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailAddresses", + "setDefinitionName": { + "value": "Email Addresses" + }, + "parentIdentifier": "1051de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "1351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MemberID", + "definitionName": { + "value": "Member ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 0, + "fullyQualifiedName": "Email Addresses.Member ID", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 0, + "parentDefinition": { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddresses", + "definitionName": { + "value": "Email Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "MemberID_", + "valueDefinitionID": "1351de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "MemberID", + "name": "Member ID", + "setDefinitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailAddresses", + "setDefinitionName": { + "value": "Email Addresses" + }, + "parentIdentifier": "1051de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "customerDataID": 4, + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "EmailAddress", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddress", + "definitionName": { + "value": "Email Address" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Email Addresses.Email Address", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddresses", + "definitionName": { + "value": "Email Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "EmailAddr_", + "valueDefinitionID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "EmailAddress", + "name": "Email Address", + "setDefinitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailAddresses", + "setDefinitionName": { + "value": "Email Addresses" + }, + "parentIdentifier": "1051de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "HTMLEnabled", + "definitionName": { + "value": "HTML Enabled" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Email Addresses.HTML Enabled", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 2, + "parentDefinition": { + "definitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailAddresses", + "definitionName": { + "value": "Email Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "IsHTMLEnabled", + "valueDefinitionID": "b951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "HTMLEnabled", + "name": "HTML Enabled", + "setDefinitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailAddresses", + "setDefinitionName": { + "value": "Email Addresses" + }, + "parentIdentifier": "1051de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "b2ca1f50-3cc4-4fd7-a3a3-88bf09fb59fa", + "applicationKey": "com.exacttarget.email", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "localizedDescription": {}, + "fullyQualifiedName": "Email Addresses", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageObjectIDs": [ + "92492fc1-7a08-4c96-8536-0344719009e1", + "c336765a-f24f-49b2-8a1f-b54f903def2a" + ], + "setDefinitionID": "1051de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailAddresses", + "name": "Email Addresses" + }, + { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "1f86d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "3086d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "3586d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2486d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Content Views.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "2486d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "content_id", + "localizedDescription": { + "value": "content_id" + }, + "definitionID": "1f86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Content_ID", + "definitionName": { + "value": "Content ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Content Views.Content ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "1f86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "content_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "1abf7b9d-1222-469f-9df9-7835829ec41f" + }, + "valueDefinitionID": "1f86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Content_ID", + "name": "Content ID", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_Id", + "localizedDescription": { + "value": "user_Id" + }, + "definitionID": "2386d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "User_ID", + "definitionName": { + "value": "User ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Content Views.User ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2386d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_Id", + "storageFieldReferenceID": { + "type": "guid", + "value": "a6c60012-6673-4402-8262-c6f06e1b0d13" + }, + "valueDefinitionID": "2386d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "User_ID", + "name": "User ID", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "session_id", + "localizedDescription": { + "value": "session_id" + }, + "definitionID": "2186d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Session_ID", + "definitionName": { + "value": "Session ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Content Views.Session ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2186d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "session_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "78820841-1579-42dd-8300-3cfe4eec96cc" + }, + "valueDefinitionID": "2186d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Session_ID", + "name": "Session ID", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Search", + "localizedDescription": { + "value": "Search" + }, + "definitionID": "2086d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Search", + "definitionName": { + "value": "Search" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Content Views.Search", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2086d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Search", + "storageFieldReferenceID": { + "type": "guid", + "value": "f1ecc397-6be7-4a53-8792-0fdbaff63505" + }, + "valueDefinitionID": "2086d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Search", + "name": "Search", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "Timestamp", + "localizedDescription": { + "value": "Timestamp" + }, + "definitionID": "2286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Timestamp", + "definitionName": { + "value": "Timestamp" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Content Views.Timestamp", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2286d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentViews", + "definitionName": { + "value": "Predictive Intelligence Content Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Timestamp", + "storageFieldReferenceID": { + "type": "guid", + "value": "e5c8ef5d-f2df-464d-b0ba-aa06536ac934" + }, + "valueDefinitionID": "2286d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Timestamp", + "name": "Timestamp", + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "setDefinitionName": { + "value": "Predictive Intelligence Content Views" + }, + "parentIdentifier": "1e86d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Content Views", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "PI_CONTENTVIEWS", + "storageObjectIDs": ["1786d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "da52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentViews", + "name": "Predictive Intelligence Content Views" + }, + { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "4351de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "2f51de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "4651de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "3651de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "3452de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "4352de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2c51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CarrierID", + "definitionName": { + "value": "Carrier ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "MobileConnect Demographics.Carrier ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2c51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CarrierID", + "storageFieldReferenceID": { + "type": "guid", + "value": "3fdc8842-cc0f-407c-a3ec-930d7a027d1d" + }, + "valueDefinitionID": "2c51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CarrierID", + "name": "Carrier ID", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Channel", + "definitionName": { + "value": "Channel" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "MobileConnect Demographics.Channel", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Channel", + "storageFieldReferenceID": { + "type": "guid", + "value": "ef36ded9-67b2-4daf-899f-6862af8e5ee7" + }, + "valueDefinitionID": "2d51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Channel", + "name": "Channel", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2e51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "City", + "definitionName": { + "value": "City" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "MobileConnect Demographics.City", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2e51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_City", + "storageFieldReferenceID": { + "type": "guid", + "value": "be7b4554-bf03-4a80-9101-3e396b2e345f" + }, + "valueDefinitionID": "2e51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "City", + "name": "City", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2f51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "MobileConnect Demographics.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2f51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ContactID", + "storageFieldReferenceID": { + "type": "guid", + "value": "b0e31883-cae8-4bc5-aa24-88565d375a18" + }, + "valueDefinitionID": "2f51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactID", + "name": "Contact ID", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "MobileConnect Demographics.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3151de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "1671a32a-8eb0-4dc5-b30d-8ad16e55a601" + }, + "valueDefinitionID": "3151de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3251de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "MobileConnect Demographics.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3251de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "de543ca5-5920-4309-adb9-33472144defe" + }, + "valueDefinitionID": "3251de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "FirstName", + "definitionName": { + "value": "First Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "MobileConnect Demographics.First Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3351de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_FirstName", + "storageFieldReferenceID": { + "type": "guid", + "value": "125f7c91-2f11-44bd-9687-f22cf2461496" + }, + "valueDefinitionID": "3351de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "FirstName", + "name": "First Name", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "defaultValue": "False", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3451de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "IsHonorDST", + "definitionName": { + "value": "Is Honor DST" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "MobileConnect Demographics.Is Honor DST", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3451de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_IsHonorDST", + "storageFieldReferenceID": { + "type": "guid", + "value": "17abe00a-4306-43c5-b27f-a81f015d6dfb" + }, + "valueDefinitionID": "3451de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "IsHonorDST", + "name": "Is Honor DST", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "LastName", + "definitionName": { + "value": "Last Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "MobileConnect Demographics.Last Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3551de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_LastName", + "storageFieldReferenceID": { + "type": "guid", + "value": "e31f18f4-5422-410b-adcc-1b60f61cce5f" + }, + "valueDefinitionID": "3551de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "LastName", + "name": "Last Name", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CountryCode", + "definitionName": { + "value": "Locale" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "MobileConnect Demographics.Locale", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 2, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3051de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CountryCode", + "storageFieldReferenceID": { + "type": "guid", + "value": "4b5fda70-47cb-4f4b-8ba6-f5cac53ee344" + }, + "valueDefinitionID": "3051de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CountryCode", + "name": "Locale", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "2ddd5f89-bca1-ed11-b852-48df37d1df5b", + "definitionKey": "MobileID", + "definitionName": { + "value": "Mobile ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "MobileConnect Demographics.Mobile ID", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 13, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileId", + "valueDefinitionID": "2ddd5f89-bca1-ed11-b852-48df37d1df5b", + "valueDefinitionKey": "MobileID", + "name": "Mobile ID", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "customerDataID": 5, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Phone", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3651de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileNumber", + "definitionName": { + "value": "Mobile Number" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "MobileConnect Demographics.Mobile Number", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 15, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3651de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileNumber", + "storageFieldReferenceID": { + "type": "guid", + "value": "e31a7e3b-e943-440e-9be6-77224a4928fe" + }, + "valueDefinitionID": "3651de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "MobileNumber", + "name": "Mobile Number", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3751de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "MobileConnect Demographics.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3751de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "a9be58ef-884d-44f4-9926-d73ebe587847" + }, + "valueDefinitionID": "3751de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3851de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "MobileConnect Demographics.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3851de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 16, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "216659c1-9512-47de-a9ee-822f48148514" + }, + "valueDefinitionID": "3851de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Priority", + "definitionName": { + "value": "Priority" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 17, + "fullyQualifiedName": "MobileConnect Demographics.Priority", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3951de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 17, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Priority", + "storageFieldReferenceID": { + "type": "guid", + "value": "71153ee5-a33f-4cf6-a963-0c3a893d9348" + }, + "valueDefinitionID": "3951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Priority", + "name": "Priority", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3a51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Source", + "definitionName": { + "value": "Source" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 18, + "fullyQualifiedName": "MobileConnect Demographics.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3a51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 18, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 5, + "storageName": "_Source", + "storageFieldReferenceID": { + "type": "guid", + "value": "f6bafdfb-86bf-45e8-9b76-b878c904d6c5" + }, + "valueDefinitionID": "3a51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Source", + "name": "Source", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SourceObjectID", + "definitionName": { + "value": "Source Object ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 19, + "fullyQualifiedName": "MobileConnect Demographics.Source Object ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 19, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SourceObjectId", + "storageFieldReferenceID": { + "type": "guid", + "value": "c67a7922-44e5-4c4b-a4c8-2ac3550a5f07" + }, + "valueDefinitionID": "3b51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SourceObjectID", + "name": "Source Object ID", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 4, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "67ace0e3-8563-e811-80d4-1402ec721f75", + "definitionKey": "SFContactID", + "definitionName": { + "value": "SFContactID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 19, + "fullyQualifiedName": "MobileConnect Demographics.SFContactID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "67ace0e3-8563-e811-80d4-1402ec721f75" + }, + "ordinal": 19, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SFContactID", + "storageFieldReferenceID": { + "type": "guid", + "value": "ce5a90ea-88eb-4683-9a1a-5c776b5763ce" + }, + "valueDefinitionID": "67ace0e3-8563-e811-80d4-1402ec721f75", + "valueDefinitionKey": "SFContactID", + "name": "SFContactID", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3c51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "State", + "definitionName": { + "value": "State" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 20, + "fullyQualifiedName": "MobileConnect Demographics.State", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3c51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 20, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_State", + "storageFieldReferenceID": { + "type": "guid", + "value": "c0ea1fac-d939-4dde-b45a-16586f661924" + }, + "valueDefinitionID": "3c51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "State", + "name": "State", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Status", + "definitionName": { + "value": "Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 21, + "fullyQualifiedName": "MobileConnect Demographics.Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 21, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 6, + "storageName": "_Status", + "storageFieldReferenceID": { + "type": "guid", + "value": "fafff407-c055-411c-81ec-78907f5dbd58" + }, + "valueDefinitionID": "3d51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Status", + "name": "Status", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3e51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "UTCOffset", + "definitionName": { + "value": "UTC Offset" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 22, + "fullyQualifiedName": "MobileConnect Demographics.UTC Offset", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 4, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3e51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 22, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "_UTCOffset", + "storageFieldReferenceID": { + "type": "guid", + "value": "84d29656-a348-43c2-ac2f-8c7ec5b18a3e" + }, + "valueDefinitionID": "3e51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "UTCOffset", + "name": "UTC Offset", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3f51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ZipCode", + "definitionName": { + "value": "Zip Code" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 23, + "fullyQualifiedName": "MobileConnect Demographics.Zip Code", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3f51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 23, + "parentDefinition": { + "definitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileDemographics", + "definitionName": { + "value": "MobileConnect Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ZipCode", + "storageFieldReferenceID": { + "type": "guid", + "value": "11ce9d05-a1e3-47ba-9077-11097e0b4c8d" + }, + "valueDefinitionID": "3f51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ZipCode", + "name": "Zip Code", + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "setDefinitionName": { + "value": "MobileConnect Demographics" + }, + "parentIdentifier": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "applicationKey": "com.exacttarget.mobileconnect", + "attributeCount": 0, + "canAddValues": true, + "canChangeValues": true, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "MobileConnect Demographics", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": true, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 2, + "sendAttributeStorageName": "_ContactID", + "sendContactKeyStorageName": "_SubscriberID", + "storageLogicalType": "MobileAttributes", + "storageName": "_MobileAddress", + "storageObjectIDs": ["1651de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7693dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "2b51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileDemographics", + "name": "MobileConnect Demographics" + }, + { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "3086d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "4286d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "4686d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3386d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Content.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "3386d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "setDefinitionName": { + "value": "Predictive Intelligence Content" + }, + "parentIdentifier": "2e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "content_id", + "localizedDescription": { + "value": "content_id" + }, + "definitionID": "3086d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Content_ID", + "definitionName": { + "value": "Content ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Content.Content ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3086d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "content_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "9fd67d4d-cae5-4230-8cf1-f19cd230a233" + }, + "valueDefinitionID": "3086d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Content_ID", + "name": "Content ID", + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "setDefinitionName": { + "value": "Predictive Intelligence Content" + }, + "parentIdentifier": "2e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "availability", + "localizedDescription": { + "value": "availability" + }, + "definitionID": "2f86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Availability", + "definitionName": { + "value": "Availability" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Content.Availability", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "2f86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "availability", + "storageFieldReferenceID": { + "type": "guid", + "value": "d32b9706-78a0-40fd-aae5-e345b1f217a6" + }, + "valueDefinitionID": "2f86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Availability", + "name": "Availability", + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "setDefinitionName": { + "value": "Predictive Intelligence Content" + }, + "parentIdentifier": "2e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "title", + "localizedDescription": { + "value": "title" + }, + "definitionID": "3186d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Title", + "definitionName": { + "value": "Title" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Content.Title", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3186d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "title", + "storageFieldReferenceID": { + "type": "guid", + "value": "93497a91-7e2d-4c5f-8546-fd035fea3e92" + }, + "valueDefinitionID": "3186d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Title", + "name": "Title", + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "setDefinitionName": { + "value": "Predictive Intelligence Content" + }, + "parentIdentifier": "2e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "uuid", + "localizedDescription": { + "value": "uuid" + }, + "definitionID": "3286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "UUID", + "definitionName": { + "value": "UUID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Content.UUID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3286d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContent", + "definitionName": { + "value": "Predictive Intelligence Content" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "uuid", + "storageFieldReferenceID": { + "type": "guid", + "value": "d42586c8-bb5b-46a1-ac88-32fc232dbcc7" + }, + "valueDefinitionID": "3286d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "UUID", + "name": "UUID", + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "setDefinitionName": { + "value": "Predictive Intelligence Content" + }, + "parentIdentifier": "2e86d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Content", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "PI_CONTENT", + "storageObjectIDs": ["2886d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "db52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "2e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContent", + "name": "Predictive Intelligence Content" + }, + { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "MobileConnect Subscriptions.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "a64a3ed9-b8fd-46cc-a10b-1d5fdf074ce6" + }, + "valueDefinitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "MobileConnect Subscriptions.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "dfc3f6fb-a250-4ef8-93ed-bb079ced468d" + }, + "valueDefinitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SubscriptionDefinitionID", + "definitionName": { + "value": "Keyword" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "MobileConnect Subscriptions.Keyword", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 7, + "storageName": "_SubscriptionDefinitionID", + "storageFieldReferenceID": { + "type": "guid", + "value": "c13ab46d-6e65-475a-990d-291bd43e5063" + }, + "valueDefinitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SubscriptionDefinitionID", + "name": "Keyword", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Phone", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileNumber", + "definitionName": { + "value": "Mobile Number" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "MobileConnect Subscriptions.Mobile Number", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 15, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileNumber", + "storageFieldReferenceID": { + "type": "guid", + "value": "ead8a6d2-bc6c-4768-a6e3-c3cc749bfc1d" + }, + "valueDefinitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "MobileNumber", + "name": "Mobile Number", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "53dd5f89-bca1-ed11-b852-48df37d1df5b", + "definitionKey": "MobileSubscriptionID", + "definitionName": { + "value": "Mobile Subscription ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "MobileConnect Subscriptions.Mobile Subscription ID", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 5, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileSubscriptionID", + "valueDefinitionID": "53dd5f89-bca1-ed11-b852-48df37d1df5b", + "valueDefinitionKey": "MobileSubscriptionID", + "name": "Mobile Subscription ID", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "MobileConnect Subscriptions.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "30d7ec39-85d1-46dc-9888-771f11ffe10d" + }, + "valueDefinitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "MobileConnect Subscriptions.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "b68155cc-e483-4949-82f9-fb47cbd59764" + }, + "valueDefinitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInDate", + "definitionName": { + "value": "Opt In Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "8da557ee-7ba7-44f4-99ba-0681cbeb1ba1" + }, + "valueDefinitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInDate", + "name": "Opt In Date", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInMethodID", + "definitionName": { + "value": "Opt In Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 2, + "storageName": "_OptInMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "da2713ab-a802-4cd6-9e05-0a7444d62388" + }, + "valueDefinitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInMethodID", + "name": "Opt In Method", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInStatusID", + "definitionName": { + "value": "Opt In Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 1, + "storageName": "_OptInStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "c733b80d-2ed5-4fb6-94a3-9c996cbae558" + }, + "valueDefinitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInStatusID", + "name": "Opt In Status", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutDate", + "definitionName": { + "value": "Opt Out Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "27c3ccec-47ad-4578-9051-a41f85178049" + }, + "valueDefinitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutDate", + "name": "Opt Out Date", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutMethodID", + "definitionName": { + "value": "Opt Out Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 4, + "storageName": "_OptOutMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "089b96fc-bfc6-402e-a481-1e18d3e18a8d" + }, + "valueDefinitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutMethodID", + "name": "Opt Out Method", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutStatusID", + "definitionName": { + "value": "Opt Out Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 13, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 3, + "storageName": "_OptOutStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "67194503-acd8-4c1c-b042-9dfb3f3ebd44" + }, + "valueDefinitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutStatusID", + "name": "Opt Out Status", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Source", + "definitionName": { + "value": "Source" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "MobileConnect Subscriptions.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 5, + "storageName": "_Source", + "storageFieldReferenceID": { + "type": "guid", + "value": "2e903257-43e8-4a7b-8ed4-757ca772ddbb" + }, + "valueDefinitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Source", + "name": "Source", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SourceObjectID", + "definitionName": { + "value": "Source Object ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "MobileConnect Subscriptions.Source Object ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileSubscriptions", + "definitionName": { + "value": "MobileConnect Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SourceObjectId", + "storageFieldReferenceID": { + "type": "guid", + "value": "1d4f26f5-ec91-46de-9fc1-d819832f07e7" + }, + "valueDefinitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SourceObjectID", + "name": "Source Object ID", + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "parentIdentifier": "3152de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "applicationKey": "com.exacttarget.mobileconnect", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "MobileConnect Subscriptions", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "_MobileSubscription", + "storageObjectIDs": ["2252de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7793dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "name": "MobileConnect Subscriptions" + }, + { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "4486d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "4486d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "content_id", + "localizedDescription": { + "value": "content_id" + }, + "definitionID": "4286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Content_ID", + "definitionName": { + "value": "Content ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Content ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "4286d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "content_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "d1abd045-4670-41f2-a368-9e0a6f732146" + }, + "valueDefinitionID": "4286d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Content_ID", + "name": "Content ID", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "AttribName", + "localizedDescription": { + "value": "AttribName" + }, + "definitionID": "3f86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Name", + "definitionName": { + "value": "Attribute Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Attribute Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "3f86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AttribName", + "storageFieldReferenceID": { + "type": "guid", + "value": "a55251d7-c1c5-49b3-bdc1-8ebdbf7cb517" + }, + "valueDefinitionID": "3f86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Name", + "name": "Attribute Name", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "AttribValue", + "localizedDescription": { + "value": "AttribValue" + }, + "definitionID": "4186d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Value", + "definitionName": { + "value": "Attribute Value" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Attribute Value", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "4186d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AttribValue", + "storageFieldReferenceID": { + "type": "guid", + "value": "1742dd68-39af-4da9-ace4-0ad50ae08f05" + }, + "valueDefinitionID": "4186d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Value", + "name": "Attribute Value", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "updated_at", + "localizedDescription": { + "value": "updated_at" + }, + "definitionID": "4386d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Updated_At", + "definitionName": { + "value": "Updated At" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Updated At", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "4386d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "updated_at", + "storageFieldReferenceID": { + "type": "guid", + "value": "4ad58eb4-5e13-4064-ae43-71ab9786be00" + }, + "valueDefinitionID": "4386d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Updated_At", + "name": "Updated At", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "attributeValueIndex", + "localizedDescription": { + "value": "attributeValueIndex" + }, + "definitionID": "4086d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Value_Index", + "definitionName": { + "value": "Attribute Value Index" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Content Attributes.Attribute Value Index", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "4086d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelContentAttribs", + "definitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "attributeValueIndex", + "storageFieldReferenceID": { + "type": "guid", + "value": "3635848d-5e04-4fed-95ed-d487202a80b8" + }, + "valueDefinitionID": "4086d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Value_Index", + "name": "Attribute Value Index", + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Content Attributes" + }, + "parentIdentifier": "3e86d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Content Attributes", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "PI_CONTENTATTRIBS", + "storageObjectIDs": ["3786d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "dc52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "3e86d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelContentAttribs", + "name": "Predictive Intelligence Content Attributes" + }, + { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "5286d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "5386d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "6686d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "6c86d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6586d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "5b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Custom_Object_Key", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "5b86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Custom_Object_Key", + "name": "Custom Object Key", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "5a86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "user_id", + "definitionName": { + "value": "user_id" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.user_id", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5a86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "e6f01b13-78b2-4cf7-956a-7a9a5db31a82" + }, + "valueDefinitionID": "5a86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "user_id", + "name": "user_id", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "cart_id", + "localizedDescription": { + "value": "cart_id" + }, + "definitionID": "5386d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Cart_ID", + "definitionName": { + "value": "Cart ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Cart ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5386d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "cart_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "3f7d9be8-3af9-425b-9537-442a9e389582" + }, + "valueDefinitionID": "5386d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Cart_ID", + "name": "Cart ID", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "contact_key", + "localizedDescription": { + "value": "contact_key" + }, + "definitionID": "5586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Contact_Key", + "definitionName": { + "value": "Contact Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Contact Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5586d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "contact_key", + "storageFieldReferenceID": { + "type": "guid", + "value": "7a8eb4a3-5270-4e28-9562-96067a13a6fd" + }, + "valueDefinitionID": "5586d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Contact_Key", + "name": "Contact Key", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "currency_type", + "localizedDescription": { + "value": "currency_type" + }, + "definitionID": "5686d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Currency_Type", + "definitionName": { + "value": "Currency Type" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Currency Type", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5686d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "currency_type", + "storageFieldReferenceID": { + "type": "guid", + "value": "32d910c3-7e8e-4cf6-af31-596b395246f0" + }, + "valueDefinitionID": "5686d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Currency_Type", + "name": "Currency Type", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "no_items_cart", + "localizedDescription": { + "value": "no_items_cart" + }, + "definitionID": "5886d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "No_Items_Cart", + "definitionName": { + "value": "No Items Cart" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.No Items Cart", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5886d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "no_items_cart", + "storageFieldReferenceID": { + "type": "guid", + "value": "74f890d4-eb4b-46c1-9cd5-f2f89702825d" + }, + "valueDefinitionID": "5886d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "No_Items_Cart", + "name": "No Items Cart", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "cart_value", + "localizedDescription": { + "value": "cart_value" + }, + "definitionID": "5486d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Cart_Value", + "definitionName": { + "value": "Cart Value" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Cart Value", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5486d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "cart_value", + "storageFieldReferenceID": { + "type": "guid", + "value": "dc3238a5-1546-47b1-95ac-cfebae4bb4b6" + }, + "valueDefinitionID": "5486d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Cart_Value", + "name": "Cart Value", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "getdate()", + "description": "timestamp", + "localizedDescription": { + "value": "timestamp" + }, + "definitionID": "5986d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Time_Stamp", + "definitionName": { + "value": "Time Stamp" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.Time Stamp", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5986d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "timestamp", + "storageFieldReferenceID": { + "type": "guid", + "value": "e8051d08-f6e2-492b-9476-db03d0b4e71b" + }, + "valueDefinitionID": "5986d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Time_Stamp", + "name": "Time Stamp", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "email_address", + "localizedDescription": { + "value": "email_address" + }, + "definitionID": "5786d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "email_address", + "definitionName": { + "value": "email_address" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents.email_address", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "5786d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartEvents", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "email_address", + "storageFieldReferenceID": { + "type": "guid", + "value": "1a242f2d-4161-4713-b7b1-6426f26f5157" + }, + "valueDefinitionID": "5786d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "email_address", + "name": "email_address", + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartEvents" + }, + "parentIdentifier": "5286d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartEvents", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "PI_ABANDONED_CART_EVENT", + "storageObjectIDs": ["4886d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "df52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "5286d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartEvents", + "name": "Predictive Intelligence AbandonedCartEvents" + }, + { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6586d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "6686d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "6686d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "7887d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6586d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "6a86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Custom_Object_Key", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "6a86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Custom_Object_Key", + "name": "Custom Object Key", + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "parentIdentifier": "6586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "sku", + "localizedDescription": { + "value": "sku" + }, + "definitionID": "6986d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "sku", + "definitionName": { + "value": "sku" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems.sku", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6986d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "sku", + "storageFieldReferenceID": { + "type": "guid", + "value": "85feb2dd-3ea4-4e33-93ca-a0b2e129342f" + }, + "valueDefinitionID": "6986d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "sku", + "name": "sku", + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "parentIdentifier": "6586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "cart_id", + "localizedDescription": { + "value": "cart_id" + }, + "definitionID": "6686d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "cart_id", + "definitionName": { + "value": "Cart ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems.Cart ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6686d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "cart_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "686a5045-b1b9-497f-9226-9e43b5b09906" + }, + "valueDefinitionID": "6686d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "cart_id", + "name": "Cart ID", + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "parentIdentifier": "6586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "price", + "localizedDescription": { + "value": "price" + }, + "definitionID": "6786d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Price", + "definitionName": { + "value": "Price" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems.Price", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6786d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "price", + "storageFieldReferenceID": { + "type": "guid", + "value": "9a62ef64-4993-4876-a16c-9786eae6fd53" + }, + "valueDefinitionID": "6786d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Price", + "name": "Price", + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "parentIdentifier": "6586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "quantity", + "localizedDescription": { + "value": "quantity" + }, + "definitionID": "6886d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Quantity", + "definitionName": { + "value": "Quantity" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems.Quantity", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6886d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelAbandonedCartItems", + "definitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "quantity", + "storageFieldReferenceID": { + "type": "guid", + "value": "20d85be0-e56d-4888-b66e-bb8b6466d07c" + }, + "valueDefinitionID": "6886d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Quantity", + "name": "Quantity", + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "setDefinitionName": { + "value": "Predictive Intelligence AbandonedCartItems" + }, + "parentIdentifier": "6586d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence AbandonedCartItems", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "PI_ABANDONED_CART_ITEMS", + "storageObjectIDs": ["5f86d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "e052de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "6586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelAbandonedCartItems", + "name": "Predictive Intelligence AbandonedCartItems" + }, + { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "9351de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "7351de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "9651de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "6f51de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "b452de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + }, + { + "leftAttributeID": "7751de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "b552de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "bc52de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "6f51de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "c752de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + }, + { + "leftAttributeID": "7751de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "ca52de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "d052de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "6e51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Alias", + "definitionName": { + "value": "Alias" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "MobilePush Demographics.Alias", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6e51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Alias", + "storageFieldReferenceID": { + "type": "guid", + "value": "dcef58d9-dcaa-4a68-9ecf-6c663a57fb33" + }, + "valueDefinitionID": "6e51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Alias", + "name": "Alias", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "customerDataID": 7, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "6f51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushAppID", + "definitionName": { + "value": "Application" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "MobilePush Demographics.Application", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 38, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "6f51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 11, + "storageName": "_APID", + "storageFieldReferenceID": { + "type": "guid", + "value": "4e82734e-ff8a-4868-a786-20e9596a94d2" + }, + "valueDefinitionID": "6f51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushAppID", + "name": "Application", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Badge", + "definitionName": { + "value": "Badge" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "MobilePush Demographics.Badge", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7051de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Badge", + "storageFieldReferenceID": { + "type": "guid", + "value": "ae73cf07-6b58-4ae4-a75e-ccd1d4bdb98f" + }, + "valueDefinitionID": "7051de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Badge", + "name": "Badge", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Channel", + "definitionName": { + "value": "Channel" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "MobilePush Demographics.Channel", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7151de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Channel", + "storageFieldReferenceID": { + "type": "guid", + "value": "84490d74-3c83-46b1-8a0b-b073dc45c208" + }, + "valueDefinitionID": "7151de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Channel", + "name": "Channel", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7251de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "City", + "definitionName": { + "value": "City" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "MobilePush Demographics.City", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7251de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_City", + "storageFieldReferenceID": { + "type": "guid", + "value": "905b7a96-ba4e-4265-a271-6b8d32fdf56e" + }, + "valueDefinitionID": "7251de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "City", + "name": "City", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "MobilePush Demographics.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7351de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ContactID", + "storageFieldReferenceID": { + "type": "guid", + "value": "f5c616a4-6ba4-4c3f-a55b-85d12dd41932" + }, + "valueDefinitionID": "7351de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactID", + "name": "Contact ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7451de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "MobilePush Demographics.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7451de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "bf010c22-fd43-4303-a732-aff2510133f8" + }, + "valueDefinitionID": "7451de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "MobilePush Demographics.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7551de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "1b450c10-bd4e-448e-ae6f-583ac616cc46" + }, + "valueDefinitionID": "7551de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "MobilePush Demographics.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 9, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "9151de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7651de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Device", + "definitionName": { + "value": "Device" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "MobilePush Demographics.Device", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7651de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Device", + "storageFieldReferenceID": { + "type": "guid", + "value": "1aa7b10f-f32a-4620-af79-4210aeacf996" + }, + "valueDefinitionID": "7651de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Device", + "name": "Device", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "customerDataID": 6, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7751de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDeviceID", + "definitionName": { + "value": "Device ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "MobilePush Demographics.Device ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7751de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_DeviceID", + "storageFieldReferenceID": { + "type": "guid", + "value": "9d8db1d4-c00e-49bc-98d9-e30d2e3ed7cf" + }, + "valueDefinitionID": "7751de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushDeviceID", + "name": "Device ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7851de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "DeviceType", + "definitionName": { + "value": "Device Type" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "MobilePush Demographics.Device Type", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7851de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_DeviceType", + "storageFieldReferenceID": { + "type": "guid", + "value": "75f38dcd-559f-4663-8e84-a5f85abc3e0a" + }, + "valueDefinitionID": "7851de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "DeviceType", + "name": "Device Type", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "FirstName", + "definitionName": { + "value": "First Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "MobilePush Demographics.First Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7951de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 13, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_FirstName", + "storageFieldReferenceID": { + "type": "guid", + "value": "cf0e8f08-bba3-4ca3-b05c-e1360897f0f6" + }, + "valueDefinitionID": "7951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "FirstName", + "name": "First Name", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7a51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "HardwareID", + "definitionName": { + "value": "Hardware ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "MobilePush Demographics.Hardware ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7a51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_HardwareId", + "storageFieldReferenceID": { + "type": "guid", + "value": "a7c7ac11-c93d-4512-ae1b-25e9debbdddc" + }, + "valueDefinitionID": "7a51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "HardwareID", + "name": "Hardware ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "defaultValue": "False", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "IsHonorDST", + "definitionName": { + "value": "Is Honor DST" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "MobilePush Demographics.Is Honor DST", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_IsHonorDST", + "storageFieldReferenceID": { + "type": "guid", + "value": "e5d1a20d-ec5a-40a2-a474-64513204cbac" + }, + "valueDefinitionID": "7b51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "IsHonorDST", + "name": "Is Honor DST", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7c51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "LastName", + "definitionName": { + "value": "Last Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "MobilePush Demographics.Last Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7c51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 16, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_LastName", + "storageFieldReferenceID": { + "type": "guid", + "value": "92c01cad-907d-48c0-ac6a-691c12d62358" + }, + "valueDefinitionID": "7c51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "LastName", + "name": "Last Name", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "LocationEnabled", + "definitionName": { + "value": "Location Enabled" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 17, + "fullyQualifiedName": "MobilePush Demographics.Location Enabled", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 17, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_LocationEnabled", + "storageFieldReferenceID": { + "type": "guid", + "value": "30b5144d-9b73-4804-b17b-fbf4d2d03bfe" + }, + "valueDefinitionID": "7d51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "LocationEnabled", + "name": "Location Enabled", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7e51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 18, + "fullyQualifiedName": "MobilePush Demographics.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7e51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 18, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "46975e48-0dbb-4ec4-91e9-9823aa2a5d0a" + }, + "valueDefinitionID": "7e51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7f51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 19, + "fullyQualifiedName": "MobilePush Demographics.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7f51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 19, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "4602d692-06de-4974-84e4-e8facfa25be9" + }, + "valueDefinitionID": "7f51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInDate", + "definitionName": { + "value": "Opt In Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 20, + "fullyQualifiedName": "MobilePush Demographics.Opt In Date", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8051de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 20, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "68c6681d-6f0f-4ec2-9407-55c5eb19fc19" + }, + "valueDefinitionID": "8051de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInDate", + "name": "Opt In Date", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInMethodID", + "definitionName": { + "value": "Opt In Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 21, + "fullyQualifiedName": "MobilePush Demographics.Opt In Method", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8151de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 21, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 9, + "storageName": "_OptInMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "8b821a18-6cee-4204-9ef9-18d94112e84f" + }, + "valueDefinitionID": "8151de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInMethodID", + "name": "Opt In Method", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8251de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInStatusID", + "definitionName": { + "value": "Opt In Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 22, + "fullyQualifiedName": "MobilePush Demographics.Opt In Status", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8251de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 22, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 8, + "storageName": "_OptInStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "673470b8-8503-4c4c-b9ae-9bf554d0a235" + }, + "valueDefinitionID": "8251de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInStatusID", + "name": "Opt In Status", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutDate", + "definitionName": { + "value": "Opt Out Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 23, + "fullyQualifiedName": "MobilePush Demographics.Opt Out Date", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8351de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 23, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "8424262e-6904-4915-a4b3-2957b044b3ee" + }, + "valueDefinitionID": "8351de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutDate", + "name": "Opt Out Date", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8451de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutMethodID", + "definitionName": { + "value": "Opt Out Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 24, + "fullyQualifiedName": "MobilePush Demographics.Opt Out Method", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8451de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 24, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 10, + "storageName": "_OptOutMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "3919bba5-e953-435d-8874-66be31cb1821" + }, + "valueDefinitionID": "8451de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutMethodID", + "name": "Opt Out Method", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutStatusID", + "definitionName": { + "value": "Opt Out Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 25, + "fullyQualifiedName": "MobilePush Demographics.Opt Out Status", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8551de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 25, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "df789a9d-cfbc-4ed9-8a2b-e6427a631e28" + }, + "valueDefinitionID": "8551de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutStatusID", + "name": "Opt Out Status", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8651de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Platform", + "definitionName": { + "value": "Platform" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 26, + "fullyQualifiedName": "MobilePush Demographics.Platform", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8651de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 26, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Platform", + "storageFieldReferenceID": { + "type": "guid", + "value": "353dc3ed-7578-4ee1-a1c1-e843f8b487f5" + }, + "valueDefinitionID": "8651de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Platform", + "name": "Platform", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8751de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PlatformVersion", + "definitionName": { + "value": "Platform Version" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 27, + "fullyQualifiedName": "MobilePush Demographics.Platform Version", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8751de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 27, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_PlatformVersion", + "storageFieldReferenceID": { + "type": "guid", + "value": "99c03236-d908-498f-936a-6b7e110ef76a" + }, + "valueDefinitionID": "8751de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PlatformVersion", + "name": "Platform Version", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8851de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ProviderToken", + "definitionName": { + "value": "Provider Token" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 28, + "fullyQualifiedName": "MobilePush Demographics.Provider Token", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8851de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 28, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ProviderToken", + "storageFieldReferenceID": { + "type": "guid", + "value": "03b1ac7c-3cc4-4b82-b3db-7e6b43cefd7c" + }, + "valueDefinitionID": "8851de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ProviderToken", + "name": "Provider Token", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Source", + "definitionName": { + "value": "Source" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 29, + "fullyQualifiedName": "MobilePush Demographics.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8951de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 29, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 12, + "storageName": "_Source", + "storageFieldReferenceID": { + "type": "guid", + "value": "a0c5a9fe-d72b-41dd-9307-77db3da0b9f4" + }, + "valueDefinitionID": "8951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Source", + "name": "Source", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8a51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SourceObjectID", + "definitionName": { + "value": "Source Object ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 30, + "fullyQualifiedName": "MobilePush Demographics.Source Object ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8a51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 30, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SourceObjectId", + "storageFieldReferenceID": { + "type": "guid", + "value": "020d90c4-4c9c-4a00-b661-5b75ec0c9b88" + }, + "valueDefinitionID": "8a51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SourceObjectID", + "name": "Source Object ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8b51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "State", + "definitionName": { + "value": "State" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 31, + "fullyQualifiedName": "MobilePush Demographics.State", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8b51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 31, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_State", + "storageFieldReferenceID": { + "type": "guid", + "value": "e65c52fd-e623-45cc-bb7a-1842617c5491" + }, + "valueDefinitionID": "8b51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "State", + "name": "State", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8c51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Status", + "definitionName": { + "value": "Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 32, + "fullyQualifiedName": "MobilePush Demographics.Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8c51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 32, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 13, + "storageName": "_Status", + "storageFieldReferenceID": { + "type": "guid", + "value": "a1c13a7c-566e-487f-8cc9-439064b6bfb4" + }, + "valueDefinitionID": "8c51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Status", + "name": "Status", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SystemToken", + "definitionName": { + "value": "System Token" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 33, + "fullyQualifiedName": "MobilePush Demographics.System Token", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 4000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 33, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SystemToken", + "storageFieldReferenceID": { + "type": "guid", + "value": "d7e80e54-124c-4260-986b-b32b58b8c0ee" + }, + "valueDefinitionID": "8d51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SystemToken", + "name": "System Token", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8e51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "TimeZone", + "definitionName": { + "value": "Time Zone" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 34, + "fullyQualifiedName": "MobilePush Demographics.Time Zone", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8e51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 34, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_TimeZone", + "storageFieldReferenceID": { + "type": "guid", + "value": "980d0010-a443-4044-9ca1-5d1cfeaedec7" + }, + "valueDefinitionID": "8e51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "TimeZone", + "name": "Time Zone", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8f51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "UTCOffset", + "definitionName": { + "value": "UTC Offset" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 35, + "fullyQualifiedName": "MobilePush Demographics.UTC Offset", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 4, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8f51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 35, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "_UTCOffset", + "storageFieldReferenceID": { + "type": "guid", + "value": "5c7c2a61-80da-4233-b895-54fd7e957e48" + }, + "valueDefinitionID": "8f51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "UTCOffset", + "name": "UTC Offset", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9051de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ZipCode", + "definitionName": { + "value": "Zip Code" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 36, + "fullyQualifiedName": "MobilePush Demographics.Zip Code", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "9051de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 36, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ZipCode", + "storageFieldReferenceID": { + "type": "guid", + "value": "ac282849-4bc1-4373-8412-16a5d9ab31e4" + }, + "valueDefinitionID": "9051de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ZipCode", + "name": "Zip Code", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "08b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "PushAddressExtensionID", + "definitionName": { + "value": "Push Address Extension ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 37, + "fullyQualifiedName": "MobilePush Demographics.Push Address Extension ID", + "isHidden": true, + "isIdentityValue": true, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 37, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "PushAddressExtensionId", + "valueDefinitionID": "08b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "PushAddressExtensionID", + "name": "Push Address Extension ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "09b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "DeviceLanguage", + "definitionName": { + "value": "Device Language" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 38, + "fullyQualifiedName": "MobilePush Demographics.Device Language", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 38, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "DeviceLanguage", + "valueDefinitionID": "09b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "DeviceLanguage", + "name": "Device Language", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0ab0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "GcmSenderId", + "definitionName": { + "value": "GCM Sender ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 39, + "fullyQualifiedName": "MobilePush Demographics.GCM Sender ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 39, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "GcmSenderId", + "valueDefinitionID": "0ab0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "GcmSenderId", + "name": "GCM Sender ID", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0bb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "AppVersion", + "definitionName": { + "value": "Application Version" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 40, + "fullyQualifiedName": "MobilePush Demographics.Application Version", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 40, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AppVersion", + "valueDefinitionID": "0bb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "AppVersion", + "name": "Application Version", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0cb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "SdkVersion", + "definitionName": { + "value": "SDK Version" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 41, + "fullyQualifiedName": "MobilePush Demographics.SDK Version", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 41, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SdkVersion", + "valueDefinitionID": "0cb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "SdkVersion", + "name": "SDK Version", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0db0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "LastAppOpen", + "definitionName": { + "value": "Last Application Open" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 42, + "fullyQualifiedName": "MobilePush Demographics.Last Application Open", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 42, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "LastAppOpen", + "valueDefinitionID": "0db0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "LastAppOpen", + "name": "Last Application Open", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0eb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "LastMessageOpen", + "definitionName": { + "value": "Last Message Open" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 43, + "fullyQualifiedName": "MobilePush Demographics.Last Message Open", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 43, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "LastMessageOpen", + "valueDefinitionID": "0eb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "LastMessageOpen", + "name": "Last Message Open", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0fb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "LastSend", + "definitionName": { + "value": "Last Send" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 44, + "fullyQualifiedName": "MobilePush Demographics.Last Send", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 44, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "LastSend", + "valueDefinitionID": "0fb0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "LastSend", + "name": "Last Send", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "10b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "SendCount", + "definitionName": { + "value": "Send Count" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 45, + "fullyQualifiedName": "MobilePush Demographics.Send Count", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 45, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SendCount", + "valueDefinitionID": "10b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "SendCount", + "name": "Send Count", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "11b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "MessageOpenCount", + "definitionName": { + "value": "Message Open Count" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 46, + "fullyQualifiedName": "MobilePush Demographics.Message Open Count", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 46, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "MessageOpenCount", + "valueDefinitionID": "11b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "MessageOpenCount", + "name": "Message Open Count", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "12b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "ProximityEnabled", + "definitionName": { + "value": "Proximity Enabled" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 47, + "fullyQualifiedName": "MobilePush Demographics.Proximity Enabled", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 47, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ProximityEnabled", + "valueDefinitionID": "12b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "ProximityEnabled", + "name": "Proximity Enabled", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "13b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "BackgroundRefreshEnabled", + "definitionName": { + "value": "Background Refresh Enabled" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 48, + "fullyQualifiedName": "MobilePush Demographics.Background Refresh Enabled", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 48, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "BackgroundRefreshEnabled", + "valueDefinitionID": "13b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "BackgroundRefreshEnabled", + "name": "Background Refresh Enabled", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "14b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "definitionKey": "QuietPushEnabled", + "definitionName": { + "value": "Quiet Push Enabled" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 49, + "fullyQualifiedName": "MobilePush Demographics.Quiet Push Enabled", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 49, + "parentDefinition": { + "definitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDemographics", + "definitionName": { + "value": "MobilePush Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "QuietPushEnabled", + "valueDefinitionID": "14b0ae24-ee46-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "QuietPushEnabled", + "name": "Quiet Push Enabled", + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "setDefinitionName": { + "value": "MobilePush Demographics" + }, + "parentIdentifier": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "2051892d-5de2-4ecf-98af-8ca9a40d2c9c", + "applicationKey": "com.exacttarget.mobilepush", + "attributeCount": 0, + "canAddValues": true, + "canChangeValues": true, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "MobilePush Demographics", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": true, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 3, + "sendAttributeStorageName": "_ContactID", + "sendContactKeyStorageName": "_SubscriberID", + "storageLogicalType": "PushAttributes", + "storageName": "_PushAddress", + "storageObjectIDs": [ + "4851de3f-31e2-e611-80cc-1402ec7222b4", + "9552de3f-31e2-e611-80cc-1402ec7222b4" + ], + "storageReferenceID": { + "type": "guid", + "value": "7893dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "6d51de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushDemographics", + "name": "MobilePush Demographics" + }, + { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7b86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Custom_Object_Key", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Session Ends.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "7b86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Custom_Object_Key", + "name": "Custom Object Key", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "7a86d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "user_id", + "definitionName": { + "value": "User Id" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Session Ends.User Id", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7a86d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "037a4978-3ce8-4311-95c3-b59d2e3f1a7f" + }, + "valueDefinitionID": "7a86d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "user_id", + "name": "User Id", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "session_id", + "localizedDescription": { + "value": "session_id" + }, + "definitionID": "7886d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "session_id", + "definitionName": { + "value": "Session Id" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Session Ends.Session Id", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7886d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "session_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "67b9fcff-4136-4b07-b5f6-e86d616e4136" + }, + "valueDefinitionID": "7886d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "session_id", + "name": "Session Id", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "email_address", + "localizedDescription": { + "value": "email_address" + }, + "definitionID": "7786d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "email_address", + "definitionName": { + "value": "Email Address" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Session Ends.Email Address", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7786d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "email_address", + "storageFieldReferenceID": { + "type": "guid", + "value": "8f1bc9c8-32a3-4b54-83aa-ffb6e56ec709" + }, + "valueDefinitionID": "7786d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "email_address", + "name": "Email Address", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "contact_key", + "localizedDescription": { + "value": "contact_key" + }, + "definitionID": "7686d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "contact_key", + "definitionName": { + "value": "Contact Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Session Ends.Contact Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7686d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "contact_key", + "storageFieldReferenceID": { + "type": "guid", + "value": "0dc0b53e-ce26-4508-89b2-f9cb0ab8404a" + }, + "valueDefinitionID": "7686d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "contact_key", + "name": "Contact Key", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "getdate()", + "description": "timestamp", + "localizedDescription": { + "value": "timestamp" + }, + "definitionID": "7986d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "timestamp", + "definitionName": { + "value": "Time stamp" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Session Ends.Time stamp", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "7986d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelSessionEnds", + "definitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "timestamp", + "storageFieldReferenceID": { + "type": "guid", + "value": "0c87ce00-c3f1-4c88-b652-ba8dfc3cc10f" + }, + "valueDefinitionID": "7986d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "timestamp", + "name": "Time stamp", + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "setDefinitionName": { + "value": "Predictive Intelligence Session Ends" + }, + "parentIdentifier": "7586d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Session Ends", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "PI_SESSION_ENDS", + "storageObjectIDs": ["6e86d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "7586d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelSessionEnds", + "name": "Predictive Intelligence Session Ends" + }, + { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "ab51de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "7c86d247-3045-ea11-a2e0-1402ec94ec41", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "8686d247-3045-ea11-a2e0-1402ec94ec41", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "7b86d247-3045-ea11-a2e0-1402ec94ec41", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "a251de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "9386d247-3045-ea11-a2e0-1402ec94ec41", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "7b86d247-3045-ea11-a2e0-1402ec94ec41", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "e651de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "a686d247-3045-ea11-a2e0-1402ec94ec41", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Text", + "customerDataID": 8, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7b86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "AddressID", + "definitionName": { + "value": "Address ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "GroupConnect LINE Addresses.Address ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "ordinal": 1, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AddressId", + "valueDefinitionID": "7b86d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "AddressID", + "name": "Address ID", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7c86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "GroupConnect LINE Addresses.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 2, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ContactId", + "valueDefinitionID": "7c86d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "ContactID", + "name": "Contact ID", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7d86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "ContactKey", + "definitionName": { + "value": "Contact Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "GroupConnect LINE Addresses.Contact Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "ordinal": 3, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ContactKey", + "valueDefinitionID": "7d86d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "ContactKey", + "name": "Contact Key", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "defaultValue": "True", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7e86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "IsActive", + "definitionName": { + "value": "Is Active" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "GroupConnect LINE Addresses.Is Active", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 7, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "IsActive", + "valueDefinitionID": "7e86d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "IsActive", + "name": "Is Active", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "7f86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "GroupConnect LINE Addresses.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 8, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedDate", + "valueDefinitionID": "7f86d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8086d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "GroupConnect LINE Addresses.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 9, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedBy", + "valueDefinitionID": "8086d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8186d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "GroupConnect LINE Addresses.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 10, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedDate", + "valueDefinitionID": "8186d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8286d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "GroupConnect LINE Addresses.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 11, + "parentDefinition": { + "definitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "definitionKey": "GroupConnectLineAddress", + "definitionName": { + "value": "GroupConnect LINE Addresses" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedBy", + "valueDefinitionID": "8286d247-3045-ea11-a2e0-1402ec94ec41", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "setDefinitionName": { + "value": "GroupConnect LINE Addresses" + }, + "parentIdentifier": "7a86d247-3045-ea11-a2e0-1402ec94ec41" + } + ], + "applicationID": "4e9519db-ad21-483a-a3fc-8ab4557eded1", + "applicationKey": "com.exacttarget.GroupConnect", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createDate": "2020-02-01T14:20:00", + "localizedDescription": {}, + "fullyQualifiedName": "GroupConnect LINE Addresses", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 3, + "storageObjectIDs": ["9851de3f-31e2-e611-80cc-1402ec7222b4"], + "setDefinitionID": "7a86d247-3045-ea11-a2e0-1402ec94ec41", + "setDefinitionKey": "GroupConnectLineAddress", + "name": "GroupConnect LINE Addresses" + }, + { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "e152de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "4" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "9174266c-c416-ec11-b839-48df37d1dc79", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "c80f6472-c416-ec11-b839-48df37d1dc79", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "8574266c-c416-ec11-b839-48df37d1dc79", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9274266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "_CustomObjectKey" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "fullyQualifiedName": "Einstein MC Predictive Scores._CustomObjectKey", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": false, + "isUpdateable": false, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "9274266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "CustomObjectKey", + "name": "_CustomObjectKey", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9174266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Address", + "definitionName": { + "value": "Email Address" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 0, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Address", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "9174266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 0, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "email_address", + "storageFieldReferenceID": { + "type": "guid", + "value": "29554274-39da-460d-b721-15badcd533e0" + }, + "valueDefinitionID": "9174266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Address", + "name": "Email Address", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8b74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Open Likelihood", + "definitionName": { + "value": "Email Open Likelihood" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Open Likelihood", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8b74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "EmailOpenLikelihood", + "storageFieldReferenceID": { + "type": "guid", + "value": "6a64b510-d27a-4d35-9bb4-23760adaa1f4" + }, + "valueDefinitionID": "8b74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Open Likelihood", + "name": "Email Open Likelihood", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8d74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Click Likelihood", + "definitionName": { + "value": "Email Click Likelihood" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Click Likelihood", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8d74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "EmailClickLikelihood", + "storageFieldReferenceID": { + "type": "guid", + "value": "6602de48-581e-497a-afae-2f97434db9b4" + }, + "valueDefinitionID": "8d74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Click Likelihood", + "name": "Email Click Likelihood", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Numeric", + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8f74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Open Score", + "definitionName": { + "value": "Email Open Score" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Open Score", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8f74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "EmailOpenScore", + "storageFieldReferenceID": { + "type": "guid", + "value": "5e315b7d-7135-4ffc-8520-8c9ec91e33fa" + }, + "valueDefinitionID": "8f74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Open Score", + "name": "Email Open Score", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8774266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Subscribe Likelihood", + "definitionName": { + "value": "Email Subscribe Likelihood" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Subscribe Likelihood", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8774266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "EmailSubscribeLikelihood", + "storageFieldReferenceID": { + "type": "guid", + "value": "be9bdd26-6875-4c1d-b9cc-64667e9155aa" + }, + "valueDefinitionID": "8774266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Subscribe Likelihood", + "name": "Email Subscribe Likelihood", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Numeric", + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8e74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EmailClickScore", + "definitionName": { + "value": "EmailClickScore" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Einstein MC Predictive Scores.EmailClickScore", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8e74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "EmailClickScore", + "storageFieldReferenceID": { + "type": "guid", + "value": "64515ffd-067d-4abe-9a4e-c72eb303db0b" + }, + "valueDefinitionID": "8e74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "EmailClickScore", + "name": "EmailClickScore", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Numeric", + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8674266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Email Subscribe Score", + "definitionName": { + "value": "Email Subscribe Score" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Einstein MC Predictive Scores.Email Subscribe Score", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8674266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "EmailSubscribeScore", + "storageFieldReferenceID": { + "type": "guid", + "value": "d392d512-6c6e-40dd-8bbf-a50c36321372" + }, + "valueDefinitionID": "8674266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Email Subscribe Score", + "name": "Email Subscribe Score", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8c74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EmailEngagementPersona", + "definitionName": { + "value": "EmailEngagementPersona" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Einstein MC Predictive Scores.EmailEngagementPersona", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8c74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "EmailEngagementPersona", + "storageFieldReferenceID": { + "type": "guid", + "value": "67b5a098-1374-4d0a-9ffa-ad9a465eac66" + }, + "valueDefinitionID": "8c74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "EmailEngagementPersona", + "name": "EmailEngagementPersona", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Text", + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8974266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Conversion Likelihood", + "definitionName": { + "value": "Conversion Likelihood" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Einstein MC Predictive Scores.Conversion Likelihood", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8974266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ConversionLikelihood", + "storageFieldReferenceID": { + "type": "guid", + "value": "a293ae7a-dc35-462d-8909-32eccc22fc58" + }, + "valueDefinitionID": "8974266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Conversion Likelihood", + "name": "Conversion Likelihood", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Numeric", + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8a74266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Conversion Score", + "definitionName": { + "value": "Conversion Score" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Einstein MC Predictive Scores.Conversion Score", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8a74266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "ConversionScore", + "storageFieldReferenceID": { + "type": "guid", + "value": "75a99602-df46-4fcc-a731-1b56c0d24d0e" + }, + "valueDefinitionID": "8a74266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Conversion Score", + "name": "Conversion Score", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Date", + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "getdate()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9074266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Updated Date", + "definitionName": { + "value": "Updated Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Einstein MC Predictive Scores.Updated Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "9074266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "UpdatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "4457d74f-2c14-4a3f-baf2-2cc34cf8858b" + }, + "valueDefinitionID": "9074266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Updated Date", + "name": "Updated Date", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + { + "baseType": "Date", + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "getdate()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8874266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "Created Date", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "Einstein MC Predictive Scores.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8874266c-c416-ec11-b839-48df37d1dc79" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "definitionKey": "EinsteinMCPredictiveScores", + "definitionName": { + "value": "Einstein MC Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "a4852a5f-2952-4648-911a-452533298dab" + }, + "valueDefinitionID": "8874266c-c416-ec11-b839-48df37d1dc79", + "valueDefinitionKey": "Created Date", + "name": "Created Date", + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "setDefinitionName": { + "value": "Einstein MC Predictive Scores" + }, + "parentIdentifier": "8574266c-c416-ec11-b839-48df37d1dc79" + } + ], + "applicationID": "aed181bc-d7b7-465e-a3dd-9cdfb13943e2", + "applicationKey": "com.sfmc-einstein.Einstein Engagement Scoring", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2021-09-16T02:03:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Einstein MC Predictive Scores", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "ExactTargetSchema", + "storageName": "Einstein_MC_Predictive_Scores", + "storageObjectIDs": ["c90f6472-c416-ec11-b839-48df37d1dc79"], + "storageReferenceID": { + "type": "guid", + "value": "e5ca7d21-aba6-e811-a2bf-1402ec94ecf1" + }, + "setDefinitionID": "8574266c-c416-ec11-b839-48df37d1dc79", + "setDefinitionKey": "EinsteinMCPredictiveScores", + "name": "Einstein MC Predictive Scores" + }, + { + "definitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Contact", + "definitionName": { + "value": "Contact" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "8f93dc39-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "9893dc39-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "customerDataID": 2, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "fullyQualifiedName": "Contact.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "parentDefinition": { + "definitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Contact", + "definitionName": { + "value": "Contact" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SubscriberID", + "valueDefinitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactID", + "name": "Contact ID", + "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "Contact", + "setDefinitionName": { + "value": "Contact" + }, + "parentIdentifier": "9093dc39-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "customerDataID": 3, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactKey", + "definitionName": { + "value": "Contact Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "fullyQualifiedName": "Contact.Contact Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "parentDefinition": { + "definitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Contact", + "definitionName": { + "value": "Contact" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SubscriberKey", + "valueDefinitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactKey", + "name": "Contact Key", + "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "Contact", + "setDefinitionName": { + "value": "Contact" + }, + "parentIdentifier": "9093dc39-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "customerDataID": 1, + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Number", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "BusinessUnitID", + "definitionName": { + "value": "Business Unit ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "fullyQualifiedName": "Contact.Business Unit ID", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "parentDefinition": { + "definitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Contact", + "definitionName": { + "value": "Contact" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ClientID", + "valueDefinitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "BusinessUnitID", + "name": "Business Unit ID", + "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "Contact", + "setDefinitionName": { + "value": "Contact" + }, + "parentIdentifier": "9093dc39-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "ce703ed3-e01f-4f5f-900d-76a95b363e29", + "applicationKey": "com.exacttarget.contacts", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "localizedDescription": {}, + "fullyQualifiedName": "Contact", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageObjectIDs": ["2ba72136-9f31-4a79-ab62-4ba5d19cd759"], + "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "Contact", + "name": "Contact" + }, + { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a251de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "AddressID", + "definitionName": { + "value": "Address ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "GroupConnect LINE Demographics.Address ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "ordinal": 1, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AddressId", + "valueDefinitionID": "a251de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "AddressID", + "name": "Address ID", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "da51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "DisplayName", + "definitionName": { + "value": "Display Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "GroupConnect LINE Demographics.Display Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "ordinal": 2, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "DisplayName", + "valueDefinitionID": "da51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "DisplayName", + "name": "Display Name", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "db51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PictureUrl", + "definitionName": { + "value": "Picture Url" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "GroupConnect LINE Demographics.Picture Url", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "ordinal": 3, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "PictureUrl", + "valueDefinitionID": "db51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PictureUrl", + "name": "Picture Url", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dc51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "StatusMessage", + "definitionName": { + "value": "Status Message" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "GroupConnect LINE Demographics.Status Message", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "ordinal": 4, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "StatusMessage", + "valueDefinitionID": "dc51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "StatusMessage", + "name": "Status Message", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a651de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "GroupConnect LINE Demographics.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 8, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedDate", + "valueDefinitionID": "a651de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a751de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "GroupConnect LINE Demographics.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 9, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedBy", + "valueDefinitionID": "a751de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a851de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "GroupConnect LINE Demographics.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 10, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedDate", + "valueDefinitionID": "a851de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "GroupConnect LINE Demographics.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 11, + "parentDefinition": { + "definitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineDemographics", + "definitionName": { + "value": "GroupConnect LINE Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedBy", + "valueDefinitionID": "a951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "setDefinitionName": { + "value": "GroupConnect LINE Demographics" + }, + "parentIdentifier": "a151de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "4e9519db-ad21-483a-a3fc-8ab4557eded1", + "applicationKey": "com.exacttarget.GroupConnect", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "localizedDescription": {}, + "fullyQualifiedName": "GroupConnect LINE Demographics", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageObjectIDs": [ + "9851de3f-31e2-e611-80cc-1402ec7222b4", + "d351de3f-31e2-e611-80cc-1402ec7222b4" + ], + "setDefinitionID": "a151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineDemographics", + "name": "GroupConnect LINE Demographics" + }, + { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "e152de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "3" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9393dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "a585d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "a985d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "a185d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "a785d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Scores.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "a785d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "subscriber_key", + "localizedDescription": { + "value": "subscriber_key" + }, + "definitionID": "a585d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Subscriber Key", + "definitionName": { + "value": "Subscriber Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Scores.Subscriber Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "a585d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "subscriber_key", + "storageFieldReferenceID": { + "type": "guid", + "value": "f6ce2639-bfff-40c0-835c-9fa89e627592" + }, + "valueDefinitionID": "a585d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Subscriber Key", + "name": "Subscriber Key", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "goal_name", + "localizedDescription": { + "value": "goal_name" + }, + "definitionID": "a285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Goal Name", + "definitionName": { + "value": "Goal Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Scores.Goal Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "a285d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "goal_name", + "storageFieldReferenceID": { + "type": "guid", + "value": "62f73dda-4116-4fdd-ae38-a5cb74fafc6b" + }, + "valueDefinitionID": "a285d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Goal Name", + "name": "Goal Name", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "goal_name_key", + "localizedDescription": { + "value": "goal_name_key" + }, + "definitionID": "a385d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Goal Name Key", + "definitionName": { + "value": "Goal Name Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Scores.Goal Name Key", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "a385d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "goal_name_key", + "storageFieldReferenceID": { + "type": "guid", + "value": "5c34b4cc-5d35-460e-a0b7-ba8e349d725b" + }, + "valueDefinitionID": "a385d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Goal Name Key", + "name": "Goal Name Key", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "score", + "localizedDescription": { + "value": "score" + }, + "definitionID": "a485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Score", + "definitionName": { + "value": "Score" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Scores.Score", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "a485d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 4, + "storageName": "score", + "storageFieldReferenceID": { + "type": "guid", + "value": "8baf5deb-f215-4984-9d91-6e05b88c2f94" + }, + "valueDefinitionID": "a485d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Score", + "name": "Score", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "updated_at", + "localizedDescription": { + "value": "updated_at" + }, + "definitionID": "a685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Updated At", + "definitionName": { + "value": "Updated At" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Scores.Updated At", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "a685d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelScores", + "definitionName": { + "value": "Predictive Scores" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "updated_at", + "storageFieldReferenceID": { + "type": "guid", + "value": "d6fefe2f-e2d5-42bb-bee2-5dd8da16b8e4" + }, + "valueDefinitionID": "a685d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Updated At", + "name": "Updated At", + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "setDefinitionName": { + "value": "Predictive Scores" + }, + "parentIdentifier": "a185d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Scores", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "PREDICTIVE_SCORES", + "storageObjectIDs": ["9a85d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "de52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "a185d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelScores", + "name": "Predictive Scores" + }, + { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b451de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "b351de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "b751de3f-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b351de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ContactsID", + "definitionName": { + "value": "Contacts ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 0, + "fullyQualifiedName": "Email Demographics.Contacts ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": true, + "ordinal": 0, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SubscriberID", + "valueDefinitionID": "b351de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ContactsID", + "name": "Contacts ID", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b4e96cfc-85f7-e611-80cc-1402ec7222b4", + "definitionKey": "First Name", + "definitionName": { + "value": "First Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Email Demographics.First Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b4e96cfc-85f7-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "First Name", + "storageFieldReferenceID": { + "type": "guid", + "value": "eef81ae9-14e8-47b3-bede-5a691614c7c3" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10025" + }, + "valueDefinitionID": "b4e96cfc-85f7-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "First Name", + "name": "First Name", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b6e96cfc-85f7-e611-80cc-1402ec7222b4", + "definitionKey": "Last Name", + "definitionName": { + "value": "Last Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Email Demographics.Last Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b6e96cfc-85f7-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Last Name", + "storageFieldReferenceID": { + "type": "guid", + "value": "4434d534-4fb8-4ec4-9ffc-fe386781f8ef" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10026" + }, + "valueDefinitionID": "b6e96cfc-85f7-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Last Name", + "name": "Last Name", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b2e96cfc-85f7-e611-80cc-1402ec7222b4", + "definitionKey": "Language", + "definitionName": { + "value": "Language" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Email Demographics.Language", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b2e96cfc-85f7-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Language", + "storageFieldReferenceID": { + "type": "guid", + "value": "4b06d940-5f23-461f-859d-9c2aeee53525" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10027" + }, + "valueDefinitionID": "b2e96cfc-85f7-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Language", + "name": "Language", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "720e6c78-9709-e711-80cc-1402ec7222b4", + "definitionKey": "Transaction Points1", + "definitionName": { + "value": "Transaction Points" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Email Demographics.Transaction Points", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "720e6c78-9709-e711-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Transaction Points", + "storageFieldReferenceID": { + "type": "guid", + "value": "fdcb28a8-59fd-489a-bdce-b286bccc147e" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10033" + }, + "valueDefinitionID": "720e6c78-9709-e711-80cc-1402ec7222b4", + "valueDefinitionKey": "Transaction Points1", + "name": "Transaction Points", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f05cc16f-8a14-e711-80cc-1402ec7222b4", + "definitionKey": "Market", + "definitionName": { + "value": "Market" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Email Demographics.Market", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f05cc16f-8a14-e711-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Market", + "storageFieldReferenceID": { + "type": "guid", + "value": "d6f80d57-488f-401b-822b-1b556d631d1c" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10034" + }, + "valueDefinitionID": "f05cc16f-8a14-e711-80cc-1402ec7222b4", + "valueDefinitionKey": "Market", + "name": "Market", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "32c8b204-85ff-e711-80d0-1402ec7222b5", + "definitionKey": "SFOrg", + "definitionName": { + "value": "SFOrg" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Email Demographics.SFOrg", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "32c8b204-85ff-e711-80d0-1402ec7222b5" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SFOrg", + "storageFieldReferenceID": { + "type": "guid", + "value": "5d1032d3-5c92-4de4-bfb8-0e377f4483e2" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10081" + }, + "valueDefinitionID": "32c8b204-85ff-e711-80d0-1402ec7222b5", + "valueDefinitionKey": "SFOrg", + "name": "SFOrg", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "8775d770-e194-e911-a2cf-1402ec94ecf1", + "definitionKey": "Username", + "definitionName": { + "value": "Username" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Email Demographics.Username", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 255, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "8775d770-e194-e911-a2cf-1402ec94ecf1" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Username", + "storageFieldReferenceID": { + "type": "guid", + "value": "55ac244c-2afd-4134-8495-9c1c188debdc" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10299" + }, + "valueDefinitionID": "8775d770-e194-e911-a2cf-1402ec94ecf1", + "valueDefinitionKey": "Username", + "name": "Username", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "570dea88-6e94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Account Id", + "definitionName": { + "value": "Account Id" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Email Demographics.Account Id", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "570dea88-6e94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Account Id", + "storageFieldReferenceID": { + "type": "guid", + "value": "eb2f7e92-f7f8-435c-835a-3c24d5e003d5" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10334" + }, + "valueDefinitionID": "570dea88-6e94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Account Id", + "name": "Account Id", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "74c1c047-9e94-ea11-a2e5-1402ec9386e5", + "definitionKey": "AccountId", + "definitionName": { + "value": "AccountId" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Email Demographics.AccountId", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "74c1c047-9e94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Account Id", + "storageFieldReferenceID": { + "type": "guid", + "value": "eb2f7e92-f7f8-435c-835a-3c24d5e003d5" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10334" + }, + "valueDefinitionID": "74c1c047-9e94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "AccountId", + "name": "AccountId", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "560dea88-6e94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Preferred language", + "definitionName": { + "value": "Preferred language" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "Email Demographics.Preferred language", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "560dea88-6e94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Preferred language", + "storageFieldReferenceID": { + "type": "guid", + "value": "be1fac02-93ef-4c9e-b06d-22757e1aeda8" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10336" + }, + "valueDefinitionID": "560dea88-6e94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Preferred language", + "name": "Preferred language", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "550dea88-6e94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Flex Parameter 1", + "definitionName": { + "value": "Flex Parameter 1" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "Email Demographics.Flex Parameter 1", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "550dea88-6e94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 13, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Flex Parameter 1", + "storageFieldReferenceID": { + "type": "guid", + "value": "96436704-494e-4bb1-914a-3ad6994bbf2d" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10337" + }, + "valueDefinitionID": "550dea88-6e94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Flex Parameter 1", + "name": "Flex Parameter 1", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "866d4451-7d94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Flex Parameter 2", + "definitionName": { + "value": "Flex Parameter 2" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "Email Demographics.Flex Parameter 2", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "866d4451-7d94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Flex Parameter 2", + "storageFieldReferenceID": { + "type": "guid", + "value": "02a5b26c-05f6-426b-8735-de6033503f8f" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10338" + }, + "valueDefinitionID": "866d4451-7d94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Flex Parameter 2", + "name": "Flex Parameter 2", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "876d4451-7d94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Flex Parameter 3", + "definitionName": { + "value": "Flex Parameter 3" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "Email Demographics.Flex Parameter 3", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "876d4451-7d94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Flex Parameter 3", + "storageFieldReferenceID": { + "type": "guid", + "value": "058f7489-c272-466c-88ce-b528b5b17955" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10339" + }, + "valueDefinitionID": "876d4451-7d94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Flex Parameter 3", + "name": "Flex Parameter 3", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "886d4451-7d94-ea11-a2e5-1402ec9386e5", + "definitionKey": "Flex Parameter 4", + "definitionName": { + "value": "Flex Parameter 4" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "Email Demographics.Flex Parameter 4", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "886d4451-7d94-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 16, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Flex Parameter 4", + "storageFieldReferenceID": { + "type": "guid", + "value": "2702b318-539d-4fe3-9c52-c7ba3e32a949" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10340" + }, + "valueDefinitionID": "886d4451-7d94-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Flex Parameter 4", + "name": "Flex Parameter 4", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 2, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "1a4f88cd-a194-ea11-a2e5-1402ec9386e5", + "definitionKey": "Contact Role", + "definitionName": { + "value": "Contact Role" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 17, + "fullyQualifiedName": "Email Demographics.Contact Role", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "1a4f88cd-a194-ea11-a2e5-1402ec9386e5" + }, + "ordinal": 17, + "parentDefinition": { + "definitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "EmailDemographics", + "definitionName": { + "value": "Email Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Contact Role", + "storageFieldReferenceID": { + "type": "guid", + "value": "f3412d1f-bf50-4e3a-8db8-7e1bc15e019b" + }, + "storageFieldValueID": { + "type": "int32", + "value": "10341" + }, + "valueDefinitionID": "1a4f88cd-a194-ea11-a2e5-1402ec9386e5", + "valueDefinitionKey": "Contact Role", + "name": "Contact Role", + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "setDefinitionName": { + "value": "Email Demographics" + }, + "parentIdentifier": "b151de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "b2ca1f50-3cc4-4fd7-a3a3-88bf09fb59fa", + "applicationKey": "com.exacttarget.email", + "attributeCount": 0, + "canAddValues": true, + "canChangeValues": true, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 0, + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Email Demographics", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "EnterpriseAttributes", + "storageName": "_EnterpriseAttribute", + "storageObjectIDs": ["b051de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "1ba7e67d-2647-4537-beb3-b0c5bac65d3c" + }, + "setDefinitionID": "b151de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "EmailDemographics", + "name": "Email Demographics" + }, + { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b285d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "b485d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "7886d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "7d86d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "7586d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b285d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "b585d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "c885d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "cd85d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c485d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b885d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Product Views.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "b885d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "sku", + "localizedDescription": { + "value": "sku" + }, + "definitionID": "b585d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SKU", + "definitionName": { + "value": "SKU" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Product Views.SKU", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b585d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "sku", + "storageFieldReferenceID": { + "type": "guid", + "value": "f8553b64-8076-449d-aea0-450aed1a793c" + }, + "valueDefinitionID": "b585d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SKU", + "name": "SKU", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "b785d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "User_ID", + "definitionName": { + "value": "User ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Product Views.User ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b785d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "f8e9c116-3218-4064-92e4-dcccaf730a4f" + }, + "valueDefinitionID": "b785d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "User_ID", + "name": "User ID", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "session_id", + "localizedDescription": { + "value": "session_id" + }, + "definitionID": "b485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Session_ID", + "definitionName": { + "value": "Session ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Product Views.Session ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b485d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "session_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "bbca44f6-6353-464d-aba1-4285ae5072b6" + }, + "valueDefinitionID": "b485d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Session_ID", + "name": "Session ID", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Search", + "localizedDescription": { + "value": "Search" + }, + "definitionID": "b385d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Search", + "definitionName": { + "value": "Search" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Product Views.Search", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b385d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Search", + "storageFieldReferenceID": { + "type": "guid", + "value": "68949690-06d5-452d-b4c7-b8daab2f3681" + }, + "valueDefinitionID": "b385d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Search", + "name": "Search", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "Timestamp", + "localizedDescription": { + "value": "Timestamp" + }, + "definitionID": "b685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Timestamp", + "definitionName": { + "value": "Timestamp" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Product Views.Timestamp", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b685d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductViews", + "definitionName": { + "value": "Predictive Intelligence Product Views" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Timestamp", + "storageFieldReferenceID": { + "type": "guid", + "value": "4fb7775d-277f-4f87-ba60-da24b120ba49" + }, + "valueDefinitionID": "b685d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Timestamp", + "name": "Timestamp", + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "setDefinitionName": { + "value": "Predictive Intelligence Product Views" + }, + "parentIdentifier": "b285d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Product Views", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 2, + "storageLogicalType": "DataExtension", + "storageName": "IGO_VIEWS", + "storageObjectIDs": ["ab85d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d552de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "b285d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductViews", + "name": "Predictive Intelligence Product Views" + }, + { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushAppID", + "definitionName": { + "value": "Application" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "MobilePush Subscriptions.Application", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 38, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b452de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 11, + "storageName": "_APID", + "storageFieldReferenceID": { + "type": "guid", + "value": "4e82734e-ff8a-4868-a786-20e9596a94d2" + }, + "valueDefinitionID": "b452de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushAppID", + "name": "Application", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "bb52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "MobilePush Subscriptions.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 9, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "bb52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b552de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDeviceID", + "definitionName": { + "value": "Device ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "MobilePush Subscriptions.Device ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b552de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_DeviceID", + "storageFieldReferenceID": { + "type": "guid", + "value": "9d8db1d4-c00e-49bc-98d9-e30d2e3ed7cf" + }, + "valueDefinitionID": "b552de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushDeviceID", + "name": "Device ID", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInDate", + "definitionName": { + "value": "Opt In Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 20, + "fullyQualifiedName": "MobilePush Subscriptions.Opt In Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 20, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "68c6681d-6f0f-4ec2-9407-55c5eb19fc19" + }, + "valueDefinitionID": "b652de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInDate", + "name": "Opt In Date", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b752de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInMethodID", + "definitionName": { + "value": "Opt In Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 21, + "fullyQualifiedName": "MobilePush Subscriptions.Opt In Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 21, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 9, + "storageName": "_OptInMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "8b821a18-6cee-4204-9ef9-18d94112e84f" + }, + "valueDefinitionID": "b752de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInMethodID", + "name": "Opt In Method", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b852de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInStatusID", + "definitionName": { + "value": "Opt In Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 22, + "fullyQualifiedName": "MobilePush Subscriptions.Opt In Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 22, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 8, + "storageName": "_OptInStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "673470b8-8503-4c4c-b9ae-9bf554d0a235" + }, + "valueDefinitionID": "b852de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInStatusID", + "name": "Opt In Status", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "b952de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutDate", + "definitionName": { + "value": "Opt Out Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 23, + "fullyQualifiedName": "MobilePush Subscriptions.Opt Out Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "b952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 23, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "8424262e-6904-4915-a4b3-2957b044b3ee" + }, + "valueDefinitionID": "b952de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutDate", + "name": "Opt Out Date", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ba52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutMethodID", + "definitionName": { + "value": "Opt Out Method" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 24, + "fullyQualifiedName": "MobilePush Subscriptions.Opt Out Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "ba52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 24, + "parentDefinition": { + "definitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushSubscriptions", + "definitionName": { + "value": "MobilePush Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 10, + "storageName": "_OptOutMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "3919bba5-e953-435d-8874-66be31cb1821" + }, + "valueDefinitionID": "ba52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutMethodID", + "name": "Opt Out Method", + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "setDefinitionName": { + "value": "MobilePush Subscriptions" + }, + "parentIdentifier": "b352de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "2051892d-5de2-4ecf-98af-8ca9a40d2c9c", + "applicationKey": "com.exacttarget.mobilepush", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "MobilePush Subscriptions", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "sendAttributeStorageName": "_ContactID", + "sendContactKeyStorageName": "_SubscriberID", + "storageLogicalType": "PushAttributes", + "storageName": "_PushAddress", + "storageObjectIDs": ["4851de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7893dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "b352de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushSubscriptions", + "name": "MobilePush Subscriptions" + }, + { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c485d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "c885d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "da85d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "de85d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "d685d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cb85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Products.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "cb85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "name", + "localizedDescription": { + "value": "name" + }, + "definitionID": "c585d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Name", + "definitionName": { + "value": "Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Products.Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c585d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "name", + "storageFieldReferenceID": { + "type": "guid", + "value": "116f93a1-da7c-4b0a-876c-7f6f107881c5" + }, + "valueDefinitionID": "c585d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Name", + "name": "Name", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "regPrice", + "localizedDescription": { + "value": "regPrice" + }, + "definitionID": "c685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Regular_Price", + "definitionName": { + "value": "Regular Price" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Products.Regular Price", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c685d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "regPrice", + "storageFieldReferenceID": { + "type": "guid", + "value": "d651f3d5-5b32-4fd7-907d-2d6caf42f827" + }, + "valueDefinitionID": "c685d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Regular_Price", + "name": "Regular Price", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "salePrice", + "localizedDescription": { + "value": "salePrice" + }, + "definitionID": "c785d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Sale_Price", + "definitionName": { + "value": "Sale Price" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Products.Sale Price", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c785d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "salePrice", + "storageFieldReferenceID": { + "type": "guid", + "value": "b10ebf49-6195-40c2-beaa-810d2c5b39d4" + }, + "valueDefinitionID": "c785d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Sale_Price", + "name": "Sale Price", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Uuid", + "localizedDescription": { + "value": "Uuid" + }, + "definitionID": "ca85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "UUID", + "definitionName": { + "value": "UUID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Products.UUID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "ca85d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Uuid", + "storageFieldReferenceID": { + "type": "guid", + "value": "7fc0495c-f03d-496a-a74d-770a9e672518" + }, + "valueDefinitionID": "ca85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "UUID", + "name": "UUID", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "sku", + "localizedDescription": { + "value": "sku" + }, + "definitionID": "c885d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SKU", + "definitionName": { + "value": "SKU" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Products.SKU", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c885d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "sku", + "storageFieldReferenceID": { + "type": "guid", + "value": "603870ea-b2e0-4613-bb22-08f582f34a94" + }, + "valueDefinitionID": "c885d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SKU", + "name": "SKU", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "type", + "localizedDescription": { + "value": "type" + }, + "definitionID": "c985d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Type", + "definitionName": { + "value": "Type" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Predictive Intelligence Products.Type", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c985d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProducts", + "definitionName": { + "value": "Predictive Intelligence Products" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "type", + "storageFieldReferenceID": { + "type": "guid", + "value": "9f3e8ffe-c631-4397-ab2e-8cbc50d7f6c1" + }, + "valueDefinitionID": "c985d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Type", + "name": "Type", + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "setDefinitionName": { + "value": "Predictive Intelligence Products" + }, + "parentIdentifier": "c485d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Products", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 1, + "storageLogicalType": "DataExtension", + "storageName": "IGO_PRODUCTS", + "storageObjectIDs": ["bc85d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "c485d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProducts", + "name": "Predictive Intelligence Products" + }, + { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "c752de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushAppID", + "definitionName": { + "value": "Application" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "MobilePush Tags.Application", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 38, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 11, + "storageName": "_APID", + "storageFieldReferenceID": { + "type": "guid", + "value": "7f711754-1b97-4c7d-86d8-507f9fcb877d" + }, + "valueDefinitionID": "c752de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushAppID", + "name": "Application", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ce52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "MobilePush Tags.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 2, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "ce52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "c852de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "MobilePush Tags.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "dbc7917c-95cd-4294-b116-eb215d1c5c0b" + }, + "valueDefinitionID": "c852de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "c952de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "MobilePush Tags.Created Date", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "c952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "30e22e41-0415-4d8a-b817-c56b0bffa168" + }, + "valueDefinitionID": "c952de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ca52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushDeviceID", + "definitionName": { + "value": "Device ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "MobilePush Tags.Device ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "ca52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_DeviceID", + "storageFieldReferenceID": { + "type": "guid", + "value": "ee23b0fd-76ad-46b5-9e14-aef0e17ec28f" + }, + "valueDefinitionID": "ca52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "PushDeviceID", + "name": "Device ID", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cb52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "MobilePush Tags.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cb52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "36b8827e-6017-4cba-bd0f-ba2261480736" + }, + "valueDefinitionID": "cb52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cc52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "MobilePush Tags.Modified Date", + "isHidden": true, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cc52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "685ea0db-0ecb-4111-8676-0a7c0a29c79f" + }, + "valueDefinitionID": "cc52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cd52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value", + "definitionName": { + "value": "Value" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "MobilePush Tags.Value", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 128, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cd52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PushTags", + "definitionName": { + "value": "MobilePush Tags" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Value", + "storageFieldReferenceID": { + "type": "guid", + "value": "cd7e2a3c-2551-4518-96c7-5c6b0d42423e" + }, + "valueDefinitionID": "cd52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value", + "name": "Value", + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "setDefinitionName": { + "value": "MobilePush Tags" + }, + "parentIdentifier": "c652de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "2051892d-5de2-4ecf-98af-8ca9a40d2c9c", + "applicationKey": "com.exacttarget.mobilepush", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "MobilePush Tags", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "_PushTag", + "storageObjectIDs": ["bd52de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7993dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "c652de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PushTags", + "name": "MobilePush Tags" + }, + { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "cae9847d-696d-eb11-b81e-48df37d1df5a", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "2" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "9293dc39-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "cee9847d-696d-eb11-b81e-48df37d1df5a", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "9a42dcad-ae72-4cde-9937-193e17485ad6", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "d5e9847d-696d-eb11-b81e-48df37d1df5a", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "f7e9847d-696d-eb11-b81e-48df37d1df5a", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "04ea847d-696d-eb11-b81e-48df37d1df5a", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cbe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "CarrierID", + "definitionName": { + "value": "Carrier ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Chat Message Demographics.Carrier ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cbe9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 1, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CarrierID", + "storageFieldReferenceID": { + "type": "guid", + "value": "3fdc8842-cc0f-407c-a3ec-930d7a027d1d" + }, + "valueDefinitionID": "cbe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "CarrierID", + "name": "Carrier ID", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cce9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "Channel", + "definitionName": { + "value": "Channel" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Chat Message Demographics.Channel", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cce9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Channel", + "storageFieldReferenceID": { + "type": "guid", + "value": "ef36ded9-67b2-4daf-899f-6862af8e5ee7" + }, + "valueDefinitionID": "cce9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "Channel", + "name": "Channel", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cde9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "City", + "definitionName": { + "value": "City" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Chat Message Demographics.City", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cde9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_City", + "storageFieldReferenceID": { + "type": "guid", + "value": "be7b4554-bf03-4a80-9101-3e396b2e345f" + }, + "valueDefinitionID": "cde9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "City", + "name": "City", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cee9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ContactID", + "definitionName": { + "value": "Contact ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Chat Message Demographics.Contact ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cee9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ContactID", + "storageFieldReferenceID": { + "type": "guid", + "value": "b0e31883-cae8-4bc5-aa24-88565d375a18" + }, + "valueDefinitionID": "cee9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "ContactID", + "name": "Contact ID", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d0e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Chat Message Demographics.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d0e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "1671a32a-8eb0-4dc5-b30d-8ad16e55a601" + }, + "valueDefinitionID": "d0e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d1e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Chat Message Demographics.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d1e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "de543ca5-5920-4309-adb9-33472144defe" + }, + "valueDefinitionID": "d1e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "FirstName", + "definitionName": { + "value": "First Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Chat Message Demographics.First Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_FirstName", + "storageFieldReferenceID": { + "type": "guid", + "value": "125f7c91-2f11-44bd-9687-f22cf2461496" + }, + "valueDefinitionID": "d2e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "FirstName", + "name": "First Name", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "defaultValue": "False", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d3e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "IsHonorDST", + "definitionName": { + "value": "Is Honor DST" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Chat Message Demographics.Is Honor DST", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d3e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_IsHonorDST", + "storageFieldReferenceID": { + "type": "guid", + "value": "17abe00a-4306-43c5-b27f-a81f015d6dfb" + }, + "valueDefinitionID": "d3e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "IsHonorDST", + "name": "Is Honor DST", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d4e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "LastName", + "definitionName": { + "value": "Last Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "Chat Message Demographics.Last Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 100, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d4e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_LastName", + "storageFieldReferenceID": { + "type": "guid", + "value": "e31f18f4-5422-410b-adcc-1b60f61cce5f" + }, + "valueDefinitionID": "d4e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "LastName", + "name": "Last Name", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "cfe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "CountryCode", + "definitionName": { + "value": "Locale" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "Chat Message Demographics.Locale", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 2, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "cfe9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CountryCode", + "storageFieldReferenceID": { + "type": "guid", + "value": "4b5fda70-47cb-4f4b-8ba6-f5cac53ee344" + }, + "valueDefinitionID": "cfe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "CountryCode", + "name": "Locale", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Phone", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d5e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "MobileNumber", + "definitionName": { + "value": "Mobile Number" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "Chat Message Demographics.Mobile Number", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 15, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d5e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileNumber", + "storageFieldReferenceID": { + "type": "guid", + "value": "e31a7e3b-e943-440e-9be6-77224a4928fe" + }, + "valueDefinitionID": "d5e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "MobileNumber", + "name": "Mobile Number", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d6e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "Chat Message Demographics.Modified By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d6e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy", + "storageFieldReferenceID": { + "type": "guid", + "value": "a9be58ef-884d-44f4-9926-d73ebe587847" + }, + "valueDefinitionID": "d6e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d7e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "Chat Message Demographics.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d7e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 16, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "216659c1-9512-47de-a9ee-822f48148514" + }, + "valueDefinitionID": "d7e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d8e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "Priority", + "definitionName": { + "value": "Priority" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 17, + "fullyQualifiedName": "Chat Message Demographics.Priority", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d8e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 17, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Priority", + "storageFieldReferenceID": { + "type": "guid", + "value": "71153ee5-a33f-4cf6-a963-0c3a893d9348" + }, + "valueDefinitionID": "d8e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "Priority", + "name": "Priority", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "d9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "Source", + "definitionName": { + "value": "Source" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 18, + "fullyQualifiedName": "Chat Message Demographics.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 18, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 5, + "storageName": "_Source", + "storageFieldReferenceID": { + "type": "guid", + "value": "f6bafdfb-86bf-45e8-9b76-b878c904d6c5" + }, + "valueDefinitionID": "d9e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "Source", + "name": "Source", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dae9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "SourceObjectID", + "definitionName": { + "value": "Source Object ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 19, + "fullyQualifiedName": "Chat Message Demographics.Source Object ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "dae9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 19, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SourceObjectId", + "storageFieldReferenceID": { + "type": "guid", + "value": "c67a7922-44e5-4c4b-a4c8-2ac3550a5f07" + }, + "valueDefinitionID": "dae9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "SourceObjectID", + "name": "Source Object ID", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 4, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dfe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "SFContactID", + "definitionName": { + "value": "SFContactID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 19, + "fullyQualifiedName": "Chat Message Demographics.SFContactID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": true, + "length": 50, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "dfe9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 19, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "SFContactID", + "storageFieldReferenceID": { + "type": "guid", + "value": "ce5a90ea-88eb-4683-9a1a-5c776b5763ce" + }, + "valueDefinitionID": "dfe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "SFContactID", + "name": "SFContactID", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dbe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "State", + "definitionName": { + "value": "State" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 20, + "fullyQualifiedName": "Chat Message Demographics.State", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 200, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "dbe9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 20, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_State", + "storageFieldReferenceID": { + "type": "guid", + "value": "c0ea1fac-d939-4dde-b45a-16586f661924" + }, + "valueDefinitionID": "dbe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "State", + "name": "State", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dce9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "Status", + "definitionName": { + "value": "Status" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 21, + "fullyQualifiedName": "Chat Message Demographics.Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "dce9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 21, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 6, + "storageName": "_Status", + "storageFieldReferenceID": { + "type": "guid", + "value": "fafff407-c055-411c-81ec-78907f5dbd58" + }, + "valueDefinitionID": "dce9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "Status", + "name": "Status", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dde9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "UTCOffset", + "definitionName": { + "value": "UTC Offset" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 22, + "fullyQualifiedName": "Chat Message Demographics.UTC Offset", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 4, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "dde9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 22, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "_UTCOffset", + "storageFieldReferenceID": { + "type": "guid", + "value": "84d29656-a348-43c2-ac2f-8c7ec5b18a3e" + }, + "valueDefinitionID": "dde9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "UTCOffset", + "name": "UTC Offset", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "e0e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ZipCode", + "definitionName": { + "value": "Zip Code" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 23, + "fullyQualifiedName": "Chat Message Demographics.Zip Code", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": false, + "isUpdateable": false, + "length": 20, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "e0e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "ordinal": 23, + "parentDefinition": { + "definitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageDemographics", + "definitionName": { + "value": "Chat Message Demographics" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ZipCode", + "storageFieldReferenceID": { + "type": "guid", + "value": "11ce9d05-a1e3-47ba-9077-11097e0b4c8d" + }, + "valueDefinitionID": "e0e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "ZipCode", + "name": "Zip Code", + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "setDefinitionName": { + "value": "Chat Message Demographics" + }, + "parentIdentifier": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + } + ], + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "applicationKey": "com.exacttarget.mobileconnect", + "attributeCount": 0, + "canAddValues": true, + "canChangeValues": true, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createDate": "2021-02-12T13:36:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Chat Message Demographics", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": true, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 2, + "sendAttributeStorageName": "_ContactID", + "sendContactKeyStorageName": "_SubscriberID", + "storageLogicalType": "MobileAttributes", + "storageName": "_MobileAddress", + "storageObjectIDs": ["1651de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7693dc39-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "c9e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageDemographics", + "name": "Chat Message Demographics" + }, + { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "dc85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "dc85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "attribName", + "localizedDescription": { + "value": "attribName" + }, + "definitionID": "d785d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Name", + "definitionName": { + "value": "Attribute Name" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.Attribute Name", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d785d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "attribName", + "storageFieldReferenceID": { + "type": "guid", + "value": "a29facf4-9173-43b7-98d5-57bef44c832f" + }, + "valueDefinitionID": "d785d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Name", + "name": "Attribute Name", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "attribValue", + "localizedDescription": { + "value": "attribValue" + }, + "definitionID": "d985d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Value", + "definitionName": { + "value": "Attribute Value" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.Attribute Value", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 1000, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d985d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "attribValue", + "storageFieldReferenceID": { + "type": "guid", + "value": "b023eb98-10c7-481d-a809-38af6af65b17" + }, + "valueDefinitionID": "d985d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Value", + "name": "Attribute Value", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "sku", + "localizedDescription": { + "value": "sku" + }, + "definitionID": "da85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SKU", + "definitionName": { + "value": "SKU" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.SKU", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "da85d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "sku", + "storageFieldReferenceID": { + "type": "guid", + "value": "35919388-7813-48d0-a45f-2c0cf64d6e1e" + }, + "valueDefinitionID": "da85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SKU", + "name": "SKU", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "updated_at", + "localizedDescription": { + "value": "updated_at" + }, + "definitionID": "db85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Updated_At", + "definitionName": { + "value": "Updated At" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.Updated At", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "db85d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "updated_at", + "storageFieldReferenceID": { + "type": "guid", + "value": "a8a96a08-576c-4b45-842c-fe6c36da6f41" + }, + "valueDefinitionID": "db85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Updated_At", + "name": "Updated At", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "attributeValueIndex", + "localizedDescription": { + "value": "attributeValueIndex" + }, + "definitionID": "d885d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_Value_Index", + "definitionName": { + "value": "Attribute Value Index" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Product Attributes.Attribute Value Index", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "d885d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductAttribs", + "definitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "attributeValueIndex", + "storageFieldReferenceID": { + "type": "guid", + "value": "619fe747-d142-4522-91dd-4228546d282d" + }, + "valueDefinitionID": "d885d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_Value_Index", + "name": "Attribute Value Index", + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "setDefinitionName": { + "value": "Predictive Intelligence Product Attributes" + }, + "parentIdentifier": "d685d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Product Attributes", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "IGO_PRODUCTATTRIBS", + "storageObjectIDs": ["cf85d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "d685d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductAttribs", + "name": "Predictive Intelligence Product Attributes" + }, + { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "e651de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "AddressID", + "definitionName": { + "value": "Address ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Address ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 1, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "AddressId", + "valueDefinitionID": "e651de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "AddressID", + "name": "Address ID", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "e751de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ChannelID", + "definitionName": { + "value": "Channel ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Channel ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": -1, + "ordinal": 2, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ChannelId", + "valueDefinitionID": "e751de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ChannelID", + "name": "Channel ID", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Boolean", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Boolean", + "defaultValue": "False", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "e851de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "IsSubscribed", + "definitionName": { + "value": "Is Subscribed" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Is Subscribed", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 3, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "IsSubscribed", + "valueDefinitionID": "e851de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "IsSubscribed", + "name": "Is Subscribed", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "e951de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Created Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 4, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedDate", + "valueDefinitionID": "e951de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate", + "name": "Created Date", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ea51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", + "definitionName": { + "value": "Created By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Created By", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 5, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "CreatedBy", + "valueDefinitionID": "ea51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy", + "name": "Created By", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "eb51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Modified Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 6, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedDate", + "valueDefinitionID": "eb51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate", + "name": "Modified Date", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ec51de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", + "definitionName": { + "value": "Modified By" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "GroupConnect LINE Subscriptions.Modified By", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 7, + "parentDefinition": { + "definitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "GroupConnectLineSubscriptions", + "definitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "ModifiedBy", + "valueDefinitionID": "ec51de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy", + "name": "Modified By", + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "setDefinitionName": { + "value": "GroupConnect LINE Subscriptions" + }, + "parentIdentifier": "e551de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "4e9519db-ad21-483a-a3fc-8ab4557eded1", + "applicationKey": "com.exacttarget.GroupConnect", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "localizedDescription": {}, + "fullyQualifiedName": "GroupConnect LINE Subscriptions", + "isCustomObjectBacked": false, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isSystemDefined": true, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageObjectIDs": ["dd51de3f-31e2-e611-80cc-1402ec7222b4"], + "setDefinitionID": "e551de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "GroupConnectLineSubscriptions", + "name": "GroupConnect LINE Subscriptions" + }, + { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "f785d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "c885d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "0086d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "c485d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "fa85d645-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "1286d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "1586d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "0b86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fb85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "fb85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Sku", + "localizedDescription": { + "value": "Sku" + }, + "definitionID": "f785d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SKU", + "definitionName": { + "value": "SKU" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.SKU", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f785d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Sku", + "storageFieldReferenceID": { + "type": "guid", + "value": "8fbf489f-b82c-4c03-ab47-e8576a5625db" + }, + "valueDefinitionID": "f785d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SKU", + "name": "SKU", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Decimal", + "description": "Price", + "localizedDescription": { + "value": "Price" + }, + "definitionID": "f485d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Price", + "definitionName": { + "value": "Price" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Price", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 18, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f485d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "scale": 2, + "storageName": "Price", + "storageFieldReferenceID": { + "type": "guid", + "value": "f6942680-95e1-4000-9026-77fbfd8d5e41" + }, + "valueDefinitionID": "f485d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Price", + "name": "Price", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "Quantity", + "localizedDescription": { + "value": "Quantity" + }, + "definitionID": "f585d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Quantity", + "definitionName": { + "value": "Quantity" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Quantity", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f585d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Quantity", + "storageFieldReferenceID": { + "type": "guid", + "value": "29508cf9-fac3-4d64-8e28-e691978bd659" + }, + "valueDefinitionID": "f585d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Quantity", + "name": "Quantity", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "order_number", + "localizedDescription": { + "value": "order_number" + }, + "definitionID": "f385d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Order_Number", + "definitionName": { + "value": "Order Number" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Order Number", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f385d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "order_number", + "storageFieldReferenceID": { + "type": "guid", + "value": "d4024f16-8e2a-4f19-a852-6736071d8ec6" + }, + "valueDefinitionID": "f385d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Order_Number", + "name": "Order Number", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "fa85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "User_ID", + "definitionName": { + "value": "User ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.User ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fa85d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "c318e0f3-c386-4beb-ab78-be4067c5520d" + }, + "valueDefinitionID": "fa85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "User_ID", + "name": "User ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Date", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Date", + "description": "Timestamp", + "localizedDescription": { + "value": "Timestamp" + }, + "definitionID": "f985d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Timestamp", + "definitionName": { + "value": "Timestamp" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Timestamp", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f985d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Timestamp", + "storageFieldReferenceID": { + "type": "guid", + "value": "499933ee-cc51-4a79-8db1-bf6bf304d61f" + }, + "valueDefinitionID": "f985d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Timestamp", + "name": "Timestamp", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Job_ID", + "localizedDescription": { + "value": "Job_ID" + }, + "definitionID": "f085d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Job_ID", + "definitionName": { + "value": "Job_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Job_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f085d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Job_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "f021da2f-c005-46ca-a561-b6c3d9e095d0" + }, + "valueDefinitionID": "f085d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Job_ID", + "name": "Job_ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "List_ID", + "localizedDescription": { + "value": "List_ID" + }, + "definitionID": "f285d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "List_ID", + "definitionName": { + "value": "List_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.List_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f285d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "List_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "6a8da7cf-8496-4ffe-8c5c-057fce68cccc" + }, + "valueDefinitionID": "f285d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "List_ID", + "name": "List_ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Batch_ID", + "localizedDescription": { + "value": "Batch_ID" + }, + "definitionID": "ef85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Batch_ID", + "definitionName": { + "value": "Batch_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Batch_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "ef85d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Batch_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "053d483c-62a0-4361-80a4-e99d8bde4550" + }, + "valueDefinitionID": "ef85d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Batch_ID", + "name": "Batch_ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Number", + "description": "Landing_URL_ID", + "localizedDescription": { + "value": "Landing_URL_ID" + }, + "definitionID": "f185d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Landing_URL_ID", + "definitionName": { + "value": "Landing_URL_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Landing_URL_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f185d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Landing_URL_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "d37c4358-5810-4d47-bcec-92829b828703" + }, + "valueDefinitionID": "f185d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Landing_URL_ID", + "name": "Landing_URL_ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Numeric", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "Subscriber_ID", + "localizedDescription": { + "value": "Subscriber_ID" + }, + "definitionID": "f885d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Subscriber_ID", + "definitionName": { + "value": "Subscriber_ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.Subscriber_ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f885d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 13, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Subscriber_ID", + "storageFieldReferenceID": { + "type": "guid", + "value": "5c0c3f04-baec-434a-b463-4f82e3a9fb9c" + }, + "valueDefinitionID": "f885d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Subscriber_ID", + "name": "Subscriber_ID", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "session_id", + "localizedDescription": { + "value": "session_id" + }, + "definitionID": "f685d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "session_id", + "definitionName": { + "value": "session_id" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "Predictive Intelligence Product Purchases.session_id", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f685d645-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProductPurchases", + "definitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "session_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "33bf36ba-c6b7-43cd-b996-abf12ced61fb" + }, + "valueDefinitionID": "f685d645-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "session_id", + "name": "session_id", + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "setDefinitionName": { + "value": "Predictive Intelligence Product Purchases" + }, + "parentIdentifier": "ee85d645-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Product Purchases", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 2, + "storageLogicalType": "DataExtension", + "storageName": "IGO_PURCHASES", + "storageObjectIDs": ["e085d645-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProductPurchases", + "name": "Predictive Intelligence Product Purchases" + }, + { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "02ea847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "fullyQualifiedName": "Chat Message Subscriptions.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "02ea847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f7e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_MobileNumber", + "definitionName": { + "value": "MobileNumber" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Chat Message Subscriptions.MobileNumber", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 254, + "ordinal": 2, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_MobileNumber", + "storageFieldReferenceID": { + "type": "guid", + "value": "169e88d8-d9fe-43f4-82e2-f325674328ee" + }, + "valueDefinitionID": "f7e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_MobileNumber", + "name": "MobileNumber", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f3e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_ChannelId", + "definitionName": { + "value": "ChannelId" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Chat Message Subscriptions.ChannelId", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 50, + "ordinal": 3, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ChannelId", + "storageFieldReferenceID": { + "type": "guid", + "value": "5f56cbc2-6799-4b37-b24d-38b16e9ed30a" + }, + "valueDefinitionID": "f3e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_ChannelId", + "name": "ChannelId", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f4e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_ChannelType", + "definitionName": { + "value": "ChannelType" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Chat Message Subscriptions.ChannelType", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 20, + "ordinal": 4, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ChannelType", + "storageFieldReferenceID": { + "type": "guid", + "value": "d442b162-248b-4546-b0ee-7d86d4444d3b" + }, + "valueDefinitionID": "f4e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_ChannelType", + "name": "ChannelType", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "ffe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptOutStatusID", + "definitionName": { + "value": "OptOutStatusID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Chat Message Subscriptions.OptOutStatusID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 5, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "restrictionLookupListID": 15, + "storageName": "_OptOutStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "ca82f469-ea9e-44d8-ad4f-d8ed7536518f" + }, + "valueDefinitionID": "ffe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptOutStatusID", + "name": "OptOutStatusID", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fee9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptOutMethodID", + "definitionName": { + "value": "OptOutMethodID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Chat Message Subscriptions.OptOutMethodID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 6, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "c47ca0dc-f8b3-4476-8ffb-1cbf22b6254e" + }, + "valueDefinitionID": "fee9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptOutMethodID", + "name": "OptOutMethodID", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fde9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptOutDate", + "definitionName": { + "value": "OptOutDate" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Chat Message Subscriptions.OptOutDate", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 7, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptOutDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "0b8b6cdd-86ba-4d36-8e27-0e0b4bde256f" + }, + "valueDefinitionID": "fde9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptOutDate", + "name": "OptOutDate", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fce9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptInStatusID", + "definitionName": { + "value": "OptInStatusID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Chat Message Subscriptions.OptInStatusID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 8, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInStatusID", + "storageFieldReferenceID": { + "type": "guid", + "value": "c0f3cd62-55cb-4f61-bb97-d3676e9c7eea" + }, + "valueDefinitionID": "fce9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptInStatusID", + "name": "OptInStatusID", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fbe9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptInMethodID", + "definitionName": { + "value": "OptInMethodID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Chat Message Subscriptions.OptInMethodID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 9, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInMethodID", + "storageFieldReferenceID": { + "type": "guid", + "value": "a4d5dea8-cd22-435c-b389-9cdce054149c" + }, + "valueDefinitionID": "fbe9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptInMethodID", + "name": "OptInMethodID", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Date", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "fae9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_OptInDate", + "definitionName": { + "value": "OptInDate" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Chat Message Subscriptions.OptInDate", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 10, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_OptInDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "4fbd9715-9b10-4e4b-bf89-215786c84e96" + }, + "valueDefinitionID": "fae9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_OptInDate", + "name": "OptInDate", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Byte", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "00ea847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_Source", + "definitionName": { + "value": "Source" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "Chat Message Subscriptions.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 11, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_Source", + "storageFieldReferenceID": { + "type": "guid", + "value": "2b7a081b-127c-4d65-bdfe-f80f274f4580" + }, + "valueDefinitionID": "00ea847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_Source", + "name": "Source", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Text", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Text", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "01ea847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_SourceObjectId ", + "definitionName": { + "value": "SourceObjectId" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "Chat Message Subscriptions.SourceObjectId", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "ordinal": 12, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_SourceObjectId ", + "storageFieldReferenceID": { + "type": "guid", + "value": "47505922-899e-45b8-a1cc-c0049d280504" + }, + "valueDefinitionID": "01ea847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_SourceObjectId ", + "name": "SourceObjectId", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f6e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_CreatedDate", + "definitionName": { + "value": "CreatedDate" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "Chat Message Subscriptions.CreatedDate", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 13, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "ae8a3f3e-1020-484e-8e24-5c11c7393d56" + }, + "valueDefinitionID": "f6e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_CreatedDate", + "name": "CreatedDate", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f5e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_CreatedBy ", + "definitionName": { + "value": "CreatedBy" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "Chat Message Subscriptions.CreatedBy", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 14, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CreatedBy ", + "storageFieldReferenceID": { + "type": "guid", + "value": "0b7dac0b-728a-4fb7-a63e-c21311d784d3" + }, + "valueDefinitionID": "f5e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_CreatedBy ", + "name": "CreatedBy", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Date", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f9e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_ModifiedDate", + "definitionName": { + "value": "ModifiedDate" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "Chat Message Subscriptions.ModifiedDate", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 15, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedDate", + "storageFieldReferenceID": { + "type": "guid", + "value": "10d39942-4628-4e99-a927-523fe48d1068" + }, + "valueDefinitionID": "f9e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_ModifiedDate", + "name": "ModifiedDate", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "f8e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "_ModifiedBy ", + "definitionName": { + "value": "ModifiedBy" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "Chat Message Subscriptions.ModifiedBy", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 16, + "parentDefinition": { + "definitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "definitionKey": "ChatMessageSubscriptions", + "definitionName": { + "value": "Chat Message Subscriptions" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_ModifiedBy ", + "storageFieldReferenceID": { + "type": "guid", + "value": "a0486cff-d96e-41dd-9286-c77ddad92f75" + }, + "valueDefinitionID": "f8e9847d-696d-eb11-b81e-48df37d1df5a", + "valueDefinitionKey": "_ModifiedBy ", + "name": "ModifiedBy", + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "setDefinitionName": { + "value": "Chat Message Subscriptions" + }, + "parentIdentifier": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + } + ], + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "applicationKey": "com.exacttarget.mobileconnect", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 2, + "createDate": "2021-02-12T13:36:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Chat Message Subscriptions", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": false, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 0, + "storageLogicalType": "DataExtension", + "storageName": "_ChatMessagingSubscription", + "storageObjectIDs": ["e1e9847d-696d-eb11-b81e-48df37d1df5a"], + "storageReferenceID": { + "type": "guid", + "value": "38042500-a868-eb11-b81e-48df37d1df5a" + }, + "setDefinitionID": "f2e9847d-696d-eb11-b81e-48df37d1df5a", + "setDefinitionKey": "ChatMessageSubscriptions", + "name": "Chat Message Subscriptions" + }, + { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "relationships": [ + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": true, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "e152de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeGroup" + }, + "leftRelationshipIDs": [ + { + "type": "int16", + "value": "4" + } + ], + "leftRelationshipReferenceType": "CustomerData", + "relationshipAttributes": [ + { + "leftAttributeID": "1151de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "fc52de3f-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "9885d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "2386d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "2686d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "1e86d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "5a86d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "5d86d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "5286d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "b785d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "ba85d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "b285d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + }, + { + "canModify": false, + "canRemove": false, + "isHidden": false, + "isSystemDefined": false, + "isGroupToSetRelationship": false, + "leftItem": { + "cardinality": "One", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + }, + "relationshipAttributes": [ + { + "leftAttributeID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "leftConnectingID": { + "identifierType": "FullyQualifiedName" + }, + "rightAttributeID": "fa85d645-31e2-e611-80cc-1402ec7222b4", + "rightConnectingID": { + "identifierType": "FullyQualifiedName" + } + } + ], + "relationshipID": "fd85d645-31e2-e611-80cc-1402ec7222b4", + "rightItem": { + "cardinality": "Many", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "identifier": "ee85d645-31e2-e611-80cc-1402ec7222b4", + "relationshipType": "AttributeSet" + } + } + ], + "valueDefinitions": [ + { + "baseType": "Numeric", + "dataSourceID": 1, + "dataSourceName": {}, + "dataType": "LongNumber", + "description": "", + "localizedDescription": { + "value": "" + }, + "definitionID": "0453de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CustomObjectKey", + "definitionName": { + "value": "Custom Object Key" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 1, + "fullyQualifiedName": "Predictive Intelligence Profiles.Custom Object Key", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "ordinal": 1, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "_CustomObjectKey", + "valueDefinitionID": "0453de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CustomObjectKey", + "name": "Custom Object Key", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "user_id", + "localizedDescription": { + "value": "user_id" + }, + "definitionID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "User_ID", + "definitionName": { + "value": "User ID" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 2, + "fullyQualifiedName": "Predictive Intelligence Profiles.User ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fe52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "user_id", + "storageFieldReferenceID": { + "type": "guid", + "value": "eceebc11-78ad-421f-a94f-020667aac6d4" + }, + "valueDefinitionID": "fe52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "User_ID", + "name": "User ID", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "email", + "localizedDescription": { + "value": "email" + }, + "definitionID": "fc52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Email", + "definitionName": { + "value": "Email" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 3, + "fullyQualifiedName": "Predictive Intelligence Profiles.Email", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fc52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "email", + "storageFieldReferenceID": { + "type": "guid", + "value": "71e4d8c6-e3d4-430e-9c9f-7e56b092d36a" + }, + "valueDefinitionID": "fc52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Email", + "name": "Email", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Value_1", + "localizedDescription": { + "value": "Value_1" + }, + "definitionID": "ff52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value_1", + "definitionName": { + "value": "Value 1" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 4, + "fullyQualifiedName": "Predictive Intelligence Profiles.Value 1", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "ff52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Value_1", + "storageFieldReferenceID": { + "type": "guid", + "value": "8e0573f4-8bc8-4fb3-afc8-ad933a8d823b" + }, + "valueDefinitionID": "ff52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value_1", + "name": "Value 1", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Value_2", + "localizedDescription": { + "value": "Value_2" + }, + "definitionID": "0053de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value_2", + "definitionName": { + "value": "Value 2" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 5, + "fullyQualifiedName": "Predictive Intelligence Profiles.Value 2", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0053de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 5, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Value_2", + "storageFieldReferenceID": { + "type": "guid", + "value": "dcf6690a-4fbe-418c-baa7-e1c50443560b" + }, + "valueDefinitionID": "0053de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value_2", + "name": "Value 2", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Value_3", + "localizedDescription": { + "value": "Value_3" + }, + "definitionID": "0153de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value_3", + "definitionName": { + "value": "Value 3" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 6, + "fullyQualifiedName": "Predictive Intelligence Profiles.Value 3", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0153de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Value_3", + "storageFieldReferenceID": { + "type": "guid", + "value": "b2a7de94-c985-4337-afcc-445aa80c2ced" + }, + "valueDefinitionID": "0153de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value_3", + "name": "Value 3", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Value_4", + "localizedDescription": { + "value": "Value_4" + }, + "definitionID": "0253de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value_4", + "definitionName": { + "value": "Value 4" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 7, + "fullyQualifiedName": "Predictive Intelligence Profiles.Value 4", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0253de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Value_4", + "storageFieldReferenceID": { + "type": "guid", + "value": "28984526-60dc-4768-aaff-4018d9842e77" + }, + "valueDefinitionID": "0253de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value_4", + "name": "Value 4", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Value_5", + "localizedDescription": { + "value": "Value_5" + }, + "definitionID": "0353de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Value_5", + "definitionName": { + "value": "Value 5" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 8, + "fullyQualifiedName": "Predictive Intelligence Profiles.Value 5", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "0353de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Value_5", + "storageFieldReferenceID": { + "type": "guid", + "value": "aa50e6f3-6863-41fa-a536-8ed1d0fca989" + }, + "valueDefinitionID": "0353de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Value_5", + "name": "Value 5", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Attribute_1", + "localizedDescription": { + "value": "Attribute_1" + }, + "definitionID": "f552de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_1", + "definitionName": { + "value": "Attribute 1" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 9, + "fullyQualifiedName": "Predictive Intelligence Profiles.Attribute 1", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f552de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Attribute_1", + "storageFieldReferenceID": { + "type": "guid", + "value": "16934a3e-d869-4b8c-b817-48ff5b554f30" + }, + "valueDefinitionID": "f552de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_1", + "name": "Attribute 1", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Attribute_2", + "localizedDescription": { + "value": "Attribute_2" + }, + "definitionID": "f652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_2", + "definitionName": { + "value": "Attribute 2" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 10, + "fullyQualifiedName": "Predictive Intelligence Profiles.Attribute 2", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Attribute_2", + "storageFieldReferenceID": { + "type": "guid", + "value": "121ce628-61aa-4344-91b1-7f27413a16e5" + }, + "valueDefinitionID": "f652de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_2", + "name": "Attribute 2", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Attribute_3", + "localizedDescription": { + "value": "Attribute_3" + }, + "definitionID": "f752de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_3", + "definitionName": { + "value": "Attribute 3" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 11, + "fullyQualifiedName": "Predictive Intelligence Profiles.Attribute 3", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Attribute_3", + "storageFieldReferenceID": { + "type": "guid", + "value": "34e53678-e867-4526-9fd6-d31e2771a003" + }, + "valueDefinitionID": "f752de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_3", + "name": "Attribute 3", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Attribute_4", + "localizedDescription": { + "value": "Attribute_4" + }, + "definitionID": "f852de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_4", + "definitionName": { + "value": "Attribute 4" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 12, + "fullyQualifiedName": "Predictive Intelligence Profiles.Attribute 4", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Attribute_4", + "storageFieldReferenceID": { + "type": "guid", + "value": "b3efb625-de9a-4eef-b6eb-6add451d2f7a" + }, + "valueDefinitionID": "f852de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_4", + "name": "Attribute 4", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "Attribute_5", + "localizedDescription": { + "value": "Attribute_5" + }, + "definitionID": "f952de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Attribute_5", + "definitionName": { + "value": "Attribute 5" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 13, + "fullyQualifiedName": "Predictive Intelligence Profiles.Attribute 5", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "f952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 13, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "Attribute_5", + "storageFieldReferenceID": { + "type": "guid", + "value": "f4836380-72eb-49c2-a8af-5a283d168683" + }, + "valueDefinitionID": "f952de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Attribute_5", + "name": "Attribute 5", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "city", + "localizedDescription": { + "value": "city" + }, + "definitionID": "fa52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "City", + "definitionName": { + "value": "City" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 14, + "fullyQualifiedName": "Predictive Intelligence Profiles.City", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fa52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "city", + "storageFieldReferenceID": { + "type": "guid", + "value": "486ae151-74f7-4b98-ba9b-6ad927399de9" + }, + "valueDefinitionID": "fa52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "City", + "name": "City", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "region", + "localizedDescription": { + "value": "region" + }, + "definitionID": "fd52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Region", + "definitionName": { + "value": "Region" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 15, + "fullyQualifiedName": "Predictive Intelligence Profiles.Region", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fd52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 15, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "region", + "storageFieldReferenceID": { + "type": "guid", + "value": "4b8bb8f1-0bcb-4201-9c26-fdd8e10c7ad8" + }, + "valueDefinitionID": "fd52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Region", + "name": "Region", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + { + "baseType": "Text", + "dataSourceID": 5, + "dataSourceName": {}, + "dataType": "Text", + "description": "country", + "localizedDescription": { + "value": "country" + }, + "definitionID": "fb52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Country", + "definitionName": { + "value": "Country" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "displayOrder": 16, + "fullyQualifiedName": "Predictive Intelligence Profiles.Country", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 256, + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageTypeID": 1, + "storageType": "Plain", + "valueDefinitionID": "fb52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 16, + "parentDefinition": { + "definitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "PredictiveIntelProfiles", + "definitionName": { + "value": "Predictive Intelligence Profiles" + }, + "connectingID": { + "identifierType": "FullyQualifiedName" + } + }, + "parentType": "Set", + "storageName": "country", + "storageFieldReferenceID": { + "type": "guid", + "value": "f9e65e6a-45dc-4f08-9a44-715e6e4763f7" + }, + "valueDefinitionID": "fb52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Country", + "name": "Country", + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "setDefinitionName": { + "value": "Predictive Intelligence Profiles" + }, + "parentIdentifier": "f452de3f-31e2-e611-80cc-1402ec7222b4" + } + ], + "applicationID": "f4981f88-a13e-4abf-b331-47f41c73258d", + "applicationKey": "com.exacttarget.Predictive Web", + "attributeCount": 0, + "canAddValues": false, + "canChangeValues": false, + "canModify": false, + "canRemove": false, + "categoryID": 386, + "createdBy": -1000, + "createDate": "2017-01-24T06:33:00", + "customObjectOwnerMID": 1111111, + "dataRetentionProperties": { + "isRowBasedRetention": false, + "isResetRetentionPeriodOnImport": false, + "isDeleteAtEndOfRetentionPeriod": false, + "periodUnitOfMeasure": 4, + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4" + }, + "localizedDescription": {}, + "fullyQualifiedName": "Predictive Intelligence Profiles", + "isCustomObjectBacked": true, + "isEvent": false, + "isHidden": false, + "isReadOnly": true, + "isRoot": false, + "isSendable": false, + "isShared": false, + "isSystemDefined": true, + "isTestaable": false, + "parentID": "00000000-0000-0000-0000-000000000000", + "relationshipCount": 5, + "storageLogicalType": "DataExtension", + "storageName": "IGO_PROFILES", + "storageObjectIDs": ["e352de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "d452de3f-31e2-e611-80cc-1402ec7222b4" + }, + "setDefinitionID": "f452de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "PredictiveIntelProfiles", + "name": "Predictive Intelligence Profiles" + } + ], + "responseContext": { + "operationStatus": "OK", + "schemaType": "Contacts", + "populateInternalProperties": false + }, + "requestServiceMessageID": "ae488366-fa20-449a-ba74-ee353a7ab446", + "responseDateTime": "2023-07-12T09:17:32.1332068-06:00", + "resultMessages": [], + "serviceMessageID": "3206d5b6-f603-4049-bce8-6afce627a7c6" +} diff --git a/test/type.attributeSet.test.js b/test/type.attributeSet.test.js new file mode 100644 index 000000000..168623c83 --- /dev/null +++ b/test/type.attributeSet.test.js @@ -0,0 +1,54 @@ +const chai = require('chai'); +const chaiFiles = require('chai-files'); + +chai.use(chaiFiles); + +const assert = chai.assert; +const cache = require('../lib/util/cache'); +const testUtils = require('./utils'); +const handler = require('../lib/index'); + +describe('type: attributeSet', () => { + beforeEach(() => { + testUtils.mockSetup(); + }); + afterEach(() => { + testUtils.mockReset(); + }); + describe('Retrieve ================', () => { + it('Should retrieve a attributeSet', async () => { + // WHEN + const retrieve = await handler.retrieve('testInstance/testBU', ['attributeSet']); + + // THEN + assert.equal(process.exitCode, false, 'retrieve should not have thrown an error'); + assert.equal( + retrieve['testInstance/testBU'].attributeSet + ? Object.keys(retrieve['testInstance/testBU'].attributeSet).length + : 0, + 27, + 'only 27 attributeSets expected in retrieve response' + ); + // get results from cache + const result = cache.getCache(); + assert.equal( + result.attributeSet ? Object.keys(result.attributeSet).length : 0, + 27, + 'only 27 attributeSets expected in cache' + ); + assert.deepEqual( + await testUtils.getActualJson('Contact', 'attributeSet'), + await testUtils.getExpectedJson('9999999', 'attributeSet', 'retrieve'), + + 'returned metadata was not equal expected' + ); + + assert.equal( + testUtils.getAPIHistoryLength(), + 7, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + }); +}); From 301de3f205412ad153e928c2ed3a109a6944f310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:46:38 +0200 Subject: [PATCH 15/16] #711: test for attributeGroup added --- .../attributeGroup/retrieve-expected.json | 25 +++++++++ test/type.attributeGroup.test.js | 55 +++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 test/resources/9999999/attributeGroup/retrieve-expected.json create mode 100644 test/type.attributeGroup.test.js diff --git a/test/resources/9999999/attributeGroup/retrieve-expected.json b/test/resources/9999999/attributeGroup/retrieve-expected.json new file mode 100644 index 000000000..f3bc7c5df --- /dev/null +++ b/test/resources/9999999/attributeGroup/retrieve-expected.json @@ -0,0 +1,25 @@ +{ + "applicationKey": "com.exacttarget.mobileconnect", + "attributeCount": 37, + "attributeGroupIconKey": "Mobile", + "attributeGroupType": "Standard", + "attributeSetIdentifiers": ["MobileDemographics", "MobileSubscriptions"], + "canAddProperties": false, + "canAddRelationships": true, + "canChangeProperties": false, + "canModify": false, + "canRemove": false, + "definitionKey": "ETMobileConnect", + "definitionName": { + "value": "MobileConnect Data" + }, + "description": "", + "displayOrder": 4, + "isHidden": false, + "isOwner": true, + "isSystemDefined": true, + "requiredRelationships": [ + "4651de3f-31e2-e611-80cc-1402ec7222b4", + "4352de3f-31e2-e611-80cc-1402ec7222b4" + ] +} diff --git a/test/type.attributeGroup.test.js b/test/type.attributeGroup.test.js new file mode 100644 index 000000000..49ff53a13 --- /dev/null +++ b/test/type.attributeGroup.test.js @@ -0,0 +1,55 @@ +const chai = require('chai'); +const chaiFiles = require('chai-files'); + +chai.use(chaiFiles); + +const assert = chai.assert; +const cache = require('../lib/util/cache'); +const testUtils = require('./utils'); +const handler = require('../lib/index'); + +describe('type: attributeGroup', () => { + beforeEach(() => { + testUtils.mockSetup(); + }); + afterEach(() => { + testUtils.mockReset(); + }); + describe('Retrieve ================', () => { + it('Should retrieve a attributeGroup', async () => { + // WHEN + const retrieve = await handler.retrieve('testInstance/testBU', ['attributeGroup']); + + // THEN + assert.equal(process.exitCode, false, 'retrieve should not have thrown an error'); + assert.equal( + retrieve['testInstance/testBU'].attributeGroup + ? Object.keys(retrieve['testInstance/testBU'].attributeGroup).length + : 0, + 7, + 'only 7 attributeGroups expected in retrieve response' + ); + + // get results from cache + const result = cache.getCache(); + assert.equal( + result.attributeGroup ? Object.keys(result.attributeGroup).length : 0, + 7, + 'only 7 attributeGroups expected in cache' + ); + assert.deepEqual( + await testUtils.getActualJson('ETMobileConnect', 'attributeGroup'), + await testUtils.getExpectedJson('9999999', 'attributeGroup', 'retrieve'), + + 'returned metadata was not equal expected' + ); + + assert.equal( + testUtils.getAPIHistoryLength(), + 2, + 'Unexpected number of requests made. Run testUtils.logAPIHistoryDebug() to see the requests' + ); + return; + }); + }); +}); From 67093b5e67598e4ad5a1a06c99047ff036413f56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Berkefeld?= Date: Thu, 13 Jul 2023 15:48:25 +0200 Subject: [PATCH 16/16] #711: improved attributeSet test --- .../attributeSet/retrieve-expected.json | 743 ++++++++++++++++-- test/type.attributeSet.test.js | 3 +- 2 files changed, 664 insertions(+), 82 deletions(-) diff --git a/test/resources/9999999/attributeSet/retrieve-expected.json b/test/resources/9999999/attributeSet/retrieve-expected.json index fd1214b50..cf01d6710 100644 --- a/test/resources/9999999/attributeSet/retrieve-expected.json +++ b/test/resources/9999999/attributeSet/retrieve-expected.json @@ -1,6 +1,6 @@ { - "applicationID": "ce703ed3-e01f-4f5f-900d-76a95b363e29", - "applicationKey": "com.exacttarget.contacts", + "applicationID": "e25893f9-08f3-480f-8def-7f8ab0583611", + "applicationKey": "com.exacttarget.mobileconnect", "attributeCount": 0, "canAddValues": false, "canChangeValues": false, @@ -8,160 +8,741 @@ "canRemove": false, "createDate": "2017-01-24T06:33:00", "createdBy": -1000, - "definitionKey": "Contact", - "isCustomObjectBacked": false, + "dataRetentionProperties": { + "isDeleteAtEndOfRetentionPeriod": false, + "isResetRetentionPeriodOnImport": false, + "isRowBasedRetention": false, + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4" + }, + "definitionKey": "MobileSubscriptions", + "isCustomObjectBacked": true, "isEvent": false, "isHidden": false, - "isReadOnly": true, + "isReadOnly": false, "isRoot": false, "isSendable": false, + "isShared": false, "isSystemDefined": true, + "isTestaable": false, "localizedDescription": {}, - "name": "Contact", + "name": "MobileConnect Subscriptions", "parentID": "00000000-0000-0000-0000-000000000000", - "relationshipCount": 1, - "relationships": [ - { - "canModify": false, - "canRemove": false, - "isGroupToSetRelationship": true, - "isHidden": false, - "isSystemDefined": false, - "leftItem": { - "cardinality": "One", - "r__attributeGroup_definitionKey": "ETSystem", - "relationshipType": "AttributeGroup" - }, - "leftRelationshipIDs": [ - { - "type": "int16", - "value": "2" - } - ], - "leftRelationshipReferenceType": "CustomerData", - "relationshipAttributes": [ - { - "c__leftFullyQualifiedName": "Contact.Contact ID", - "c__rightFullyQualifiedName": "Contact.Contact ID" - } - ], - "relationshipID": "9893dc39-31e2-e611-80cc-1402ec7222b4", - "rightItem": { - "cardinality": "One", - "r__attributeSet_definitionKey": "Contact", - "relationshipType": "AttributeSet" - } - } - ], - "setDefinitionID": "9093dc39-31e2-e611-80cc-1402ec7222b4", - "setDefinitionKey": "Contact", - "storageObjectIDs": ["2ba72136-9f31-4a79-ab62-4ba5d19cd759"], + "r__folder_Path": "Data Extensions", + "relationshipCount": 0, + "setDefinitionID": "3152de3f-31e2-e611-80cc-1402ec7222b4", + "setDefinitionKey": "MobileSubscriptions", + "storageLogicalType": "DataExtension", + "storageName": "_MobileSubscription", + "storageObjectIDs": ["2252de3f-31e2-e611-80cc-1402ec7222b4"], + "storageReferenceID": { + "type": "guid", + "value": "7793dc39-31e2-e611-80cc-1402ec7222b4" + }, "valueDefinitions": [ { "baseType": "Numeric", "connectingID": { "identifierType": "FullyQualifiedName" }, - "customerDataID": 2, - "dataSourceID": 1, + "dataSourceID": 3, "dataSourceName": {}, - "dataType": "Number", - "definitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", - "definitionKey": "ContactID", + "dataType": "LongNumber", + "definitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedBy", "definitionName": { - "value": "Contact ID" + "value": "Created By" }, "description": "", - "fullyQualifiedName": "Contact.Contact ID", + "displayOrder": 1, + "fullyQualifiedName": "MobileConnect Subscriptions.Created By", + "isHidden": true, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Created By", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 1, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "a64a3ed9-b8fd-46cc-a10b-1d5fdf074ce6" + }, + "storageName": "_CreatedBy", + "valueDefinitionID": "3252de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedBy" + }, + { + "baseType": "Date", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "definitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "CreatedDate", + "definitionName": { + "value": "Created Date" + }, + "description": "", + "displayOrder": 2, + "fullyQualifiedName": "MobileConnect Subscriptions.Created Date", "isHidden": false, "isIdentityValue": false, "isNullable": false, - "isPrimaryKey": true, + "isPrimaryKey": false, "isReadOnly": true, "isSystemDefined": true, "isUpdateable": false, "localizedDescription": { "value": "" }, - "name": "Contact ID", + "name": "Created Date", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 2, "parentType": "Set", "setDefinitionName": { - "value": "Contact" + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "dfc3f6fb-a250-4ef8-93ed-bb079ced468d" }, - "storageName": "SubscriberID", - "valueDefinitionID": "9293dc39-31e2-e611-80cc-1402ec7222b4", - "valueDefinitionKey": "ContactID" + "storageName": "_CreatedDate", + "valueDefinitionID": "3352de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "CreatedDate" }, { "baseType": "Text", "connectingID": { "identifierType": "FullyQualifiedName" }, - "customerDataID": 3, - "dataSourceID": 1, + "dataSourceID": 3, "dataSourceName": {}, "dataType": "Text", - "definitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", - "definitionKey": "ContactKey", + "definitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SubscriptionDefinitionID", + "definitionName": { + "value": "Keyword" + }, + "description": "", + "displayOrder": 3, + "fullyQualifiedName": "MobileConnect Subscriptions.Keyword", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "localizedDescription": { + "value": "" + }, + "name": "Keyword", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 3, + "parentType": "Set", + "restrictionLookupListID": 7, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "c13ab46d-6e65-475a-990d-291bd43e5063" + }, + "storageName": "_SubscriptionDefinitionID", + "valueDefinitionID": "3f52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SubscriptionDefinitionID" + }, + { + "baseType": "Text", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Phone", + "definitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "MobileNumber", "definitionName": { - "value": "Contact Key" + "value": "Mobile Number" }, "description": "", - "fullyQualifiedName": "Contact.Contact Key", + "displayOrder": 4, + "fullyQualifiedName": "MobileConnect Subscriptions.Mobile Number", "isHidden": false, "isIdentityValue": false, "isNullable": false, + "isPrimaryKey": true, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 15, + "localizedDescription": { + "value": "" + }, + "name": "Mobile Number", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 4, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "ead8a6d2-bc6c-4768-a6e3-c3cc749bfc1d" + }, + "storageName": "_MobileNumber", + "valueDefinitionID": "3452de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "MobileNumber" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "LongNumber", + "definitionID": "53dd5f89-bca1-ed11-b852-48df37d1df5b", + "definitionKey": "MobileSubscriptionID", + "definitionName": { + "value": "Mobile Subscription ID" + }, + "description": "", + "displayOrder": 5, + "fullyQualifiedName": "MobileConnect Subscriptions.Mobile Subscription ID", + "isHidden": true, + "isIdentityValue": true, + "isNullable": false, "isPrimaryKey": false, "isReadOnly": true, "isSystemDefined": true, "isUpdateable": false, - "length": -1, "localizedDescription": { "value": "" }, - "name": "Contact Key", + "name": "Mobile Subscription ID", + "ordinal": 5, "parentType": "Set", "setDefinitionName": { - "value": "Contact" + "value": "MobileConnect Subscriptions" }, - "storageName": "SubscriberKey", - "valueDefinitionID": "9393dc39-31e2-e611-80cc-1402ec7222b4", - "valueDefinitionKey": "ContactKey" + "storageName": "_MobileSubscriptionID", + "valueDefinitionID": "53dd5f89-bca1-ed11-b852-48df37d1df5b", + "valueDefinitionKey": "MobileSubscriptionID" }, { "baseType": "Numeric", "connectingID": { "identifierType": "FullyQualifiedName" }, - "customerDataID": 1, - "dataSourceID": 1, + "dataSourceID": 3, "dataSourceName": {}, - "dataType": "Number", - "definitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", - "definitionKey": "BusinessUnitID", + "dataType": "LongNumber", + "definitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedBy", "definitionName": { - "value": "Business Unit ID" + "value": "Modified By" }, "description": "", - "fullyQualifiedName": "Contact.Business Unit ID", + "displayOrder": 6, + "fullyQualifiedName": "MobileConnect Subscriptions.Modified By", "isHidden": true, "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Modified By", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 6, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "30d7ec39-85d1-46dc-9888-771f11ffe10d" + }, + "storageName": "_ModifiedBy", + "valueDefinitionID": "3552de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedBy" + }, + { + "baseType": "Date", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "defaultValue": "GETDATE()", + "definitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "ModifiedDate", + "definitionName": { + "value": "Modified Date" + }, + "description": "", + "displayOrder": 7, + "fullyQualifiedName": "MobileConnect Subscriptions.Modified Date", + "isHidden": false, + "isIdentityValue": false, "isNullable": false, - "isPrimaryKey": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Modified Date", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 7, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "b68155cc-e483-4949-82f9-fb47cbd59764" + }, + "storageName": "_ModifiedDate", + "valueDefinitionID": "3652de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "ModifiedDate" + }, + { + "baseType": "Date", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "definitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInDate", + "definitionName": { + "value": "Opt In Date" + }, + "description": "", + "displayOrder": 8, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, "isReadOnly": true, "isSystemDefined": true, "isUpdateable": false, "localizedDescription": { "value": "" }, - "name": "Business Unit ID", + "name": "Opt In Date", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 8, "parentType": "Set", "setDefinitionName": { - "value": "Contact" + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "8da557ee-7ba7-44f4-99ba-0681cbeb1ba1" + }, + "storageName": "_OptInDate", + "valueDefinitionID": "3752de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInDate" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "definitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInMethodID", + "definitionName": { + "value": "Opt In Method" + }, + "description": "", + "displayOrder": 9, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Opt In Method", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 9, + "parentType": "Set", + "restrictionLookupListID": 2, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "da2713ab-a802-4cd6-9e05-0a7444d62388" + }, + "storageName": "_OptInMethodID", + "valueDefinitionID": "3852de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInMethodID" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "definitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptInStatusID", + "definitionName": { + "value": "Opt In Status" + }, + "description": "", + "displayOrder": 10, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt In Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": false, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Opt In Status", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 10, + "parentType": "Set", + "restrictionLookupListID": 1, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "c733b80d-2ed5-4fb6-94a3-9c996cbae558" + }, + "storageName": "_OptInStatusID", + "valueDefinitionID": "3952de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptInStatusID" + }, + { + "baseType": "Date", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Date", + "definitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutDate", + "definitionName": { + "value": "Opt Out Date" + }, + "description": "", + "displayOrder": 11, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Date", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Opt Out Date", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 11, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "27c3ccec-47ad-4578-9051-a41f85178049" + }, + "storageName": "_OptOutDate", + "valueDefinitionID": "3a52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutDate" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "definitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutMethodID", + "definitionName": { + "value": "Opt Out Method" + }, + "description": "", + "displayOrder": 12, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Method", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Opt Out Method", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 12, + "parentType": "Set", + "restrictionLookupListID": 4, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "089b96fc-bfc6-402e-a481-1e18d3e18a8d" + }, + "storageName": "_OptOutMethodID", + "valueDefinitionID": "3b52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutMethodID" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "definitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "OptOutStatusID", + "definitionName": { + "value": "Opt Out Status" + }, + "description": "", + "displayOrder": 13, + "fullyQualifiedName": "MobileConnect Subscriptions.Opt Out Status", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": false, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Opt Out Status", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 13, + "parentType": "Set", + "restrictionLookupListID": 3, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "67194503-acd8-4c1c-b042-9dfb3f3ebd44" + }, + "storageName": "_OptOutStatusID", + "valueDefinitionID": "3c52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "OptOutStatusID" + }, + { + "baseType": "Numeric", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Byte", + "definitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "Source", + "definitionName": { + "value": "Source" + }, + "description": "", + "displayOrder": 14, + "fullyQualifiedName": "MobileConnect Subscriptions.Source", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "localizedDescription": { + "value": "" + }, + "name": "Source", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 14, + "parentType": "Set", + "restrictionLookupListID": 5, + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "2e903257-43e8-4a7b-8ed4-757ca772ddbb" + }, + "storageName": "_Source", + "valueDefinitionID": "3d52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "Source" + }, + { + "baseType": "Text", + "connectingID": { + "identifierType": "FullyQualifiedName" + }, + "dataSourceID": 3, + "dataSourceName": {}, + "dataType": "Text", + "definitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4", + "definitionKey": "SourceObjectID", + "definitionName": { + "value": "Source Object ID" + }, + "description": "", + "displayOrder": 15, + "fullyQualifiedName": "MobileConnect Subscriptions.Source Object ID", + "isHidden": false, + "isIdentityValue": false, + "isNullable": true, + "isPrimaryKey": false, + "isReadOnly": true, + "isSystemDefined": true, + "isUpdateable": false, + "length": 200, + "localizedDescription": { + "value": "" + }, + "name": "Source Object ID", + "obfuscationProperties": { + "maskType": "None", + "maskTypeID": 0, + "storageType": "Plain", + "storageTypeID": 1, + "valueDefinitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4" + }, + "ordinal": 15, + "parentType": "Set", + "setDefinitionName": { + "value": "MobileConnect Subscriptions" + }, + "storageFieldReferenceID": { + "type": "guid", + "value": "1d4f26f5-ec91-46de-9fc1-d819832f07e7" }, - "storageName": "ClientID", - "valueDefinitionID": "9193dc39-31e2-e611-80cc-1402ec7222b4", - "valueDefinitionKey": "BusinessUnitID" + "storageName": "_SourceObjectId", + "valueDefinitionID": "3e52de3f-31e2-e611-80cc-1402ec7222b4", + "valueDefinitionKey": "SourceObjectID" } ] } diff --git a/test/type.attributeSet.test.js b/test/type.attributeSet.test.js index 168623c83..d05ea88a0 100644 --- a/test/type.attributeSet.test.js +++ b/test/type.attributeSet.test.js @@ -36,8 +36,9 @@ describe('type: attributeSet', () => { 27, 'only 27 attributeSets expected in cache' ); + assert.deepEqual( - await testUtils.getActualJson('Contact', 'attributeSet'), + await testUtils.getActualJson('MobileSubscriptions', 'attributeSet'), await testUtils.getExpectedJson('9999999', 'attributeSet', 'retrieve'), 'returned metadata was not equal expected'