title: Validate JSON to a Particular Format
body: <p>I Have a Json which may come from other application and i need to check it whether is is in particular format. The JSON template i have is as follows,</p>
  
  <pre><code>{
      "Types": {
          "Type1": {
              "attribute1": "value1",
              "attribute2": "value2",
              "attribute3": "value3",
              "recordList": {
                  "record1": [
                      {
                          "field": "value"
                      },
                      {
                          "field": {
                              "subrecord1": [
                                  {
                                      "subfield1": "subvalue1",
                                      "subfield2": "subvalue2"
                                  }
                              ]
                          }
                      }
                  ]
              },
              "date": "2010-08-21 03:05:03"
          }
      }
  }
  </code></pre>
  
  <p>Is there any way to validate the JSON based on particular template or format.</p>