Content Attestation of Advertorial
用語
本文書に説明のない用語については、用語を参照してください。
- Content Attestation (CA)
記事広告のプロパティ
Content Attestation に従います。
プロパティ
記事広告のプロパティ一覧
| Name | Type | Description |
|---|---|---|
@context | string[] | REQUIRED. OP VC Data Model に従ってください (MUST)。さらに、3つ目の値を "https://originator-profile.org/ns/cip/v1" にしなければなりません (MUST)。 |
type | string[] | REQUIRED. 必ず ["VerifiableCredential", "ContentAttestation"] にしてください (MUST)。 |
issuer | string | REQUIRED. CA 発行者の OP ID でなければなりません (MUST)。 |
credentialSubject | object | REQUIRED. 次の credentialSubject のプロパティを含む JSON-LD Node Object です。 |
allowedUrl | string | string[] | REQUIRED. Content Attestation に定義済みのプロパティです。空配列にしてはなりません (MUST NOT)。 |
target | object[] | REQUIRED. Content Attestation に定義済みのプロパティです。空配列にしてはなりません (MUST NOT)。 |
credentialSubject のプロパティ一覧
| Name | Type | Description |
|---|---|---|
id | string | REQUIRED. CA ID でなければなりません (MUST)。 CA ID は UUIDv4 の URN 形式の文字列です。コンテンツと CA ID は一対一対応します。 |
type | string | REQUIRED. Advertorial でなければなりません (MUST)。 |
headline | string | REQUIRED. 記事広告のタイトルです。 |
description | string | REQUIRED. 記事広告の説明です。 |
image | object | OPTIONAL. 記事広告のサムネイル画像です。サムネイル画像がある場合指定するべきです (RECOMMENDED)。 image データ型 の JSON-LD Node Object でなければなりません (MUST)。このプロパティで CA を検証することができます。 |
datePublished | string | OPTIONAL. 公開日時 (ISO 8601) です。 |
dateModified | string | OPTIONAL. 最終更新日時 (ISO 8601) です。 |
author | string[] | OPTIONAL. 著者名の配列です。 |
editor | string[] | OPTIONAL. 編集者名の配列です。 |
sponsor | string[] | OPTIONAL. スポンサー名の配列です。 |
genre | string | OPTIONAL. ジャンルです。 |
Appendix
例
このセクションは非規範的です。
記事広告の具体例を次に示します。
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://originator-profile.org/ns/credentials/v1",
"https://originator-profile.org/ns/cip/v1",
{ "@language": "ja" }
],
"type": ["VerifiableCredential", "ContentAttestation"],
"issuer": "dns:example.com",
"credentialSubject": {
"id": "urn:uuid:78550fa7-f846-4e0f-ad5c-8d34461cb95b",
"type": "Advertorial",
"headline": "<記事広告Webページのタイトル>",
"image": {
"id": "https://media.example.com/image.png",
"digestSRI": "sha256-WNn1owxcJX6uwrNFOhPX+npz4j46s3a1cExjX5wWVxw="
},
"description": "<記事広告Webページの説明>",
"author": ["山田花子"],
"editor": ["山田太郎"],
"sponsor": ["<スポンサー名>"],
"datePublished": "2023-07-04T19:14:00Z",
"dateModified": "2023-07-04T19:14:00Z",
"genre": "Arts & Entertainment"
},
"allowedUrl": ["https://media.example.com/articles/2024-06-30"],
"target": [
{
"type": "VisibleTextTargetIntegrity",
"cssSelector": "<CSS セレクター>",
"integrity": "sha256-GYC9PqfIw0qWahU6OlReQfuurCI5VLJplslVdF7M95U="
},
{
"type": "ExternalResourceTargetIntegrity",
"integrity": "sha256-+M3dMZXeSIwAP8BsIAwxn5ofFWUtaoSoDfB+/J8uXMo="
}
]
}