NCATSTranslator / reasoner-validator

Validation of Translator OpenAPI (TRAPI) messages both to TRAPI and Biolink Model standards. See https://ncatstranslator.github.io/reasoner-validator/
Other
2 stars 4 forks source link

Deeper validation of TRAPI workflow specifications #57

Open RichardBruskiewich opened 1 year ago

RichardBruskiewich commented 1 year ago

We have fixed the check_compliance_of_trapi_response() method to substantially validate a full TRAPI Response object, but only perform schema validation of TRAPI workflow specifications.

As it happens, careful scrutiny of the schema definition indicates that the values of some parameters of some operations, have additional cardinality and semantic constraints, invisible to basic schema validation. This issue is a placeholder to remind us to ponder how to do deeper validation of such constraints (if feasible and performant enough for our use cases).

RichardBruskiewich commented 1 year ago

Related issue: https://github.com/NCATSTranslator/OperationsAndWorkflows/issues/78