JA

JSON と JSON-LD の例

例では架空の組織を使っています。下の JSON は観察を記録しています。JSON-LD は、Schema.org の語彙で組織に関する公開情報を記述しています。

JSON — 日付入りの痕跡

{
  "organisationId": "maison-des-ateliers",
  "observedAt": "2026-10-15",
  "dimension": "declarative",
  "source": {
    "url": "https://example.org/horaires",
    "type": "site-officiel"
  },
  "observation": "La page annonce une permanence du lundi au vendredi.",
  "limite": "Les horaires n’ont pas été confirmés auprès de l’association."
}

記録には、観察した値とともに情報源、日付、限界を残します。内部識別子により、痕跡を同じ事例の他の観察と結びつけられます。

JSON-LD — 公開記述

{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://example.org/#organisation",
  "name": "Maison des ateliers",
  "url": "https://example.org/"
}

コンテキストは使用する語彙を示します。型は主体の性質を表し、識別子によって参照できるようになります。実際のページでは、これらの値を記述する組織の値に置き換え、ページ上の公開情報と一致しているかを確認してください。JSON-LD 1.1 仕様 · Schema.org Organization