title: Assigning maxItems property in an array in JSON Schema equal to some other property
body: <p>I have a property called pageCount which is a number, followed by an array of information based on page number. Now, I want to set the maxItems in the array to be equal to the value of the pageCount. Is there a way that can be done? Most of the places I see we actually use a number to define the maxItems, but can we assign it a value of one of the property in the schema itself?</p>
  
  <pre><code>            "pageCount": {
                      "type":"number",
                      "mininum": 1,
                      "required":true
              },
              "pages": {
                      "type":"array",
                      "required":true,
                      "minItems": 1,
                      "maxItems" : &lt;to be set as the the value of pageCount??&gt;
  </code></pre>