diff --git a/cloudevents/formats/cloudevents.json b/cloudevents/formats/cloudevents.json index b9d555033..289f03e5b 100644 --- a/cloudevents/formats/cloudevents.json +++ b/cloudevents/formats/cloudevents.json @@ -81,6 +81,10 @@ } }, "required": ["id", "source", "specversion", "type"], + "not": { + "description": "The data and data_base64 members are mutually exclusive.", + "required": ["data", "data_base64"] + }, "definitions": { "iddef": { "type": "string",