From 643a9d2949f10ced145b403dc61b67610ee6697d Mon Sep 17 00:00:00 2001 From: Daniel Armengod Date: Fri, 12 Jan 2024 10:54:19 +0100 Subject: [PATCH] Dereferenced symlinks --- vc_templates/base--data.json | 15 ++- vc_templates/course-credential--data.json | 22 ++++- vc_templates/course-credential.json | 79 +++++++++++++++- vc_templates/federation-membership--data.json | 13 ++- vc_templates/federation-membership.json | 92 ++++++++++++++++++- .../financial-vulnerability--data.json | 18 +++- vc_templates/financial-vulnerability.json | 70 +++++++++++++- vc_templates/membership-card--data.json | 16 +++- vc_templates/membership-card.json | 68 +++++++++++++- 9 files changed, 384 insertions(+), 9 deletions(-) mode change 120000 => 100644 vc_templates/base--data.json mode change 120000 => 100644 vc_templates/course-credential--data.json mode change 120000 => 100644 vc_templates/course-credential.json mode change 120000 => 100644 vc_templates/federation-membership--data.json mode change 120000 => 100644 vc_templates/federation-membership.json mode change 120000 => 100644 vc_templates/financial-vulnerability--data.json mode change 120000 => 100644 vc_templates/financial-vulnerability.json mode change 120000 => 100644 vc_templates/membership-card--data.json mode change 120000 => 100644 vc_templates/membership-card.json diff --git a/vc_templates/base--data.json b/vc_templates/base--data.json deleted file mode 120000 index f96f00d..0000000 --- a/vc_templates/base--data.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_examples/base--data.json \ No newline at end of file diff --git a/vc_templates/base--data.json b/vc_templates/base--data.json new file mode 100644 index 0000000..6e6ffae --- /dev/null +++ b/vc_templates/base--data.json @@ -0,0 +1,14 @@ +{ + "id": "https://idhub.pangea.org/credentials/987654321", + "issuer": { + "id": "did:example:5678", + "name": "Pangea Internet Solidari" + }, + "issuanceDate": "2023-12-06T19:23:24Z", + "issued": "2023-12-06T19:23:24Z", + "validFrom": "2023-12-06T19:23:24Z", + "validUntil": "2024-12-06T19:23:24Z", + "credentialSubject": { + "id": "did:example:1234" + } +} \ No newline at end of file diff --git a/vc_templates/course-credential--data.json b/vc_templates/course-credential--data.json deleted file mode 120000 index 9f334eb..0000000 --- a/vc_templates/course-credential--data.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_examples/course-credential--data.json \ No newline at end of file diff --git a/vc_templates/course-credential--data.json b/vc_templates/course-credential--data.json new file mode 100644 index 0000000..866f30c --- /dev/null +++ b/vc_templates/course-credential--data.json @@ -0,0 +1,21 @@ +{ + "credentialSubject": { + "firstName": "Joan", + "lastName": "Martí", + "personalIdentifier": "12345678A", + "issuedDate": "2023-12-13", + "modeOfInstruction": "online", + "courseDuration": 40, + "courseDays": 2, + "courseName": "Conflict Resolution Training", + "courseDescription": "This course provides an in-depth understanding of conflict resolution techniques and strategies.", + "gradingScheme": "pass/fail", + "scoreAwarded": 8, + "qualificationAwarded": "A", + "courseLevel": "intermediate", + "courseFramework": "placeholder course framework", + "courseCredits": 2, + "dateOfAssessment": "2023-12-15", + "evidenceAssessment": "final exam" + } +} \ No newline at end of file diff --git a/vc_templates/course-credential.json b/vc_templates/course-credential.json deleted file mode 120000 index 003c6b6..0000000 --- a/vc_templates/course-credential.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_templates/course-credential.json \ No newline at end of file diff --git a/vc_templates/course-credential.json b/vc_templates/course-credential.json new file mode 100644 index 0000000..6d309e9 --- /dev/null +++ b/vc_templates/course-credential.json @@ -0,0 +1,78 @@ +{ + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://idhub.pangea.org/credentials/base/v1", + { + "firstName": "https://idhub.pangea.org/context/#firstName", + "lastName": "https://idhub.pangea.org/context/#lastName", + "personalIdentifier": "https://idhub.pangea.org/context/#personalIdentifier", + "issuedDate": "https://idhub.pangea.org/context/#issuedDate", + "modeOfInstruction": "https://idhub.pangea.org/context/#modeOfInstruction", + "courseDuration": "https://idhub.pangea.org/context/#courseDuration", + "courseDays": "https://idhub.pangea.org/context/#courseDays", + "courseName": "https://idhub.pangea.org/context/#courseName", + "courseDescription": "https://idhub.pangea.org/context/#courseDescription", + "gradingScheme": "https://idhub.pangea.org/context/#gradingScheme", + "scoreAwarded": "https://idhub.pangea.org/context/#scoreAwarded", + "qualificationAwarded": "https://idhub.pangea.org/context/#qualificationAwarded", + "courseLevel": "https://idhub.pangea.org/context/#courseLevel", + "courseFramework": "https://idhub.pangea.org/context/#courseFramework", + "courseCredits": "https://idhub.pangea.org/context/#courseCredits", + "dateOfAssessment": "https://idhub.pangea.org/context/#dateOfAssessment", + "evidenceAssessment": "https://idhub.pangea.org/context/#evidenceAssessment" + } + ], + "id": "[[PLACEHOLDER]]", + "type": [ + "VerifiableCredential", + "VerifiableAttestation", + "CourseCredential" + ], + "issuer": { + "id": "[[PLACEHOLDER]]", + "name": "[[PLACEHOLDER]]" + }, + "issuanceDate": "[[PLACEHOLDER]]", + "validFrom": "[[PLACEHOLDER]]", + "validUntil": "[[PLACEHOLDER]]", + "name": [ + { + "value": "NGO Course Credential for participants", + "lang": "en" + }, + { + "value": "Credencial per participants d'un curs impartit per una ONG", + "lang": "ca_ES" + }, + { + "value": "Credencial para participantes de un curso impartido por una ONG", + "lang": "es" + } + ], + "description": "A NGO Course Credential Schema awarded by a NGO federation and their NGO members, as proposed by Lafede.cat", + "credentialSubject": { + "id": "[[PLACEHOLDER]]", + "firstName": "[[PLACEHOLDER]]", + "lastName": "[[PLACEHOLDER]]", + "personalIdentifier": "[[PLACEHOLDER]]", + "issuedDate": "[[PLACEHOLDER]]", + "modeOfInstruction": "[[PLACEHOLDER]]", + "courseDuration": "[[PLACEHOLDER]]", + "courseDays": "[[PLACEHOLDER]]", + "courseName": "[[PLACEHOLDER]]", + "courseDescription": "[[PLACEHOLDER]]", + "gradingScheme": "[[PLACEHOLDER]]", + "scoreAwarded": "[[PLACEHOLDER]]", + "qualificationAwarded": "[[PLACEHOLDER]]", + "courseLevel": "[[PLACEHOLDER]]", + "courseFramework": "[[PLACEHOLDER]]", + "courseCredits": "[[PLACEHOLDER]]", + "dateOfAssessment": "[[PLACEHOLDER]]", + "evidenceAssessment": "[[PLACEHOLDER]]" + }, + "credentialSchema": { + "id": "https://idhub.pangea.org/vc_schemas/course-credential.json", + "type": "FullJsonSchemaValidator2021" + } + } + \ No newline at end of file diff --git a/vc_templates/federation-membership--data.json b/vc_templates/federation-membership--data.json deleted file mode 120000 index c889028..0000000 --- a/vc_templates/federation-membership--data.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_examples/federation-membership--data.json \ No newline at end of file diff --git a/vc_templates/federation-membership--data.json b/vc_templates/federation-membership--data.json new file mode 100644 index 0000000..b51e00b --- /dev/null +++ b/vc_templates/federation-membership--data.json @@ -0,0 +1,12 @@ +{ + "credentialSubject": { + "federation": "Lafede.cat – Federació d’Organitzacions per a la Justícia global", + "legalName": "EDUALTER – EDUCACIÓ ALTERNATIVA", + "postCode": "08001", + "city": "Barcelona", + "membershipType": "full", + "membershipStatus": "active", + "membershipSince": "2022-01-01", + "certificationDate": "2021-12-13" + } +} \ No newline at end of file diff --git a/vc_templates/federation-membership.json b/vc_templates/federation-membership.json deleted file mode 120000 index 5a56e22..0000000 --- a/vc_templates/federation-membership.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_templates/federation-membership.json \ No newline at end of file diff --git a/vc_templates/federation-membership.json b/vc_templates/federation-membership.json new file mode 100644 index 0000000..0660117 --- /dev/null +++ b/vc_templates/federation-membership.json @@ -0,0 +1,91 @@ +{ + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://idhub.pangea.org/credentials/base/v1", + { + "federation": "https://idhub.pangea.org/context/#federation", + "legalName": "https://idhub.pangea.org/context/#legalName", + "shortName": "https://idhub.pangea.org/context/#shortName", + "registrationIdentifier": "https://idhub.pangea.org/context/#registrationIdentifier", + "publicRegistry": "https://idhub.pangea.org/context/#publicRegistry", + "streetAddress": "https://idhub.pangea.org/context/#streetAddress", + "postCode": "https://idhub.pangea.org/context/#postCode", + "city": "https://idhub.pangea.org/context/#city", + "taxReference": "https://idhub.pangea.org/context/#taxReference", + "membershipType": "https://idhub.pangea.org/context/#membershipType", + "membershipStatus": "https://idhub.pangea.org/context/#membershipStatus", + "membershipId": "https://idhub.pangea.org/context/#membershipId", + "membershipSince": "https://idhub.pangea.org/context/#membershipSince", + "email": "https://idhub.pangea.org/context/#email", + "phone": "https://idhub.pangea.org/context/#phone", + "website": "https://idhub.pangea.org/context/#website", + "evidence": "https://idhub.pangea.org/context/#evidence", + "certificationDate": "https://idhub.pangea.org/context/#certificationDate" + } + ], + "id": "[[PLACEHOLDER]]", + "type": [ + "VerifiableCredential", + "VerifiableAttestation", + "FederationMembership" + ], + "issuer": { + "id": "[[PLACEHOLDER]]", + "name": "[[PLACEHOLDER]]" + }, + "issuanceDate": "[[PLACEHOLDER]]", + "validFrom": "[[PLACEHOLDER]]", + "validUntil": "[[PLACEHOLDER]]", + "name": [ + { + "value": "NGO federation membership attestation credential", + "lang": "en" + }, + { + "value": "Credencial d'atestat de pertinença a federació d'ONG", + "lang": "ca_ES" + }, + { + "value": "Credencial de atestado de membresía de Federación de ONG", + "lang": "es" + } + ], + "description": [ + { + "value": "Credential for NGOs that are members of a NGO federation", + "lang": "en" + }, + { + "value": "Credencial para ONG que son miembros de una federación de ONG" + }, + { + "value": "Credencial per a les ONG que són membres d'una federació d'ONG", + "lang": "es" + } + ], + "credentialSubject": { + "id": "[[PLACEHOLDER]]", + "federation": "[[PLACEHOLDER]]", + "legalName": "[[PLACEHOLDER]]", + "shortName": "[[PLACEHOLDER]]", + "registrationIdentifier": "[[PLACEHOLDER]]", + "publicRegistry": "[[PLACEHOLDER]]", + "streetAddress": "[[PLACEHOLDER]]", + "postCode": "[[PLACEHOLDER]]", + "city": "[[PLACEHOLDER]]", + "taxReference": "[[PLACEHOLDER]]", + "membershipType": "[[PLACEHOLDER]]", + "membershipStatus": "[[PLACEHOLDER]]", + "membershipId": "[[PLACEHOLDER]]", + "membershipSince": "[[PLACEHOLDER]]", + "email": "[[PLACEHOLDER]]", + "phone": "[[PLACEHOLDER]]", + "website": "[[PLACEHOLDER]]", + "evidence": "[[PLACEHOLDER]]", + "certificationDate": "[[PLACEHOLDER]]" + }, + "credentialSchema": { + "id": "https://idhub.pangea.org/vc_schemas/federation-membership.json", + "type": "FullJsonSchemaValidator2021" + } + } \ No newline at end of file diff --git a/vc_templates/financial-vulnerability--data.json b/vc_templates/financial-vulnerability--data.json deleted file mode 120000 index fae915b..0000000 --- a/vc_templates/financial-vulnerability--data.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_examples/financial-vulnerability--data.json \ No newline at end of file diff --git a/vc_templates/financial-vulnerability--data.json b/vc_templates/financial-vulnerability--data.json new file mode 100644 index 0000000..f18af67 --- /dev/null +++ b/vc_templates/financial-vulnerability--data.json @@ -0,0 +1,17 @@ +{ + "credentialSubject": { + "firstName": "Joan", + "lastName": "Pera", + "email": "joan.pera@pangea.org", + "phoneNumber": "1234567890", + "identityDocType": "DNI", + "identityNumber": "12345678A", + "streetAddress": "Tallers 19 2-1 Barcelona", + "socialWorkerName": "Mireia", + "socialWorkerSurname": "Pujol", + "financialVulnerabilityScore": "5", + "amountCoveredByOtherAids": "20", + "connectivityOptionList": "fibre, mobile", + "assessmentDate": "2023-12-06" + } +} \ No newline at end of file diff --git a/vc_templates/financial-vulnerability.json b/vc_templates/financial-vulnerability.json deleted file mode 120000 index e5e9417..0000000 --- a/vc_templates/financial-vulnerability.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_templates/financial-vulnerability.json \ No newline at end of file diff --git a/vc_templates/financial-vulnerability.json b/vc_templates/financial-vulnerability.json new file mode 100644 index 0000000..35751c3 --- /dev/null +++ b/vc_templates/financial-vulnerability.json @@ -0,0 +1,69 @@ +{ + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://idhub.pangea.org/credentials/base/v1", + "https://idhub.pangea.org/credentials/financial-vulnerability/v1" + ], + "id": "[[PLACEHOLDER]]", + "type": [ + "VerifiableCredential", + "VerifiableAttestation", + "FinancialVulnerabilityCredential" + ], + "issuer": { + "id": "[[PLACEHOLDER]]", + "name": "[[PLACEHOLDER]]" + }, + "issuanceDate": "[[PLACEHOLDER]]", + "issued": "[[PLACEHOLDER]]", + "validFrom": "[[PLACEHOLDER]]", + "validUntil": "[[PLACEHOLDER]]", + "name": [ + { + "value": "Financial Vulnerability Credential", + "lang": "en" + }, + { + "value": "Credencial de Vulnerabilitat Financera", + "lang": "ca_ES" + }, + { + "value": "Credencial de Vulnerabilidad Financiera", + "lang": "es" + } + ], + "description": [ + { + "value": "The Financial Vulnerability Credential is issued to individuals or families to prove their financial vulnerability based on various factors, with the objective of presenting it to a third party to receive benefits or services.", + "lang": "en" + }, + { + "value": "La Credencial de Vulnerabilitat Financera és emesa a persones o famílies per acreditar la seva vulnerabilitat financera sobre la base de diversos factors, amb l'objectiu que la presentin a una tercera part per rebre beneficis o serveis.", + "lang": "ca_ES" + }, + { + "value": "La Credencial de Vulnerabilidad Financiera es emitida a personas o familias para acreditar su vulnerabilidad financiera con base en diversos factores, con el objetivo de que la presenten a una tercera parte para recibir beneficios o servicios.", + "lang": "es" + } + ], + "credentialSubject": { + "id": "[[PLACEHOLDER]]", + "firstName": "[[PLACEHOLDER]]", + "lastName": "[[PLACEHOLDER]]", + "email": "[[PLACEHOLDER]]", + "identityDocType": "[[PLACEHOLDER]]", + "identityNumber": "[[PLACEHOLDER]]", + "phoneNumber": "[[PLACEHOLDER]]", + "streetAddress": "[[PLACEHOLDER]]", + "socialWorkerName": "[[PLACEHOLDER]]", + "socialWorkerSurname": "[[PLACEHOLDER]]", + "financialVulnerabilityScore": "[[PLACEHOLDER]]", + "amountCoveredByOtherAids": "[[PLACEHOLDER]]", + "connectivityOptionList": "[[PLACEHOLDER]]", + "assessmentDate": "[[PLACEHOLDER]]" + }, + "credentialSchema": { + "id": "https://idhub.pangea.org/vc_schemas/financial-vulnerability.json", + "type": "FullJsonSchemaValidator2021" + } +} \ No newline at end of file diff --git a/vc_templates/membership-card--data.json b/vc_templates/membership-card--data.json deleted file mode 120000 index 2c8561e..0000000 --- a/vc_templates/membership-card--data.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_examples/membership-card--data.json \ No newline at end of file diff --git a/vc_templates/membership-card--data.json b/vc_templates/membership-card--data.json new file mode 100644 index 0000000..8f4247a --- /dev/null +++ b/vc_templates/membership-card--data.json @@ -0,0 +1,15 @@ +{ + "credentialSubject": { + "firstName": "Joan", + "lastName": "Pera", + "email": "joan.pera@pangea.org", + "typeOfPerson": "natural", + "identityDocType": "DNI", + "identityNumber": "12345678A", + "organisation": "Pangea", + "membershipType": "individual", + "membershipId": "123456", + "affiliatedSince": "2023-01-01T00:00:00Z", + "affiliatedUntil": "2024-01-01T00:00:00Z" + } +} \ No newline at end of file diff --git a/vc_templates/membership-card.json b/vc_templates/membership-card.json deleted file mode 120000 index 0f57dc8..0000000 --- a/vc_templates/membership-card.json +++ /dev/null @@ -1 +0,0 @@ -/home/daniel/schemas/vc_templates/membership-card.json \ No newline at end of file diff --git a/vc_templates/membership-card.json b/vc_templates/membership-card.json new file mode 100644 index 0000000..e3d1c15 --- /dev/null +++ b/vc_templates/membership-card.json @@ -0,0 +1,67 @@ +{ + "@context": [ + "https://www.w3.org/2018/credentials/v1", + "https://idhub.pangea.org/credentials/base/v1", + "https://idhub.pangea.org/credentials/membership-card/v1" + ], + "type": [ + "VerifiableCredential", + "VerifiableAttestation", + "MembershipCard" + ], + "id": "[[PLACEHOLDER]]", + "issuer": { + "id": "[[PLACEHOLDER]]", + "name": "[[PLACEHOLDER]]" + }, + "issuanceDate": "[[PLACEHOLDER]]", + "issued": "[[PLACEHOLDER]]", + "validFrom": "[[PLACEHOLDER]]", + "validUntil": "[[PLACEHOLDER]]", + "name": [ + { + "value": "Membership Card", + "lang": "en" + }, + { + "value": "Carnet de soci/a", + "lang": "ca_ES" + }, + { + "value": "Carnet de socio/a", + "lang": "es" + } + ], + "description": [ + { + "value": "The membership card specifies an individual's subscription or enrollment in specific services or benefits issued by an organization.", + "lang": "en" + }, + { + "value": "El carnet de soci especifica la subscripció o la inscripció d'un individu en serveis o beneficis específics emesos per una organització.", + "lang": "ca_ES" + }, + { + "value": "El carnet de socio especifica la suscripción o inscripción de un individuo en servicios o beneficios específicos emitidos por uns organización.", + "lang": "es" + } + ], + "credentialSubject": { + "id": "[[PLACEHOLDER]]", + "firstName": "[[PLACEHOLDER]]", + "lastName": "[[PLACEHOLDER]]", + "email": "[[PLACEHOLDER]]", + "typeOfPerson": "[[PLACEHOLDER]]", + "identityDocType": "[[PLACEHOLDER]]", + "identityNumber": "[[PLACEHOLDER]]", + "organisation": "[[PLACEHOLDER]]", + "membershipType": "[[PLACEHOLDER]]", + "membershipId": "[[PLACEHOLDER]]", + "affiliatedSince": "[[PLACEHOLDER]]", + "affiliatedUntil": "[[PLACEHOLDER]]" + }, + "credentialSchema": { + "id": "https://idhub.pangea.org/vc_schemas/membership-card.json", + "type": "FullJsonSchemaValidator2021" + } +} \ No newline at end of file