Salesforce · Schema

MemberProfile

Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Properties

Name Type Description
additionalLoyaltyProgramMemberFields object
associatedAccount ['string', 'null']
associatedContact object
canReceivePartnerPromotions boolean
canReceivePromotions boolean
enrollmentChannel string
enrollmentDate string
groupCreatedByMember ['string', 'null']
groupName ['string', 'null']
lastActivityDate ['string', 'null']
loyaltyProgramMemberId string
loyaltyProgramName string
memberCurrencies array
memberStatus string
memberTiers array
memberType string
membershipEndDate string
membershipLastRenewalDate ['string', 'null']
membershipNumber string
referredBy ['string', 'null']
relatedCorporateMembershipNumber ['string', 'null']
transactionJournalStatementFrequency string
transactionJournalStatementLastGeneratedDate ['string', 'null']
transactionJournalStatementMethod string
View JSON Schema on GitHub

JSON Schema

salesforce-member-profile-schema.json Raw ↑
{
  "type": "object",
  "properties": {
    "additionalLoyaltyProgramMemberFields": {
      "type": "object",
      "example": "example_value"
    },
    "associatedAccount": {
      "type": "['string', 'null']",
      "example": 42
    },
    "associatedContact": {
      "type": "object",
      "properties": {
        "contactId": {
          "type": "string",
          "example": "500123"
        },
        "email": {
          "type": "string",
          "example": "user@example.com"
        },
        "firstName": {
          "type": "string",
          "example": "example_value"
        },
        "lastName": {
          "type": "string",
          "example": "example_value"
        }
      },
      "required": [
        "contactId",
        "email",
        "firstName",
        "lastName"
      ]
    },
    "canReceivePartnerPromotions": {
      "type": "boolean",
      "example": true
    },
    "canReceivePromotions": {
      "type": "boolean",
      "example": true
    },
    "enrollmentChannel": {
      "type": "string",
      "example": "example_value"
    },
    "enrollmentDate": {
      "type": "string",
      "example": "example_value"
    },
    "groupCreatedByMember": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "groupName": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "lastActivityDate": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "loyaltyProgramMemberId": {
      "type": "string",
      "example": "500123"
    },
    "loyaltyProgramName": {
      "type": "string",
      "example": "example_value"
    },
    "memberCurrencies": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "additionalLoyaltyMemberCurrencyFields": {
            "type": "object",
            "properties": {
              "Level_Before_Reset__c": {
                "type": "['string', 'null']",
                "example": "example_value"
              }
            },
            "required": [
              "Level_Before_Reset__c"
            ]
          },
          "escrowPointsBalance": {
            "type": "integer",
            "example": 10
          },
          "expirablePoints": {
            "type": "integer",
            "example": 10
          },
          "lastAccrualProcessedDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "lastEscrowProcessedDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "lastExpirationProcessRunDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "lastPointsAggregationDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "lastPointsResetDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "loyaltyMemberCurrencyName": {
            "type": "string",
            "example": "example_value"
          },
          "loyaltyProgramCurrencyId": {
            "type": "string",
            "example": "500123"
          },
          "loyaltyProgramCurrencyName": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "memberCurrencyId": {
            "type": "string",
            "example": "500123"
          },
          "nextQualifyingPointsResetDate": {
            "type": "string",
            "example": "example_value"
          },
          "pointsBalance": {
            "type": "integer",
            "example": 10
          },
          "qualifyingPointsBalanceBeforeReset": {
            "type": "integer",
            "example": 10
          },
          "totalEscrowPointsAccrued": {
            "type": "integer",
            "example": 42
          },
          "totalEscrowRolloverPoints": {
            "type": "integer",
            "example": 42
          },
          "totalPointsAccrued": {
            "type": "integer",
            "example": 42
          },
          "totalPointsExpired": {
            "type": "integer",
            "example": 42
          },
          "totalPointsRedeemed": {
            "type": "integer",
            "example": 42
          }
        },
        "required": [
          "additionalLoyaltyMemberCurrencyFields",
          "escrowPointsBalance",
          "expirablePoints",
          "lastAccrualProcessedDate",
          "lastEscrowProcessedDate",
          "lastExpirationProcessRunDate",
          "lastPointsAggregationDate",
          "lastPointsResetDate",
          "loyaltyMemberCurrencyName",
          "loyaltyProgramCurrencyId",
          "loyaltyProgramCurrencyName",
          "memberCurrencyId",
          "nextQualifyingPointsResetDate",
          "pointsBalance",
          "qualifyingPointsBalanceBeforeReset",
          "totalEscrowPointsAccrued",
          "totalEscrowRolloverPoints",
          "totalPointsAccrued",
          "totalPointsExpired",
          "totalPointsRedeemed"
        ]
      }
    },
    "memberStatus": {
      "type": "string",
      "example": "example_value"
    },
    "memberTiers": {
      "type": "array",
      "description": "",
      "example": [],
      "items": {
        "type": "object",
        "properties": {
          "additionalLoyaltyMemberTierFields": {
            "type": "object",
            "example": "example_value"
          },
          "areTierBenefitsAssigned": {
            "type": "boolean",
            "example": true
          },
          "loyaltyMemberTierId": {
            "type": "string",
            "example": "500123"
          },
          "loyaltyMemberTierName": {
            "type": "string",
            "example": "example_value"
          },
          "tierChangeReason": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "tierChangeReasonType": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "tierEffectiveDate": {
            "type": "string",
            "example": "example_value"
          },
          "tierExpirationDate": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "tierGroupId": {
            "type": "string",
            "example": "500123"
          },
          "tierGroupName": {
            "type": "['string', 'null']",
            "example": "example_value"
          },
          "tierId": {
            "type": "string",
            "example": "500123"
          },
          "tierSequenceNumber": {
            "type": "integer",
            "example": 10
          }
        },
        "required": [
          "additionalLoyaltyMemberTierFields",
          "areTierBenefitsAssigned",
          "loyaltyMemberTierId",
          "loyaltyMemberTierName",
          "tierChangeReason",
          "tierChangeReasonType",
          "tierEffectiveDate",
          "tierExpirationDate",
          "tierGroupId",
          "tierGroupName",
          "tierId",
          "tierSequenceNumber"
        ]
      }
    },
    "memberType": {
      "type": "string",
      "example": "example_value"
    },
    "membershipEndDate": {
      "type": "string",
      "example": "example_value"
    },
    "membershipLastRenewalDate": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "membershipNumber": {
      "type": "string",
      "example": "example_value"
    },
    "referredBy": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "relatedCorporateMembershipNumber": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "transactionJournalStatementFrequency": {
      "type": "string",
      "example": "example_value"
    },
    "transactionJournalStatementLastGeneratedDate": {
      "type": "['string', 'null']",
      "example": "example_value"
    },
    "transactionJournalStatementMethod": {
      "type": "string",
      "example": "example_value"
    }
  },
  "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-schema.org/draft/2020-12/schema",
  "title": "MemberProfile"
}