<?php

namespace Shm\ShmSocial;

use Shm\Collection\Collection;
use Shm\Shm;
use Shm\ShmAuth\Auth;
use Shm\ShmChat\ShmChat;
use Shm\ShmTypes\StructureType;

class ShmSocials extends Collection
{



    public function schema(): ?StructureType
    {
        $schema = Shm::structure([

            "id" => Shm::string(),
            "type" => Shm::string(),
            "soc" => Shm::string(),
            "mail" => Shm::string(),
            "name" => Shm::string(),
            "surname" => Shm::string(),
            "photo" => Shm::string(),



            "owner" => Shm::ID()->hide(),
            "ownerCollection" => Shm::string()->hide(),


        ]);


        return $schema;
    }
}