/**
* @param array<string, string> $renderedField
*
* @return array<string, array<int, mixed>>
*/
public static function getConstraints(array
$renderedField): array
{ return [ 'renderedField' =>
[new NotBlank()],
'selectedField' =>
[new NotBlank()],
'selectedFieldSet' =>
[new NotBlank()],
'renderedFieldValue' => self::
getRenderedFieldValueConstraints($renderedField),
'operator' =>
[ new NotBlank(),
new Choice( [ Rule::OPERATOR_NEQ,
Rule::OPERATOR_GTE,
Rule::OPERATOR_LTE,
Rule::OPERATOR_EQ,
Rule::OPERATOR_GT,
Rule::OPERATOR_LT,
] ),