From 3f4bc9d7862068923fa7de8ae4347b13a9e26453 Mon Sep 17 00:00:00 2001 From: Rajaneesh Date: Tue, 22 Oct 2024 15:35:59 +0530 Subject: [PATCH] adding VC.evidence in the schema --- api/transaction/build/transaction.yaml | 6 +++++- schema/VC.yaml | 10 +++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/api/transaction/build/transaction.yaml b/api/transaction/build/transaction.yaml index dcdb173..60cf7ee 100644 --- a/api/transaction/build/transaction.yaml +++ b/api/transaction/build/transaction.yaml @@ -2391,10 +2391,14 @@ components: type: array items: $ref: '#/components/schemas/TagGroup' - status: + credentialStatus: type: array items: $ref: '#/components/schemas/Descriptor' + evidence: + type: array + items: + $ref: '#/components/schemas/TagGroup' Vehicle: description: 'Describes a vehicle is a device that is designed or used to transport people or cargo over land, water, air, or through space.
This has properties like category, capacity, make, model, size,variant,color,energy_type,registration' type: object diff --git a/schema/VC.yaml b/schema/VC.yaml index 6bf4e82..9f2c0c0 100644 --- a/schema/VC.yaml +++ b/schema/VC.yaml @@ -45,7 +45,7 @@ properties: format: date-time description: "The expiration date of the credential, if applicable." credentialSubject: #things about which claims are made. Example subjects include human beings, animals, and things. - type: array #Expressing information related to multiple subjects in a verifiable credential is possible, for example, 2 subjcts who ar spouses and, the credential is a relationship credential. + type: array #Expressing information related to multiple subjects in a verifiable credential is possible, for example, 2 subjcts who are spouses and, the credential is a relationship credential. items: properties: id: @@ -82,7 +82,11 @@ properties: type: array items: $ref: "./TagGroup.yaml" - status: + credentialStatus: type: array items: - $ref: "./Descriptor.yaml" \ No newline at end of file + $ref: "./Descriptor.yaml" + evidence: # The evidence property is used to express supporting information, such as documentary evidence, related to the verifiable credential. + type: array + items: + $ref: "./TagGroup.yaml" \ No newline at end of file