title: How to create object that contains array of string in avro schema?
body: <p>What is the correct way to create avro schema for object with array of strings? </p>
  
  <p>I am trying to create avro schema to object that have array of strings according to official documenation? but I get error.</p>
  
  <p><a href="https://avro.apache.org/docs/1.8.1/spec.html" rel="noreferrer">https://avro.apache.org/docs/1.8.1/spec.html</a></p>
  
  <p>[ERROR] Failed to execute goal org.apache.avro:avro-maven-plugin:1.8.2:schema (default) on project email: Execution default of goal org.apache.avro:avro-maven-plugin:1.8.2:schema failed: "array" is not a defined name. The type of the "parameters" field must be a defined name or a {"type": ...} expression. -> [Help 1]</p>
  
  <p>Why my schema is inccorect?</p>
  
  <pre><code>[
    {
      "type": "record",
      "namespace": "com.example",
      "name": "Topic",
      "fields": [
           { "name": "subject", "type": "string" },
           { "name": "parameters", "type": "array", "items": "string" }
      ]    
    }
  
  ]
  </code></pre>