Salesforce · Schema
PromotionEligibility
Fortune 500AIAnalyticsCloudCommerceCRMCustomer ServiceEnterpriseMarketingPlatformSales
Properties
| Name | Type | Description |
|---|---|---|
| eligibleProductCategories | array | |
| eligibleProducts | array | |
| eligibleChannels | array | |
| eligibleCustomerEvents | object | |
| eligibleEnrollmentPeriod | object | |
| eligibleLoyaltyTiers | array |
JSON Schema
{
"type": "object",
"properties": {
"eligibleProductCategories": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"example": "abc123"
}
},
"required": [
"id"
]
}
},
"eligibleProducts": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Example Title"
}
},
"required": [
"name"
]
}
},
"eligibleChannels": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"channelType": {
"type": "string",
"example": "example_value"
},
"store": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Example Title"
}
},
"required": [
"name"
]
},
"retailLocationGroup": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Example Title"
}
},
"required": [
"name"
]
}
},
"required": [
"channelType",
"store",
"retailLocationGroup"
]
}
},
"eligibleCustomerEvents": {
"type": "object",
"properties": {
"event": {
"type": "string",
"example": "example_value"
},
"eventPeriodUnit": {
"type": "string",
"example": "example_value"
}
},
"required": [
"event",
"eventPeriodUnit"
]
},
"eligibleEnrollmentPeriod": {
"type": "object",
"properties": {
"isEnrollmentRequired": {
"type": "boolean",
"example": true
},
"enrollmentStartDate": {
"type": "string",
"example": "example_value"
},
"enrollmentEndDate": {
"type": "string",
"example": "example_value"
}
},
"required": [
"isEnrollmentRequired",
"enrollmentStartDate",
"enrollmentEndDate"
]
},
"eligibleLoyaltyTiers": {
"type": "array",
"description": "",
"example": [],
"items": {
"type": "object",
"properties": {
"tierGroup": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Example Title"
},
"id": {
"type": "string",
"example": "abc123"
}
},
"required": [
"name",
"id"
]
},
"tier": {
"type": "object",
"properties": {
"name": {
"type": "string",
"example": "Example Title"
},
"id": {
"type": "string",
"example": "abc123"
}
},
"required": [
"name",
"id"
]
}
},
"required": [
"tierGroup",
"tier"
]
}
}
},
"required": [
"eligibleProductCategories",
"eligibleProducts",
"eligibleChannels",
"eligibleCustomerEvents",
"eligibleEnrollmentPeriod",
"eligibleLoyaltyTiers"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "PromotionEligibility"
}