title: ConsentsIDPutResponseSigned
type: object
description: >
  The HTTP request `PUT /consents/{ID}` is used by the PISP to update a Consent
  with a signed challenge and register a credential.

  Called by a `PISP` to after signing a challenge. Sent to a DFSP for
  verification.
properties:
  status:
    $ref: ./ConsentStatusIssued.yaml
  scopes:
    type: array
    items:
      $ref: ./Scope.yaml
  credential:
    $ref: ./SignedCredential.yaml
  extensionList:
    $ref: ./ExtensionList.yaml
required:
  - scopes
  - credential
additionalProperties: false
