機能一覧 Features

オーナーポータルが提供する機能を5つのカテゴリに整理しました。 「何ができるか」を把握してから、必要なページを 画面カタログ で探す流れを想定しています。

The owner portal's capabilities organized into 5 categories. Start here to understand what's possible, then jump to the screen catalog for the exact page.

1. 駐車場の管理Parking lot management

機能Capability 画面Screen 概要Details
所有駐車場一覧Lot list /parking 自分に紐づく全駐車場をステータス・住所・スポット数とともに一覧表示。List all owned lots with status, address, and spot count.
新規駐車場の登録Register a new lot /parking/new 8 セクションのウィザード(基本情報 / 位置 / 車両制限 / 営業時間 / 料金 / タグ / 写真 / 区画)。バンドル POST で子テーブルまで atomic 投入し、初期ステータスは draft8-section wizard (basic / location / physical / hours / pricing / tags / images / spots). Bundle POST inserts the lot and child tables atomically; initial status is draft.
駐車場詳細編集(9 タブ)Lot detail edit (9 tabs) /parking/:id 基本情報・位置・物理制限・営業時間・料金・区画・写真・支払/タグ・公開設定の 9 タブ構成で、各タブが独立して PATCH を投げる Tab-Save 方式。Nine tabs: basic info, location, constraints, hours, pricing, spots, images, payment & tags, publication. Each tab PATCHes independently (Tab-Save model).
画像管理Image management /parking/:id (Images タブ) Cloudflare R2 へ署名付き URL でアップロード。メイン画像の設定・並び替え・削除が可能。Upload via R2 presigned URL. Set main image, reorder, or delete images.

2. 区画・料金・営業時間Spots, pricing & hours

機能Capability 画面Screen 概要Details
区画 CRUDSpot CRUD /parking/:id?tab=spots 個別区画の追加・編集・soft delete(旧 /parking/:id/spots は本タブへリダイレクト)。区画コード・車種上限・EV / アクセシビリティ・寸法・料金グループ上書きを管理。Add, edit, or soft-delete spots (legacy /parking/:id/spots redirects here). Manage spot code, vehicle-class limit, EV / accessibility flags, dimensions, and per-spot pricing group override.
料金グループ設定Pricing group config /parking/:id?tab=pricing 料金グループ → ルール → 上限のネスト構造。曜日タイプ(all / weekday / saturday / sunday / holiday / holiday_eve)と per_minutes ベース単価 + キャップを設定。Nested structure: pricing group → rate rules → caps. Configure day type (all / weekday / saturday / sunday / holiday / holiday_eve), per_minutes unit rate, and cap rules.
営業時間と日付例外Hours & date overrides /parking/:id?tab=hours 曜日別 open/close と、特定日上書き(花火大会・正月など)を date-overrides で管理。Day-of-week open/close plus date overrides (events, holidays) via the date-overrides sub-resource.

3. オーナー発行と管理権限申請Owner provisioning & authority requests

新規オーナーの発行は LP 問い合わせ → 管理者承認 → /password-setup?token=… 経由のみ(72 時間有効・使い捨て)。 既ログインオーナーが「既存駐車場の管理権限を追加申請する」ための窓口がこの authority-requests 系。

New-owner provisioning is LP inquiry → admin approve → /password-setup?token=… (72-hour single-use). Once logged in, an owner uses the authority-requests flow to claim authority over additional existing lots.

機能Capability 画面Screen 概要Details
駐車場検索(申請前)Lot search (pre-request) /authority-search 申請前に名称・住所で対象駐車場を特定。has_owner で他オーナーが既に登録済みかを表示。Identify the target lot by name or address before requesting. has_owner shows whether another owner is already linked.
管理権限申請の提出Submit authority request /authority-requests/new 対象 lot ID、申請者情報、書面証明(proof_asset_id 必須)を送信。parking_lot_owners リンク追加の根拠資料となる。Submit lot ID, applicant details, and proof documents (proof_asset_id required). Becomes the basis for adding a parking_lot_owners link.
申請ステータス確認Request status /authority-requests 提出した申請の一覧と審査ステータス(new / in_progress / approved / rejected)と reject_reason を確認。List submitted requests with review status (new / in_progress / approved / rejected) and reject_reason.
パスワード設定リンクPassword setup link /password-setup?token=... 申込承認時 / 管理者リセット時に発行された使い捨てトークン(72 時間有効)から到達。新しいパスワードを設定してオーナーとして登録 / 復帰する。新規オーナー発行とリセットの唯一の経路。Reached from a one-time, 72h-valid token issued on inquiry approval or admin-initiated reset. The single canonical path for new owner provisioning and recovery.

4. レビュー返信Review management

機能Capability 画面Screen 概要Details
レビュー一覧Review list /reviews ユーザーが投稿したレビューを一覧表示。評価・日付・未返信フィルタで絞り込み可能。Browse reviews left by users. Filter by rating, date, or unreplied.
返信の投稿・編集・削除Reply CRUD /reviews 各レビューに対してオーナーコメントを投稿。既存の返信を編集・削除することも可能。Post owner replies to individual reviews. Edit or delete existing replies.

5. ブーストとクレジットBoosts & credits

機能Capability 画面Screen 概要Details
ブースト作成・編集Create / edit boost /boosts 対象駐車場・予算(日次・累計)・インプレッション単価を設定して配信枠を作成。作成時にクレジットは消費せず、インプレッション発生時に webhook 経由で credit_transactions に消費が記録される。Create a boost campaign with target lot, daily/total budget, and credit-per-impression. Credits are not deducted at creation — consumption is recorded per impression via webhook into credit_transactions.
ブースト統計・停止Boost stats & pause /boosts 配信中のブーストのインプレッション・クリック・セッション・累計クレジット消費を集計表示。停止 / 再開 / 予算引上げを PATCH で実行。View impressions / clicks / sessions / total credit consumption per boost. Pause, resume, or raise budget via PATCH.
クレジット残高確認Credit balance /credits 現在の残高と取引履歴(purchase / consumption / refund / adjustment / gift)を確認。View current balance and transaction history (purchase / consumption / refund / adjustment / gift).
クレジット購入(Stripe Checkout)Buy credits (Stripe Checkout) /credits 「クレジットを購入」モーダルから希望 CR 数を入力し、Stripe Checkout 画面で決済。決済完了後、画面に戻ると数秒で残高に反映される(webhook 経由で credit_transactionstype=purchase として記録)。Open the "Buy credits" modal, enter the desired CR amount, and complete payment on Stripe Checkout. After redirect-back the balance updates within seconds (webhook records type=purchase in credit_transactions).