Skip to content

Commit fe1d83e

Browse files
committed
Update DTG context
1 parent 7bf2258 commit fe1d83e

1 file changed

Lines changed: 15 additions & 13 deletions

File tree

  • src/main/resources/com/danubetech/dataintegrity/jsonld

‎src/main/resources/com/danubetech/dataintegrity/jsonld/dtg-v1.jsonld‎

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,7 @@
1717
"@id": "https://firstperson.network/credentials/dtg/v1#PersonaCredential"
1818
},
1919
"EndorsementCredential": {
20-
"@id": "https://firstperson.network/credentials/dtg/v1#EndorsementCredential",
21-
"@context": {
22-
"@protected": true,
23-
"endorsement": {
24-
"@id": "https://firstperson.network/credentials/dtg/v1#endorsement",
25-
"@context": {
26-
"@protected": true,
27-
"type": "@type",
28-
"name": "https://firstperson.network/credentials/dtg/v1#name",
29-
"competencyLevel": "https://firstperson.network/credentials/dtg/v1#competencyLevel"
30-
}
31-
}
32-
}
20+
"@id": "https://firstperson.network/credentials/dtg/v1#EndorsementCredential"
3321
},
3422
"WitnessCredential": {
3523
"@id": "https://firstperson.network/credentials/dtg/v1#WitnessCredential",
@@ -56,6 +44,20 @@
5644
"@type": "@json"
5745
}
5846
}
47+
},
48+
"Person": {
49+
"@id": "https://firstperson.network/credentials/dtg/v1#Person",
50+
"@context": {
51+
"endorsement": "https://firstperson.network/credentials/dtg/v1#endorsement"
52+
}
53+
},
54+
"SkillEndorsement": {
55+
"@id": "https://firstperson.network/credentials/dtg/v1#SkillEndorsement",
56+
"@context": {
57+
"@protected": true,
58+
"name": "https://schema.org/name",
59+
"competencyLevel": "https://firstperson.network/credentials/dtg/v1#competencyLevel"
60+
}
5961
}
6062
}
6163
}

0 commit comments

Comments
 (0)