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

Fix custom schema and add validation #227

Merged
merged 1 commit into from
May 15, 2024

Conversation

afrittoli
Copy link
Contributor

Changes

The custom schema had a few issues to be fixed:

  • missing chainId and links from the context
  • missing version in the type regex
  • replace "." with "." in the type regex

This PR fixes all those and adds a conformance.json example file to validate against the custom schema.

Fixes #216

Submitter Checklist

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

@afrittoli afrittoli requested a review from a team as a code owner May 15, 2024 14:05
@afrittoli
Copy link
Contributor Author

This will fail validation until #205 is merged

The custom schema had a few issues to be fixed:
- missing chainId and links from the context
- missing version in the type regex
- replace "." with "\." in the type regex

This PR fixes all those and adds a conformance.json example
file to validate against the custom schema.

Fixes cdevents#216

Signed-off-by: Andrea Frittoli <andrea.frittoli@gmail.com>
@afrittoli afrittoli merged commit 2bd7386 into cdevents:main May 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Links are missing in the custom schema
2 participants