We'll look at the arch field of the ir.ui.view model first. First, note that views are defined in XML, so you need to pass the type="xml" attribute for the arch field, otherwise the parser will be confused. It is also mandatory that your view definition contains well-formed XML, otherwise you'll get in trouble when loading this snippet.
We'll now walk through the tags that we used previously and summarize the others that are available.