~sircmpwn/names.sr.ht

f718603718e061dc350ef492083a87dee7e93db8 — Drew DeVault 1 year, 9 months ago 1a4fb0f
.ru, .se, .travel
1 files changed, 44 insertions(+), 0 deletions(-)

M names/types/gtld_specific.py
M names/types/gtld_specific.py => names/types/gtld_specific.py +44 -0
@@ 817,3 817,47 @@ class RoExtraData(Base,
        RegistrationNumberMixin,
        VatNumberMixin):
    __tablename__ = "extra_data_ro"

### .ru
class RuExtraData(Base,
        ExtraDataMixin,
        RegistrantTypeMixin,
        IdCardNumberMixin):
    __tablename__ = "extra_data_ru"

    date_of_birth = sa.Column(sa.DateTime) # required if individual
    """The registrant's date of birth."""

    id_card_authority = sa.Column(sa.Unicode) # required if individual
    """Name of the ID card issuing authority."""

    id_card_issue_date = sa.Column(sa.DateTime) # required if individual
    """Name of the ID card issuance date."""

    place_of_birth = sa.Column(sa.Unicode) # required if individual
    """The city in which the individual was born."""

### .se
### .nu
class SeExtraData(Base,
        ExtraDataMixin,
        RegistrantTypeMixin,
        IdCardNumberMixin,
        RegistrationNumberMixin,
        VatNumberMixin):
    __tablename__ = "extra_data_se"

### .travel
class TravelExtraData(Base, ExtraDataMixin):
    """
    In order to register a .TRAVEL domain name, the registrant must be a
    participant in the travel and tourism industry, and they must have a Unique
    Identifying Number (UIN).
    """
    __tablename__ = "extra_data_travel"

    travel_uin = sa.Column(sa.Unicode, nullable=False)
    """
    The Unique Identifying Number that proves the registrant is a participant
    in the travel and tourism industry
    """