*/ public function rules(): array { return [ 'name' => ['nullable', 'string', 'max:255'], 'api_key' => ['nullable', 'string', 'min:20', 'max:500'], 'is_active' => ['nullable', 'boolean'], ]; } }