change PLACEHOLDER in creds for the correct value

This commit is contained in:
Cayo Puigdefabregas 2024-01-22 12:00:41 +01:00
parent c31b3cf3b2
commit 25434661dc
7 changed files with 79 additions and 198 deletions

View file

@ -22,19 +22,19 @@
"evidenceAssessment": "https://idhub.pangea.org/context/#evidenceAssessment" "evidenceAssessment": "https://idhub.pangea.org/context/#evidenceAssessment"
} }
], ],
"id": "[[PLACEHOLDER]]", "id": "{{ vc_id }}",
"type": [ "type": [
"VerifiableCredential", "VerifiableCredential",
"VerifiableAttestation", "VerifiableAttestation",
"CourseCredential" "CourseCredential"
], ],
"issuer": { "issuer": {
"id": "[[PLACEHOLDER]]", "id": "{{ issuer_did }}",
"name": "[[PLACEHOLDER]]" "name": "{{ organisation }}"
}, },
"issuanceDate": "[[PLACEHOLDER]]", "issuanceDate": "{{ issuance_date }}",
"validFrom": "[[PLACEHOLDER]]", "validFrom": "{{ issuance_date }}",
"validUntil": "[[PLACEHOLDER]]", "validUntil": "{{ validUntil }}",
"name": [ "name": [
{ {
"value": "NGO Course Credential for participants", "value": "NGO Course Credential for participants",
@ -49,26 +49,31 @@
"lang": "es" "lang": "es"
} }
], ],
"description": "A NGO Course Credential Schema awarded by a NGO federation and their NGO members, as proposed by Lafede.cat", "description": [
{
"value": "A NGO Course Credential Schema awarded by a NGO federation and their NGO members, as proposed by Lafede.cat",
"lang": "en"
}
],
"credentialSubject": { "credentialSubject": {
"id": "[[PLACEHOLDER]]", "id": "{{ subject_did }}",
"firstName": "[[PLACEHOLDER]]", "firstName": "{{ firstName }}",
"lastName": "[[PLACEHOLDER]]", "lastName": "{{ lastName }}",
"personalIdentifier": "[[PLACEHOLDER]]", "personalIdentifier": "{{ personalIdentifier }}",
"issuedDate": "[[PLACEHOLDER]]", "issuedDate": "{{ issuedDate }}",
"modeOfInstruction": "[[PLACEHOLDER]]", "modeOfInstruction": "{{ modeOfInstruction }}",
"courseDuration": "[[PLACEHOLDER]]", "courseDuration": "{{ courseDuration }}",
"courseDays": "[[PLACEHOLDER]]", "courseDays": "{{ courseDays }}",
"courseName": "[[PLACEHOLDER]]", "courseName": "{{ courseName }}",
"courseDescription": "[[PLACEHOLDER]]", "courseDescription": "{{ courseDescription }}",
"gradingScheme": "[[PLACEHOLDER]]", "gradingScheme": "{{ gradingScheme }}",
"scoreAwarded": "[[PLACEHOLDER]]", "scoreAwarded": "{{ scoreAwarded }}",
"qualificationAwarded": "[[PLACEHOLDER]]", "qualificationAwarded": "{{ qualificationAwarded }}",
"courseLevel": "[[PLACEHOLDER]]", "courseLevel": "{{ courseLevel }}",
"courseFramework": "[[PLACEHOLDER]]", "courseFramework": "{{ courseFramework }}",
"courseCredits": "[[PLACEHOLDER]]", "courseCredits": "{{ courseCredits }}",
"dateOfAssessment": "[[PLACEHOLDER]]", "dateOfAssessment": "{{ dateOfAssessment }}",
"evidenceAssessment": "[[PLACEHOLDER]]" "evidenceAssessment": "{{ evidenceAssessment }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/course-credential.json", "id": "https://idhub.pangea.org/vc_schemas/course-credential.json",

View file

@ -1,30 +0,0 @@
{
"@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"
}
}
}

View file

@ -23,19 +23,19 @@
"certificationDate": "https://idhub.pangea.org/context/#certificationDate" "certificationDate": "https://idhub.pangea.org/context/#certificationDate"
} }
], ],
"id": "[[PLACEHOLDER]]", "id": "{{ vc_id }}",
"type": [ "type": [
"VerifiableCredential", "VerifiableCredential",
"VerifiableAttestation", "VerifiableAttestation",
"FederationMembership" "FederationMembership"
], ],
"issuer": { "issuer": {
"id": "[[PLACEHOLDER]]", "id": "{{ issuer_did }}",
"name": "[[PLACEHOLDER]]" "name": "{{ organisation }}"
}, },
"issuanceDate": "[[PLACEHOLDER]]", "issuanceDate": "{{ issuance_date }}",
"validFrom": "[[PLACEHOLDER]]", "validFrom": "{{ issuance_date }}",
"validUntil": "[[PLACEHOLDER]]", "validUntil": "{{ validUntil }}",
"name": [ "name": [
{ {
"value": "NGO federation membership attestation credential", "value": "NGO federation membership attestation credential",
@ -56,33 +56,34 @@
"lang": "en" "lang": "en"
}, },
{ {
"value": "Credencial para ONG que son miembros de una federación de ONG" "value": "Credencial para ONG que son miembros de una federación de ONG",
"lang": "es"
}, },
{ {
"value": "Credencial per a les ONG que són membres d'una federació d'ONG", "value": "Credencial per a les ONG que són membres d'una federació d'ONG",
"lang": "es" "lang": "ca_ES"
} }
], ],
"credentialSubject": { "credentialSubject": {
"id": "[[PLACEHOLDER]]", "id": "{{ subject_did }}",
"federation": "[[PLACEHOLDER]]", "federation": "{{ federation }}",
"legalName": "[[PLACEHOLDER]]", "legalName": "{{ legalName }}",
"shortName": "[[PLACEHOLDER]]", "shortName": "{{ shortName }}",
"registrationIdentifier": "[[PLACEHOLDER]]", "registrationIdentifier": "{{ registrationIdentifier }}",
"publicRegistry": "[[PLACEHOLDER]]", "publicRegistry": "{{ publicRegistry }}",
"streetAddress": "[[PLACEHOLDER]]", "streetAddress": "{{ streetAddress }}",
"postCode": "[[PLACEHOLDER]]", "postCode": "{{ postCode }}",
"city": "[[PLACEHOLDER]]", "city": "{{ city }}",
"taxReference": "[[PLACEHOLDER]]", "taxReference": "{{ taxReference }}",
"membershipType": "[[PLACEHOLDER]]", "membershipType": "{{ membershipType }}",
"membershipStatus": "[[PLACEHOLDER]]", "membershipStatus": "{{ membershipStatus }}",
"membershipId": "[[PLACEHOLDER]]", "membershipId": "{{ membershipId }}",
"membershipSince": "[[PLACEHOLDER]]", "membershipSince": "{{ membershipSince }}",
"email": "[[PLACEHOLDER]]", "email": "{{ email }}",
"phone": "[[PLACEHOLDER]]", "phone": "{{ phone }}",
"website": "[[PLACEHOLDER]]", "website": "{{ website }}",
"evidence": "[[PLACEHOLDER]]", "evidence": "{{ evidence }}",
"certificationDate": "[[PLACEHOLDER]]" "certificationDate": "{{ certificationDate }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/federation-membership.json", "id": "https://idhub.pangea.org/vc_schemas/federation-membership.json",

View file

@ -4,20 +4,20 @@
"https://idhub.pangea.org/credentials/base/v1", "https://idhub.pangea.org/credentials/base/v1",
"https://idhub.pangea.org/credentials/financial-vulnerability/v1" "https://idhub.pangea.org/credentials/financial-vulnerability/v1"
], ],
"id": "[[PLACEHOLDER]]", "id": "{{ vc_id }}",
"type": [ "type": [
"VerifiableCredential", "VerifiableCredential",
"VerifiableAttestation", "VerifiableAttestation",
"FinancialVulnerabilityCredential" "FinancialVulnerabilityCredential"
], ],
"issuer": { "issuer": {
"id": "[[PLACEHOLDER]]", "id": "{{ issuer_did }}",
"name": "[[PLACEHOLDER]]" "name": "{{ organisation }}"
}, },
"issuanceDate": "[[PLACEHOLDER]]", "issuanceDate": "{{ issuance_date }}",
"issued": "[[PLACEHOLDER]]", "issued": "{{ issuance_date }}",
"validFrom": "[[PLACEHOLDER]]", "validFrom": "{{ issuance_date }}",
"validUntil": "[[PLACEHOLDER]]", "validUntil": "{{ validUntil }}",
"name": [ "name": [
{ {
"value": "Financial Vulnerability Credential", "value": "Financial Vulnerability Credential",
@ -47,20 +47,20 @@
} }
], ],
"credentialSubject": { "credentialSubject": {
"id": "[[PLACEHOLDER]]", "id": "{{ subject_did }}",
"firstName": "[[PLACEHOLDER]]", "firstName": "{{ firstName }}",
"lastName": "[[PLACEHOLDER]]", "lastName": "{{ lastName }}",
"email": "[[PLACEHOLDER]]", "email": "{{ email }}",
"identityDocType": "[[PLACEHOLDER]]", "identityDocType": "{{ identityDocType }}",
"identityNumber": "[[PLACEHOLDER]]", "identityNumber": "{{ identityNumber }}",
"phoneNumber": "[[PLACEHOLDER]]", "phoneNumber": "{{ phoneNumber }}",
"streetAddress": "[[PLACEHOLDER]]", "streetAddress": "{{ streetAddress }}",
"socialWorkerName": "[[PLACEHOLDER]]", "socialWorkerName": "{{ socialWorkerName }}",
"socialWorkerSurname": "[[PLACEHOLDER]]", "socialWorkerSurname": "{{ socialWorkerSurname }}",
"financialVulnerabilityScore": "[[PLACEHOLDER]]", "financialVulnerabilityScore": "{{ financialVulnerabilityScore }}",
"amountCoveredByOtherAids": "[[PLACEHOLDER]]", "amountCoveredByOtherAids": "{{ amountCoveredByOtherAids }}",
"connectivityOptionList": "[[PLACEHOLDER]]", "connectivityOptionList": "{{ connectivityOptionList }}",
"assessmentDate": "[[PLACEHOLDER]]" "assessmentDate": "{{ assessmentDate }}"
}, },
"credentialSchema": { "credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/financial-vulnerability.json", "id": "https://idhub.pangea.org/vc_schemas/financial-vulnerability.json",

View file

@ -1,32 +0,0 @@
{
"@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",
"$ref": "https://schema.org/jsonSchemaRef"
}
],
"type": ["VerifiableCredential", "VerifiableAttestation"],
"id": "{{ vc_id }}",
"issuer": "{{ issuer_did }}",
"issuanceDate": "{{ issuance_date }}",
"credentialSubject": {
"id": "{{ subject_did }}",
"Member": {
"name": "{{ name }}",
"email": "{{ email }}",
"membershipType": "{{ membershipType }}",
"startDate": "{{ startDate }}"
},
"jsonSchema": {
"$ref": "https://gitea.pangea.org/trustchain-oc1-orchestral/schemas/member-schema.json"
}
}
}

View file

@ -1,33 +0,0 @@
{
"@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",
"destination_country": "https://schema.org/destinationCountry",
"offboarding_date": "https://schema.org/offboardingDate",
"$ref": "https://schema.org/jsonSchemaRef"
}
],
"id": "{{ vc_id }}",
"type": ["VerifiableCredential", "MigrantRescueCredential"],
"issuer": "{{ issuer_did }}",
"issuanceDate": "{{ issuance_date }}",
"credentialSubject": {
"id": "{{ subject_did }}",
"name": "{{ name }}",
"country_of_origin": "{{ country_of_origin }}",
"rescue_date": "{{ rescue_date }}",
"destination_country": "{{ destination_country }}",
"offboarding_date": "{{ offboarding_date }}",
"jsonSchema": {
"$ref": "https://gitea.pangea.org/trustchain-oc1-orchestral/schemas/UNDEF.json"
}
}
}

View file

@ -1,30 +0,0 @@
{
"@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"
}
}
}