Skip to content

Commit c80e169

Browse files
author
Doug Davis
authored
Source as a URL (#123)
Signed-off-by: Doug Davis <[email protected]>
1 parent 0a5b5b1 commit c80e169

File tree

1 file changed

+5
-34
lines changed

1 file changed

+5
-34
lines changed

Diff for: spec.md

+5-34
Original file line numberDiff line numberDiff line change
@@ -273,17 +273,6 @@ the event data. The context might also need to be serialized with the event
273273
data for some use cases (e.g. a JSON implementation might use one JSON object
274274
that contains both context and data).
275275

276-
### namespace
277-
* Type: String
278-
* Description: Identifier that uniquely identifies the organization publishing
279-
the event.
280-
* Constraints:
281-
* REQUIRED
282-
* MUST be a non-empty string
283-
* Examples:
284-
* kafka.apache.org
285-
* com.microsoft.azure
286-
287276
### event-type
288277
* Type: String
289278
* Description: Type of the event `data`. Producers can specify the format of
@@ -313,31 +302,13 @@ that contains both context and data).
313302
* MUST be a non-empty string
314303

315304
### source
316-
* Type: Object
317-
* Description: This describes the software instance that emits the event at
318-
runtime (i.e. the producer). It contains sub-properties (listed below)
319-
* Constraints:
320-
* REQUIRED
321-
* MUST contain at least one non-empty sub-property.
322-
323-
### source-type
324-
* Type: String
325-
* Description: Type of the event source. Providers define list of event
326-
sources.
305+
* Type: URI
306+
* Description: This describes the event producer. Often this will include
307+
information such as the type of the event source, the organization
308+
publishing the event, and some unique idenfitiers. The exact syntax and
309+
semantics behind the data encoded in the URI is event producer defined.
327310
* Constraints:
328311
* REQUIRED
329-
* MUST be a non-empty string
330-
* Examples:
331-
* s3
332-
333-
### source-id
334-
* Type: String
335-
* Description: ID of the event source.
336-
* Constraints:
337-
* REQUIRED
338-
* MUST be a non-empty string
339-
* Examples:
340-
* my.s3.bucket
341312

342313
### event-id
343314
* Type: String

0 commit comments

Comments
 (0)