CloudEvents ruleset

The rules of messages that are CloudEvents: add the ruleset to another one (extends: [recommended, cloudevents]). A message is a CloudEvent in structured mode when its content type (its own, its traits’, or defaultContentType) is application/cloudevents+json, and in binary mode when a header carries a context attribute with the prefix of a protocol binding (ce_specversion, ce-id, cloudEvents:type).

Rules

Name Severity
cloudevents/attribute-schemas warning
cloudevents/binding-headers error
cloudevents/required-attributes error
Was this helpful?