{
  "schemaVersion": "0.1.0-proposal",
  "status": "illustrative_proposal",
  "productionReady": false,
  "description": "Иллюстрация салона: ожидаемые услуги и результат за условный месяц. Все входы вымышлены; вероятности риска не оценены.",
  "immutability": {
    "status": "proposed_only",
    "policy": "После принятия решения сохранять неизменяемые версии входов и запусков. Этот редактируемый JSON и валидатор не реализуют архив или защиту от изменения."
  },
  "context": {
    "id": "salon-illustration-base",
    "orientation": "exploratory",
    "probability": null,
    "probabilityMeaning": "Вероятность этого контекста не назначена; null не означает 0."
  },
  "decision": {
    "id": "keep-current-schedule",
    "action": "keep_schedule",
    "owner": "salon_manager",
    "decidedAt": "2026-09-21T09:00:00Z"
  },
  "model": {
    "id": "salon-monthly-economics",
    "version": "1.0.0-illustration",
    "asOf": "2026-09-21",
    "timeStep": "month",
    "units": {"money": "CU", "quantity": "service", "time": "month"},
    "formulas": {
      "completed_expected": {
        "op": "mul",
        "args": [
          {"op": "min", "args": [{"ref": "bookings"}, {"ref": "slots"}]},
          {"ref": "show_rate"}
        ]
      },
      "profit": {
        "op": "sub",
        "args": [
          {"op": "mul", "args": [
            {"ref": "completed_expected"},
            {"op": "sub", "args": [{"ref": "price"}, {"ref": "variable_cost"}]}
          ]},
          {"ref": "fixed_cost"}
        ]
      },
      "break_even": {
        "op": "div",
        "args": [
          {"ref": "fixed_cost"},
          {"op": "sub", "args": [{"ref": "price"}, {"ref": "variable_cost"}]}
        ]
      }
    }
  },
  "assumptions": [
    {"id": "slots", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "service/month", "value": 640},
    {"id": "bookings", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "service/month", "value": 520},
    {"id": "show_rate", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "1", "value": 0.9},
    {"id": "price", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "CU/service", "value": 40},
    {"id": "variable_cost", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "CU/service", "value": 20},
    {"id": "fixed_cost", "kind": "scenario_value", "source": "illustrative", "owner": "salon_manager", "asOf": "2026-09-21", "reviewAt": "2026-10-01", "unit": "CU/month", "value": 8000}
  ],
  "run": {
    "id": "salon-run-001",
    "contextId": "salon-illustration-base",
    "decisionId": "keep-current-schedule",
    "modelVersion": "1.0.0-illustration",
    "assumptionIds": ["slots", "bookings", "show_rate", "price", "variable_cost", "fixed_cost"],
    "seed": null,
    "outputs": {
      "completed_expected": {"value": 468, "unit": "service/month"},
      "profit": {"value": 1360, "unit": "CU/month"},
      "break_even": {"value": 400, "unit": "service/month"}
    },
    "computedRiskProbability": null,
    "actualRiskProbability": null,
    "probabilityStatus": "not_computed",
    "probabilityMeaning": "Расчёт условного ожидания не оценивает P(profit < 0). Фактический риск также неизвестен. show_rate 0.9 не является вероятностью прибыльности."
  },
  "trigger": {
    "id": "review-low-expected-volume",
    "metric": "completed_expected",
    "operator": "lt",
    "threshold": 400,
    "unit": "service/month",
    "window": "month",
    "persistence": 2,
    "persistenceMeaning": "Два последовательных неперекрывающихся месячных окна; одного запуска недостаточно для срабатывания.",
    "owner": "salon_manager",
    "action": "review_waitlist",
    "status": "proposed"
  }
}
