Access Grant VC JSON-LD Context#
ESS Access Grant service issues access requests and grants that are serialized as a Verifiable Credentials (VCs). As part of the feature, the service provides a JSON-LD context document at:
https://schema.inrupt.com/credentials/v1.jsonld
Note
Starting in version 2.1, the ESS Access Grant VC Context can be
found at "https://schema.inrupt.com/credentials/v1.jsonld"
.
In the previous version, you can specify "https://vc.<ESS
DOMAIN>/credentials/v1"
instead. However,
"https://schema.inrupt.com/credentials/v1.jsonld"
also works
for the previous version.
This context must be included in the access requests and grants sent to the ESS Access Grant service endpoints:
{
"credential": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://schema.inrupt.com/credentials/v1.jsonld"
],
...
}
For general information on JSON-LD context, see JSON-LD 1.1: The Context.