events.action: opened
events.author: tschaffter
events.title: Validate Tool
events.type: issue
events.action: created
events.author: tschaffter
events.text: @thomasyu888 I've added a snippet of commented code that uses `jsonschema` package to validate a JSON object against a JSON schema. When testing a tool, we want to client to get the JSON object by sending a request to the Tool instead of reading JSON data from file. The snippet comes from this script that I used in our schemas repository to validate schemas: https://github.com/Sage-Bionetworks/nlp-sandbox-schemas/blob/develop/tools/validate/validate.py
events.type: comment
events.action: created
events.author: tschaffter
events.text: 'jsonschema>=3.2.0' is already in *setup.py*
events.type: comment
events.action: created
events.author: thomasyu888
events.text: Thanks for starting this @tschaffter .  I was actually going to rename `NlpClient` to `DataNodeClient` and then have a `NlpToolClient`.  Thoughts?
events.type: comment
events.action: created
events.author: thomasyu888
events.text: Depends on #42
events.type: comment
events.action: created
events.author: thomasyu888
events.text: @tschaffter, this can be merged
events.type: comment
data_with_bots.bot: This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
data_with_bots.meta: This message directly preceded comment from bot *github-actions[bot]* by author *thomasyu888*:
data_with_bots.text: @tschaffter, this can be merged
data_without_bots.meta: This message directly preceded comment from bot *github-actions[bot]* by author *thomasyu888*:
data_without_bots.text: @tschaffter, this can be merged