<?php

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

/**
 * @OA\Schema(
 *     schema="ReceiveSongIncrementRequest",
 *     required={"song_id"},
 *     @OA\Property(property="song_id", type="integer", example="123"),
 * )
 */
class ReceiveSongIncrementRequest extends ApiRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
     */
    public function rules(): array
    {
        return [
            'song_id' => ['required','integer','exists:songs,id'],
        ];
    }
}
