title: VerifiedCredential
type: object
description: |
  A credential used to allow a user to prove their identity and access
  to an account with a DFSP.

  VerifiedCredential is a special formatting of Credential to allow us to be
  more explicit about the `status` field - it should only ever be VERIFIED when
  updating a credential.
properties:
  credentialType:
    $ref: ./CredentialType.yaml
  status:
    $ref: ./CredentialStatusVerified.yaml
  genericPayload:
    $ref: ./GenericCredential.yaml
  fidoPayload:
    $ref: ./FIDOPublicKeyCredentialAttestation.yaml
required:
  - credentialType
  - status
additionalProperties: false

