Skip to content

Cloud Components: new component rendering workflow input forms from a GA4GH I/O Schema #444

Open

Description

@uniqueg

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:

This is a nice-to-have. It is part of the end-to-end demonstration elixir-cloud-aai/ga4gh-io-schema#23.

How?

  1. 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.
  2. Design an element, e.g., ecc-client-ga4gh-wes-io-form or a generic ecc-utils-design form, 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-…-changed with {values, valid}), not workflow_params: translating values to workflow_params depends on the engine and is done by a separate builder (feat(wes): build run requests from I/O Schemas #570).
  3. Evaluate an existing JSON Schema form library vs a renderer on @elixir-cloud/design primitives. This is the component owner's decision; the agent prepares a short comparison for him. Document the choice.
  4. Add a docs-app demo with the profile's example schemas (tests/data/).
  5. 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 🚀

Activity

  1. added
    priority: low
    type: feature
    workload: weeks
    ecp-wp4: D4.2
    ecp-wp4: D4.3
    on Oct 14, 2026
  2. added
    flag: nice to have
    on Nov 8, 2026
  3. moved this from Ready to Backlog in ELIXIR On-Cloudon Nov 8, 2026
  4. added
    status: triage
    on Nov 12, 2026
  5. 1 remaining item

  6. added
    status: blocked
    and removed
    status: triage
    on Nov 12, 2026
  7. added
    status: triage
    and removed
    status: blocked
    on Nov 12, 2026
  8. moved this from Backlog to Nice to have in ELIXIR On-Cloudon Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: D4.2ecp-wp4: D4.3flag: nice to havepriority: lowstatus: triagetype: featureworkload: weeks

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions