{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/VoucherCodeAddParameters", "title": "Voucher code parameters", "required": [ "Value", "VoucherId" ], "type": "object", "properties": { "VoucherId": { "type": "string", "description": "Unique identifier of [Voucher](#voucher) the code belongs to.", "format": "uuid" }, "Value": { "maxLength": 128, "minLength": 1, "type": "string", "description": "Value of voucher code used by customers." }, "ValidityStartUtc": { "type": "string", "description": "If specified, marks the beginning of interval in which the code can be used.", "format": "date-time", "nullable": true }, "ValidityEndUtc": { "type": "string", "description": "If specified, marks the end of interval in which the code can be used.", "format": "date-time", "nullable": true } }, "additionalProperties": false, "x-schema-id": "VoucherCodeAddParameters" }