---
# System prepended metadata

title: ELMv3 and SD-JWT VC DM

---

# Experiments with ELMv3 and SD-JWT VC DM

- https://github.com/european-commission-empl/European-Learning-Model/tree/master/Credentials/JSON-LD%20Examples%20(ELM%20v3)
- https://op.europa.eu/en/web/eu-vocabularies/dataset/-/resource?uri=http://publications.europa.eu/resource/dataset/snb-model
- https://github.com/danielfett/sd-jwt-vc-dm/

## W3C VCDM

```json
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "http://data.europa.eu/snb/model/context/edc-ap"
  ],
  "type": [
    "VerifiableCredential",
    "EuropeanDigitalCredential"
  ],
  "validFrom": "2023-06-28T14:30:00.000Z",
  "issuer": {
    "id": "urn:epass:org:1",
    "type": "Organisation"
  },
  "id": "urn:credential:43662fb0-c31c-4afb-b501-e85aea91c0a8",
  "credentialSubject": {
    "id": "did:key:z6MktYfREAQcHJKZkC8MCaCNggQXrG5pH4gEpBWjPjmMymwi",
    "familyName": {
      "en": "Andromeda"
    },
    "fullName": {
      "en": "Ana Andromeda"
    },
    "givenName": {
      "en": "Ana"
    }
  }
}
```

## SD-JWT VC DM

```json
{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "http://data.europa.eu/snb/model/context/edc-ap"
  ],
  "vct": "elm:EuropeanDigitalCredential",
  "valid_from": "2023-06-28T14:30:00.000Z"
  "iss": "urn:epass:org:1",
  "cnf": {
    "jwk": {
        "kty": "OKP",
        "crv": "Ed25519",
        "x": "0WXy8YxrWg0LVf32Jw77L7RzHpQ5W_JBpmd1RclinZU"
      }
  },
  "id": "urn:credential:43662fb0-c31c-4afb-b501-e85aea91c0a8",
  "claims": {
    "familyName": "Andromeda",
    "fullName": "Ana Andromeda",
    "givenName": "Ana"
  }
}
```

## Observations

- What if "issuer" is an object?
- What about "id" of credential?
- What about "id" of subject?
- What about "type" of subject?
- How do namespaces work?
- What about "dc:Location"?
- Multi-language?
```jsonld
    "familyName": {
      "en": "Andromeda"
    },
    "fullName": {
      "en": "Ana Andromeda"
    },
    "givenName": {
      "en": "Ana"
    }
```
