スキーマをテストする
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このページでは、メールに構造化データを追加し、その正確性を検証するのに使用できるツールと手法を紹介します。
セルフテスト
自分にメールを送信することで、マークアップがエンドツーエンドで正しく動作しているかどうかを簡単にテストできます。送信者と受信者が同じアカウントであるすべてのメールは、登録の要件が無視されるため、セルフテストに使用できます。DKIM 認証または SPF 認証
セルフテストには必要です
この手法でマークアップをエンドツーエンドでテストし、本番環境に統合する準備が整ったら、Google への登録で次のステップを確認します。
構造化データ マークアップ支援ツール
構造化データ マークアップ支援ツールを使用すると、Event Reservation
、Flight Reservation
、Lodging Reservation
、Restaurant Reservation
のいずれかのデータタイプを含むメールをマークアップできます。
メール マークアップ テスター
メール マークアップ テスターツールを使用すると、マークアップをテストして、ドキュメントから抽出された構造化データを検証できます。
ツールを使用するには、下の入力テキスト ボックスにマークアップを貼り付けて、[Validate
] をクリックします。ツールの出力には、抽出された構造化データ(各エンティティのすべてのプロパティを含む)と、入力が無効な場合の具体的なエラー メッセージが含まれます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[],[],null,["# Test Your Schemas\n\nThis page lists the tools and techniques that can be used to add structured data to your emails and validate its correctness.\n\nSelf testing\n------------\n\nYou can easily test if your markup is working correctly end-to-end by sending emails to yourself. All emails where the sender and the recipient are the same account ignore the [registration requirements](/workspace/gmail/markup/registering-with-google) and can be used for self-testing. DKIM or SPF authentication\nis still required for self-testing.\n\nOnce the markup is tested end-to-end with this technique and you are ready to launch your integration to production, check [Registering with Google](/workspace/gmail/markup/registering-with-google) for the next steps.\n\nStructured Data Markup Helper\n-----------------------------\n\nThe [Structured Data Markup Helper](https://www.google.com/webmasters/markup-helper/?email=true) can show you how to mark up emails that contain any of the following data types: `Event Reservation`, `Flight Reservation`, `Lodging Reservation`, `Restaurant Reservation`.\n\nEmail Markup Tester\n-------------------\n\nThe [Email Markup Tester](https://www.google.com/webmasters/markup-tester/) tool lets you test your markup and verify the structured data that is extracted from your documents.\n\nTo use the tool, paste the markup in the input text box below and click on `Validate`. The output of the tool will include the extracted structured data with all the properties for each entity, and specific error messages in case the input is invalid."]]