<?php
namespace Fifa\ConnectId\Sdk\Util\Data\Person;

/**
 * Class MatchOfficialRole
 * @package Fifa\ConnectId\Sdk\Util\Data\Person
 */
class MatchOfficialRole
{
    const REFEREE = 'Referee';
    const REFEREE_ASSISTANT = 'RefereeAssistant';
    const OBSERVER = 'Observer';
    const DELEGATE = 'Delegate';
    const OTHER = 'Other';
    const VIDEO_ASSISTANT_REFEREE = 'VAR';
    const ASSISTANT_VIDEO_ASSISTANT_REFEREE = 'AVAR';

    /**
     * Returns a set of all possible match official roles
     *
     * @return array
     */
    public static function getMatchOfficialRoles(): array
    {
        return array(
            self::REFEREE => self::REFEREE,
            self::REFEREE_ASSISTANT => self::REFEREE_ASSISTANT,
            self::OBSERVER => self::OBSERVER,
            self::DELEGATE => self::DELEGATE,
            self::OTHER => self::OTHER,
            self::VIDEO_ASSISTANT_REFEREE => self::VIDEO_ASSISTANT_REFEREE,
            self::ASSISTANT_VIDEO_ASSISTANT_REFEREE => self::ASSISTANT_VIDEO_ASSISTANT_REFEREE,
        );
    }
}