| Listing 4: Distance constraint algorithm. |
|
{
"@context": [ "https://www.w3.org/2018/credentials/v1", "https://schema.affinidi.com/TaxCertificateNorwayV1-1.jsonld" ], "id": "claimId:ae6164eda5b8a10a", "type": [ "VerifiableCredential", "TaxCertificateNorway" ], "holder": { "id": "did:elem:EiBwTbgxIYnXt8H6XuiVHig_w_hNL2vynZcOLUHuOaQVzw" }, "issuer": "https://www.skatteetaten.no/", "issuanceDate": "2022-06-28T06:02:10.639Z", "credentialSubject": { "data": { "personalIncomeAndNetIncome": { "salariesAndPayments": "518000", "interestOnBankDeposits": "1000", "totalIncome": "551000" }, "deductions": { "minimumDeductionFromOwnIncome": "106750", "premiumForPensionScheme": "10263", "totalDeductions": "117013" }, "totalBasisForIncomeTax": "402000", "wealth": { "assets": "100000", "bankDeposits": "152000", "grossCapital": "252000", "netWealth": "252000" }, "name": "John Doe", "year": "2021", "nationalID": "199002171234", "settlement": { "withholdingTax": "134800", "additionalAdvance": "2500", } } }, "credentialStatus": { "id": "https://www.skatteetaten.no//status/11, "type": "CredentialStatusList2017" }, "credentialSchema": { "id": "https://schema.affinidi.com/TaxCertificateNorwayV1-1.json", "type": "JsonSchemaValidator2018" }, "proof": { "type": "RsaSignature2018", "created": "2022-07-18T21:19:10Z", "proofPurpose": "assertionMethod", "verificationMethod": "https://www.skatteetaten.no/issuers/565049#key-1", "jws": "eyJhbGciOiJSUzI1NiIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..TCYt5X sITJX1CxPCT8yAV-TVkIEq_PbChOMqsLfRoPsnsgw5WEuts01mq-pQy7UJiN5mgRxD-WUc X16dUEMGlv50aqzpqh4Qktb3rk-BuQy72IFLOqV0G_zS245-kronKb78cPN25DGlcTwLtj PAYuNzVBAh4vGHSrQyHUdBBPM" } } |