{ "$schema": "https://json-schema.org/draft/2019-09/schema", "$id": "file:///ActionOnlyMessage.schema.json", "title": "ActionOnlyMessage", "description": "A template for messages that silently execute an allowlisted special message action with no UI. Records an impression before attempting action.", "allOf": [{ "$ref": "file:///FxMSCommon.schema.json#/$defs/Message" }], "type": "object", "properties": { "content": { "type": "object", "properties": { "action": { "type": "object", "properties": { "type": { "type": "string", "description": "The type of the special message action to execute." }, "data": { "type": "object", "description": "Optional data for the action." } }, "required": ["type"], "additionalProperties": true, "description": "The special message action to execute. Only allowlisted action types may be used." } }, "additionalProperties": true, "required": ["action"] }, "template": { "type": "string", "const": "action_only" } }, "required": ["targeting"] }