<?php

declare(strict_types=1);

namespace PpPhp\Core\Diagnostics\Metadata;

final class DocumentationMetadata extends AbstractMetadata
{
    public function documentStatus(): string
    {
        return (string) ($this->raw['status'] ?? 'draft');
    }

    public function owner(): string
    {
        return (string) ($this->raw['owner'] ?? '');
    }

}
