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

Profile Annotation Data Model

Profile Annotation Data Model は Core Profile の主体に関する情報を表明するための VC の共通データモデルです。

注記

Profile Annotation を VC として発行する際には必ず拡張性に従って拡張してください。拡張しない PA として発行してはいけません。

用語

本文書に説明のない用語については、用語を参照してください。

  • Core Profile (CP)
  • Originator Profile Identifier (OP ID)
  • OP VC Data Model Conforming Document (OP VC DM 準拠文書)
  • Profile Annotation (PA)

Profile Annotation (PA) のデータモデル

Profile Annotation は OP VC DM 準拠文書でなければなりません (MUST)。他に以下のプロパティを含みます。

プロパティ

@context

OP VC Data Model に従ってください (MUST)。

type

REQUIRED. OP VC Data Model に従ってください (MUST)。

issuer

REQUIRED. PA 発行者の OP ID でなければなりません (MUST)。

credentialSubject.id

REQUIRED. PA 保有組織の OP ID でなければなりません (MUST)。

credentialSubject.description

OPTIONAL. 文字列でなければなりません (MUST)。

拡張性

PA を拡張したい者は https://originator-profile.org/ns/credentials/v1#ProfileAnnotation のコンテキスト定義を基に新しい Credential Type を作成しなければなりません (MUST)。

Appendix

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

PA の具体例を次に示します。この例ではいくつかのプロパティが増えていますが、PAを拡張したデータモデルのためです。

{
"@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", "Certificate"],
"issuer": "dns:localhost",
"credentialSubject": {
"id": "dns:localhost",
"type": "Organization",
"addressCountry": "JP",
"name": "Originator Profile 技術研究組合 (開発用)",
"corporateNumber": "8010005035933",
"postalCode": "100-8055",
"addressRegion": "東京都",
"addressLocality": "千代田区",
"streetAddress": "大手町1-7-1",
"certificationSystem": {
"id": "urn:uuid:5374a35f-57ce-43fd-84c3-2c9b0163e3df",
"type": "CertificationSystem",
"name": "法人番号システムWeb-API",
"ref": "https://www.houjin-bangou.nta.go.jp/"
}
}
}