Data Rights Credential (VC)
Main Differences
Credential Structure
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://schemas.ishare.eu/v3/datarights.json"
],
"id": "http://authorisationregistry.example/credentials/e25d402a-d240-48e7-b749-fb5b01546bfd",
"type": [
"VerifiableCredential",
"DatarightsCredential"
],
"issuer": "did:ishare:EU.NL.NTRNL00000000",
"validFrom": "2025-05-10T08:00:00Z",
"credentialSubject": {
"id": "did:ishare:EU.NL.NLNTR-12345678",
"alsoKnownAs": [
"did:elsi:LEIXG-724500AZSGBRY55MNS59",
"did:key:z6MkhfrsD3GUMjGvRxTTSamE1WnS9w3nDJLeZzT1KZVrU5tE",
"did:web:example.com",
"AS.JA.NTA:1234567890123"
],
"datarightsEvidence": {
"notBefore": 1541058939,
"notOnOrAfter": 2147483647,
"policySets": [
{
"maxDelegationDepth": 0,
"target": {
"environment": {
"licenses": [
"https://licenses.ishare.eu/general-unrestricted/1.0"
]
}
},
"policies": [
{
"target": {
"resource": {
"type": "GS1.CONTAINER",
"identifiers": [
"180621.ABC1234"
],
"attributes": [
"GS1.CONTAINER.ATTRIBUTE.ETA"
]
},
"actions": [
"ISHARE.READ"
]
},
"rules": [
{
"effect": "Permit",
"conditions": {
"allOf": [
{
"leftOperand": "serviceProvider",
"operator": "equal",
"rightOperand": "did:ishare:EU.NL.NTRNL-10000003"
}
]
}
}
]
}
]
}
]
}
},
"credentialStatus": {
"id": "https://authorisationregistry.example/status/2025-05#12345",
"type": "BitstringStatusListEntry",
"statusPurpose": "revocation",
"statusListIndex": "12345",
"statusListCredential": "https://authorisationregistry.example/status/2025-05"
}
}Last updated