- Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
At the moment we can use the renderMethod like so in a Verifiable Credential version 2:
"@context": [ "https://www.w3.org/ns/credentials/v2", "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", "https://w3id.org/security/suites/ed25519-2020/v1" { "css3MediaQuery": "urn:uuid:c4c53282-e8e2-4914-83d8-566e25d2f899", "HTMLRenderingTemplate": "urn:uuid:925d00aa-ae94-4278-89d5-1cb59a8025e8" } ], "renderMethod": [ { "id": "https://raw.githubusercontent.com/digitalcredentials/test-files/main/html-templates/mock-MIT-bachelors-template.html", "type": "HTMLRenderingTemplate", "name": "PDF Display", "css3MediaQuery": "@media (orientation: portrait)" } ] It would be nice to instead have a context something like:
"@context": [ "https://www.w3.org/ns/credentials/v2", "https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json", "https://w3id.org/security/suites/ed25519-2020/v1", "https://w3id.org/ns/credentials/render/v1" <======= NEW ], "renderMethod": [ { "id": "https://raw.githubusercontent.com/digitalcredentials/test-files/main/html-templates/mock-MIT-bachelors-template.html", "type": "HTMLRenderingTemplate", "name": "PDF Display", "css3MediaQuery": "@media (orientation: portrait)" } ] where the https://w3id.org/render/v1 defines the template types and anything else needed for the renderMethod.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels