Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source as a URI #123

Merged
merged 1 commit into from
Mar 29, 2018
Merged
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
39 changes: 5 additions & 34 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,6 @@ the event data. The context might also need to be serialized with the event
data for some use cases (e.g. a JSON implementation might use one JSON object
that contains both context and data).

### namespace
* Type: String
* Description: Identifier that uniquely identifies the organization publishing
the event.
* Constraints:
* REQUIRED
* MUST be a non-empty string
* Examples:
* kafka.apache.org
* com.microsoft.azure

### event-type
* Type: String
* Description: Type of the event `data`. Producers can specify the format of
Expand Down Expand Up @@ -147,31 +136,13 @@ that contains both context and data).
* MUST be a non-empty string

### source
* Type: Object
* Description: This describes the software instance that emits the event at
runtime (i.e. the producer). It contains sub-properties (listed below)
* Constraints:
* REQUIRED
* MUST contain at least one non-empty sub-property.

### source-type
* Type: String
* Description: Type of the event source. Providers define list of event
sources.
* Type: URI
* Description: This describes the event producer. Often this will include
information such as the type of the event source, the organization
publishing the event, and some unique idenfitiers. The exact syntax and
semantics behind the data encoded in the URI is event producer defined.
* Constraints:
* REQUIRED
* MUST be a non-empty string
* Examples:
* s3

### source-id
* Type: String
* Description: ID of the event source.
* Constraints:
* REQUIRED
* MUST be a non-empty string
* Examples:
* my.s3.bucket

### event-id
* Type: String
Expand Down