{"id":34532975,"url":"https://github.com/aivec/ai-search-schema","last_synced_at":"2026-01-22T15:21:32.321Z","repository":{"id":329702782,"uuid":"1120401219","full_name":"aivec/ai-search-schema","owner":"aivec","description":null,"archived":false,"fork":false,"pushed_at":"2026-01-21T05:51:48.000Z","size":1633,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T17:34:12.807Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aivec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T06:07:51.000Z","updated_at":"2026-01-21T05:50:45.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/aivec/ai-search-schema","commit_stats":null,"previous_names":["aivec/ai-search-schema"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/aivec/ai-search-schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivec%2Fai-search-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivec%2Fai-search-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivec%2Fai-search-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivec%2Fai-search-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aivec","download_url":"https://codeload.github.com/aivec/ai-search-schema/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aivec%2Fai-search-schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28665093,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T14:01:31.714Z","status":"ssl_error","status_checked_at":"2026-01-22T13:59:23.143Z","response_time":144,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-24T05:53:26.430Z","updated_at":"2026-01-22T15:21:32.312Z","avatar_url":"https://github.com/aivec.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI Search Schema\n\n## Overview / 概要\nWordPress plugin for generating structured data optimized for AI-powered search engines, including Local SEO, breadcrumbs, and FAQ extraction. Optimizes your site for AI-powered answer engines (sometimes called AEO: Answer Engine Optimization). Configure everything in **Settings → AI Search Schema** and the plugin will emit JSON-LD tailored to your organization or storefront.\nAI検索最適化・ローカルSEO対応のWordPressプラグインです。**設定 → AI Search Schema** で会社情報・LocalBusiness 情報・SNS・ジオコーディングなどを入力すると、検索エンジン向けの JSON-LD を一括生成できます。\n\n## Why Structured Data Matters Now / 今、構造化データが重要な理由\n\n**The Age of Answer Engines / 回答エンジンの時代**\n\nSearch is evolving from \"10 blue links\" to AI-powered answer engines (Google SGE, Bing Copilot, ChatGPT with browsing). These systems don't just index pages—they understand them. Structured data (JSON-LD) is the language that helps AI comprehend your content.\n検索は「10本の青いリンク」から、AIによる回答エンジン（Google SGE、Bing Copilot、ChatGPTのブラウジング機能）へと進化しています。これらのシステムはページを単にインデックスするだけでなく、「理解」します。構造化データ（JSON-LD）は、AIがあなたのコンテンツを正しく理解するための言語です。\n\n**Why AI Search Optimization Matters / AI検索最適化が重要な理由**\n\n- **AI citations**: When AI assistants answer questions, they cite sources. Proper schema increases the chance of being cited.\n  **AI引用**: AIアシスタントが質問に回答する際、出典を引用します。適切なスキーマは引用される可能性を高めます。\n- **Rich results**: Google displays enhanced search results (stars, prices, FAQs, breadcrumbs) for sites with valid schema.\n  **リッチリザルト**: Googleは有効なスキーマを持つサイトに対し、拡張検索結果（星評価、価格、FAQ、パンくず）を表示します。\n- **Local SEO/MEO**: LocalBusiness schema directly powers Google Maps and local pack rankings.\n  **ローカルSEO/MEO**: LocalBusinessスキーマはGoogleマップとローカルパックの順位に直接影響します。\n- **Voice search**: Structured data helps voice assistants provide accurate answers from your site.\n  **音声検索**: 構造化データは音声アシスタントがあなたのサイトから正確な回答を提供することを助けます。\n\n## Features / 機能\n- **Organization / LocalBusiness JSON-LD** – address, geo, price range, payment methods, reservations, storefront imagery, `areaServed`, `branchOf` などを 1 つの @graph に統合  \n  **Organization / LocalBusiness スキーマ**：住所・緯度経度・価格帯・支払方法・予約可否・店舗画像・商圏情報を1つのJSON-LDに集約\n- **Article / FAQ / QAPage / Product** – per-post metabox lets editors switch schema types, auto injects FAQPage `mainEntity`, and WooCommerce products map to Product schema with offers/brand/rating/images  \n  **投稿メタボックス切替 / WooCommerce連携**：Article / FAQPage / QAPage / Product を選択可能。WooCommerce商品はブランド・価格・在庫・ギャラリー画像付き Product スキーマに自動変換\n- **BreadcrumbList \u0026 ItemList** – structured breadcrumbs plus archive ItemList, with optional frontend breadcrumbs template  \n  **Structured Breadcrumbs**：パンくず / アーカイブ ItemList を JSON-LD で出力し、テンプレートでも表示可能\n- **SearchAction \u0026 Site metadata** – `WebSite` includes SearchAction, supported languages, and SearchAction URLs  \n  **SearchAction 対応**：サイト内検索を SearchAction で明示し、対応言語タグを JSON-LD に反映\n- **Automatic geocoding** – Google Maps Geocoding API + OpenStreetMap fallback, rate limiting and caching  \n  **ジオコーディング**：Google Maps Geocoding API＋OSMフォールバック、レート制御・キャッシュ機能付き\n- **Self-diagnostics** – Validator checks required Google Rich Results properties (WebSite/Organization/LocalBusiness/Article/Product) and shows admin notices when fields are missing  \n  **自己診断**：Google推奨プロパティを自動検証し、不足項目を管理画面で警告\n- **Multilingual admin** – 全 UI と翻訳リソースを英語ベースで整備し、日本語翻訳を同梱\n  **多言語UI**：英語ベースの翻訳ファイル＆日本語翻訳を標準同梱\n- **llms.txt Generation** – Auto-generate llms.txt to help AI systems understand your site structure. Editable in the settings.\n  **llms.txt生成**：AI検索エンジンがサイト構造を理解しやすいllms.txtを自動生成。設定画面で編集可能\n\n## Geocoding / ジオコーディング\n1. Obtain a **Google Maps Geocoding API key** (limit it to “Geocoding API” only) and add referrer/IP restrictions plus daily quotas.  \n   **Google Geocoding APIキー** を取得し、API制限（Geocoding のみ）、HTTPリファラー／IP制限、クォータ設定を行ってください。\n   - Google Cloud Console で新規プロジェクトを作成し、**Geocoding API** を有効化（他 API は不要）\n   - 「認証情報」から API キーを発行し、HTTP リファラーまたは IP 制限を設定\n   - 1 日あたりのクォータ上限を設定して不正利用を防止\n2. Enter the key in **Settings → AI Search Schema**. The key is saved only in WordPress options and never rendered in HTML/JS.\n   キーは WordPress のオプションにのみ保存され、HTML/JS には出力されません。\n3. Click **Fetch coordinates** to geocode the current address. Requests are rate-limited (10 seconds) and cached. Re-fetching is required only when address fields change.  \n   **住所から緯度・経度を取得** ボタンで geocode が発火します。10 秒のレート制御とキャッシュを実装しているため、住所を変更したタイミングのみ再取得してください。\n4. When the key is empty the plugin falls back to OpenStreetMap (Nominatim) for development use. Production sites should keep a Google API key configured.  \n   キー未設定時は開発用フォールバックとして OpenStreetMap (Nominatim) を使用します。本番では Google API キーの設定を推奨します。\n\n## Security / セキュリティ\n\nThis plugin follows WordPress security best practices:\n本プラグインはWordPressのセキュリティベストプラクティスに従っています：\n\n- All settings require administrator privileges / 全設定に管理者権限が必要\n- User inputs are sanitized and validated / ユーザー入力はサニタイズ・検証済み\n- API keys are stored securely (never exposed in HTML) / APIキーは安全に保存（HTMLに露出しない）\n\n## Installation / セットアップ\n1. Upload the plugin folder to `wp-content/plugins/ai-search-schema`\n   プラグイン一式を `wp-content/plugins/ai-search-schema` に配置\n2. Activate from WordPress admin\n   管理画面で有効化\n3. Open **Settings → AI Search Schema** and complete the forms\n   **設定 → AI Search Schema** で各項目（ブランド情報／店舗情報／SNS／APIキー 等）を入力して保存\n\n## FAQ / よくある質問\n\nSee [See the FAQ on GitHub:](https://github.com/aivec/ai-search-schema/blob/main/docs/FAQ.md) for frequently asked questions about:\nよくある質問については [See the FAQ on GitHub:](https://github.com/aivec/ai-search-schema/blob/main/docs/FAQ.md) をご覧ください：\n\n- Schema conflicts with other plugins / 他プラグインとのスキーマ衝突\n- LocalBusiness schema setup / LocalBusinessスキーマの設定\n- Troubleshooting common issues / よくある問題のトラブルシューティング\n\n## License / ライセンス\n\nGPLv2 or later\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faivec%2Fai-search-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faivec%2Fai-search-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faivec%2Fai-search-schema/lists"}