<?php

return gridFilterSchema([
    'query' => [
        'search' => ['type' => 'string'],
        'limit' => ['type' => 'int', 'default' => 10, 'min' => 1, 'max' => 100],
        'offset' => ['type' => 'int', 'default' => 0, 'min' => 0],
    ],
    'toolbar' => [
        [
            'key' => 'search',
            'type' => 'text',
            'label' => 'Search',
            'placeholder' => 'Search...',
            'input_id' => 'search-results-input',
            'search' => true,
            'query' => ['type' => 'string'],
        ],
    ],
]);
