Dereferenced symlinks

This commit is contained in:
Daniel Armengod 2024-01-12 10:54:19 +01:00
parent dde81e23cc
commit 643a9d2949
9 changed files with 384 additions and 9 deletions

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_examples/base--data.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_examples/course-credential--data.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_templates/course-credential.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_examples/federation-membership--data.json

View file

@ -0,0 +1,12 @@
{
"credentialSubject": {
"federation": "Lafede.cat Federació dOrganitzacions 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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_templates/federation-membership.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_examples/financial-vulnerability--data.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_templates/financial-vulnerability.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_examples/membership-card--data.json

View file

@ -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"
}
}

View file

@ -1 +0,0 @@
/home/daniel/schemas/vc_templates/membership-card.json

View file

@ -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"
}
}