8e830e78fe
* 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()
31 lines
1.1 KiB
JSON
31 lines
1.1 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",
|
|
"connectivity_option_list": "https://schema.org/connectivityOptionList",
|
|
"$ref": "https://schema.org/jsonSchemaRef"
|
|
}
|
|
],
|
|
"id": "{{ vc_id }}",
|
|
"type": ["VerifiableCredential", "HomeConnectivitySurveyCredential"],
|
|
"issuer": "{{ issuer_did }}",
|
|
"issuanceDate": "{{ issuance_date }}",
|
|
"credentialSubject": {
|
|
"id": "{{ subject_did }}",
|
|
"street_address": "{{ street_address }}",
|
|
"connectivity_option_list": "{{ connectivity_option_list }}",
|
|
"jsonSchema": {
|
|
"$ref": "https://gitea.pangea.org/trustchain-oc1-orchestral/schemas/UNDEF.json"
|
|
}
|
|
}
|
|
}
|