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 fieldsNice to have
Activity
1 remaining item