The phenopacket validation workflow consist of 2 steps: syntax step and semantic step.
The syntax step checks if the building blocks meet the requirements independently (e.g. all required fields are defined for a Resource).
The semantic step checks for presence of errors in the context of the entire top-level element of the Phenopacket schema (e.g. a phenopacket contains an HPO term but a Resource for HPO is missing in MetaData).
The PR adds ValidationWorkflowRunnerBuilder, an abstract class to simplify ValidationWorkflowRunner building process.
The phenopacket validation workflow consist of 2 steps: syntax step and semantic step.
The syntax step checks if the building blocks meet the requirements independently (e.g. all required fields are defined for a
Resource
).The semantic step checks for presence of errors in the context of the entire top-level element of the Phenopacket schema (e.g. a phenopacket contains an HPO term but a
Resource
for HPO is missing inMetaData
).The PR adds
ValidationWorkflowRunnerBuilder
, an abstract class to simplifyValidationWorkflowRunner
building process.