Properties
| Name | Type | Description |
|---|---|---|
| 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/LoyaltyProgramAddParameters",
"title": "Loyalty program parameters",
"required": [
"Code",
"Name",
"Subscription",
"Type"
],
"type": "object",
"properties": {
"Name": {
"maxLength": 100,
"minLength": 1,
"type": "string",
"description": "Name of the loyalty program."
},
"Code": {
"maxLength": 50,
"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": "LoyaltyProgramAddParameters"
}