<?php

declare(strict_types=1);

namespace PHPMax\Api\Session;

use PHPMax\Support\Model;

class MobileHandshakePayload extends Model
{
     
    public $mtInstanceId;
     
    public $userAgent;
     
    public $clientSessionId;
     
    public $deviceId;

    protected static function schema(): array
    {
        return [
            'mtInstanceId' => ['type' => 'string', 'payload' => 'mt_instanceid', 'required' => true],
            'userAgent' => ['type' => MobileUserAgentPayload::class, 'required' => true],
            'clientSessionId' => ['type' => 'int', 'default' => 1],
            'deviceId' => ['type' => 'string', 'required' => true],
        ];
    }
}

