title: Avro Schema: don't know which "defualt" value to use
body: <p>One of my fields in my Avro Schema is:</p>
  <pre><code>{
        &quot;name&quot;: &quot;recipients&quot;,
        &quot;type&quot;: {
          &quot;type&quot;: &quot;array&quot;,
          &quot;items&quot;: {
            &quot;name&quot;: &quot;recordings&quot;,
            &quot;type&quot;: &quot;record&quot;,
            &quot;fields&quot;: [
              {
                &quot;name&quot;: &quot;returnAddress&quot;,
                &quot;type&quot;: [&quot;null&quot;,&quot;string&quot;],
                &quot;default&quot;: null
  
              },
              {
                &quot;name&quot;: &quot;something&quot;,
                &quot;type&quot;: [&quot;null&quot;,&quot;string&quot;],
                &quot;default&quot;: null
              },
              {
                &quot;name&quot;: &quot;phone&quot;,
                &quot;type&quot;: [&quot;null&quot;,&quot;string&quot;],
                &quot;default&quot;: null
              },
              {
                &quot;name&quot;: &quot;pfp&quot;,
                &quot;type&quot;: {
                  &quot;name&quot;: &quot;pfp&quot;,
                  &quot;type&quot;: &quot;record&quot;,
                  &quot;fields&quot;: []
                },
                &quot;default&quot;: {&quot;a&quot;: 1}
              },
              {
                &quot;name&quot;: &quot;example1&quot;,
                &quot;type&quot;: &quot;int&quot;,
                &quot;default&quot;: -1
              },
              {
                &quot;name&quot;: &quot;example2&quot;,
                &quot;type&quot;: &quot;int&quot;,
                &quot;default&quot;: -1
              }
            ]
          },
          &quot;default&quot;: [1]
        }
      }
  </code></pre>
  <p>However I get an error message :</p>
  <pre><code>Field recipients type:ARRAY pos:4 not set and has no default value
  </code></pre>
  <p>Do I need a default value for the recipients field? and if so what would the default value be for the type listed under recipients. I have tried &quot;default&quot;:null, &quot;default&quot;: {&quot;a&quot;:1}, and &quot;default&quot;: [1] and all returned errors.</p>