title: In Swagger, how do I define a parameter as a multidimensional array?
body: <p>In Swagger, I'm able to create a parameter that is an array of any type like this:</p>
  
  <pre><code>"MyType" : {
    "description" : "my example object type",
    "type" : "object",
    "properties" : {
      "id" : {
        "description" : "identifier",
        "type" : "number"
      },
      "data" : {
        "description" : "data container",
        "type" : "array",
        "items" : {
          "type" : "string"
        }
      }
    }
  }
  </code></pre>
  
  <p>Which defines an object that might look like this:</p>
  
  <pre><code>{
    "id" : 1,
    "data" : ["a", "b", "c"]
  }
  </code></pre>
  
  <p>But what I need to do is define an object that might look like this:</p>
  
  <pre><code>{
    "id" : 1,
    "data" : [
      [0, 1, 2],
      ["a", "b"],
      [true, "foo", 99, false]
    ]
  }
  </code></pre>
  
  <p>The <strong>data</strong> property needs to be a multidimensional array, and ideally it could contain any number of "rows", each with any number of columns containing any type of data in each field. I'd even settle for the schema allowing for <strong>data</strong> to just be an array of anything, but I can't figure out how to get that to work.</p>