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

Enforce the source format URI-reference via the jsonschema #116

Merged
merged 3 commits into from
Mar 10, 2023

Conversation

afrittoli
Copy link
Contributor

Changes

The format of the source field is defined as URI-reference https://github.com/cdevents/spec/blob/v0.1.1/spec.md#source-context

This is consistent with the CloudEvents specification. It reflects the fact that not every source will be an URL.

If later on, we decide on a more specific format, we can enforce it then.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

@afrittoli afrittoli mentioned this pull request Mar 3, 2023
4 tasks
The format of the source field is defined as URI-reference
https://github.com/cdevents/spec/blob/v0.1.1/spec.md#source-context

This is consistent with the CloudEvents specification. It
reflects the fact that not every source will be an URL.

If later on we decide on a more specific format, we can
enforce it then.

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
@e-backmark-ericsson
Copy link
Contributor

I believe this PR should be seen as the solution to #114

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants