diff --git a/components/Challenge.yml b/components/Challenge.yml index 0535d13..0b800a7 100644 --- a/components/Challenge.yml +++ b/components/Challenge.yml @@ -34,35 +34,4 @@ components: uses: type: string description: The number of times options.challenge has been used - VerificationResultWithChallengeMetadata: - type: object - additionalProperties: false - description: Object summarizing a verification - properties: - checks: - type: array - description: The checks performed - items: - type: string - warnings: - type: array - description: Warnings - items: - type: string - errors: - type: array - description: Errors - items: - type: string - ChallengeVerificationMetadata: - type: object - additionalProperties: false - description: Metadata about the verification of options.challenge. - properties: - verified: - type: string - description: Whether verification of the challenge was successful - uses: - type: string - description: The number of times options.challenge has been used diff --git a/holder.yml b/holder.yml index fc6678c..9cbc6ee 100644 --- a/holder.yml +++ b/holder.yml @@ -268,9 +268,7 @@ paths: content: application/json: schema: - oneOf: - - $ref: "#/components/schemas/ProvePresentationResponse" - - $ref: "#/components/schemas/ProvePresentationResponseWithChallengeVerificationMetadata" + $ref: "#/components/schemas/ProvePresentationResponse" "400": description: invalid input! "500": @@ -503,13 +501,6 @@ components: properties: verifiablePresentation: $ref: "./components/VerifiablePresentation.yml#/components/schemas/VerifiablePresentation" - ProvePresentationResponseWithChallengeVerificationMetadata: - type: object - properties: - verifiablePresentation: - $ref: "./components/VerifiablePresentation.yml#/components/schemas/VerifiablePresentation" - ChallengeVerificationMetadata: - $ref: "./components/Challenge.yml#/components/schemas/ChallengeVerificationMetadata" NotifyPresentationAvailableRequest: type: object properties: diff --git a/verifier.yml b/verifier.yml index c121f8c..fcf3551 100644 --- a/verifier.yml +++ b/verifier.yml @@ -66,9 +66,8 @@ paths: content: application/json: schema: - oneOf: - - $ref: "#/components/schemas/VerifyPresentationResponse" - - $ref: "#/components/schemas/VerifyPresentationResponseWithChallengeMetadata" + $ref: "#/components/schemas/VerifyPresentationResponse" + "400": description: Invalid or malformed input "413": @@ -118,7 +117,5 @@ components: $ref: "./components/Presentation.yml#/components/schemas/Presentation" VerifyPresentationResponse: $ref: "./components/VerificationResult.yml#/components/schemas/VerificationResult" - VerifyPresentationResponseWithChallengeMetadata: - $ref: "./components/Challenge.yml#/components/schemas/VerificationResultWithChallengeMetadata" CreateChallengeResponse: $ref: "./components/Challenge.yml#/components/schemas/CreateChallengeResult"