Source code for adstxt.validators
# -*- coding: utf-8 -*-
"""Field validators module."""
"""
Validations are based on acording IAB OpenRTB and IAB OpenDirect specs.
"""
[docs]def domain_name(self, domain_name):
"""Validates the domain name
:domain_name: TODO
:returns: TODO
"""
pass
[docs]def publisher_accound_id(self, publisher_accound_id):
"""Validates the Publisher's Account ID
:publisher_accound_id: TODO
:returns: TODO
"""
pass
[docs]def relationship(self, relationship):
"""Validates Type of Account or Relationship
:relationship: TODO
:returns: TODO
"""
pass
[docs]def certification_authority_id(self, certification_authority_id):
"""Validates Certification Authority ID
:certification_authority_id: TODO
:returns: TODO
"""
pass