W3C home > Mailing lists > Public > public-credentials@w3.org > March 2022

usage of credentialSubject WITHOUT id?

From: Giuseppe Tropea <giuseppe.tropea@cnit.it>
Date: Sun, 6 Mar 2022 10:30:56 +0100
Message-Id: <6FB5CDD5-07B5-49DE-B1AF-93FF0F696427@cnit.it>
To: public-credentials@w3.org
dear CCG,
in chapter "4.4 Credential Subject”, of the Verifiable Credentials Data Model v1.1, I read that "Each object MAY contain an id”.
Can somebody clarify the use-case when the subject does NOT contain an id? As follows?:

{
  "id": "http://example.edu/credentials/3732",
  "type": ["VerifiableCredential", “WeatherCredential"],
  "issuer": "https://example.edu/issuers/565049",
  "issuanceDate": "2010-01-01T00:00:00Z",
  "credentialSubject": {
    “weather": {
      “value": “it rains!"
    }
  },
  "proof": { ... }
}
Is the above (i.e. claims that use impersonal verbs) the only indented use-case for VCs without id in the credentialSubject property?

Or am I completely off track and there is more, or a different idea altogether?

Thank you,
giuseppe

—
Giuseppe Tropea
CNIT - Italy
giuseppe.tropea@cnit.it <mailto:giuseppe.tropea@cnit.it>
—


Received on Sunday, 6 March 2022 09:31:13 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:25:29 UTC