Setting a Field as Required Depending on a JSON Value

I created a page builder with different sections and various variants.

In my variant collection, I added a JSON field structured like this:

json

CopierModifier

[
    {
        "name": "field1",
        "required": true
    },
    {
        "name": "field2",
        "required": false
    }
]

In my section, can I conditionally set a field as required based on its required value in the JSON while targeting the field by its name value?

For example, in the section, if this variant is selected, field1 should be required.

The main issue is that I cannot access the variant object. It could be useful in many cases not only in conditions.

Should I have to edit the raw filter as I would have done with the SDK ?

Thank you in advance :rabbit:

Directus is not currently capable of filtering JSON data types.

Open Feature Request: