TezLoyaltyCard_1 -



Scan the QRCode below with your Talao wallet.



QRcode = https://talao.co/sandbox/wallet_credential/036d8a7d-782a-11ed-b39d-0a1628958560?issuer=did:tz:tz1NyjrTUNxDpPaqNZ84ipGELAcTWYg6s5Du


Credential manifest content

{
    "id": "LoyaltyCard_Tezotopia",
    "issuer": {
        "id": "",
        "name": "AltMe issuer"
    },
    "output_descriptors": [
        {
            "id": "loyaltycard_01",
            "schema": "https://github.com/TalaoDAO/wallet-tools/blob/main/test/CredentialOffer2/TezLoyaltyCard_1.jsonld",
            "styles": {
                "background": {
                    "color": "#baaaad"
                },
                "text": {
                    "color": "#000000"
                }
            },
            "display": {
                "title": {
                    "path": [],
                    "schema": {
                        "type": "string"
                    },
                    "fallback": "Loyalty Card"
                },
                "subtitle": {
                    "path": [],
                    "schema": {
                        "type": "string"
                    },
                    "fallback": "Your Tezotopia Loyalty Card"
                },
                "description": {
                    "path": [],
                    "schema": {
                        "type": "string"
                    },
                    "fallback": "This is an electronic version of a loyalty card for testing purpose."
                },
                "properties": [
                    {
                        "path": [
                            "$.expirationDate"
                        ],
                        "schema": {
                            "type": "string",
                            "format": "date"
                        },
                        "fallback": "Unknown",
                        "label": "Expiration date"
                    },
                    {
                        "path": [
                            "$.credentialSubject.ageRange"
                        ],
                        "schema": {
                            "type": "string"
                        },
                        "fallback": "Unknown",
                        "label": "Age range"
                    },
                    {
                        "path": [
                            "$.credentialSubject.addressCountry"
                        ],
                        "schema": {
                            "type": "string"
                        },
                        "fallback": "Unknown",
                        "label": "Country"
                    }
                ]
            }
        }
    ],
    "presentation_definition": {
        "id": "32f54163-7166-48f1-93d8",
        "input_descriptors": [
            {
                "id": "idcard_data",
                "purpose": "Select your Identiy Card",
                "constraints": {
                    "fields": [
                        {
                            "path": [
                                "$.type"
                            ],
                            "filter": {
                                "type": "string",
                                "pattern": "IdCard"
                            }
                        }
                    ]
                }
            },
            {
                "id": "tezos_address",
                "purpose": "Select your Tezos account",
                "constraints": {
                    "fields": [
                        {
                            "path": [
                                "$.type"
                            ],
                            "filter": {
                                "type": "string",
                                "pattern": "TezosAssociatedAddress"
                            }
                        }
                    ]
                }
            }
        ]
    }
}