Skip to main content

1Kosmos Interoperability with Verifiable Credentials Platforms

Verifiable Credentials (VC) are a standardized data model with a secure expression protocol that many industries and contexts can use to issue and verify credentials.

Credentials created for one narrow purpose can be used for another at the discretion of their holder or subject of the credentials, requiring no technical federation to the originating issuers. 1Kosmos implementation of the verifiable credentials specification conforms to this fundamental premise and is a highly interoperable implementation.

Azure ION

Azure ION is a Layer 2 permissionless network based on the purely deterministic Sidetree protocol, which requires no special tokens, trusted validators, or additional consensus mechanisms.

1Kosmos Verifiable Credentials Samples

Sample VC Attestation Template

{
"attestations":{
"idTokens":[
{
"id":"https://self-issued.me",
"mapping":{
"firstName":{
"claim":"$.given_name"
},
"lastName":{
"claim":"$.family_name"
}
},
"configuration":"https://self-issued.me",
"client_id":"",
"redirect_uri":""
}
]
},
"validityInterval":2592001,
"vc":{
"type":[
"VerifiedCredentialExpert"
]
}
}

COVID-19 Vaccination Credential Sample

{
"@context":[
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vaccination/v1"
],
"type":[
"VerifiableCredential",
"VaccinationCertificate"
],
"id":"urn:uvci:af5vshde843jf831j128fj",
"name":"COVID-19 Vaccination Certificate",
"description":"COVID-19 Vaccination Certificate",
"issuanceDate":"2019-12-03T12:19:52Z",
"expirationDate":"2029-12-03T12:19:52Z",
"issuer":"did:key:z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3",


"credentialSubject":{
"type":"VaccinationEvent",
"batchNumber":"1183738569",
"administeringCentre":"MoH",
"healthProfessional":"MoH",
"countryOfVaccination":US",
}

"vaccine":{
"type":"Vaccine",
"disease":"COVID-19",
"atcCode":"J07BX03",
"medicinalProductName":"COVID-19 Vaccine Moderna",
"marketingAuthorizationHolder":"Moderna Biotech"
}
},
"proof" :{
"type":"Ed25519Signature2018",
"created":"2021-02-18T23:00:15Z",
"jws":"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..vD_vXJCWdeGpN-qKHDIlzgGC0auRPcwp3O1sOI-gN8z3UD4pI0HO_77ob5KHhhU1ugLrrwrMsKv71mqHBn-dBg",
"proofPurpose":"assertionMethod",
"verificationMethod":"did:key:z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3#z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3"
}
}

University Certificate Credential Sample

{
"@context":[
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/vaccination/v1"
],
"type":[
"VerifiableCredential",
" UniversityCredential"
],
"id":"urn:uvci:af5vshde843jf831j128fj",
"name":”University X Credential",
"description":" University X Credential ",
"issuanceDate":"2019-12-03T12:19:52Z",
"expirationDate":"2029-12-03T12:19:52Z",
"issuer":"did:key:z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3",


"credentialSubject":{
"type":”GraduationEvent",
"batchNumber":"1183738569",
"administeringCentre":"MoH",
" Dean":" Rohan",
”Country":”CA",


" degree" :{
"type":”Graduation",
”subject":”Computer Sciences",
”subCode":”A90210B",}
},
"proof" :{
"type":"Ed25519Signature2018",
"created":"2021-02-18T23:00:15Z",
"jws":"eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImNyaXQiOlsiYjY0Il19..vD_vXJCWdeGpN-qKHDIlzgGC0auRPcwp3O1sOI-gN8z3UD4pI0HO_77ob5KHhhU1ugLrrwrMsKv71mqHBn-dBg",
"proofPurpose":"assertionMethod",
"verificationMethod":"did:key:z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3#z6MkiY62766b1LJkExWMsM3QG4WtX7QpY823dxoYzr9qZvJ3"
}
}

Credential Verification request