Skip to content

Instantly share code, notes, and snippets.

@sheeshmohsin
Created August 22, 2023 12:48
Show Gist options
  • Save sheeshmohsin/97a58a81ad0530ea4156da0de6b2828e to your computer and use it in GitHub Desktop.
Save sheeshmohsin/97a58a81ad0530ea4156da0de6b2828e to your computer and use it in GitHub Desktop.
JSON
{
   "country": "INDIA",
   "location_json": [
       {
           "DISTRICT": [
               {
                   "BLOCK": [
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "2e5e1e80-40ae-11ee-9aa9-8b3e4159c369",
                                           "location_name": "A3",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "b8c57204-40ad-11ee-9aa4-935f3ff9e421",
                                           "tree_string": "A3, MITADI, BLOCK1, JUNAGADH, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "342e30ca-40ae-11ee-9aaa-1329bc598f6b",
                                           "location_name": "A4",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "b8c57204-40ad-11ee-9aa4-935f3ff9e421",
                                           "tree_string": "A4, MITADI, BLOCK1, JUNAGADH, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "b8c57204-40ad-11ee-9aa4-935f3ff9e421",
                                   "location_name": "MITADI",
                                   "location_type": "VILLAGE",
                                   "parent_id": "5e767d02-40ad-11ee-9aa2-f38787040796",
                                   "tree_string": "MITADI, BLOCK1, JUNAGADH, GUJARAT"
                               }
                           ],
                           "country": "INDIA",
                           "id": "5e767d02-40ad-11ee-9aa2-f38787040796",
                           "location_name": "BLOCK1",
                           "location_type": "BLOCK",
                           "parent_id": "9b83c1f0-3fe0-11ee-bdc1-07b24a2948bb",
                           "tree_string": "BLOCK1, JUNAGADH, GUJARAT"
                       },
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "5133d486-40ae-11ee-9aab-fb4663fec726",
                                           "location_name": "A5",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "db063696-40ad-11ee-9aa5-b360f4fe41be",
                                           "tree_string": "A5, KHAMBHALA, BLOCK2, JUNAGADH, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "5755e6c4-40ae-11ee-9aac-dfe5c588675d",
                                           "location_name": "A6",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "db063696-40ad-11ee-9aa5-b360f4fe41be",
                                           "tree_string": "A6, KHAMBHALA, BLOCK2, JUNAGADH, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "db063696-40ad-11ee-9aa5-b360f4fe41be",
                                   "location_name": "KHAMBHALA",
                                   "location_type": "VILLAGE",
                                   "parent_id": "663b0396-40ad-11ee-9aa3-036e7e85fb84",
                                   "tree_string": "KHAMBHALA, BLOCK2, JUNAGADH, GUJARAT"
                               },
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "67acc9ca-40ae-11ee-9aad-f3c6133f5d3b",
                                           "location_name": "A7",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "e50f3700-40ad-11ee-9aa6-2bd029ae4f45",
                                           "tree_string": "A7, SARADIYA, BLOCK2, JUNAGADH, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "6f1d7560-40ae-11ee-9aae-8f4ca038a613",
                                           "location_name": "A8",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "e50f3700-40ad-11ee-9aa6-2bd029ae4f45",
                                           "tree_string": "A8, SARADIYA, BLOCK2, JUNAGADH, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "e50f3700-40ad-11ee-9aa6-2bd029ae4f45",
                                   "location_name": "SARADIYA",
                                   "location_type": "VILLAGE",
                                   "parent_id": "663b0396-40ad-11ee-9aa3-036e7e85fb84",
                                   "tree_string": "SARADIYA, BLOCK2, JUNAGADH, GUJARAT"
                               }
                           ],
                           "country": "INDIA",
                           "id": "663b0396-40ad-11ee-9aa3-036e7e85fb84",
                           "location_name": "BLOCK2",
                           "location_type": "BLOCK",
                           "parent_id": "9b83c1f0-3fe0-11ee-bdc1-07b24a2948bb",
                           "tree_string": "BLOCK2, JUNAGADH, GUJARAT"
                       },
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "11f8d500-40ae-11ee-9aa7-0f15f4dd9d99",
                                           "location_name": "A1",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "f235cb06-3fe0-11ee-bdc3-abe13d2c882f",
                                           "tree_string": "A1, MANAVADAR, JUNAGADH, JUNAGADH, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "199827b6-40ae-11ee-9aa8-bbb184276c97",
                                           "location_name": "A2",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "f235cb06-3fe0-11ee-bdc3-abe13d2c882f",
                                           "tree_string": "A2, MANAVADAR, JUNAGADH, JUNAGADH, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "f235cb06-3fe0-11ee-bdc3-abe13d2c882f",
                                   "location_name": "MANAVADAR",
                                   "location_type": "VILLAGE",
                                   "parent_id": "c5111482-3fe0-11ee-bdc2-4fe7b753bd64",
                                   "tree_string": "MANAVADAR, JUNAGADH, JUNAGADH, GUJARAT"
                               }
                           ],
                           "country": "INDIA",
                           "id": "c5111482-3fe0-11ee-bdc2-4fe7b753bd64",
                           "location_name": "JUNAGADH",
                           "location_type": "BLOCK",
                           "parent_id": "9b83c1f0-3fe0-11ee-bdc1-07b24a2948bb",
                           "tree_string": "JUNAGADH, JUNAGADH, GUJARAT"
                       }
                   ],
                   "country": "INDIA",
                   "id": "9b83c1f0-3fe0-11ee-bdc1-07b24a2948bb",
                   "location_name": "JUNAGADH",
                   "location_type": "DISTRICT",
                   "parent_id": "60280292-3fe0-11ee-bdc0-b72c64004699",
                   "tree_string": "JUNAGADH, GUJARAT"
               },
               {
                   "BLOCK": [
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "c37d0a46-40ac-11ee-9a94-9f2a1228689c",
                                           "location_name": "A10",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "43f222ca-40ac-11ee-9a8d-dba8e085691f",
                                           "tree_string": "A10, VILLAGE1, BLOCK3, RAJKOT, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "bd05b834-40ac-11ee-9a93-e373904cc484",
                                           "location_name": "A9",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "43f222ca-40ac-11ee-9a8d-dba8e085691f",
                                           "tree_string": "A9, VILLAGE1, BLOCK3, RAJKOT, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "43f222ca-40ac-11ee-9a8d-dba8e085691f",
                                   "location_name": "VILLAGE1",
                                   "location_type": "VILLAGE",
                                   "parent_id": "1f088044-40ac-11ee-9a8a-03f6a89c4482",
                                   "tree_string": "VILLAGE1, BLOCK3, RAJKOT, GUJARAT"
                               },
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "f4ea1182-40ac-11ee-9a98-2f43442db486",
                                           "location_name": "A11",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "4912662a-40ac-11ee-9a8e-4b53c9df10ea",
                                           "tree_string": "A11, VILLAGE2, BLOCK3, RAJKOT, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "fb1b011a-40ac-11ee-9a9a-bb483243a865",
                                           "location_name": "A12",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "4912662a-40ac-11ee-9a8e-4b53c9df10ea",
                                           "tree_string": "A12, VILLAGE2, BLOCK3, RAJKOT, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "4912662a-40ac-11ee-9a8e-4b53c9df10ea",
                                   "location_name": "VILLAGE2",
                                   "location_type": "VILLAGE",
                                   "parent_id": "1f088044-40ac-11ee-9a8a-03f6a89c4482",
                                   "tree_string": "VILLAGE2, BLOCK3, RAJKOT, GUJARAT"
                               }
                           ],
                           "country": "INDIA",
                           "id": "1f088044-40ac-11ee-9a8a-03f6a89c4482",
                           "location_name": "BLOCK3",
                           "location_type": "BLOCK",
                           "parent_id": "0467819a-40ac-11ee-9a88-37f7469f0da9",
                           "tree_string": "BLOCK3, RAJKOT, GUJARAT"
                       },
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "0cfd36a0-40ad-11ee-9a9c-f3fe3affc980",
                                           "location_name": "A13",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "5af95c9a-40ac-11ee-9a8f-6b6e2bd89379",
                                           "tree_string": "A13, VILLAGE3, BLOCK4, RAJKOT, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "12a419c0-40ad-11ee-9a9e-d75cba40754c",
                                           "location_name": "A14",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "5af95c9a-40ac-11ee-9a8f-6b6e2bd89379",
                                           "tree_string": "A14, VILLAGE3, BLOCK4, RAJKOT, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "5af95c9a-40ac-11ee-9a8f-6b6e2bd89379",
                                   "location_name": "VILLAGE3",
                                   "location_type": "VILLAGE",
                                   "parent_id": "26931946-40ac-11ee-9a8b-a75d90efb79e",
                                   "tree_string": "VILLAGE3, BLOCK4, RAJKOT, GUJARAT"
                               },
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "25dd99b2-40ad-11ee-9aa0-237044f2a4d4",
                                           "location_name": "A15",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "6139b6d6-40ac-11ee-9a90-df0c48019e75",
                                           "tree_string": "A15, VILLAGE4, BLOCK4, RAJKOT, GUJARAT"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "2c22d986-40ad-11ee-9aa1-57601ef45355",
                                           "location_name": "A16",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "6139b6d6-40ac-11ee-9a90-df0c48019e75",
                                           "tree_string": "A16, VILLAGE4, BLOCK4, RAJKOT, GUJARAT"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "6139b6d6-40ac-11ee-9a90-df0c48019e75",
                                   "location_name": "VILLAGE4",
                                   "location_type": "VILLAGE",
                                   "parent_id": "26931946-40ac-11ee-9a8b-a75d90efb79e",
                                   "tree_string": "VILLAGE4, BLOCK4, RAJKOT, GUJARAT"
                               }
                           ],
                           "country": "INDIA",
                           "id": "26931946-40ac-11ee-9a8b-a75d90efb79e",
                           "location_name": "BLOCK4",
                           "location_type": "BLOCK",
                           "parent_id": "0467819a-40ac-11ee-9a88-37f7469f0da9",
                           "tree_string": "BLOCK4, RAJKOT, GUJARAT"
                       }
                   ],
                   "country": "INDIA",
                   "id": "0467819a-40ac-11ee-9a88-37f7469f0da9",
                   "location_name": "RAJKOT",
                   "location_type": "DISTRICT",
                   "parent_id": "60280292-3fe0-11ee-bdc0-b72c64004699",
                   "tree_string": "RAJKOT, GUJARAT"
               }
           ],
           "country": "INDIA",
           "id": "60280292-3fe0-11ee-bdc0-b72c64004699",
           "location_name": "GUJARAT",
           "location_type": "STATE",
           "parent_id": null,
           "tree_string": "GUJARAT"
       },
       {
           "DISTRICT": [
               {
                   "BLOCK": [
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "9e86b674-40ac-11ee-9a91-3359ef2cf779",
                                           "location_name": "AANGANWADI CENTER 1",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "a950ed50-40ab-11ee-9a85-cfae4ef80f2c",
                                           "tree_string": "AANGANWADI CENTER 1, DIMISAR, ODAGOAN, NAYAGARH, ODISHA"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "a3f41d36-40ac-11ee-9a92-abfff2c774ab",
                                           "location_name": "AANGANWADI CENTER 2",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "a950ed50-40ab-11ee-9a85-cfae4ef80f2c",
                                           "tree_string": "AANGANWADI CENTER 2, DIMISAR, ODAGOAN, NAYAGARH, ODISHA"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "a950ed50-40ab-11ee-9a85-cfae4ef80f2c",
                                   "location_name": "DIMISAR",
                                   "location_type": "VILLAGE",
                                   "parent_id": "99ed747e-40aa-11ee-9a82-07c2013bbf0a",
                                   "tree_string": "DIMISAR, ODAGOAN, NAYAGARH, ODISHA"
                               },
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "d04941d6-40ac-11ee-9a95-a7354f094d3c",
                                           "location_name": "AANGANWADI CENTER 3",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "c9b78fb8-40ab-11ee-9a86-ff9ac14f1507",
                                           "tree_string": "AANGANWADI CENTER 3, GODIPADA, ODAGOAN, NAYAGARH, ODISHA"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "d53db910-40ac-11ee-9a96-7b0e9d6739c8",
                                           "location_name": "AANGANWADI CENTER 4",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "c9b78fb8-40ab-11ee-9a86-ff9ac14f1507",
                                           "tree_string": "AANGANWADI CENTER 4, GODIPADA, ODAGOAN, NAYAGARH, ODISHA"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "c9b78fb8-40ab-11ee-9a86-ff9ac14f1507",
                                   "location_name": "GODIPADA",
                                   "location_type": "VILLAGE",
                                   "parent_id": "99ed747e-40aa-11ee-9a82-07c2013bbf0a",
                                   "tree_string": "GODIPADA, ODAGOAN, NAYAGARH, ODISHA"
                               }
                           ],
                           "country": "INDIA",
                           "id": "99ed747e-40aa-11ee-9a82-07c2013bbf0a",
                           "location_name": "ODAGOAN",
                           "location_type": "BLOCK",
                           "parent_id": "4e5c1f4c-40aa-11ee-9a81-6793e247fd88",
                           "tree_string": "ODAGOAN, NAYAGARH, ODISHA"
                       },
                       {
                           "VILLAGE": [
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "ef6c4b8a-40ac-11ee-9a97-63184b97d039",
                                           "location_name": "AANGANWADI CENTER 5",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "06f03024-40ac-11ee-9a89-fbe4a31e32c6",
                                           "tree_string": "AANGANWADI CENTER 5, BALARAMPUR, RANAPUR, NAYAGARH, ODISHA"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "f9ffac0e-40ac-11ee-9a99-b7a69001d999",
                                           "location_name": "AANGANWADI CENTER 6",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "06f03024-40ac-11ee-9a89-fbe4a31e32c6",
                                           "tree_string": "AANGANWADI CENTER 6, BALARAMPUR, RANAPUR, NAYAGARH, ODISHA"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "06f03024-40ac-11ee-9a89-fbe4a31e32c6",
                                   "location_name": "BALARAMPUR",
                                   "location_type": "VILLAGE",
                                   "parent_id": "be7647b2-40aa-11ee-9a83-637b72717427",
                                   "tree_string": "BALARAMPUR, RANAPUR, NAYAGARH, ODISHA"
                               },
                               {
                                   "AANGANWADI CENTER": [
                                       {
                                           "country": "INDIA",
                                           "id": "0a1fea18-40ad-11ee-9a9b-db5362e8331e",
                                           "location_name": "AANGANWADI CENTER 7",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "e48053e8-40ab-11ee-9a87-af14d79b8891",
                                           "tree_string": "AANGANWADI CENTER 7, GOPALPUR, RANAPUR, NAYAGARH, ODISHA"
                                       },
                                       {
                                           "country": "INDIA",
                                           "id": "0f188ade-40ad-11ee-9a9d-2b5b454901ce",
                                           "location_name": "AANGANWADI CENTER 8",
                                           "location_type": "AANGANWADI CENTER",
                                           "parent_id": "e48053e8-40ab-11ee-9a87-af14d79b8891",
                                           "tree_string": "AANGANWADI CENTER 8, GOPALPUR, RANAPUR, NAYAGARH, ODISHA"
                                       }
                                   ],
                                   "country": "INDIA",
                                   "id": "e48053e8-40ab-11ee-9a87-af14d79b8891",
                                   "location_name": "GOPALPUR",
                                   "location_type": "VILLAGE",
                                   "parent_id": "be7647b2-40aa-11ee-9a83-637b72717427",
                                   "tree_string": "GOPALPUR, RANAPUR, NAYAGARH, ODISHA"
                               }
                           ],
                           "country": "INDIA",
                           "id": "be7647b2-40aa-11ee-9a83-637b72717427",
                           "location_name": "RANAPUR",
                           "location_type": "BLOCK",
                           "parent_id": "4e5c1f4c-40aa-11ee-9a81-6793e247fd88",
                           "tree_string": "RANAPUR, NAYAGARH, ODISHA"
                       }
                   ],
                   "country": "INDIA",
                   "id": "4e5c1f4c-40aa-11ee-9a81-6793e247fd88",
                   "location_name": "NAYAGARH",
                   "location_type": "DISTRICT",
                   "parent_id": "1acf78b8-40aa-11ee-9a80-3b2924749edc",
                   "tree_string": "NAYAGARH, ODISHA"
               }
           ],
           "country": "INDIA",
           "id": "1acf78b8-40aa-11ee-9a80-3b2924749edc",
           "location_name": "ODISHA",
           "location_type": "STATE",
           "parent_id": null,
           "tree_string": "ODISHA"
       }
   ],
   "location_types": [
       "STATE",
       "DISTRICT",
       "BLOCK",
       "VILLAGE",
       "AANGANWADI CENTER"
   ],
   "version": 5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment