メインコンテンツまでスキップ

Contexts, Vocabularies, and Types

Datatypes

The sriString Datatype

Verifiable Credentials Data Model v2.0 セクション B.3.1 の定義に準拠してください (MUST)。使用可能なハッシュについてはハッシュアルゴリズムに準拠してください (MUST)。

例1:

sha256-GtNUUolQVlwIkQU9JknWkwkhfdiVmHr/BOnLFFHC5jI=

例2:

sha256-I4OoejARWbxpTQ1HEccoxIaOIMUjEIgxEfJXJDAjwoI=
sha384-dN4FeVmV5DQb/C8iAY+sBUjLjFfB+knXZJ3RT2GyJg8Tco4SPQYwxNpe2M50b9ON

The image Datatype

image データ型の値は、 JSON-LD Node Object であり、次のプロパティを含みます。

  • id: REQUIRED. 画像の URL です。
  • digestSRI: RECOMMENDED. 画像の完全性を保証するためのハッシュ値です。 sriString データ型 でなければなりません (MUST)。

例:

{
"id": "https://example.com/image.png",
"digestSRI": "sha256-OYP9B9EPFBi1vs0dUqOhSbHmtP+ZSTsUv2/OjSzWK0w="
}

image Datatype の検証

検証者は次の手順に従って image データ型のプロパティを検証できます (OPTIONAL)。

  1. id プロパティの URL に GET リクエストを送り画像を取得します。
  2. 1. で取得した画像と digestSRI プロパティを SRI セクション 3.3.5 に規定されている方法で検証します。

The page Datatype

page データ型の値は、 JSON-LD Node Object であり、次のプロパティを含みます。

  • id: REQUIRED. Web ページの URL です。
  • name: REQUIRED. Web ページのタイトルです。

The dateTimeStamp Datatype

dateTimeStamp データ型の値は、 W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes セクション 3.3.7 dateTimedateTimeStamp 文字列でなければなりません (MUST)。 JSON-LD Context では http://www.w3.org/2001/XMLSchema#dateTime データ型に対応します。

Contexts

このセクションは非規範的です。

注記

これらのコンテキスト定義は最新の仕様を反映していません。各 VC, プロパティの定義については各仕様文書を参照してください。

https://originator-profile.org/ns/credentials/v1

このセクションは非規範的です。

{
"@context": {
"@version": 1.1,
"@base": "https://originator-profile.org/ns/credentials/v1",
"@protected": true,
"op": "https://originator-profile.org/ns/credentials/v1#",
"Image": {
"@id": "https://originator-profile.org/ns/credentials/v1#image",
"@context": {
"@protected": true,
"id": {
"@id": "https://schema.org/image",
"@type": "@id"
},
"digestSRI": {
"@id": "https://www.w3.org/2018/credentials#digestSRI",
"@type": "https://www.w3.org/2018/credentials#sriString"
}
}
},
"page": {
"@id": "https://originator-profile.org/ns/v1#page",
"@protected": true,
"@context": {
"id": {
"@id": "https://schema.org/url",
"@type": "@id"
},
"name": "https://schema.org/name"
}
},
"allowedUrl": "https://schema.org/url",
"ContentAttestation": {
"@id": "https://originator-profile.org/ns/credentials/v1#ContentAttestation",
"@context": {
"@protected": true,
"allowedUrl": "op:allowedUrl",
"target": {
"@id": "https://originator-profile.org/ns/credentials/v1#target",
"@type": "@id"
}
}
},
"CoreProfile": "https://originator-profile.org/ns/credentials/v1#CoreProfile",
"Core": {
"@id": "https://originator-profile.org/ns/credentials/v1#Core",
"@context": {
"@protected": true,
"id": "@id",
"jwks": {
"@id": "https://originator-profile.org/ns/credentials/v1#jwks",
"@type": "@json"
}
}
},
"ProfileAnnotation": "https://originator-profile.org/ns/credentials/v1#ProfileAnnotation",
"WebMediaProfile": "https://originator-profile.org/ns/credentials/v1#WebMediaProfile",
"WebMediaSubject": {
"@id": "https://originator-profile.org/ns/credentials/v1#WebMediaSubject",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"url": "https://schema.org/url",
"name": "https://schema.org/name",
"logo": "op:Image",
"email": "https://schema.org/email",
"telephone": "https://schema.org/telephone",
"title": "https://schema.org/title",
"image": "op:Image",
"description": "https://schema.org/description",
"origin": {
"@id": "https://originator-profile.org/ns/credentials/v1#origin",
"@type": "https://schema.org/url"
},
"contactTitle": "https://schema.org/title",
"contactUrl": "https://schema.org/url",
"privacyPolicyTitle": "https://schema.org/title",
"privacyPolicyUrl": "https://schema.org/url",
"publishingPrincipleTitle": "https://schema.org/title",
"publishingPrincipleUrl": "https://schema.org/url"
}
},
"WebsiteProfile": "https://originator-profile.org/ns/credentials/v1#WebsiteProfile",
"Website": {
"@id": "https://originator-profile.org/ns/credentials/v1#Website",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"title": "https://schema.org/title",
"image": "op:Image",
"description": "https://schema.org/description",
"origin": {
"@id": "https://originator-profile.org/ns/credentials/v1#origin",
"@type": "https://schema.org/url"
}
}
}
}
}

https://originator-profile.org/ns/cip/v1

このセクションは非規範的です。

{
"@context": {
"@version": 1.1,
"@base": "https://originator-profile.org/ns/cip/v1",
"@protected": true,
"cip": "https://originator-profile.org/ns/cip/v1#",
"op": "https://originator-profile.org/ns/credentials/v1#",
"CertificateSubject": {
"@id": "https://originator-profile.org/ns/cip/v1#CertificateSubject",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"description": "https://schema.org/description",
"image": "op:image",
"certificationSystem": {
"@id": "https://originator-profile.org/ns/cip/v1#certificationSystem",
"@type": "@id"
},
"verifier": "https://schema.org/name",
"certifier": "https://schema.org/name"
}
},
"CertificationSystem": {
"@id": "https://originator-profile.org/ns/cip/v1#CertificationSystem",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"name": "https://schema.org/name",
"description": "https://schema.org/description",
"ref": {
"@id": "https://originator-profile.org/ns/cip/v1#ref",
"@type": "@id"
}
}
},
"ECJP": {
"@id": "https://originator-profile.org/ns/cip/v1#ECJP",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"addressCountry": "https://schema.org/addressCountry",
"name": "https://schema.org/name",
"corporateNumber": "https://schema.org/identifier",
"postalCode": "https://schema.org/postalCode",
"addressRegion": "https://schema.org/addressRegion",
"addressLocality": "https://schema.org/addressLocality",
"streetAddress": "https://schema.org/streetAddress",
"certificationSystem": {
"@id": "https://originator-profile.org/ns/cip/v1#certificationSystem",
"@type": "@id"
}
}
},
"Certificate": {
"@id": "https://originator-profile.org/ns/cip/v1#Certificate",
"@context": {
"@protected": true,
"certificationSystem": {
"@id": "https://originator-profile.org/ns/cip/v1#certificationSystem",
"@type": "@id"
}
}
},
"ExistenceCertificateInJapan": "https://originator-profile.org/ns/cip/v1#ExistenceCertificateInJapan",
"WebArticle": {
"@id": "https://originator-profile.org/ns/cip/v1#WebArticle",
"@context": {
"@protected": true,
"title": "https://schema.org/title",
"image": "op:image",
"source": "https://schema.org/url",
"description": "https://schema.org/description",
"author": "https://schema.org/author",
"editor": "https://schema.org/editor",
"datePublished": "https://schema.org/datePublished",
"dateModified": "https://schema.org/dateModified",
"category": "cip:category"
}
},
"OnlineAd": {
"@id": "https://originator-profile.org/ns/cip/v1#OnlineAd",
"@context": {
"@protected": true,
"id": "@id",
"type": "@type",
"title": "https://schema.org/title",
"image": "op:image",
"description": "https://schema.org/description",
"landingPageUrl": "https://schema.org/url",
"adReportContact": {
"@id": "https://originator-profile.org/ns/cip/v1#adReportContact",
"@type": "https://originator-profile.org/ns/v1#page"
},
"adReviewGuidelines": {
"@id": "https://originator-profile.org/ns/cip/v1#adReviewGuidelines",
"@type": "https://originator-profile.org/ns/v1#page"
},
"targetingPolicy": {
"@id": "https://originator-profile.org/ns/cip/v1#targetingPolicy",
"@type": "https://originator-profile.org/ns/v1#page"
},
"adDataHandlingPolicy": {
"@id": "https://originator-profile.org/ns/cip/v1#adDataHandlingPolicy",
"@type": "https://originator-profile.org/ns/v1#page"
},
"adDisplayRationale": {
"@id": "https://originator-profile.org/ns/cip/v1#adDisplayRationale",
"@context": {
"page": {
"@id": "https://originator-profile.org/ns/v1#page",
"@type": "@id"
},
"description": "https://schema.org/description"
}
}
}
},
"Integrity": {
"@id": "https://originator-profile.org/ns/cip/v1#integrity",
"@type": "https://www.w3.org/2018/credentials#sriString"
},
"HtmlTargetIntegrity": {
"@id": "op:HtmlTargetIntegrity",
"@context": {
"@protected": true,
"type": "@type",
"integrity": "cip:Integrity",
"cssSelector": "https://schema.org/cssSelector"
}
},
"VisibleTextTargetIntegrity": {
"@id": "op:VisibleTextTargetIntegrity",
"@context": {
"@protected": true,
"type": "@type",
"integrity": "cip:Integrity",
"cssSelector": "https://schema.org/cssSelector"
}
},
"TextTargetIntegrity": {
"@id": "op:TextTargetIntegrity",
"@context": {
"@protected": true,
"type": "@type",
"integrity": "cip:Integrity",
"cssSelector": "https://schema.org/cssSelector"
}
},
"ExternalResourceTargetIntegrity": {
"@id": "op:ExternalResourceTargetIntegrity",
"@context": {
"@protected": true,
"type": "@type",
"integrity": "cip:Integrity"
}
}
}
}