

def validate_uri(self):
    '\n        Specification URIs have to be valid, have a scheme and be absolute\n        :rtype: bool\n        '
    uri = rfc3986.uri_reference(valid_uri_scheme.identifier)
    valid_uri_scheme = (uri.scheme in self.allowed_schemes)
    return (uri.is_valid() and valid_uri_scheme and uri.is_absolute())

dataset/ETHPy150Open zalando/turnstile/turnstile/models/specifications.py Specification.validate_uri/VarMisuse@18/61 `self`->`valid_uri_scheme`