<?php
/**
 * Shared pagination parameter schema for bounded reads.
 *
 * @package LolaCoreForBricks
 */

declare(strict_types=1);

namespace LolaCoreForBricks\Schemas;

/**
 * Reusable Door 1 pagination fields.
 */
final class SchemaPagination
{
    /**
     * @return array<string, array<string, mixed>>
     */
    public static function properties(): array
    {
        return [
            'limit' => [
                'type'        => 'integer',
                'description' => 'Maximum items to return (1-200, default 50).',
            ],
            'offset' => [
                'type'        => 'integer',
                'description' => 'Number of items to skip (default 0).',
            ],
        ];
    }
}
