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

Store External Validation Rules for Dynamic Schemas #872

Open
joneubank opened this issue Oct 21, 2024 · 0 comments
Open

Store External Validation Rules for Dynamic Schemas #872

joneubank opened this issue Oct 21, 2024 · 0 comments

Comments

@joneubank
Copy link
Contributor

joneubank commented Oct 21, 2024

Dependent on completion of: #871

Summary of External Validation

We are adding a mechanism to validate that a property of an analysis, for example a donor ID, is registered in an external registry. This validation will be done during Analysis submission by making a web request to a configurable URL, and it will ensure that the value of a property is valid according to the external service.

External validation may be done to ensure that an ID is registered in another meta data service, or could be looking up a value in an external ontology, or any other validation logic that the external service chooses.

Ticket Details

Dynamic Schemas will now contain external validation rules and these need to be stored in the DB for their analysis type.

Each analysis type could have no external validation rules, or multiple external valdation rules.
Each validation rule contains:

  • a string for the jsonPath to the property that will be validated
  • a string for the url that will be used for external validation

Desired solution

Please describe changes to data model here.

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