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

Make sure IDs start with origin in submitted data #368

Open
spbnick opened this issue Mar 6, 2023 · 2 comments
Open

Make sure IDs start with origin in submitted data #368

spbnick opened this issue Mar 6, 2023 · 2 comments

Comments

@spbnick
Copy link
Collaborator

spbnick commented Mar 6, 2023

The schema suggests that all id fields should start with the value of the origin field, followed by a colon :, but nothing actually validates that. It would be a good step towards protecting the integrity of the data to actually validate that it does, either via JSON schema in kcidb-io (if possible), or by other means in kcidb.

@NikkyXO
Copy link
Contributor

NikkyXO commented Mar 7, 2023

Hello @spbnick, can i work on this issue

@spbnick
Copy link
Collaborator Author

spbnick commented Mar 7, 2023

Sorry, @NikkyXO, we still have to figure out how exactly to do this. We have some inherited data (v3 upgraded to v4) that violates the rule we're trying to introduce, and need to figure out how to resolve that.

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

No branches or pull requests

2 participants