Skip to content

Commit

Permalink
adding VC.evidence in the schema
Browse files Browse the repository at this point in the history
  • Loading branch information
rajaneeshk90 committed Oct 23, 2024
1 parent 8873905 commit 3f4bc9d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion api/transaction/build/transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.<br>This has properties like category, capacity, make, model, size,variant,color,energy_type,registration'
type: object
Expand Down
10 changes: 7 additions & 3 deletions schema/VC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -82,7 +82,11 @@ properties:
type: array
items:
$ref: "./TagGroup.yaml"
status:
credentialStatus:
type: array
items:
$ref: "./Descriptor.yaml"
$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"

0 comments on commit 3f4bc9d

Please sign in to comment.