Writing the schema
Conditional visibility
Section-level condition
{
"id": "genes",
"condition": {
"type": "checkbox_includes",
"field_id": "intervention_types",
"value": "GENE"
}
}
Field-level visibility
{
"id": "allele_search",
"visible_if": {
"field": "gene_search",
"not_empty": true,
"taxon_not_in": ["8364", "9544"]
}
}
Organism-trigger condition
{
"id": "strain",
"condition": {
"type": "organism_trigger",
"trigger": "strain_search"
}
}
