Update json schema validation
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6.5k
- Forks
- 787
- PR merge metrics
- No merged PRs in 30d
Description
SUMMARY
Feature request, to support actions/triggers input/output validation with JSON schema draft v7.
Currently, StackStorm supports JSON schema draft v4, a very old version of JSON schema.
Most of the tools today support JSON schema draft v7, and specifically Pydantic.
We use Pydantic to generate our StackStorm actions/triggers input and output, and the versions deifference create validation problems.
See also:
STACKSTORM VERSION
st2 3.1.0, on Python 3.6.9
OS, environment, install method
We use Kubernetes and a custom helm chart.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Action validation documentation and the existing JSON Schema draft v4 support for actions and triggers. No implementation files or tests are named; done would require a defined approach for draft v7 input/output validation that remains compatible with Pydantic-generated schemas.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100