fix schemas and credentials names

This commit is contained in:
Cayo Puigdefabregas 2024-06-21 12:08:42 +02:00
parent 338ab6e083
commit 8f15544fe5
5 changed files with 8 additions and 8 deletions

View File

@ -2,13 +2,13 @@
"@context": [ "@context": [
"https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/v1",
"https://idhub.pangea.org/context/base.jsonld", "https://idhub.pangea.org/context/base.jsonld",
"https://idhub.pangea.org/context/ereuse-roles.jsonld" "https://idhub.pangea.org/context/e-actors.jsonld"
], ],
"id": "{{ vc_id }}", "id": "{{ vc_id }}",
"type": [ "type": [
"VerifiableCredential", "VerifiableCredential",
"VerifiableAttestation", "VerifiableAttestation",
"EreuseRoles" "EActors"
], ],
"issuer": { "issuer": {
"id": "{{ issuer_did }}", "id": "{{ issuer_did }}",
@ -61,7 +61,7 @@
"revocationBitmapIndex": "{{ id_credential }}" "revocationBitmapIndex": "{{ id_credential }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/ereuse-roles.json", "id": "https://idhub.pangea.org/vc_schemas/e-actors.json",
"type": "FullJsonSchemaValidator2021" "type": "FullJsonSchemaValidator2021"
} }
} }

View File

@ -2,7 +2,7 @@
"@context": [ "@context": [
"https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/v1",
"https://idhub.pangea.org/context/base.jsonld", "https://idhub.pangea.org/context/base.jsonld",
"https://idhub.pangea.org/context/ereuse-issuer.jsonld" "https://idhub.pangea.org/context/e-issuer.jsonld"
], ],
"id": "{{ vc_id }}", "id": "{{ vc_id }}",
"type": [ "type": [
@ -57,7 +57,7 @@
"revocationBitmapIndex": "{{ id_credential }}" "revocationBitmapIndex": "{{ id_credential }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/ereuse-issuer.json", "id": "https://idhub.pangea.org/vc_schemas/e-issuer.json",
"type": "FullJsonSchemaValidator2021" "type": "FullJsonSchemaValidator2021"
} }
} }

View File

@ -1,7 +1,7 @@
{ {
"$id": "https://idhub.pangea.org/vc_schemas/ereuse-role.json", "$id": "https://idhub.pangea.org/vc_schemas/e-actors.json",
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EreuseRoles", "title": "EActors",
"description": "Product and waste electronics operator claim, as proposed by eReuse.org", "description": "Product and waste electronics operator claim, as proposed by eReuse.org",
"name": [ "name": [
{ {

View File

@ -1,5 +1,5 @@
{ {
"$id": "https://idhub.pangea.org/vc_schemas/issuer.json", "$id": "https://idhub.pangea.org/vc_schemas/e-issuer.json",
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EIssuer", "title": "EIssuer",
"description": "This credential allow to holder to be issuer for a list of schemas", "description": "This credential allow to holder to be issuer for a list of schemas",