Skip to content

Open-source event management and ticket selling platform — perfect for concerts, conferences, and everything in between 🎟️ If you find this project helpful, please consider giving us a star ⭐️

568 B
Raw Blame
<?php

declare(strict_types=1);

namespace HiEvents\Enterprise\Seating\Http\Request;

use HiEvents\Http\Request\BaseRequest;

class UpsertSeatMapRequest extends BaseRequest
{
    public function rules(): array
    {
        return [
            'name' => ['required', 'string', 'max:255'],
            'version' => ['nullable', 'integer'],
            'layout' => ['required', 'array'],
            'layout.schema' => ['required', 'integer'],
            'layout.bands' => ['required', 'array'],
            'layout.areas' => ['required', 'array'],
        ];
    }
}