diff --git a/app/Util/ActivityPub/Validator/MoveValidator.php b/app/Util/ActivityPub/Validator/MoveValidator.php new file mode 100644 index 000000000..a7ca43297 --- /dev/null +++ b/app/Util/ActivityPub/Validator/MoveValidator.php @@ -0,0 +1,23 @@ + 'required', + 'type' => [ + 'required', + Rule::in(['Move']), + ], + 'actor' => 'required|url', + 'object' => 'required|url', + 'target' => 'required|url', + ])->passes(); + } +}