{ "type": "object", "properties": { "ActivityDate": { "type": "string", "example": "example_value" }, "JournalTypeId": { "type": "string", "example": "500123" }, "LoyaltyProgramId": { "type": "string", "example": "500123" }, "MemberId": { "type": "string", "example": "500123" }, "Status": { "type": "string", "example": "example_value" }, "appliedPromotions": { "type": "array", "description": "", "example": [], "items": { "type": "object", "properties": { "promotionId": { "type": "string", "example": "500123" }, "rewards": { "type": "array", "description": "", "example": [], "items": { "type": "object", "properties": { "rewardType": { "type": "string", "example": "example_value" }, "discountAmount": { "type": "integer", "example": 42 }, "loyaltyProgramCurrencyName": { "type": "string", "example": "example_value" }, "points": { "type": "integer", "example": 10 }, "relatedInformation": { "type": "string", "example": "example_value" }, "notes": { "type": "string", "example": "example_value" }, "voucherDefinitionName": { "type": "string", "example": "example_value" }, "voucherExpirationDate": { "type": "string", "example": "example_value" }, "voucherEffectiveDate": { "type": "string", "example": "example_value" }, "loyaltyProgramBadgeName": { "type": "string", "example": "example_value" }, "memberBadgeStatus": { "type": "string", "example": "example_value" }, "badgeValidityEndDate": { "type": "string", "example": "example_value" }, "reason": { "type": "string", "example": "example_value" }, "gameDefinitionName": { "type": "string", "example": "example_value" } }, "required": [ "rewardType" ] } } }, "required": [ "promotionId", "rewards" ] } } }, "required": [ "ActivityDate", "JournalTypeId", "LoyaltyProgramId", "MemberId", "Status", "appliedPromotions" ], "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "TransactionJournal3" }