KycProof
Identifier of the request
2ebed93f-079d-4564-b649-b99153c1d08d
Identifier of the test (same as the request)
2ebed93f-079d-4564-b649-b99153c1d08d
Decentralized identifier of the verifier (DID)
did:polygonid:polygon:mumbai:2qEbsGmh6KdVcTcZ1vTqYfAybihrk1xz81qaDoc47j
Content type
application/iden3comm-plain-json
Type of Iden3 schema
https://iden3-communication.io/authorization/1.0/request
body object
Purpose of presenting the zero-knowledge proof
ProofOfValidKYC
Message with additional information regarding the proof
Validation of holding a valid KYC through a zero-knowledge proof
URL where the proof is sent once generated from the Polygon ID App
https://dev-bsapi.token-city.com/zkProof/proof-kyc-callback?sessionId=1bf35d4c-7ccf-4e8e-aac2-fce7d75c32df
scope object[]
Identifier of the query for the presentation of the zero-knowledge proof
1654984164
Identifier of the circuit to be used to validate the zero-knowledge proof
credentialAtomicQuerySigV2
query object
Type of verified credential that the query will respond to
ProofOfValidKYC
URL of the JSON-LD schema containing the context for generating the proof
https://raw.githubusercontent.com/TC/W3CSchemas/main/KYC_test/KYC.jsonld
credentialSubject object
Fields of the context schema to be validated using the defined operator
field object
Name of the field to be validated
Comparison operator for the data to be validated, must be one of these six: $eq=Equals, $lt=Less-than, $gt=Greater-than, $in=In, $nin=Not-in, $ne=Not-equal
$eq
{
"id": "2ebed93f-079d-4564-b649-b99153c1d08d",
"thid": "2ebed93f-079d-4564-b649-b99153c1d08d",
"from": "did:polygonid:polygon:mumbai:2qEbsGmh6KdVcTcZ1vTqYfAybihrk1xz81qaDoc47j",
"typ": "application/iden3comm-plain-json",
"type": "https://iden3-communication.io/authorization/1.0/request",
"body": {
"reason": "ProofOfValidKYC",
"message": "Validation of holding a valid KYC through a zero-knowledge proof",
"callbackUrl": "https://dev-bsapi.token-city.com/zkProof/proof-kyc-callback?sessionId=1bf35d4c-7ccf-4e8e-aac2-fce7d75c32df",
"scope": [
{
"id": 1654984164,
"circuitId": "credentialAtomicQuerySigV2",
"query": {
"allowedIssuers": [
"did:polygonid:polygon:mumbai:2qEbsGmh6KdVcTcZ1vTqYfAybihrk1xz81qaDoc47j"
],
"type": "ProofOfValidKYC",
"context": "https://raw.githubusercontent.com/TC/W3CSchemas/main/KYC_test/KYC.jsonld",
"credentialSubject": {
"field": "kyc_validated"
}
}
}
]
}
}