title: Generate a JSON schema from POJO array using Jackson
body: <p>I want to generate a JSON schema from POJO array using Jackson 2.7.0:</p>
  
  <pre><code>JsonSchema schema = mapper.generateJsonSchema(MyClass[].class);
  </code></pre>
  
  <p>So I expect to get JSON schema:</p>
  
  <pre><code>{
    "type": "array",
    "items": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "text": {
          "type": "string"
        }
    ...
  </code></pre>
  
  <p>But get:</p>
  
  <pre><code>{
        "type": "array"
  }
  </code></pre>
  
  <p>How get expected schema?<br/>
  Does exist any better library to generate a schema from POJO?<br/>
  Thanks in advance for your help!</p>