{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/GetCouponCodesRelationshipsResponseCollection", "title": "GetCouponCodesRelationshipsResponseCollection", "type": "object", "properties": { "data": { "type": "array", "items": { "type": "object", "required": [ "type", "id" ], "properties": { "type": { "$ref": "#/components/schemas/CouponCodeEnum" }, "id": { "description": "The id of a coupon code is a combination of its unique code and the id of the coupon it is associated with.", "type": "string", "example": "10OFF-ASD325FHK324UJDOI2M3JNES99" } } } }, "links": { "$ref": "#/components/schemas/CollectionLinks" } }, "required": [ "data" ] }