Skip to main content
. 2022 Nov 1;22(21):8408. doi: 10.3390/s22218408
Listing 3: Employment Schema.
 {
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://schema.affinidi.com/EmploymentCredentialPersonV1V1-0.jsonld"
  ],
  "id": "claimId:fbd51289d18e5e29",
  "type": [
    "VerifiableCredential",
    "EmploymentCredentialPersonV1"
  ],
  "holder": {
    "id": "did:elem:EiBAYArpk_r7L8EzR1YqKe4tK0n9S6_VxpT-FLOymmx-AQ"
  },
  "issuer": "https://www.ntnu.no/",
  "issuanceDate": "2022-06-23T09:04:04.059Z"
  "credentialSubject": {
    "data": {
      "@type": [
        "Person",
        "EmploymentPerson"
      ],
      "worksFor": {
          "@type": [
            "Organization",
            "Education"
          ],
          "name": "Norwegian Institute of Science and Technology"
        },
        "reference": {
          "@type": "ContactPoint",
          "name": "Alex Jorgen",
          "email": "alex.jorgen@no"
        },
        "skills": [
          "Administrative work",
          "Human resource manager"
        ],
        "offerLetter": "https://dropbox.com/offerLetter",
        "experienceLetter": "https://dropbox.com/experienceLetter",
        "salary": {
          "@type": [
            "Salary"
          ],
          "gross": {
            "@type": "MonetaryAmount",
            "value": 518000,
            "currency": "NOK"
          },
          "net": {
            "@type": "MonetaryAmount",
            "value": 30000,
            "currency": "NOK"
          },
          "frequency": "Monthly"
        }
      },
      "name": "John Doe"
    }
  },
  "credentialStatus": {
    "id": "https://ntnu.no/status/24,
    "type": "CredentialStatusList2017"
  },
  "credentialSchema": {
    "id": "https://schema.affinidi.com/EmploymentCredentialPersonV1V1-0.json",
    "type": "JsonSchemaValidator2018"
  },
  "proof": {
    "type": "RsaSignature2018",
    "created": "2022-06-28T11:29:10Z",
    "proofPurpose": "assertionMethod",
    "verificationMethod": "https://ntnu.no/issuers/565049#key-1",
    "jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..kTCYt5
      XsITJX1CxPCT8yAV-TVIw5WEuts01mq-pQy7UJiN5mgREEMGlv50aqzpqh4Qq_PbChOMqs
      LfRoPsnsgxD-WUcX16dUOqV0G_zS245-kronKb78cPktb3rk-BuQy72IFLN25DYuNzVBAh
      4vGHSrQyHUGlcTwLtjPAnKb78"
  }
}