OP VC Data Model
The OP specification defines several VCs that conform to a common data model based on the VC DM 2.0 Conforming Document, which is specified in this document.
VC Data Model
It MUST conform to the VC DM 2.0 Conforming Document.
Properties
@context
REQUIRED. An ordered array of URLs. The first element MUST be https://www.w3.org/ns/credentials/v2
, followed by https://originator-profile.org/ns/credentials/v1
. The last element in the array MUST indicate the language of the string in the VC with the @language
tag . For example, if the language is Japanese, include {"@language": "ja"}
at the end of the array.
type
REQUIRED. The value MUST be a VerifiableCredential
or an array of JSON-LD terms whose value contains a VerifiableCredential
.
credentialSubject
REQUIRED. JSON-LD Node Object
credentialSubject.type
OPTIONAL. The value MUST be a term in the JSON-LD vocabulary or an array thereof.
credentialSubject.id
REQUIRED. An identifier. The format of the identifier is specified in the data model document for each VC.
issuer
REQUIRED. It MUST be the OP ID of the VC issuing organization.
Verification Process
A VC that conforms to the data model in this document can be verified by following these steps:
- Get the VC to be verified
- When getting from a specific domain, get it from Site Profile (RECOMMENDED)
- When getting from a specific web page, get it from Linking Content Attestation Set and Originator Profile Set to HTML Document (RECOMMENDED)
- Get the verification key of the issuing organization of the VC to be verified by OP ID.
- Verify using the algorithms defined in Securing Mechanisms
- Verify properties that use The
image
Datatype
For information on the Securing Mechanisms used in applications developed by the Originator Profile Collaborative Innovation Partnership, see OP VC Securing Mechanism Implementation Guidelines.