Skip to content

Commit

Permalink
GITBOOK-320: Update links and add VC Trust Registry
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweeddalex authored and gitbook-bot committed Jul 3, 2024
1 parent 26ead21 commit 4c3dba2
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 4 deletions.
1 change: 1 addition & 0 deletions SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* [🤝 Build Trust Registries](studio/trust-registries/README.md)
* [Verifiable Accreditation Trust Chain Model](studio/trust-registries/verifiable-accreditation-trust-chain-model.md)
* [Create Verifiable Accreditation](studio/trust-registries/create-accreditation.md)
* [Referencing Trust Registry within a Verifiable Credential](studio/trust-registries/referencing.md)
* [🎋 Create Status Lists](studio/status-lists/README.md)
* [Status List v2021](studio/status-lists/status-list-v2021/README.md)
* [Create Status List v2021](studio/status-lists/status-list-v2021/create-status-list.md)
Expand Down
3 changes: 2 additions & 1 deletion advanced/tooling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ We have a series of advanced tooling options for developers that want to dig dee

For more simple ways of integrating with cheqd, take a look at:

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Credential Service (SaaS)</strong></td><td><em>Low complexity</em></td><td>Customers can easily integrate cheqd's identity functionality into their existing applications through hitting simple REST APIs using Credential Service. </td><td><a href="../../.gitbook/assets/credential-service-image.png">credential-service-image.png</a></td><td><a href="../../getting-started/studio/">studio</a></td></tr><tr><td><strong>Software Development Kits (SDKs)</strong></td><td><em>Moderate complexity</em></td><td>To have greater customisability, customers can customers can build identity solutions through a set of SDKs to meet different technical stacks and requirements.</td><td><a href="../../.gitbook/assets/SDKs-image.png">SDKs-image.png</a></td><td><a href="../../sdk/understanding-sdks.md">understanding-sdks.md</a></td></tr></tbody></table>
<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-cover data-type="files"></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>cheqd Studio</strong></td><td><em>Low complexity</em></td><td>Customers can easily integrate cheqd's identity functionality into their existing applications through hitting simple REST APIs using cheqd Studio. </td><td><a href="../../.gitbook/assets/credential-service-image.png">credential-service-image.png</a></td><td><a href="../../getting-started/studio/">studio</a></td></tr><tr><td><strong>Software Development Kits (SDKs)</strong></td><td><em>Moderate complexity</em></td><td>To have greater customisability, customers can customers can build identity solutions through a set of SDKs to meet different technical stacks and requirements.</td><td><a href="../../.gitbook/assets/SDKs-image.png">SDKs-image.png</a></td><td><a href="../../sdk/understanding-sdks.md">understanding-sdks.md</a></td></tr></tbody></table>

4 changes: 1 addition & 3 deletions studio/trust-registries/create-accreditation.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,8 @@ For a trusted ecosystem, these attestations are required to trace the legitimacy
"termsOfUse": {
"type": "AccreditationPolicy",
"parentAccreditation": "did:cheqd:testnet:098c4f66-b461-4037-9cf0-c5db75b270c6/resources/da4159f1-ff50-4a7c-b0cb-40d3a1f71003a",
"policyId": "https://example.com/policies/124",
"rootAuthorisation": "did:cheqd:testnet:098c4f66-b461-4037-9cf0-c5db75b270c6/resources/da4159f1-ff50-4a7c-b0cb-40d3a1f71003a",
"trustFramework": "Name of the Governance Framework (GF)",
"lib": "urn:professional-qualifications-directive"
"trustFramework": "Name of the Governance Framework (GF)"
},
"credentialSchema": [
{
Expand Down
29 changes: 29 additions & 0 deletions studio/trust-registries/referencing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Referencing Trust Registry within a Verifiable Credential

Trust Registries are referenced within **Accreditaiton Policies** in the Verifiable Credential body. This enables Relying Parties to traverse the trust chain and verify that the **issuer**, accrediting entity (**TAO**) and Root of Trust (**rTAO**) are all legitimate entities.

Within the body of the Verifiable Credential, issuers will need to configure the `termsOfUse` section to reference DIDs or DID URLs of trust registry entries, for example:

```json
{
"@context": [
"https://www.w3.org/ns/credentials/v2",
"https://www.w3.org/ns/credentials/examples/v2"
],
"id": "http://university.example/credentials/3732",
"type": ["VerifiableCredential", "ExampleDegreeCredential"],
"issuer": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0",
"validFrom": "2010-01-01T00:00:00Z",
"credentialSubject": {
"id": "did:cheqd:testnet:b4902745-5b5b-423e-820a-0773b033f2b9",
"degree": {
"type": "ExampleBachelorDegree",
"name": "Bachelor of Science and Arts"
"termsOfUse": {
"type": "AccreditationPolicy",
"parentAccreditation": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0/resources/58c01595-f884-4a3b-add4-8c691e16b8ee",
"rootAuthorisation": "did:cheqd:testnet:c2f18b6b-32e2-48d1-a5a8-5f5d2d9798f0/resources/58c01595-f884-4a3b-add4-8c691e16b8ee",
"trustFramework": "cheqd Governance Framework"
}
}
```

0 comments on commit 4c3dba2

Please sign in to comment.