This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
ssikit_trustchain/vc_templates/old_or_deprecated/paremanel.json
Daniel Armengod 8e830e78fe Importados los cambios del repo "schemas" de gitea.
* Se mueven todos las plantillas no vigentes a la carpeta "deprecated"
  * Se arreglan los context de las plantillas nuevas importadas, pues no funcionaban tal como venían
  * Se modifica el script main.py para adecuar los tests a las nuevas plantillas

Queda VERIFICADO que:
  * Los @contexts actuales son el minimo imprescindible para funcionar, no se puede eliminar nada mas
  * El credential model v2 NO FUNCIONA con la libreria de didkit
  * Las plantillas tal como están en este commit verifican correctamente la función issue_vc_test()
2023-12-08 15:49:53 +01:00

31 lines
1.2 KiB
JSON

{
"@context": [
"https://www.w3.org/2018/credentials/v1",
{
"name": "https://schema.org/name",
"email": "https://schema.org/email",
"membershipType": "https://schema.org/memberOf",
"individual": "https://schema.org/Person",
"organization": "https://schema.org/Organization",
"Member": "https://schema.org/Member",
"startDate": "https://schema.org/startDate",
"jsonSchema": "https://schema.org/jsonSchema",
"street_address": "https://schema.org/streetAddress",
"financial_vulnerability_score": "https://schema.org/financialVulnerabilityScore",
"$ref": "https://schema.org/jsonSchemaRef"
}
],
"id": "{{ vc_id }}",
"type": ["VerifiableCredential", "FinancialSituationCredential"],
"issuer": "{{ issuer_did }}",
"issuanceDate": "{{ issuance_date }}",
"credentialSubject": {
"id": "{{ subject_did }}",
"street_address": "{{ street_address }}",
"financial_vulnerability_score": "{{ financial_vulnerability_score }}",
"jsonSchema": {
"$ref": "https://gitea.pangea.org/trustchain-oc1-orchestral/schemas/UNDEF.json"
}
}
}