Core Profile
Terminology
For terms not explained in this document, please see Terminology.
- Core Profile (CP)
- Originator Profile (OP)
- Originator Profile Identifier (OP ID)
- OP VC Data Model Conforming Document (OP VC DM Compliance Document)
- Profile Annotation (PA)
Core Profile (CP) Data Model
The Core Profile MUST be an OP VC DM compliant document and includes the following properties:
Properties
Core Profile Properties
| Name | Type | Description |
|---|---|---|
@context | string[] | REQUIRED. An ordered array of URLs. The array MUST start with https://www.w3.org/ns/credentials/v2, followed by https://originator-profile.org/ns/credentials/v1. |
type | string[] | REQUIRED. It MUST be ["VerifiableCredential", "CoreProfile"]. |
issuer | string | REQUIRED. It MUST be the OP ID of the VC issuing organization. |
credentialSubject | object | REQUIRED. A JSON-LD Node Object containing the following credentialSubject properties. |
credentialSubject Properties
| Name | Type | Description |
|---|---|---|
id | string | REQUIRED. It MUST be the OP ID of the CP holding organization. |
type | string | REQUIRED. It MUST be Core. |
jwks | object | REQUIRED. It MUST be a JWK Set, which is the set of public keys of the CP-holding organizations. |
Extensibility
Issuers MUST NOT add properties to the Core Profile that are not defined in the OP VC Data Model and this document, and specification developers SHOULD strongly avoid adding properties to the Core Profile.
If you need to do this, consider extending and publishing the Web Media Profile or Profile Annotation.
Appendix
Example
This section is non-normative.
Below is an example of a Core Profile:
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://originator-profile.org/ns/credentials/v1"
],
"type": ["VerifiableCredential", "CoreProfile"],
"issuer": "dns:example.org",
"credentialSubject": {
"id": "dns:example.jp",
"type": "Core",
"jwks": {
"keys": [
{
"x": "ypAlUjo5O5soUNHk3mlRyfw6ujxqjfD_HMQt7XH-rSg",
"y": "1cmv9lmZvL0XAERNxvrT2kZkC4Uwu5i1Or1O-4ixJuE",
"crv": "P-256",
"kid": "jJYs5_ILgUc8180L-pBPxBpgA3QC7eZu9wKOkh9mYPU",
"kty": "EC"
}
]
}
}
}