Skip to content

Instantly share code, notes, and snippets.

@Xampy
Created August 14, 2023 08:05
Show Gist options
  • Save Xampy/69edbcd6dc146a088590676dbac33f0e to your computer and use it in GitHub Desktop.
Save Xampy/69edbcd6dc146a088590676dbac33f0e to your computer and use it in GitHub Desktop.
{
"sample:1": {
"columns": [
{
"path": "issuanceDate",
"encoder": "isodatetime-epoch-base32"
},
{
"path": "issuer",
"encoder": "string",
"prefix": [
"did:web:localhost"
]
},
{
"path": "id",
"encoder": "string"
},
{
"path": "proof.verificationMethod",
"encoder": "string",
"prefix": [
"did:web:localhost"
]
},
{
"path": "proof.proofValue",
"encoder": "multibase-base36"
},
{
"path": "proof.created",
"encoder": "isodatetime-epoch-base32"
},
{
"path": "credentialSubject.accronyme",
"encoder": "string"
},
{
"path": "credentialSubject.dateSignature",
"encoder": "string"
},
{
"path": "credentialSubject.numeroAttestation",
"encoder": "string"
},
{
"path": "credentialSubject.nomSignataire",
"encoder": "string"
},
{
"path": "credentialSubject.siege",
"encoder": "string"
},
{
"path": "credentialSubject.fonctionSignataire",
"encoder": "string"
},
{
"path": "credentialSubject.telephone",
"encoder": "string"
},
{
"path": "credentialSubject.ministre",
"encoder": "string"
},
{
"path": "credentialSubject.nom",
"encoder": "string"
},
{
"path": "credentialSubject.dateDelivranceRecepisse",
"encoder": "string"
},
{
"path": "credentialSubject.numeroRecepisse",
"encoder": "string"
},
{
"path": "credentialSubject.dateObtentionAttestation",
"encoder": "string"
},
{
"path": "credentialSubject.adresse",
"encoder": "string"
},
{
"path": "credentialSubject.email",
"encoder": "string"
}
],
"template": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/security/suites/ed25519-2020/v1",
"http://localhost/ong.jsonld"
],
"type": [
"VerifiableCredential"
],
"credentialSubject": {
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://w3id.org/security/suites/ed25519-2020/v1",
"http://localhost/ong.jsonld"
],
"type": "Ong",
"accronyme": "schema:name",
"dateSignature": "schema:name",
"numeroAttestation": "schema:name",
"nomSignataire": "schema:name",
"siege": "schema:name",
"fonctionSignataire": "schema:name",
"telephone": "schema:name",
"ministre": "schema:name",
"nom": "schema:name",
"dateDelivranceRecepisse": "schema:name",
"numeroRecepisse": "schema:name",
"dateObtentionAttestation": "schema:name",
"adresse": "schema:name",
"email": "schema:name"
},
"proof": {
"type": "Ed25519Signature2020",
"proofPurpose": "assertionMethod"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment