Developer documentation · schema 3.1.8GitHub
Fair3RFDF schema

Writing the schema

Dynamic actions (on_change)

Trigger actions when a field value changes:

{
  "id": "organism_choice",
  "on_change": [
    {
      "action": "reset_fields",
      "fields": ["gene_search", "allele_search", "strain_search"]
    }
  ]
}

Currently supported action: reset_fields — clears target fields and their API selections. Use when changing the organism to prevent stale gene/allele data.


Edit this page on GitHub