{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LoyaltyAccount", "title": "LoyaltyAccount", "type": "object", "properties": { "accountId": { "type": "string" }, "externalId": { "type": "string", "description": "Partner-provided customer identifier" }, "status": { "type": "string", "enum": [ "Active", "Inactive", "Suspended" ] }, "tier": { "type": "string" }, "firstName": { "type": "string" }, "lastName": { "type": "string" }, "email": { "type": "string" }, "phone": { "type": "string" }, "dateOfBirth": { "type": "string", "format": "date" }, "createdAt": { "type": "string", "format": "date-time" }, "updatedAt": { "type": "string", "format": "date-time" } } }