Skip to content

Commit

Permalink
fix linting and add problem detail object reference
Browse files Browse the repository at this point in the history
Signed-off-by: pstlouis <[email protected]>
  • Loading branch information
PatStLouis committed Oct 1, 2024
1 parent 6f21128 commit 7e7c69e
Showing 1 changed file with 7 additions and 24 deletions.
31 changes: 7 additions & 24 deletions components/VerifyCredentialResult.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,11 @@ components:
credential:
type: object
description: The VerifiableCredential used as the verification input.
warnings:
problemDetails:
type: array
description: Array consisting of ProblemDetails warning objects.
items:
type: object
errors:
type: array
description: Array consisting of ProblemDetails error objects.
items:
type: object
description: Array consisting of ProblemDetails objects.
items:
$ref: "./components/ProblemDetails.yml#/components/schemas/ProblemDetails"
results:
type: object
additionalProperties: false
Expand All @@ -45,9 +40,6 @@ components:
valid:
type: boolean
description: Validation result.
message:
type: string
description: Optional information to provide in the response.
input:
type: string
description: The validFrom value.
Expand All @@ -58,9 +50,6 @@ components:
valid:
type: boolean
description: Validation result.
message:
type: string
description: Optional information to provide in the response.
input:
type: string
description: The validUntil value.
Expand All @@ -71,9 +60,9 @@ components:
type: object
description: Results from validating a credentialSchema object.
properties:
problemDetails:
type: [ProblemDetails]
description: Array of problem details objects
valid:
type: boolean
description: Results of validating the credentialSchema object.
input:
type: object
description: The credentialSchema object.
Expand All @@ -90,9 +79,6 @@ components:
valid:
type: boolean
description: Results of validating the credentialStatus object.
message:
type: string
description: Optional information to provide in the response.
input:
type: object
description: The credentialStatus object.
Expand All @@ -106,9 +92,6 @@ components:
valid:
type: boolean
description: Results of validating the proof object.
message:
type: string
description: Optional information to provide in the response.
input:
type: object
description: The proof object.
Expand Down

0 comments on commit 7e7c69e

Please sign in to comment.