Altme's documentation
  • 🧾Introduction
    • 📋What is Self Sovereign Identity ?
    • 🕵️Altme solution suite is made up of 3 components
      • 🗂️Altme Wallet
      • 📇Altme Saas
      • 📇Altme Web3 issuer
    • 🗂️Give an Identity to your crypto wallet
    • 🛠️Technical considerations
  • ☁️Altme Saas
    • Quick start
      • ⬇️Download Altme Wallet from Apple or Google store
      • 📁Get more credentials in your wallet
      • 🔒Connect to the Altme Saas platform to setup a SSI verifier
      • 📲Integration in your app
    • Beacon integration
      • 🖥️Overview
      • 🏅Verify the age of your users (+13, +18) in a dApp
      • 📲Receive the Verifier data with a webhook in your backend
      • 🪙On-chain and off-chain access with TezID
      • 💾Verify other data with other credentials
      • 📇Issue a Welcome card in a dApp
      • ✅Check user data of your Issuer (no code)
      • ✅Check user data of your Issuer with a webhook
      • 🕵️Under the hood : the process flow of a Beacon Verifier
    • OpenID integration
      • 🖥️Overview
      • 1️Example 1 with an “implicit flow” with no code
      • 1️Example 1 with an “authorization code flow” in Python
    • EBSII integration
  • 🗂️Alme Wallet
    • Protocols overview
      • 🔑Collecting a verifiable credential
      • 🔑Requesting a verifiable presentation
    • Credential offer protocol
      • 🧘‍♀️Motivation
      • 📖Issuer implementation
    • 🖥️Credential manifest of the credential offer protocol
    • 💰Wallet rendering
      • 📝Input descriptors
    • Presentation request query types
      • 🧘‍♀️Motivation
      • 📖Verifier implementation
      • 🔐DIDAuth
      • QueryByExample
      • QBE Examples
    • ✅Issuers and Verifiers return codes accepted by wal
    • 🔗Universal link
      • 🖥️Access from a desktop viewer
      • 📱Access from smartphone viewer
  • *️Others
    • 📂Flow between wallet, dApp and Verifier
      • 📱Hybrid dApp onboards a user with VCs
      • 📱dApp onboards a user with VCs
      • 📱dApp adds a user in whitelist
    • 📍Indices and tables
      • 📁Index
      • 🔍Search
    • 👨‍💻Show source
Powered by GitBook
On this page
  1. Alme Wallet

Wallet rendering

PreviousCredential manifest of the credential offer protocolNextInput descriptors

Last updated 2 years ago

Wallet rendering is defined by this standard

In the wallet card details screen the Title of the card and Subtitle of the card are attributes “title” an “subtitle” from the output_descriptors.display. The accordion “Description” is the description attribute of the same output_descriptors.diplay.

The “Informations” accordion of Altme is made up of all properties of the output_descriptors.properties.

Altme supports type “string” with specific format “email”, “uri”, “date”, hour” and other types as “number”, “integer” and “bool”. See an example here :

{ "output_descriptors":[
                      {
                        "id": "00000000",
                        "schema": "Test",
                        "display": {
                          "title": {
                              "path": [],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "VC for Test"
                            },
                            "subtitle": {
                              "path": [],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "Type and format"
                            },
                          "description": {
                            "path": [],
                            "schema": {
                              "type": "string"
                            },
                            "fallback": "This VC is made up for testing prupose."
                          },
                          "properties": [
                            {
                              "path": ["$.credentialSubject.integer"],
                              "schema": {
                                "type": "integer"
                              },
                              "fallback": "Unknown",
                              "label": "integer"
                            },
                            {
                              "path": ["$.credentialSubject.number"],
                              "schema": {
                                "type": "number"
                              },
                              "fallback": "Unknown",
                              "label": "number"
                            },
                            {
                              "path": ["$.credentialSubject.bool"],
                              "schema": {
                                "type": "bool"
                              },
                              "fallback": "Unknown",
                              "label": "bool"
                            },
                            {
                              "path": ["$.credentialSubject.uri"],
                              "schema": {
                                "type": "text",
                                "format" : "uri"
                              },
                              "fallback": "Unknown",
                              "label": "uri"
                            },
                            {
                              "path": ["$.credentialSubject.email"],
                              "schema": {
                                "type": "text",
                                "format" : "email"
                              },
                              "fallback": "Unknown",
                              "label": "email"
                            }
                          ]
}

An example here with output descriptors :

{
            "id":"PC_01",
            "issuer":{
              "id":"did:tz:tz1NyjrTUNxDpPaqNZ84ipGELAcTWYg6s5Du",
              "name":"Talao issuer",
              "styles": {
                "thumbnail": {
                  "uri": "https://talao.mypinata.cloud/ipfs/QmU8z1aDDpbgVjXwU8nMvgU3YD4VeUzHTkitsELZRFBBZa",
                  "alt": "Talao logo"
                },
                "background": {
                "color": "#ffffff"
                },
                "text": {
                "color": "#d4d400"
                }
              }
            },
            "output_descriptors":[
                      {
                        "id": "PCDS_01",
                        "schema": "PCDSAuditorCertificate",
                        "display": {
                          "title": {
                            "path": ["$.name"],
                            "schema": {
                              "type": "string"
                            },
                            "fallback": "Title fallback"
                          },
                          "subtitle": {
                            "path": ["$.description"],
                            "schema": {
                              "type": "string"
                            },
                            "fallback": "Subtitle fallback"
                          },
                          "description": {
                            "text": "This is an electronic version of a PCDS auditor certificate for testing purposes."
                          },
                          "properties": [
                            {
                              "path": ["$.credentialSubject.category"],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "Unknown category",
                              "label": "Certificate category"
                            },
                            {
                              "path": ["$.credentialSubject.familyName"],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "Unknown auditor name",
                              "label": "Auditor name"
                            },
                            {
                              "path": ["$.credentialSubject.certificationDate"],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "Unknown certification date",
                              "label": "Certification Date"
                            },
                            {
                              "path": ["$.credentialSubject.validity"],
                              "schema": {
                                "type": "string"
                              },
                              "fallback": "Unknown validity",
                              "label": "Certificate validity"
                            }
                          ]
                        }
                      }
            ],
            "presentation_definition":{}
          }

![Example of a card details screen ]()

🗂️
💰
https://identity.foundation/wallet-rendering/
https://github.com/TalaoDAO/wallet-interaction/blob/main/Cards%20details%20_%20status%20active.png