> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x.com/llms.txt
> Use this file to discover all available pages before exploring further.

# データフォーマットの移行

> fields と expansions を使用して、v1.1 Native、enterprise Native Enriched、Activity Streams のペイロードから X API v2 データフォーマットへフィールドをマッピングします。

export const Button = ({href, children}) => {
  return <div className="not-prose">
    <a href={href}>
      <button className="x-btn">
        <span>{children}</span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

## はじめに

X API の v2 バージョンのリリースに伴い、私たちは新しいデータレスポンス形式と、さまざまなオブジェクトやフィールドを要求する方法を採用しました。これを単に X API v2 フォーマットと呼んでいます。

一般的な相違点セクションでは、standard および enterprise ユーザーに関連するいくつかの変更点について学べます。ただし、[standard v1.1 Native format](https://developer.x.com/en/docs/x-api/v1/data-dictionary/overview)、enterprise の [Native Enriched format](/x-api/enterprise-gnip-2.0/fundamentals/data-dictionary#native-enriched-tweet-object)、enterprise の [Activity Streams format](/x-api/enterprise-gnip-2.0/fundamentals/data-dictionary#activity-object) それぞれについて、フィールドのマッピングを助け、新しい v2 のフィールドを要求するためにどの fields や expansions を使用しなければならないかを説明する専用ガイドも用意しています。

* [Native format から X API v2 へ (standard v1.1)](/x-api/migrate/data-format-migration#migrating-from-standard-v1-1s-data-format-to-v2)
* [Native Enriched から X API v2 へ (enterprise)](/x-api/migrate/data-format-migration#migrating-from-native-enriched-data-format-to-v2)
* [Activity Streams から X API v2 へ (enterprise)](/x-api/migrate/data-format-migration#migrating-from-activity-streams-data-format-to-v2)

[X API v1.1 データフォーマット](https://developer.x.com/en/docs/x-api/v1/data-dictionary/overview)と [X API v2 フォーマット](/x-api/introduction)の違いをすばやく確認するのに役立つ[ビジュアルデータフォーマット移行ツール](/x-api/migrate/data-format-migration#visual-data-format-migration-tool)にもご興味を持たれるかもしれません。

### 一般的な相違点

#### オブジェクトとフィールドの要求

v2 以前のエンドポイントと v2 の最大の変更点の 1 つは、新バージョンではデフォルトで少数のフィールドしか返さないのに対し、standard、premi
