<?php

declare(strict_types=1);

namespace PHPMax\Domain\Attachments;

class AudioAttachment extends BaseAttachment
{
     
    public $duration;
     
    public $audioId;
     
    public $wave;
     
    public $transcriptionStatus;
     
    public $url;
     
    public $token;

    protected static function schema(): array
    {
        return parent::schema() + [
            'duration' => ['type' => 'int'],
            'audioId' => ['type' => 'int'],
            'wave' => ['type' => 'string'],
            'transcriptionStatus' => ['type' => 'string'],
            'url' => ['type' => 'string'],
            'token' => ['type' => 'string'],
        ];
    }
}
