{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/mastercard/main/json-schema/mastercard-bundles-schema.json", "title": "Bundles", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/mastercard-benefit-allocations-card-management-api-openapi.yml#/components/schemas/Bundles", "type": "object", "properties": { "bundles": { "type": "array", "description": "List of eligible benefit bundles after a segment has been assigned to a card number.", "items": { "$ref": "#/$defs/BundleDetails" } } }, "$defs": { "BundleDetails": { "type": "object", "properties": { "code": { "maxLength": 6, "minLength": 0, "type": "string", "description": "Unique identifier of a benefit bundle that represents a group of benefit instances available." }, "effectiveDate": { "type": "string", "description": "Effective date associated to the benefits in the benefit bundle. Date will be in YYYY-MM-DD format.", "format": "date" }, "expiryDate": { "type": "string", "description": "Expiry date associated to the benefits in the benefit bundle. Date will be in YYYY-MM-DD format.", "format": "date" } } } } }