From 66e9b9975356f97dcd64282c257592deb75b9dda Mon Sep 17 00:00:00 2001
From: Dmitri Zagidulin
-The data model shown above is expressed in a [=verifiable credential=]
-in the example below.
-
-In the example above, the [=issuer=] has provided a Mustache-based SVG rendering
-template for a Bachelor's degree that will be filled in with specific
-information from the [=verifiable credential=] listed in `renderProperty`.
-
@@ -1765,18 +1719,6 @@ TemplateRenderMethod
-
-{
- "@context": [
- "https://www.w3.org/ns/credentials/v2",
- "https://www.w3.org/ns/credentials/examples/v2",
- "https://w3id.org/vc/render-method/v1"
- ],
- "id": "http://example.edu/credentials/3732",
- "type": ["VerifiableCredential", "UniversityDegreeCredential"],
- "issuer": "https://example.edu/issuers/14",
- "validFrom": "2010-01-01T19:23:24Z",
- "credentialSubject": {
- "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
- "degree": {
- "type": "BachelorDegree",
- "name": "Bachelor of Science and Arts"
- }
- },
- "renderMethod": {
- "type": "TemplateRenderMethod",
- "renderSuite": "svg-mustache",
- "template": {
- "id": "https://example.edu/credential-templates/BachelorDegree",
- "mediaType": "image/svg+xml",
- "digestMultibase": "zQmerWC85Wg6wFl9znFCwYxApG270iEu5h6JqWAPdhyxz2dR",
- "renderProperty": [
- "/issuer", "/validFrom", "/credentialSubject/degree/name"
- ]
- }
- }
-
-}
-
-
- The `json-card` Render Suite
Algorithms
The following sections outline the algorithms that is used by this specification
for rendering methods.
-The Mustache templating language is used -to produce a visual representation of the [=verifiable credential=]. -See the Mustache 5.0 -Specification for details. -
-