An open API service indexing awesome lists of open source software.

https://github.com/deepset-ai/haystack-json-schema

JSON Schema for validating Haystack Pipeline YAML files
https://github.com/deepset-ai/haystack-json-schema

Last synced: 3 months ago
JSON representation

JSON Schema for validating Haystack Pipeline YAML files

Awesome Lists containing this project

README

        

# JSON Schema for Haystack Pipeline YAML files






Schemas

JSON Schema for validating [Haystack](https://haystack.deepset.ai/) [Pipeline YAML files](https://docs.haystack.deepset.ai/docs/pipelines#yaml-file-definitions). These schemas are [referenced in SchemaStore](https://www.schemastore.org/json/) and allow IDEs to validate your Haystack Pipeline YAML files.

**These schemas are all generated. PRs on this repo are not monitored and will be ignored. In case of problems, open an issue or discussion on the [main Haystack repository](https://github.com/deepset-ai/haystack).**

Technical implementation:
- Schemas are generated using the [official Haystack Docker images](https://hub.docker.com/r/deepset/haystack), matching the image tag with the release provided (or `main` for the unstable version).
- The workflow starts when this repo receives a disapatch event, either triggered from the haystack repository every time a new Docker image is published, or running the workflow manually.
- The desired Haystack version is contained in the dispatch event itself.
- The `main` schema is only updated when the Haystack release is `main`, allowing to update schemas for any release without disrupting the unstable version (this is handy to fix any issue we might have with the CI).