<?php

declare(strict_types=1);

namespace PHPMax\Api\Account;

use PHPMax\Support\Model;

class CreateFolderPayload extends Model
{
     
    public $id;
     
    public $title;
     
    public $include = [];
     
    public $filters = [];

    protected static function schema(): array
    {
        return [
            'id' => ['type' => 'string', 'required' => true],
            'title' => ['type' => 'string', 'required' => true],
            'include' => ['type' => 'list<int>', 'required' => true],
            'filters' => ['type' => 'list<mixed>', 'default' => static function (): array {
                return [];
            }],
        ];
    }
}
