igrantio-credential-schema-loyalty-cardlisted
Install: claude install-skill L3-iGrant/skills
# Loyalty Card credential schema
## When to use
Use this skill when you issue or ask for a **Loyalty Card**. The credential
holds the membership of a customer in a loyalty programme: the card identifier
and its status, the organisation that runs the programme, the contact data of
the customer, and the balance of points, miles and wallet money.
The registry publishes this schema in **all three formats**:
| Format | Metadata flag | Identifier to send |
| --- | --- | --- |
| `dc+sd-jwt` | `isSdJwt: true` | `vct` |
| `jwt_vc_json` | `isJwt: true` | `type` |
| `mso_mdoc` | `isMsoMdoc: true` | `doctype` |
This page describes registry version **2025.7.1**, the latest version of the
template.
## Prerequisites
- An **iGrant.io Organisation Wallet Suite (OWS) API key**. Get it from
[support@igrant.io](mailto:support@igrant.io). Keep it on the server, in
an environment variable or a secret manager. The browser never sees it.
- The **OWS environment** the key belongs to. The default is **demo**
(`https://demo-api.igrant.io`). Use **staging**
(`https://staging-api.igrant.io`) only when the integrator asks for it.
A key works only in its own environment.
## Ask the integrator first
Ask one question at a time. Wait for the answer. Give the recommended
default with each question. Look up facts in the project (framework,
environment variables, an existing backend) instead of asking for them.
Record the answers before you write code.
1. **Environment** - demo or staging? _Defa