title: Avro schema definition nesting types
body: <p>I am fairly new to Avro and going through documentation for nested types. I have the example below working nicely but many different types within the model will have addresses. Is it possible to define an address.avsc file and reference that as a nested type? If that is possible, can you also take it a step further and have a list of Addresses for a Customer? Thanks in advance.</p>
  
  <pre><code>{"namespace": "com.company.model",
    "type": "record",
    "name": "Customer",
    "fields": [
      {"name": "firstname", "type": "string"},
      {"name": "lastname", "type": "string"},
      {"name": "email", "type": "string"},
      {"name": "phone", "type": "string"},
      {"name": "address", "type":
        {"type": "record",
         "name": "AddressRecord",
         "fields": [
           {"name": "streetaddress", "type": "string"},
           {"name": "city", "type": "string"},
           {"name": "state", "type": "string"},
           {"name": "zip", "type": "string"}
         ]}
      }
    ]
  }
  </code></pre>