> For the complete documentation index, see [llms.txt](https://docs.payments.thalescloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.payments.thalescloud.io/transit-digitization/ja/apple-transit-no/kdobsunochikettingucbt/raifusaikuru/icloud-karanopku.md).

# iCloud からのパーク

iCloud 発端のパーキングワークフローは、ユーザーが次の2つの方法のいずれかでトリガーできます：

1. iCloud.com を通じて自分の iCloud アカウントにサインインする。
2. を使用する **「探す」** 同じ Apple ID でログインしている別のデバイス上のアプリケーション。

このワークフローを開始すると、指定されたデバイスから Wallet のすべてのカードが削除されます。

このセクションでは、詳細な手順、シーケンス図、および想定されるエラーシナリオを含むワークフローの概要を提供します。

### ワークフロー <a href="#workflow" id="workflow"></a>

以下は iCloud 発端のパーキングワークフローのハイレベルな手順です：

1. **カード削除**： ユーザーが自身のデバイスからカードの削除を開始します。
2. **カードのリンク解除**： Apple が D1 Transit プラットフォームに対して、ユーザーが自身のデバイスからトランジットカードを削除したいことを通知します。これは CBT のため、パークセッションが開始されます。
3. **カードのパーク**： Apple デバイスが D1 Transit プラットフォームに接続してアプレットインスタンスの内容を読み取ることで、Transit イシュアはバックエンド側にカードの状態を保存できます。

### シーケンス図 <a href="#sequence-diagram" id="sequence-diagram"></a>

#### カード削除 <a href="#card-removal" id="card-removal"></a>

ユーザーが自身の iCloud アカウントにアクセスし、デバイスを選択して「デバイスを消去」を押します。Wallet は Apple サーバーにそのデバイスからすべてのカードを削除するよう指示します。

#### カードのリンク解除 <a href="#unlink-card" id="unlink-card"></a>

各カードについて、Apple は意図を示すためにアクション **unlink** を付けて managePass API コールを D1 Transit プラットフォームに開始します。

#### カードのパーク <a href="#park-card" id="park-card"></a>

CBT エコシステムでは、アプレットインスタンスはすぐには削除されません。デバイスはアプレットの内容を読み取り更新するために使用できるコマンドを実行するために D1 Transit プラットフォームに接続します。

D1 Transit は **getDigitalCardBundleCommands** を Transit イシュアに送信して、デバイス側で返され実行されるべきコマンドを取得します。

パークセッションを完了するために、複数の往復が発生する場合があります。

パークセッションが完了すると、アプレットインスタンスはデバイスから削除されます。

**エラーシナリオ**

**デバイスがオフライン**

このリクエストはデバイス発端ではないため、デバイスがオンラインであるとは限りません。そのような場合、カードを削除するリクエストがデバイスに届かない可能性があります。たとえば、デバイスが機内モードになっている場合があります。したがって、トランジットでの使用を防ぐために、プロビジョニング済みのデジタルカードを拒否リストに入れることを強く推奨します。

Transit イシュアは、別のデバイスでカードをプロビジョニングできるようにする前に、拒否リストが関連するすべてのリーダーに完全に伝播されていることを確認しなければなりません。このステップは、同じトランジットカードが複数のデバイスで同時に使用されることを防ぎ、不正使用を回避するために重要です。

<figure><img src="/files/16c1b4e7a80e7b906056c30dbaef2c015af76d83" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.payments.thalescloud.io/transit-digitization/ja/apple-transit-no/kdobsunochikettingucbt/raifusaikuru/icloud-karanopku.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
