diff --git a/src/Helper/Helper_Options_Fields.php b/src/Helper/Helper_Options_Fields.php index 2d0d1cb73..a9e13f54e 100644 --- a/src/Helper/Helper_Options_Fields.php +++ b/src/Helper/Helper_Options_Fields.php @@ -371,14 +371,17 @@ public function get_registered_fields() { 'additionalProperties' => false, 'properties' => [ 'fieldId' => [ - 'type' => 'string', + 'type' => 'string', + 'required' => true, ], 'operator' => [ - 'type' => 'string', - 'enum' => [ 'is', 'isnot', '<>', 'not in', 'in', '>', '<', 'contains', 'starts_with', 'ends_with', 'like', '>=', '<=' ], + 'type' => 'string', + 'enum' => [ 'is', 'isnot', '<>', 'not in', 'in', '>', '<', 'contains', 'starts_with', 'ends_with', 'like', '>=', '<=' ], + 'required' => true, ], 'value' => [ - 'type' => 'string', + 'type' => 'string', + 'required' => true, ], ], ],