JSON Map Format - TINF16C-WE2-IE/TheIndoorExplorer GitHub Wiki

{  
  "id":number,
  "name":string,
  "floors":[  
    {  
      "walls":[  
        {  
          "p1":{  
            "x":number,
            "y":number
          },
          "p2":{  
            "x":number,
            "y":number
          }
        }
        /*...*/
      ],
      "portals":[  
        /*...*/
      ]
    }
  ],
  "visibility":number, /* is this a public map? */
  "permission":number, /* user read (0)/write (1) permission */
  "favorite":boolean
}