Properties
| Name | Type | Description |
|---|---|---|
| Id | string | Unique identifier of the loyalty program. |
| ChainId | string | Unique identifier of the chain. |
| Name | string | Name of the loyalty program. |
| Code | string | Code of the loyalty program. |
| Type | object | |
| Subscription | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/LoyaltyProgram",
"title": "Loyalty program",
"required": [
"ChainId",
"Code",
"Id",
"Name",
"Subscription",
"Type"
],
"type": "object",
"properties": {
"Id": {
"type": "string",
"description": "Unique identifier of the loyalty program.",
"format": "uuid"
},
"ChainId": {
"type": "string",
"description": "Unique identifier of the chain.",
"format": "uuid"
},
"Name": {
"minLength": 1,
"type": "string",
"description": "Name of the loyalty program."
},
"Code": {
"minLength": 1,
"type": "string",
"description": "Code of the loyalty program."
},
"Type": {
"$ref": "#/components/schemas/LoyaltyProgramType"
},
"Subscription": {
"$ref": "#/components/schemas/LoyaltyProgramSubscription"
}
},
"additionalProperties": false,
"x-schema-id": "LoyaltyProgram"
}