title: Karate Intuit: How to validate dynamic json array
body: <p>I've been using karate for sometime, but I've gotten stuck on how to validate this dynamic array. Array apple varies in size when I hit the API. </p>
  
  <p>How do I go through the array one by one and validate the prices?</p>
  
  <p>JSON:   </p>
  
  <pre><code>  {
      "data": {
          "apple": [
              {
                  "a": 0,
                  "price": 1970,
                  "date": "2018-05-30"
              },
              {
                  "a": 1,
                  "price": 1266,
                  "date": "2018-05-31"
              },
              {
                  "a": 2,
                  "price": 1422,
                  "date": "2018-06-01"
              }
          ]
      },
      "status_code": 200
  }
  </code></pre>