{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SMSMarketing", "title": "SMSMarketing", "type": "object", "properties": { "can_receive_sms_marketing": { "description": "Whether or not this profile is subscribed to receive SMS marketing.", "type": "boolean" }, "consent": { "description": "The consent status for SMS marketing.", "type": "string", "example": "SUBSCRIBED" }, "consent_timestamp": { "description": "The timestamp when consent was recorded or updated for SMS marketing, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).", "type": "string", "format": "date-time", "example": "2023-02-21T20:07:38+00:00", "nullable": true }, "method": { "description": "The method by which the profile was subscribed to SMS marketing.", "type": "string", "example": "TEXT", "nullable": true }, "method_detail": { "description": "Additional details about the method which the profile was subscribed to SMS marketing. This may be empty if no details were provided.", "type": "string", "example": "JOIN", "default": "", "nullable": true }, "last_updated": { "description": "The timestamp when the SMS consent record was last modified, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).", "type": "string", "format": "date-time", "example": "2023-02-21T20:07:38+00:00", "nullable": true } }, "required": [ "can_receive_sms_marketing", "consent" ] }