Repository navigation
Description
Why?
D4.3 delivered a draft standard for describing workflow and tool I/O: the GA4GH I/O Schema Profile, https://github.com/uniqueg/ga4gh-io-schema. It is a JSON Schema-based meta-schema plus a Python validator, and it has been shared with GA4GH as a candidate product. Its stated purpose is to let generic WES clients auto-generate input forms and validate inputs client-side. A Cloud Components element that does exactly this would:
- demonstrate the standard;
- extend the D4.2 portfolio;
- enable feat: build workflow forms from I/O schemas krini#47.
This is a nice-to-have. It is part of the end-to-end demonstration elixir-cloud-aai/ga4gh-io-schema#23.
How?
- Read the profile's docs (https://ga4gh-io-schema.readthedocs.io/en/latest/) and the meta-schema with its vocabularies (
schemas/). Pin profile version 0.3. - Design an element, e.g.,
ecc-client-ga4gh-wes-io-formor a genericecc-utils-designform, that:- takes an I/O Schema document (profile v0.3, pinned) as a property;
- validates it against the profile: JSON Schema 2020-12 with
x-ga4gh-*keywords, so strict-mode validators must be configured to allow them; - renders form controls for the supported input types, including a file-reference widget (URL input; DRS/S3 pickers later); unknown widgets render by type;
- never renders descriptions as HTML, and sanitises Markdown;
- validates user input client-side;
- emits the input values (
ecc-…-changedwith{values, valid}), notworkflow_params: translating values toworkflow_paramsdepends on the engine and is done by a separate builder (feat(wes): build run requests from I/O Schemas #570).
- Evaluate an existing JSON Schema form library vs a renderer on
@elixir-cloud/designprimitives. This is the component owner's decision; the agent prepares a short comparison for him. Document the choice. - Add a docs-app demo with the profile's example schemas (
tests/data/). - Feed gaps in the profile back as issues on the io-schema repo.
Acceptance criteria
- Given a valid I/O Schema, the component renders a usable form and emits input values that validate against the schema's
inputs. - An invalid schema produces a clear error.
- Descriptions are never rendered as HTML; Markdown is sanitised.
- A docs-app demo exists.
Dependencies: blocked by elixir-cloud-aai/ga4gh-io-schema#10 (file references) and elixir-cloud-aai/ga4gh-io-schema#17 (widget list).
Part of the ELIXIR Compute Platform WP4 sprint (M&Ds due end of December 2026).
If you want to work on this issue:
- Assign yourself (if someone is already assigned, ask them first or pick another one)
- Move the issue to "In progress" on the project board
- Start working 🚀
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsIn progress
Activity
15 remaining items
feat(wes): render the I/O Schema widget hints
fix(wes): bound the I/O form's field walk
feat(wes): check file reference inputs
feat(wes): add error messages, hidden inputs
feat(wes): edit lists and unions in the I/O form
feat(wes): show allOf groups as form sections
fix(wes): name I/O form controls and buttons
uniqueg commentedon Dec 4, 2026
Quick heads-up on where this stands: we're currently trying out the proposed approach end to end, to see how everything comes together for the GA4GH I/O Schema demo on 14 Dec.
The work is collected on the integration branch
feat/io-schema. It is branched offdevand only adds a CI trigger for itself. It will never be released. These three stacked PRs go into it:Krini picks the components up from that branch as vendored tarballs, not as a release.
This is just a trial run so that we have something working for the demo. Nothing goes into
devfrom it without @anuragxxd's review. The open design questions are listed in the PR bodies. Where your preferred approach differs, we're happy to adapt the branch or roll it back completely and redo it your way. The branch is only there to find out, on running code, how the pieces fit together.