Salesforce · JSON Structure

Salesforce Reward Structure

Type: object Properties: 14 Required: 1
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales

Reward is a JSON Structure definition published by Salesforce, describing 14 properties, of which 1 is required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

rewardType discountAmount loyaltyProgramCurrencyName points relatedInformation notes voucherDefinitionName voucherExpirationDate voucherEffectiveDate loyaltyProgramBadgeName memberBadgeStatus badgeValidityEndDate reason gameDefinitionName

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "name": "Reward",
  "properties": {
    "rewardType": {
      "type": "string"
    },
    "discountAmount": {
      "type": "integer"
    },
    "loyaltyProgramCurrencyName": {
      "type": "string"
    },
    "points": {
      "type": "integer"
    },
    "relatedInformation": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "voucherDefinitionName": {
      "type": "string"
    },
    "voucherExpirationDate": {
      "type": "string"
    },
    "voucherEffectiveDate": {
      "type": "string"
    },
    "loyaltyProgramBadgeName": {
      "type": "string"
    },
    "memberBadgeStatus": {
      "type": "string"
    },
    "badgeValidityEndDate": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "gameDefinitionName": {
      "type": "string"
    }
  },
  "required": [
    "rewardType"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}