{ "type": "object", "name": "MemberProfile", "properties": { "additionalLoyaltyProgramMemberFields": { "type": "object" }, "associatedAccount": { "type": "['string', 'null']" }, "associatedContact": { "type": "object", "properties": { "contactId": { "type": "string" }, "email": { "type": "string" }, "firstName": { "type": "string" }, "lastName": { "type": "string" } }, "required": [ "contactId", "email", "firstName", "lastName" ] }, "canReceivePartnerPromotions": { "type": "boolean" }, "canReceivePromotions": { "type": "boolean" }, "enrollmentChannel": { "type": "string" }, "enrollmentDate": { "type": "string" }, "groupCreatedByMember": { "type": "['string', 'null']" }, "groupName": { "type": "['string', 'null']" }, "lastActivityDate": { "type": "['string', 'null']" }, "loyaltyProgramMemberId": { "type": "string" }, "loyaltyProgramName": { "type": "string" }, "memberCurrencies": { "type": "array", "description": "", "items": { "type": "object", "properties": { "additionalLoyaltyMemberCurrencyFields": { "type": "object", "properties": { "Level_Before_Reset__c": { "type": "['string', 'null']" } }, "required": [ "Level_Before_Reset__c" ] }, "escrowPointsBalance": { "type": "integer" }, "expirablePoints": { "type": "integer" }, "lastAccrualProcessedDate": { "type": "['string', 'null']" }, "lastEscrowProcessedDate": { "type": "['string', 'null']" }, "lastExpirationProcessRunDate": { "type": "['string', 'null']" }, "lastPointsAggregationDate": { "type": "['string', 'null']" }, "lastPointsResetDate": { "type": "['string', 'null']" }, "loyaltyMemberCurrencyName": { "type": "string" }, "loyaltyProgramCurrencyId": { "type": "string" }, "loyaltyProgramCurrencyName": { "type": "['string', 'null']" }, "memberCurrencyId": { "type": "string" }, "nextQualifyingPointsResetDate": { "type": "string" }, "pointsBalance": { "type": "integer" }, "qualifyingPointsBalanceBeforeReset": { "type": "integer" }, "totalEscrowPointsAccrued": { "type": "integer" }, "totalEscrowRolloverPoints": { "type": "integer" }, "totalPointsAccrued": { "type": "integer" }, "totalPointsExpired": { "type": "integer" }, "totalPointsRedeemed": { "type": "integer" } }, "required": [ "additionalLoyaltyMemberCurrencyFields", "escrowPointsBalance", "expirablePoints", "lastAccrualProcessedDate", "lastEscrowProcessedDate", "lastExpirationProcessRunDate", "lastPointsAggregationDate", "lastPointsResetDate", "loyaltyMemberCurrencyName", "loyaltyProgramCurrencyId", "loyaltyProgramCurrencyName", "memberCurrencyId", "nextQualifyingPointsResetDate", "pointsBalance", "qualifyingPointsBalanceBeforeReset", "totalEscrowPointsAccrued", "totalEscrowRolloverPoints", "totalPointsAccrued", "totalPointsExpired", "totalPointsRedeemed" ] } }, "memberStatus": { "type": "string" }, "memberTiers": { "type": "array", "description": "", "items": { "type": "object", "properties": { "additionalLoyaltyMemberTierFields": { "type": "object" }, "areTierBenefitsAssigned": { "type": "boolean" }, "loyaltyMemberTierId": { "type": "string" }, "loyaltyMemberTierName": { "type": "string" }, "tierChangeReason": { "type": "['string', 'null']" }, "tierChangeReasonType": { "type": "['string', 'null']" }, "tierEffectiveDate": { "type": "string" }, "tierExpirationDate": { "type": "['string', 'null']" }, "tierGroupId": { "type": "string" }, "tierGroupName": { "type": "['string', 'null']" }, "tierId": { "type": "string" }, "tierSequenceNumber": { "type": "integer" } }, "required": [ "additionalLoyaltyMemberTierFields", "areTierBenefitsAssigned", "loyaltyMemberTierId", "loyaltyMemberTierName", "tierChangeReason", "tierChangeReasonType", "tierEffectiveDate", "tierExpirationDate", "tierGroupId", "tierGroupName", "tierId", "tierSequenceNumber" ] } }, "memberType": { "type": "string" }, "membershipEndDate": { "type": "string" }, "membershipLastRenewalDate": { "type": "['string', 'null']" }, "membershipNumber": { "type": "string" }, "referredBy": { "type": "['string', 'null']" }, "relatedCorporateMembershipNumber": { "type": "['string', 'null']" }, "transactionJournalStatementFrequency": { "type": "string" }, "transactionJournalStatementLastGeneratedDate": { "type": "['string', 'null']" }, "transactionJournalStatementMethod": { "type": "string" } }, "required": [ "additionalLoyaltyProgramMemberFields", "associatedAccount", "associatedContact", "canReceivePartnerPromotions", "canReceivePromotions", "enrollmentChannel", "enrollmentDate", "groupCreatedByMember", "groupName", "lastActivityDate", "loyaltyProgramMemberId", "loyaltyProgramName", "memberCurrencies", "memberStatus", "memberTiers", "memberType", "membershipEndDate", "membershipLastRenewalDate", "membershipNumber", "referredBy", "relatedCorporateMembershipNumber", "transactionJournalStatementFrequency", "transactionJournalStatementLastGeneratedDate", "transactionJournalStatementMethod" ], "$schema": "https://json-structure.org/draft/2020-12/schema" }