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

Add JSON schema based BOM validator. #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

eli-l
Copy link

@eli-l eli-l commented Feb 14, 2024

BOM decoder is not providing possibility to validate the values of the BOM. Nevertheless boundaries and expectations are set for some of them and it seemed necessary to have a possibility of validating these values.

Current proposal include separated validator (not a part of decoder) that operates on decoded json (BOM struct) scanning corresponding JSON schemas for enum/pattern schema definitions for the non-empty BOM fields. BOM fields are validated to either match any ENUM option or RegEx pattern. This way there is no need to create separate validation definitions.

@eli-l eli-l requested a review from a team as a code owner February 14, 2024 13:11
@Razikus
Copy link

Razikus commented Mar 18, 2024

bump

2 similar comments
@Razikus
Copy link

Razikus commented Apr 8, 2024

bump

@Razikus
Copy link

Razikus commented Apr 22, 2024

bump

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.

2 participants