> */ public function rules(): array { return [ 'targets' => ['required', 'array', 'min:1', 'max:'.self::MAX_TARGETS], 'targets.*.type' => ['required', 'string', Rule::in(['sentence', 'wbw'])], 'targets.*.id' => ['required', 'uuid'], ]; } }