Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,25 @@ that contains both context and data).
* Constraints:
* REQUIRED

### labels
* Type: `Map`
* Description: Non-heirarchical attributes which describe the `source` of
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to limit it to describing the source instead of the event in general?

the event. Receivers can filter or route based on these attributes.
This is intended to include (but is not limited to) "labels" in cloud
platforms like AWS or Kubernetes.
* Constraints:
* OPTIONAL.
* Keys MUST match the regular expression `[_a-z0-9][_.a-z0-9/]*`
* Keys SHOULD use the character "." as a namespace separator
* Values MUST be `String`s
* Values MUST use URI-safe characters
* Values MUST be non-zero in length
* Examples:
* {
"sensor.configuration": "WINDOW",
"sensor.location": "deployments/house1/window3"
}

### eventID
* Type: `String`
* Description: ID of the event. The semantics of this string are explicitly
Expand Down