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

Pep Status Details - Validation issue #676

Open
kathryn-ods opened this issue Apr 29, 2024 · 0 comments
Open

Pep Status Details - Validation issue #676

kathryn-ods opened this issue Apr 29, 2024 · 0 comments

Comments

@kathryn-ods
Copy link
Contributor

In the schema we have missingInfoReason is required if politicalExposureStatus is unknown

missingInfoReason is currently a field in the 'PEP Status' object and details is an array of these objects.

Because the missing info field is within an array this requirement can't be validated used JSON conditionals.

We could move missingInfoReason into politicalExposure and then it would be easy to use dependentRequired to enforce this requirement https://json-schema.org/understanding-json-schema/reference/conditionals#dependentRequired

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants