Closed pnrobinson closed 1 year ago
@ielis @julesjacobsen -- this is working now, I have added a prototype Ontology validation class. There are some things that potentially should be changed -- in particular, it is not straightforward just to pass "Message" (protobuf) to the validator instead of "Phenopacket". Also, we will need to figure out how to use multiple JSON Schema files and link the Phenopacket to Family and Cohort.
proposed API -- simplified a few things. If we like this general structure, we would need some analogous classes for Cohort and Family messages.