I have a script that generates JSON (`values` will be assigned to predefined `keys`) as output and uploads it to the cloud. I need to write a routine as a test script that validates the `values` are correct places to the `key` of the JSON. If the test script result is `True` only need to proceed to upload the result to the cloud.

Below I will share a predefined sample JSON that will act as the spine of the test script which needs to compare the output of the script with the sample JSON.

```
{
   "first_name":"",
   "last_name":"",
   "age":"",
   "dob":"",
   "address":[
      {
         "address1":"",
         "address2":""
      }
   ],
   "mobile":"",
   "telephone":"",
   "education":[
       {
          "primary_education":"",
          "seconday_education":"",
          "high_school":"",
          "university":""
       }
   ],
   "work_experience":[
       {
          "company_name":"",
          "company_address":"",
          "position":"",
          "joined_date":"",
          "resigned_date":""
       },
       {
          "company_name":"",
          "company_address":"",
          "position":"",
          "joined_date":"",
          "resigned_date":""
       }
   ]
}

```

Top of my head I'm struggling to write the algorithm/ test script to achieve this task in python. please help me out with this thread. I'm stuck with this for days and I have come to stack overflow to seek a good solution