I would like to propose the outline of Phenopacket validation process.
The validator-core module outlines interfaces and classes of the general Phenopacket validation, the module has no dependencies. The validation is done by a PhenopacketValidator that validates Phenopacket as an InputStream, File, or a String.
The validator-jsonschema module implements the validation using JSONschema. This is the place where we should write and test the schema definitions for different types of Phenopackets.
Last, validator-cli was not really changed a lot, so it is still a simple CLI that validates one or more Phenopackets.
Hi @pnrobinson
I would like to propose the outline of Phenopacket validation process.
The
validator-core
module outlines interfaces and classes of the general Phenopacket validation, the module has no dependencies. The validation is done by aPhenopacketValidator
that validates Phenopacket as anInputStream
,File
, or aString
.The
validator-jsonschema
module implements the validation using JSONschema. This is the place where we should write and test the schema definitions for different types of Phenopackets.Last,
validator-cli
was not really changed a lot, so it is still a simple CLI that validates one or more Phenopackets.