phenopackets / phenopacket-validator

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

add error type "type" #18

Open pnrobinson opened 3 years ago

pnrobinson commented 3 years ago
validationMessage = {ValidationMessage@3172} "$.diseases[0].diseaseStage: array found, object expected"
 type = "type"
 code = "1029"
 path = "$.diseases[0].diseaseStage"
 arguments = {String[2]@3178} ["array", "object"]
 details = null
 message = "$.diseases[0].diseaseStage: array found, object expected"

This means the type of an object was not as expected by the JSON schema. In our case, this likely means the schema needs to be adjusted.