class - pannous/angle GitHub Wiki

The class keyword marks definition of a type:

class contact {
 name 
 email?
 phone?
 address {
  street
  city
  zip?
 }
}

Again we have the concept of matching by type name: The field email is inferred to have type Email.