{
  "format": "wirecharm",
  "version": 1,
  "name": "Workshop · First floor",
  "description": "Spatial cable routing around a workshop floor plan.",
  "units": "m",
  "pixelsPerUnit": 150,
  "parts": [
    {
      "id": "panel",
      "type": "panel",
      "name": "Workshop distribution",
      "x": 100,
      "y": 180,
      "width": 180,
      "height": 150,
      "color": "#7ddbb5",
      "notes": "",
      "ports": [
        {
          "id": "out",
          "label": "CIRCUIT 1",
          "side": "right",
          "offset": 0.45,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "out"
        },
        {
          "id": "out2",
          "label": "CIRCUIT 2",
          "side": "right",
          "offset": 0.8,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "out"
        }
      ]
    },
    {
      "id": "outlet",
      "type": "outlet",
      "name": "Bench outlet",
      "x": 1000,
      "y": 150,
      "width": 150,
      "height": 100,
      "color": "#a497ee",
      "notes": "",
      "ports": [
        {
          "id": "in",
          "label": "SUPPLY",
          "side": "left",
          "offset": 0.65,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "in"
        }
      ]
    },
    {
      "id": "switch",
      "type": "wall-switch",
      "name": "Entrance switch",
      "x": 110,
      "y": 620,
      "width": 150,
      "height": 100,
      "color": "#edc879",
      "notes": "",
      "ports": [
        {
          "id": "in",
          "label": "SUPPLY",
          "side": "left",
          "offset": 0.65,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "in"
        },
        {
          "id": "out",
          "label": "LOAD",
          "side": "right",
          "offset": 0.65,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "out"
        }
      ]
    },
    {
      "id": "lamp",
      "type": "lamp",
      "name": "Workshop light",
      "x": 610,
      "y": 400,
      "width": 150,
      "height": 100,
      "color": "#70cbe3",
      "notes": "",
      "ports": [
        {
          "id": "in",
          "label": "SUPPLY",
          "side": "left",
          "offset": 0.65,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "in"
        }
      ]
    },
    {
      "id": "outlet2",
      "type": "outlet",
      "name": "Tool station outlet",
      "x": 1000,
      "y": 650,
      "width": 150,
      "height": 100,
      "color": "#a497ee",
      "notes": "",
      "ports": [
        {
          "id": "in",
          "label": "SUPPLY",
          "side": "left",
          "offset": 0.65,
          "pins": [
            {
              "id": "l",
              "label": "L",
              "color": "#f47c89"
            },
            {
              "id": "n",
              "label": "N",
              "color": "#a497ee"
            },
            {
              "id": "pe",
              "label": "PE",
              "color": "#7ddbb5"
            }
          ],
          "direction": "in"
        }
      ]
    }
  ],
  "junctions": [
    {
      "id": "junction-bb44507c",
      "x": 760,
      "y": 100,
      "pins": [
        {
          "id": "wire-f4b92cec",
          "label": "L",
          "color": "#f47c89"
        },
        {
          "id": "wire-11ab5b10",
          "label": "N",
          "color": "#a497ee"
        },
        {
          "id": "wire-2a64a57c",
          "label": "PE",
          "color": "#7ddbb5"
        }
      ]
    }
  ],
  "cables": [
    {
      "id": "cable-27dd31bf",
      "name": "Socket radial",
      "from": {
        "partId": "panel",
        "portId": "out"
      },
      "to": {
        "junctionId": "junction-bb44507c"
      },
      "points": [
        {
          "x": 330,
          "y": 247.5
        },
        {
          "x": 330,
          "y": 100
        }
      ],
      "gauge": "2.5 mm²",
      "wires": [
        {
          "id": "wire-f4b92cec",
          "label": "L",
          "color": "#f47c89",
          "fromPin": "l",
          "toPin": "wire-f4b92cec"
        },
        {
          "id": "wire-11ab5b10",
          "label": "N",
          "color": "#a497ee",
          "fromPin": "n",
          "toPin": "wire-11ab5b10"
        },
        {
          "id": "wire-2a64a57c",
          "label": "PE",
          "color": "#7ddbb5",
          "fromPin": "pe",
          "toPin": "wire-2a64a57c"
        }
      ]
    },
    {
      "id": "cable-8ba063be",
      "name": "Socket radial · branch",
      "from": {
        "junctionId": "junction-bb44507c"
      },
      "to": {
        "partId": "outlet",
        "portId": "in"
      },
      "points": [
        {
          "x": 970,
          "y": 100
        },
        {
          "x": 970,
          "y": 215
        }
      ],
      "gauge": "2.5 mm²",
      "wires": [
        {
          "id": "wire-d86e9507",
          "label": "L",
          "color": "#f47c89",
          "fromPin": "wire-f4b92cec",
          "toPin": "l"
        },
        {
          "id": "wire-16873f2a",
          "label": "N",
          "color": "#a497ee",
          "fromPin": "wire-11ab5b10",
          "toPin": "n"
        },
        {
          "id": "wire-9121fe95",
          "label": "PE",
          "color": "#7ddbb5",
          "fromPin": "wire-2a64a57c",
          "toPin": "pe"
        }
      ]
    },
    {
      "id": "cable-7dc8c99e",
      "name": "Tool station branch",
      "from": {
        "junctionId": "junction-bb44507c"
      },
      "to": {
        "partId": "outlet2",
        "portId": "in"
      },
      "points": [
        {
          "x": 1210,
          "y": 100
        },
        {
          "x": 1210,
          "y": 760
        },
        {
          "x": 970,
          "y": 760
        },
        {
          "x": 970,
          "y": 715
        }
      ],
      "gauge": "2.5 mm²",
      "wires": [
        {
          "id": "wire-e906d5c1",
          "label": "L",
          "color": "#f47c89",
          "fromPin": "wire-f4b92cec",
          "toPin": "l"
        },
        {
          "id": "wire-a0eaf5ad",
          "label": "N",
          "color": "#a497ee",
          "fromPin": "wire-11ab5b10",
          "toPin": "n"
        },
        {
          "id": "wire-c75f25cc",
          "label": "PE",
          "color": "#7ddbb5",
          "fromPin": "wire-2a64a57c",
          "toPin": "pe"
        }
      ]
    },
    {
      "id": "cable-48942fa4",
      "name": "Lighting supply",
      "from": {
        "partId": "panel",
        "portId": "out2"
      },
      "to": {
        "partId": "switch",
        "portId": "in"
      },
      "points": [
        {
          "x": 310,
          "y": 300
        },
        {
          "x": 310,
          "y": 500
        },
        {
          "x": 80,
          "y": 500
        },
        {
          "x": 80,
          "y": 685
        }
      ],
      "gauge": "2.5 mm²",
      "wires": [
        {
          "id": "wire-08d8490e",
          "label": "L",
          "color": "#f47c89",
          "fromPin": "l",
          "toPin": "l"
        },
        {
          "id": "wire-76a5de2a",
          "label": "N",
          "color": "#a497ee",
          "fromPin": "n",
          "toPin": "n"
        },
        {
          "id": "wire-58a972b1",
          "label": "PE",
          "color": "#7ddbb5",
          "fromPin": "pe",
          "toPin": "pe"
        }
      ]
    },
    {
      "id": "cable-cf8bb036",
      "name": "Switched lighting",
      "from": {
        "partId": "switch",
        "portId": "out"
      },
      "to": {
        "partId": "lamp",
        "portId": "in"
      },
      "points": [
        {
          "x": 450,
          "y": 685
        },
        {
          "x": 450,
          "y": 465
        }
      ],
      "gauge": "2.5 mm²",
      "wires": [
        {
          "id": "wire-597237cd",
          "label": "L",
          "color": "#f47c89",
          "fromPin": "l",
          "toPin": "l"
        },
        {
          "id": "wire-04edc988",
          "label": "N",
          "color": "#a497ee",
          "fromPin": "n",
          "toPin": "n"
        },
        {
          "id": "wire-7639e16c",
          "label": "PE",
          "color": "#7ddbb5",
          "fromPin": "pe",
          "toPin": "pe"
        }
      ]
    }
  ],
  "walls": [
    {
      "id": "north",
      "name": "North wall",
      "a": {
        "x": 50,
        "y": 70
      },
      "b": {
        "x": 1250,
        "y": 70
      },
      "thickness": 12
    },
    {
      "id": "east",
      "name": "East wall",
      "a": {
        "x": 1250,
        "y": 70
      },
      "b": {
        "x": 1250,
        "y": 820
      },
      "thickness": 12
    },
    {
      "id": "south",
      "name": "South wall",
      "a": {
        "x": 350,
        "y": 820
      },
      "b": {
        "x": 1250,
        "y": 820
      },
      "thickness": 12
    },
    {
      "id": "west",
      "name": "West wall",
      "a": {
        "x": 50,
        "y": 70
      },
      "b": {
        "x": 50,
        "y": 820
      },
      "thickness": 12
    },
    {
      "id": "partition",
      "name": "Storage wall",
      "a": {
        "x": 920,
        "y": 70
      },
      "b": {
        "x": 920,
        "y": 400
      },
      "thickness": 12
    },
    {
      "id": "partition2",
      "name": "Storage return",
      "a": {
        "x": 920,
        "y": 400
      },
      "b": {
        "x": 1250,
        "y": 400
      },
      "thickness": 12
    }
  ],
  "notes": [
    {
      "id": "room-label",
      "text": "WORKSHOP  /  8 × 5 m",
      "x": 520,
      "y": 230
    },
    {
      "id": "room-storage",
      "text": "STORAGE",
      "x": 1000,
      "y": 340
    },
    {
      "id": "entrance",
      "text": "ENTRANCE",
      "x": 100,
      "y": 865
    }
  ],
  "background": null
}
