def METHOD_NAME(self):
    schema = openmediavault.json.Schema({})
    schema._check_format(
        "192.168.10.101",
        {
            "type": "string",
            "oneOf": [
                {"type": "string", "format": "ipv6"},
                {"type": "string", "format": "ipv4"},
            ],
        },
        "field3",
    )