# MagicPlan Exchange XML Schema Reference # Derived from xml_example.xml and https://apidocs.magicplan.app/guide/basic-concepts/plan-exchange-xml-format # # # attrs: name, id, uid, type, interiorWallWidth (m), exteriorWallWidth (m), # schematic, hasLandSurveyAddress, lastPatchIdentifier, lastRollIdentifier # children: , +, # # (plan-level metadata) # children: text # known keys: date, statistics.areaOfHeight, statistics.basement.account, # statistics.exteriorWalls, statistics.interiorWalls # # # attrs: uid, floorType (0=ground 1=upper), rotation, compassAngle, # areaWithoutWalls (m²), areaWithInteriorWallsOnly (m²), areaWithWalls (m²) # children: , , +, # # # attrs: type (room label e.g. "Kitchen"), uid, x, y, rotation, # wasModified, linkedRoom0, linkedRoom1, area (m²), perimeter (m) # children: (key: ceilingHeight m), +, *, *, *, * # # (room corner polygon) # attrs: snappedX (m), snappedY (m), height (m), uid # # # attrs: point, type, u, width (m), depth (m), height (m), orientation, # snappedType, snappedPosition, snappedWidth, snappedDepth, snappedHeight, snappedOrientation, # insetX, insetY, insetZ, twinWallItemUid, symbolInstance # # # attrs: point, type, u, width (m), depth (m), height (m), orientation, # snappedType, snappedPosition, snappedWidth, snappedDepth, snappedHeight, snappedOrientation, # insetX, insetY, insetZ, symbolInstance # # (wall geometry per floor) # children: , , , # children: , (text: "exterior" | "interior") # # # children: (same structure as top-level floor, interior wall room shapes) # # All distances in metres. All areas in m². FLOOR_TYPE_GROUND = "0" FLOOR_TYPE_UPPER = "1" FLOOR_TYPE_BASEMENT = "2"