JSON Schema for Array of Map<String,String[]> ; properties like key and value pairs
<p>JSON contains run time key and value pairs</p>

<pre><code>{
  "user_id" : 2
  "applicationName": "RetailPos",
  "permissions": {

  "Purchase": [
    "Access",
    "Create",
    "Delete",
    "Modify"
   ],
  "Sales": [
    "Access",
    "Create",
    "Delete",
    "Modify"
   ]
  },
 "group": "Admin Group"
}
</code></pre>

<p>consider the above sample, here <code>Purchase</code> and <code>Sales</code> are Targets and values <code>Access</code>,<code>Create</code>... are operations. Here both Targets and operations are run time values. </p>

<p>In this <a href="http://json-schema.org/latest/json-schema-validation.html#rfc.section.5.22" rel="nofollow noreferrer">JSON Schema Validation</a> couldnt find enough samples to create required schema.</p>

<pre><code>{
"required": true,
"$schema": "http://json-schema.org/draft-03/schema",
"type": "object",
"properties": {
     "user_id": {
        "type": "number",
        "required": true
    },
     "application_name": {
      "type":"string",
      "required":true
    },

    //Permission schema

    "group" : {
      "type" :"string",
      "required":true
    }
  }
}
</code></pre>

<p>Any documentation or related samples would be useful.</p>