def METHOD_NAME():
    """Check that schema message's bookmark_properties must be a string or list."""
    with pytest.raises(ValueError, match="must be a string or list"):
        singer.SchemaMessage(
            stream="test",
            schema={"type": "object", "properties": {"id": {"type": "integer"}}},
            bookmark_properties=1,
        )