def METHOD_NAME(self, instance: Any) -> None:
    """
    Check if the instance is valid under the current `schema`.
    Raises:
        `jsonschema.exceptions.ValidationError`:
            if the instance is invalid
    >>> schema = {"maxItems" : 2}
    >>> Draft202012Validator(schema).validate([2, 3, 4])
    Traceback (most recent call last):
        ...
    ValidationError: [2, 3, 4] is too long
    """