-
Notifications
You must be signed in to change notification settings - Fork 23
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
Add a schema uri property to the context #91
Labels
roadmap
Items on the roadmap
Comments
4 tasks
afrittoli
added a commit
to afrittoli/cdevents-spec
that referenced
this issue
Feb 22, 2024
Add schemaURI to the context. It can be used to link to a custom schema that further refines the event content. Context: - cdevents#168 - cdevents#91 Fixes: cdevents#91 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
4 tasks
afrittoli
added a commit
to afrittoli/cdevents-spec
that referenced
this issue
Mar 6, 2024
Add schemaURI to the context. It can be used to link to a custom schema that further refines the event content. Context: - cdevents#168 - cdevents#91 Fixes: cdevents#91 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
afrittoli
added a commit
to afrittoli/cdevents-spec
that referenced
this issue
Mar 13, 2024
Add schemaURI to the context. It can be used to link to a custom schema that further refines the event content. Context: - cdevents#168 - cdevents#91 Fixes: cdevents#91 Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To simplify for event consumer we should include a schema uri property to the cdevents context object. With that the consumer could use that schema for validation, parsing and data extraction purposes. It might be obvious that an event sent using a certain version of the spec would be possible to retrieve from https://cdevents.dev//schema/.json, but there are use cases where that might not be enough:
The text was updated successfully, but these errors were encountered: