title: How to convert Json Array to Avro Schema
body: <p>Hey i am new to Avro Schema space, needed to convert Jason Array into Avro Schema.</p>
  
  <p>Below Jason is kind of client which serviceName along-with enabler-</p>
  
  <p>If Enabler is true means that particular service is taken by client
  If Enabler is false means that particular service is not taken by client.</p>
  
  <pre><code>{
    "clientName": "Haven",
    "serviceDetailsList": [
      {
        "serviceName": "Service1",
        "enabled": true
      },
      {
        "serviceName": "Service2",
        "enabled": true
      },
      {
        "serviceName": "Service3",
        "enabled": true
      },
      {
        "serviceName": "Service4",
        "enabled": false
      },
      {
        "serviceName": "Service5",
        "enabled": false
      },
      {
        "serviceName": "Service6",
        "enabled": true
      }
   ]
  }
  </code></pre>
  
  <p>I worked with below schema but not getting proper response.</p>
  
  <pre><code>"fields":[
      {"name": "serviceName",    "type": [ "Boolean", "false" ]  , "aliases":[ 
      "service1" ]
      },
      {"name": "serviceName",    "type": [ "Boolean", "false" ]  , "aliases":[ 
      "service2" ]
      }
    ]
  </code></pre>
  
  <p>Any help would be appreciated.</p>