phenopackets / phenopacket-validator

Library and tools to help validate phenopackets
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Sex-ENUM: "UNKNOWN_SEX" occurs twice #29

Closed domibln closed 2 years ago

domibln commented 2 years ago

I suppose this is an error (phenopacket-general-schema.json):

          "sex": {
            "enum": ["UNKNOWN_SEX", "FEMALE", "MALE", "UNKNOWN_SEX"]
          },
julesjacobsen commented 2 years ago

Hi @domibln, thanks for your feedback. Sorry, this validator project has been merged with the phenopacket-tools. If you checkout the develop branch - https://github.com/phenopackets/phenopacket-tools/tree/develop. This is not the case there:

https://github.com/phenopackets/phenopacket-tools/blob/fc865fcb692000add853005f26a0b5a3aeec05f4/phenotools-validator-jsonschema/src/main/resources/schema/phenopacket-schema-2-0.json#L37-L39

Sorry again, this is still all a bit work in progress!