{
  "version": 3,
  "title": "Renovating the flat",
  "description": "A practice map: a flat renovation laid out on sheets — rooms, shopping, budget, builders and documents. The bathroom tiles stand on both Rooms and Shopping: change the area in one place and it changes everywhere. The flat, the prices and the builders are made up.",
  "sheets": [
    {
      "id": "rooms",
      "name": "Rooms",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#c2541a",
      "limit": 15,
      "description": "What happens in each room. Links lead to the purchases and the builders.",
      "layout": "manual"
    },
    {
      "id": "shopping",
      "name": "Shopping",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#3b5bdb",
      "limit": 15,
      "description": "Materials: how much, what it costs and what is already bought. Every purchase is in the estimate.",
      "layout": "manual"
    },
    {
      "id": "budget",
      "name": "Budget",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#2f9e6b",
      "limit": 15,
      "description": "The estimate and what is already paid.",
      "layout": "manual"
    },
    {
      "id": "builders",
      "name": "Builders",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#d6336c",
      "limit": 15,
      "description": "Who does what, and when.",
      "layout": "manual"
    },
    {
      "id": "documents",
      "name": "Documents",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#0c8599",
      "limit": 15,
      "description": "The contract, the crew’s estimate, the floor plan, warranties.",
      "layout": "manual"
    },
    {
      "id": "self",
      "name": "Just for me",
      "notation": "plyloom",
      "typeId": "свободная",
      "tags": [],
      "color": "#7c4dbe",
      "limit": 15,
      "description": "Personal notes. The sheet is private: it never goes to an AI or into a file for someone else.",
      "layout": "manual",
      "private": true
    }
  ],
  "nodes": [
    {
      "id": "room.kitchen",
      "sheets": [
        "rooms"
      ],
      "pos": {
        "rooms": {
          "x": 340,
          "y": 40
        }
      },
      "name": "Kitchen",
      "kind": "room",
      "body": "New sockets above the worktop; the walls get painted.",
      "attributes": {
        "area": "9 m²"
      }
    },
    {
      "id": "room.bath",
      "sheets": [
        "rooms"
      ],
      "pos": {
        "rooms": {
          "x": 340,
          "y": 200
        }
      },
      "name": "Bathroom",
      "kind": "room",
      "body": "Tiles on the floor and walls, a new mixer tap.",
      "attributes": {
        "area": "4 m²"
      }
    },
    {
      "id": "room.living",
      "sheets": [
        "rooms"
      ],
      "pos": {
        "rooms": {
          "x": 640,
          "y": 40
        }
      },
      "name": "Living room",
      "kind": "room",
      "body": "The walls get painted, laminate on the floor.",
      "attributes": {
        "area": "18 m²"
      }
    },
    {
      "id": "room.bedroom",
      "sheets": [
        "rooms"
      ],
      "pos": {
        "rooms": {
          "x": 40,
          "y": 200
        }
      },
      "name": "Bedroom",
      "kind": "room",
      "body": "Laminate, if the budget allows.",
      "attributes": {
        "area": "12 m²"
      }
    },
    {
      "id": "room.hall",
      "sheets": [
        "rooms"
      ],
      "pos": {
        "rooms": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Hall",
      "kind": "room",
      "body": "No changes for now.",
      "attributes": {
        "area": "5 m²"
      }
    },
    {
      "id": "buy.tiles",
      "sheets": [
        "rooms",
        "shopping"
      ],
      "pos": {
        "rooms": {
          "x": 640,
          "y": 200
        },
        "shopping": {
          "x": 40,
          "y": 200
        }
      },
      "name": "Bathroom tiles",
      "kind": "purchase",
      "body": "Floor and walls. The area comes from the floor plan.",
      "attributes": {
        "qty": "28 m²",
        "price": 1200,
        "status": "ordered"
      }
    },
    {
      "id": "buy.mixer",
      "sheets": [
        "shopping"
      ],
      "pos": {
        "shopping": {
          "x": 340,
          "y": 40
        }
      },
      "name": "Mixer tap",
      "kind": "purchase",
      "body": "For the bathroom, with a thermostat.",
      "attributes": {
        "qty": "1",
        "price": 280,
        "status": "bought"
      }
    },
    {
      "id": "buy.paint",
      "sheets": [
        "shopping"
      ],
      "pos": {
        "shopping": {
          "x": 640,
          "y": 40
        }
      },
      "name": "Wall paint",
      "kind": "purchase",
      "body": "Matt white, two coats.",
      "attributes": {
        "qty": "40 L",
        "price": 480,
        "status": "to choose"
      }
    },
    {
      "id": "buy.laminate",
      "sheets": [
        "shopping"
      ],
      "pos": {
        "shopping": {
          "x": 340,
          "y": 200
        }
      },
      "name": "Laminate flooring",
      "kind": "purchase",
      "body": "Living room and bedroom.",
      "attributes": {
        "qty": "30 m²",
        "price": 1900,
        "status": "to choose"
      }
    },
    {
      "id": "buy.adhesive",
      "sheets": [
        "shopping"
      ],
      "pos": {
        "shopping": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Tile adhesive",
      "kind": "purchase",
      "body": "",
      "attributes": {
        "qty": "6 bags",
        "price": 120,
        "status": "ordered"
      }
    },
    {
      "id": "budget.estimate",
      "sheets": [
        "budget"
      ],
      "pos": {
        "budget": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Estimate: $15,600",
      "kind": "money",
      "body": "Materials and labour together."
    },
    {
      "id": "budget.paid",
      "sheets": [
        "budget"
      ],
      "pos": {
        "budget": {
          "x": 340,
          "y": 40
        }
      },
      "name": "Paid so far: $4,600",
      "kind": "money",
      "body": "The crew’s deposit, the tiles, the adhesive and the mixer tap."
    },
    {
      "id": "budget.deposit",
      "sheets": [
        "budget"
      ],
      "pos": {
        "budget": {
          "x": 340,
          "y": 200
        }
      },
      "name": "Crew deposit: $3,000",
      "kind": "money",
      "body": "Paid on 15 April."
    },
    {
      "id": "who.tiler",
      "sheets": [
        "builders"
      ],
      "pos": {
        "builders": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Sam, tiler",
      "kind": "person",
      "body": "Tiles the bathroom.",
      "attributes": {
        "when": "12–20 May",
        "phone": "+44 7700 900001"
      },
      "privateAttributes": [
        "phone"
      ]
    },
    {
      "id": "who.electric",
      "sheets": [
        "builders"
      ],
      "pos": {
        "builders": {
          "x": 340,
          "y": 40
        }
      },
      "name": "Oliver, electrician",
      "kind": "person",
      "body": "Sockets and lights in the kitchen.",
      "attributes": {
        "when": "5–7 May",
        "phone": "+44 7700 900002"
      }
    },
    {
      "id": "who.crew",
      "sheets": [
        "builders"
      ],
      "pos": {
        "builders": {
          "x": 640,
          "y": 40
        }
      },
      "name": "Ilya’s crew",
      "kind": "person",
      "body": "Strip-out, walls and floors.",
      "attributes": {
        "when": "April to June",
        "phone": "+44 7700 900003"
      }
    },
    {
      "id": "doc.contract",
      "sheets": [
        "documents"
      ],
      "pos": {
        "documents": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Contract with the crew",
      "kind": "document",
      "body": "Signed on 14 April; the work runs to the end of June."
    },
    {
      "id": "doc.estimate",
      "sheets": [
        "documents"
      ],
      "pos": {
        "documents": {
          "x": 340,
          "y": 40
        }
      },
      "name": "The crew’s estimate, PDF",
      "kind": "document",
      "body": "The version of 12 April."
    },
    {
      "id": "doc.plan",
      "sheets": [
        "documents"
      ],
      "pos": {
        "documents": {
          "x": 40,
          "y": 200
        }
      },
      "name": "Floor plan with measurements",
      "kind": "document",
      "body": "The tiles and the laminate were measured from it."
    },
    {
      "id": "doc.warranty",
      "sheets": [
        "documents"
      ],
      "pos": {
        "documents": {
          "x": 340,
          "y": 200
        }
      },
      "name": "Mixer tap warranty",
      "kind": "document",
      "body": "Five years; the receipt is in the mail."
    },
    {
      "id": "self.limit",
      "sheets": [
        "self"
      ],
      "pos": {
        "self": {
          "x": 40,
          "y": 40
        }
      },
      "name": "Limit: $18,000",
      "kind": "money",
      "body": "Not a penny more, however tempting."
    },
    {
      "id": "self.wait",
      "sheets": [
        "self"
      ],
      "pos": {
        "self": {
          "x": 340,
          "y": 40
        }
      },
      "name": "If we run over, the bedroom floor can wait",
      "kind": "note",
      "body": ""
    }
  ],
  "edges": [
    {
      "id": "r1",
      "from": "room.bath",
      "to": "buy.tiles",
      "kind": "ref",
      "label": "needs"
    },
    {
      "id": "r2",
      "from": "room.bath",
      "to": "buy.mixer",
      "kind": "ref",
      "label": "needs"
    },
    {
      "id": "r3",
      "from": "room.kitchen",
      "to": "buy.paint",
      "kind": "ref",
      "label": "walls"
    },
    {
      "id": "r4",
      "from": "room.living",
      "to": "buy.paint",
      "kind": "ref",
      "label": "walls"
    },
    {
      "id": "r5",
      "from": "room.living",
      "to": "buy.laminate",
      "kind": "ref",
      "label": "floor"
    },
    {
      "id": "r6",
      "from": "room.bedroom",
      "to": "buy.laminate",
      "kind": "ref",
      "label": "floor"
    },
    {
      "id": "r7",
      "from": "buy.adhesive",
      "to": "buy.tiles",
      "kind": "ref",
      "label": "for"
    },
    {
      "id": "r8",
      "from": "buy.paint",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "in the estimate"
    },
    {
      "id": "r9",
      "from": "buy.tiles",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "in the estimate"
    },
    {
      "id": "r10",
      "from": "buy.mixer",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "in the estimate"
    },
    {
      "id": "r11",
      "from": "buy.laminate",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "in the estimate"
    },
    {
      "id": "r12",
      "from": "budget.paid",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "of the estimate"
    },
    {
      "id": "r13",
      "from": "budget.deposit",
      "to": "budget.paid",
      "kind": "ref",
      "label": "part of"
    },
    {
      "id": "r14",
      "from": "budget.deposit",
      "to": "who.crew",
      "kind": "ref",
      "label": "deposit"
    },
    {
      "id": "r15",
      "from": "who.tiler",
      "to": "buy.tiles",
      "kind": "ref",
      "label": "lays"
    },
    {
      "id": "r16",
      "from": "who.tiler",
      "to": "room.bath",
      "kind": "ref",
      "label": "works in"
    },
    {
      "id": "r17",
      "from": "who.electric",
      "to": "room.kitchen",
      "kind": "ref",
      "label": "sockets and lights"
    },
    {
      "id": "r18",
      "from": "who.crew",
      "to": "room.living",
      "kind": "ref",
      "label": "walls and floor"
    },
    {
      "id": "r19",
      "from": "who.crew",
      "to": "room.bedroom",
      "kind": "ref",
      "label": "floor"
    },
    {
      "id": "r20",
      "from": "doc.contract",
      "to": "who.crew",
      "kind": "ref",
      "label": "with"
    },
    {
      "id": "r21",
      "from": "doc.estimate",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "basis"
    },
    {
      "id": "r22",
      "from": "doc.plan",
      "to": "buy.tiles",
      "kind": "ref",
      "label": "area"
    },
    {
      "id": "r23",
      "from": "doc.plan",
      "to": "buy.laminate",
      "kind": "ref",
      "label": "area"
    },
    {
      "id": "r24",
      "from": "doc.warranty",
      "to": "buy.mixer",
      "kind": "ref",
      "label": "covers"
    },
    {
      "id": "r25",
      "from": "self.limit",
      "to": "budget.estimate",
      "kind": "ref",
      "label": "at most"
    },
    {
      "id": "r26",
      "from": "self.wait",
      "to": "buy.laminate",
      "kind": "ref",
      "label": "if need be"
    }
  ],
  "types": {
    "nodes": [
      {
        "id": "entity",
        "label": "Сущность",
        "color": "#475569",
        "base": "entity",
        "notation": "plyloom"
      },
      {
        "id": "process",
        "label": "Процесс",
        "color": "#475569",
        "base": "process",
        "notation": "plyloom"
      },
      {
        "id": "decision",
        "label": "Решение",
        "color": "#475569",
        "base": "decision",
        "notation": "plyloom"
      },
      {
        "id": "hypothesis",
        "label": "Гипотеза",
        "color": "#475569",
        "base": "hypothesis",
        "notation": "plyloom"
      },
      {
        "id": "metric",
        "label": "Метрика",
        "color": "#475569",
        "base": "metric",
        "notation": "plyloom"
      },
      {
        "id": "rule",
        "label": "Требование",
        "color": "#475569",
        "base": "rule",
        "notation": "plyloom"
      },
      {
        "id": "risk",
        "label": "Риск",
        "color": "#475569",
        "base": "risk",
        "notation": "plyloom"
      },
      {
        "id": "person",
        "label": "Человек / роль",
        "color": "#475569",
        "base": "person",
        "notation": "plyloom"
      },
      {
        "id": "note",
        "label": "Заметка",
        "color": "#475569",
        "base": "note",
        "notation": "plyloom"
      },
      {
        "id": "question",
        "label": "Вопрос",
        "labelEn": "Question",
        "description": "Что нужно выяснить. Ответы — узлы со связью «отвечает на».",
        "color": "#0e7490",
        "base": "entity",
        "notation": "plyloom"
      },
      {
        "id": "flowchart:process",
        "label": "Действие",
        "labelEn": "Action",
        "color": "#475569",
        "base": "process",
        "notation": "flowchart",
        "shape": "rectangle"
      },
      {
        "id": "flowchart:decision",
        "label": "Условие",
        "labelEn": "Decision",
        "color": "#475569",
        "base": "decision",
        "notation": "flowchart",
        "shape": "diamond"
      },
      {
        "id": "flowchart:terminator",
        "label": "Начало / конец",
        "labelEn": "Start / end",
        "color": "#475569",
        "base": "process",
        "notation": "flowchart",
        "shape": "rounded"
      },
      {
        "id": "flowchart:data",
        "label": "Данные / ввод-вывод",
        "labelEn": "Data / input-output",
        "color": "#475569",
        "base": "entity",
        "notation": "flowchart",
        "shape": "parallelogram"
      },
      {
        "id": "flowchart:document",
        "label": "Документ",
        "labelEn": "Document",
        "color": "#475569",
        "base": "rule",
        "notation": "flowchart",
        "shape": "document"
      },
      {
        "id": "canvas:text",
        "label": "Текст",
        "labelEn": "Text",
        "color": "#475569",
        "base": "note",
        "notation": "canvas",
        "shape": "rectangle"
      },
      {
        "id": "canvas:link",
        "label": "Ссылка",
        "labelEn": "Link",
        "color": "#475569",
        "base": "note",
        "notation": "canvas",
        "shape": "rectangle"
      },
      {
        "id": "canvas:file",
        "label": "Файл",
        "labelEn": "File",
        "color": "#475569",
        "base": "rule",
        "notation": "canvas",
        "shape": "rectangle"
      },
      {
        "id": "canvas:group",
        "label": "Группа",
        "labelEn": "Group",
        "color": "#475569",
        "base": "entity",
        "notation": "canvas",
        "shape": "group"
      },
      {
        "id": "bpmn:task",
        "label": "Задача",
        "labelEn": "Task",
        "color": "#475569",
        "base": "process",
        "notation": "bpmn",
        "shape": "rounded"
      },
      {
        "id": "bpmn:startEvent",
        "label": "Начальное событие",
        "labelEn": "Start event",
        "color": "#475569",
        "base": "process",
        "notation": "bpmn",
        "shape": "ellipse"
      },
      {
        "id": "bpmn:endEvent",
        "label": "Конечное событие",
        "labelEn": "End event",
        "color": "#475569",
        "base": "process",
        "notation": "bpmn",
        "shape": "ellipse"
      },
      {
        "id": "bpmn:intermediateCatchEvent",
        "label": "Промежуточное событие",
        "labelEn": "Intermediate event",
        "color": "#475569",
        "base": "process",
        "notation": "bpmn",
        "shape": "ellipse"
      },
      {
        "id": "bpmn:exclusiveGateway",
        "label": "Исключающий шлюз",
        "labelEn": "Exclusive gateway",
        "color": "#475569",
        "base": "decision",
        "notation": "bpmn",
        "shape": "diamond"
      },
      {
        "id": "bpmn:parallelGateway",
        "label": "Параллельный шлюз",
        "labelEn": "Parallel gateway",
        "color": "#475569",
        "base": "decision",
        "notation": "bpmn",
        "shape": "diamond"
      },
      {
        "id": "bpmn:inclusiveGateway",
        "label": "Включающий шлюз",
        "labelEn": "Inclusive gateway",
        "color": "#475569",
        "base": "decision",
        "notation": "bpmn",
        "shape": "diamond"
      },
      {
        "id": "bpmn:participant",
        "label": "Участник / пул",
        "labelEn": "Participant / pool",
        "color": "#475569",
        "base": "entity",
        "notation": "bpmn",
        "shape": "group"
      },
      {
        "id": "bpmn:lane",
        "label": "Дорожка",
        "labelEn": "Lane",
        "color": "#475569",
        "base": "entity",
        "notation": "bpmn",
        "shape": "group"
      },
      {
        "id": "room",
        "label": "Комната",
        "labelEn": "Room",
        "color": "#c2541a",
        "base": "entity",
        "notation": "plyloom"
      },
      {
        "id": "purchase",
        "label": "Покупка",
        "labelEn": "Purchase",
        "color": "#3b5bdb",
        "base": "entity",
        "notation": "plyloom"
      },
      {
        "id": "money",
        "label": "Деньги",
        "labelEn": "Money",
        "color": "#2f9e6b",
        "base": "metric",
        "notation": "plyloom"
      },
      {
        "id": "document",
        "label": "Документ",
        "labelEn": "Document",
        "color": "#0c8599",
        "base": "note",
        "notation": "plyloom"
      }
    ],
    "edges": [
      {
        "id": "flow",
        "label": "затем",
        "color": "#475569"
      },
      {
        "id": "depends",
        "label": "зависит от",
        "color": "#475569"
      },
      {
        "id": "supports",
        "label": "подтверждает",
        "color": "#475569"
      },
      {
        "id": "contradicts",
        "label": "противоречит",
        "color": "#475569"
      },
      {
        "id": "ref",
        "label": "см.",
        "color": "#475569"
      },
      {
        "id": "inherits",
        "label": "наследует от",
        "labelEn": "inherits from",
        "color": "#475569"
      },
      {
        "id": "implements",
        "label": "реализует",
        "labelEn": "implements",
        "color": "#475569"
      },
      {
        "id": "uses",
        "label": "использует",
        "labelEn": "uses",
        "color": "#475569"
      },
      {
        "id": "answers",
        "label": "отвечает на",
        "labelEn": "answers",
        "color": "#475569"
      }
    ],
    "sheets": [
      {
        "id": "свободная",
        "label": "Свободный лист",
        "labelEn": "Free sheet",
        "color": "#0ea5e9"
      },
      {
        "id": "процесс",
        "label": "Процесс",
        "labelEn": "Process",
        "color": "#f97316"
      },
      {
        "id": "данные",
        "label": "Данные",
        "labelEn": "Data",
        "color": "#14b8a6"
      },
      {
        "id": "аргументы",
        "label": "Аргументы",
        "labelEn": "Arguments",
        "color": "#a855f7"
      }
    ],
    "tags": [],
    "attributes": [
      {
        "id": "area",
        "label": "Площадь",
        "labelEn": "Area",
        "dataType": "text"
      },
      {
        "id": "qty",
        "label": "Сколько",
        "labelEn": "How much",
        "dataType": "text"
      },
      {
        "id": "price",
        "label": "Цена",
        "labelEn": "Price",
        "dataType": "number"
      },
      {
        "id": "status",
        "label": "Статус",
        "labelEn": "Status",
        "dataType": "select",
        "options": [
          "to choose",
          "ordered",
          "bought"
        ]
      },
      {
        "id": "when",
        "label": "Когда",
        "labelEn": "When",
        "dataType": "text"
      },
      {
        "id": "phone",
        "label": "Телефон",
        "labelEn": "Phone",
        "dataType": "text"
      }
    ]
  }
}
