NCATSTranslator / ReasonerAPI

NCATS Biomedical Translator Reasoners Standard API
33 stars 27 forks source link

not required not the same as nullable: true #458

Open edeutsch opened 9 months ago

edeutsch commented 9 months ago

I think in several places in the schema, we assumed that not required properties were equivalent to nullable: true But according to JSON schema validation, this is not true. It appears that a non-required property that is not explicitly defined to be nullable: true can fail validation if it is null.

TODO: Check all properties and define them all as nullable: true or nullable: false to avoid this ambiguity.