{
  "openapi": "3.1.0",
  "info": {
    "title": "Cloud Wallet API Documentation",
    "description": "Hovi Cloud Wallet API enables seamless creation and management of digital wallets for verifiable credentials in the cloud. It is designed for flexibility, allowing integration with any system or platform through standard REST interfaces. Compatible across all Hovi-supported ecosystems, the API offers a secure, scalable, and developer-friendly way to issue, store, and present credentials, without the need for local storage or device dependency.",
    "version": "v0.4.7"
  },
  "servers": [
    {
      "url": "https://cloudwallet.hovi.id",
      "description": "Production server"
    }
  ],
  "tags": [
    {
      "name": "Wallet",
      "description": " Wallet endpoints allow the creation, management, and deletion of wallets for storing and managing digital credentials."
    },
    {
      "name": "Connection",
      "description": "Connection endpoints facilitate the establishment and management of connections between wallets, enabling secure communication and data exchange."
    },
    {
      "name": "Credential",
      "description": "Credential endpoints facilitate the management of verifiable credentials, including offer preview, offer acceptance and deletion."
    },
    {
      "name": "Proof",
      "description": "Proof endpoints facilitate the generation and verification of cryptographic proofs using verifiable credentials, ensuring data integrity and authenticity."
    },
    {
      "name": "Webhook",
      "description": "Webhook endpoints allow the registration and management of webhooks for real-time notifications and updates."
    },
    {
      "name": "Webhook Events",
      "description": "DIDComm events delivered asynchronously to the webhook URL registered for the cloud wallet."
    }
  ],
  "paths": {
    "/wallet/create": {
      "post": {
        "tags": [
          "Wallet"
        ],
        "summary": "Create Wallet",
        "description": "This route is used to create a new wallet.",
        "responses": {
          "201": {
            "description": "Wallet created successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/createWalletResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/createWalletResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createWalletRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Cloud wallet API key for authentication. Can be found from studio's cloud wallet section",
            "schema": {
              "type": "string"
            },
            "example": "cw-openId-test-eyJhbGciOi....NxAIqH49PvSjzzk"
          }
        ],
        "security": []
      }
    },
    "/wallet/delete": {
      "delete": {
        "tags": [
          "Wallet"
        ],
        "summary": "Delete Wallet",
        "description": "This route is used to delete a wallet.",
        "responses": {
          "200": {
            "description": "Wallet deleted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWalletResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWalletResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/wallet/admin/delete": {
      "delete": {
        "tags": [
          "Wallet"
        ],
        "summary": "Admin Delete Wallet",
        "description": "Deletes a specific wallet by Ecosystem Admin. Requires Authorization header authentication.",
        "responses": {
          "200": {
            "description": "Wallet deleted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWalletResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWalletResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Wallet not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/missingAttributesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/missingAttributesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/adminDeleteWalletRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Cloud wallet API key for authentication. Can be found from studio's cloud wallet section",
            "schema": {
              "type": "string"
            },
            "example": "cw-openId-test-eyJhbGciOi....NxAIqH49PvSjzzk"
          }
        ],
        "security": []
      }
    },
    "/wallet/": {
      "get": {
        "tags": [
          "Wallet"
        ],
        "summary": "Get All Created Wallets",
        "description": "This route is used to get a list of created wallets per ecosystem.",
        "responses": {
          "200": {
            "description": "Wallet retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getWalletResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/getWalletResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "x-api-key",
            "in": "header",
            "required": true,
            "description": "Cloud wallet API key for authentication. Can be found from studio's cloud wallet section",
            "schema": {
              "type": "string"
            },
            "example": "cw-openId-test-eyJhbGciOi....NxAIqH49PvSjzzk"
          }
        ],
        "security": []
      }
    },
    "/credential/resolve-authorization-request-uri": {
      "post": {
        "tags": [
          "Credential"
        ],
        "summary": "Resolve OpenId Credential Authorization Request URI",
        "description": "This route is used to resolve an OpenId Credential Authorization Request URI.",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "URI resolved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/resolveCredentialAuthorizationRequestUriResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/resolveCredentialAuthorizationRequestUriResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/resolveCredentialAuthorizationRequestUriRequest"
              }
            }
          }
        }
      }
    },
    "/credential/preview-offer": {
      "post": {
        "tags": [
          "Credential"
        ],
        "summary": "Preview Credential Offer",
        "description": "This route is used to preview an Credential Offer. Protocols supported: didcomm, openid. Didcomm protocol requires credentialId and openid protocol requires credentialOfferUri.",
        "responses": {
          "200": {
            "description": "Credential offer previewed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/previewCredentialOfferResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/previewCredentialOfferResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/previewCredentialOfferRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/credential/accept-offer": {
      "post": {
        "tags": [
          "Credential"
        ],
        "summary": "Accept Credential Offer",
        "description": "This route is used to accept an Credential Offer. Protocols supported: didcomm, openid. Didcomm protocol requires credentialId and openid protocol requires credentialOfferUri.\n\n### Related holder webhook\nAfter the accepted DIDComm credential is stored, Hovi sends the following event to the cloud wallet webhook:\n\n- [Credential Stored](#tag/webhook-events/webhook/POST/holder-credential-exchange)",
        "responses": {
          "200": {
            "description": "Credential offer accepted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/acceptCredentialOfferResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/acceptCredentialOfferResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/acceptCredentialOfferRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/credential/decline-offer": {
      "post": {
        "tags": [
          "Credential"
        ],
        "summary": "Decline DIDComm Credential Offer",
        "description": "This route is used to decline an Credential Offer using didcomm protocol. This route is not supported for openid protocol.",
        "responses": {
          "200": {
            "description": "Credential offer declined successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/declineCredentialOfferResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/declineCredentialOfferResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/declineCredentialOfferRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/credential/received-offers": {
      "get": {
        "tags": [
          "Credential"
        ],
        "summary": "Get All Received Credential Offers",
        "description": "This route is used to retrieve all received Didcomm Credential Offers.\n\n### Related incoming holder webhook\nThis GET operation does not trigger a webhook. A credential offer can arrive asynchronously and produce this event before it appears in the returned records:\n\n- [Credential Offer Received](#tag/webhook-events/webhook/POST/holder-credential-exchange)",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Credential offers retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/retrieveCredentialOffersResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/retrieveCredentialOffersResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/credential/": {
      "get": {
        "tags": [
          "Credential"
        ],
        "summary": "Get All Stored Credentials",
        "description": "Deprecated: use GET /v2/credential to list the stored Credentials and GET /v2/credential/{credentialId} to retrieve one. This route is used to retrieve all stored Credentials.",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Credentials retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/allStoredCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/allStoredCredentialResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/credential/{credentialId}": {
      "delete": {
        "tags": [
          "Credential"
        ],
        "summary": "Delete Credential",
        "description": "This route is used to delete a stored Credential.",
        "parameters": [
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Unique identifier of the stored credential to retrieve, present, or delete from the wallet.",
            "example": "403c8b56-f69e-4d58-a918-a84572f18b8e"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Credential deleted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleteCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/deleteCredentialResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Credential not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/notFoundResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/notFoundResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/credential/": {
      "get": {
        "tags": [
          "Credential"
        ],
        "summary": "Get Stored Credentials",
        "description": "This route is used to retrieve the stored Credentials of the wallet, one page at a time and newest first. Each Credential is returned with its issuer and display metadata, without its attributes. Use the Get Credential route to retrieve one Credential with its attributes.",
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "description": "Page to return, starting at 1. Defaults to 1.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "description": "Number of Credentials per page. Defaults to 20, and can be at most 100.",
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "connectionId",
            "in": "query",
            "description": "Only return Credentials received over this DIDComm connection.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "description": "Only return Credentials stored on or after this date (ISO 8601).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "description": "Only return Credentials stored on or before this date (ISO 8601).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Credentials retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/storedCredentialListV2Response"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/storedCredentialListV2Response"
                }
              }
            }
          },
          "400": {
            "description": "Invalid paging or filter value."
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/v2/credential/{credentialId}": {
      "get": {
        "tags": [
          "Credential"
        ],
        "summary": "Get Credential",
        "description": "This route is used to retrieve one stored Credential with its attributes and the display labels of its claims.",
        "parameters": [
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Unique identifier of the stored credential to retrieve, present, or delete from the wallet.",
            "example": "403c8b56-f69e-4d58-a918-a84572f18b8e"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Credential retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/storedCredentialV2Response"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/storedCredentialV2Response"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "404": {
            "description": "Credential not found.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/notFoundResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/notFoundResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/proof/preview-request": {
      "post": {
        "tags": [
          "Proof"
        ],
        "summary": "Preview Proof Request",
        "description": "Preview a proof request. OpenID DCQL previews include matching credentials by query ID and mandatory all/any groups. DIDComm requires proofExchangeId and connectionId; OpenID requires proofRequestUri.",
        "responses": {
          "200": {
            "description": "Proof request previewed successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/previewProofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/previewProofRequestResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid credential selection or unsupported credential requirements."
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Matching credentials could not be loaded for this request."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/previewProofRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/proof/submit-presentation": {
      "post": {
        "tags": [
          "Proof"
        ],
        "summary": "Submit Proof Presentation",
        "description": "Submit a proof presentation. For OpenID DCQL, use selectedCredentials to choose one matching credential per query and satisfy every required group. DIDComm requires proofExchangeId; OpenID requires proofRequestUri.",
        "responses": {
          "200": {
            "description": "Proof presentation submitted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/submitProofPresentationResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/submitProofPresentationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid credential selection or unsupported credential requirements."
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          },
          "502": {
            "description": "Matching credentials could not be loaded for this request."
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/submitProofPresentation"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/proof/": {
      "get": {
        "tags": [
          "Proof"
        ],
        "summary": "Get All DIDComm Proof Requests",
        "description": "This route is used to get all proof didcomm requests.\n\n### Related incoming holder webhook\nThis GET operation does not trigger a webhook. A proof request can arrive asynchronously and produce this event before it appears in the returned records:\n\n- [Proof Request Received](#tag/webhook-events/webhook/POST/holder-proof-request-received)",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Proof requests retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/allProofRequestsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/allProofRequestsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/proof/{proofExchangeId}": {
      "get": {
        "tags": [
          "Proof"
        ],
        "summary": "Get Proof Request by ID",
        "description": "This route is used to get a proof request by id.",
        "parameters": [
          {
            "name": "proofExchangeId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Unique identifier of the proof exchange record created for a verification request. Here it is used to retrieve a proof request by `proofExchangeId`.",
            "example": "797fbc10-2810-44ea-9c1b-7d70833ea12e"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Proof request retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/proofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/proofRequestResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/proof/decline-request": {
      "post": {
        "tags": [
          "Proof"
        ],
        "summary": "Decline DIDComm Proof Request",
        "description": "This route is used to decline a proof request using didcomm protocol. This route is not supported for openid protocol.",
        "responses": {
          "200": {
            "description": "Proof request declined successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/declineProofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/declineProofRequestResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/declineProofRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/connection/": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Get All Connections",
        "description": "This route is used to get all connections.",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Connections retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getAllConnectionResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/getAllConnectionResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/connection/accept-invitation": {
      "post": {
        "tags": [
          "Connection"
        ],
        "summary": "Accept Out-of-Band Connection Invitation",
        "description": "This route is used to accept didcomm out-of-band connection invitation.\n\n### Related holder webhook\nAfter this operation, Hovi notifies the cloud wallet when the DIDComm connection request is sent and again when the connection is completed:\n\n- [Connection Event](#tag/webhook-events/webhook/POST/holder-connection-request-sent)",
        "responses": {
          "200": {
            "description": "Connection invitation accepted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/acceptConnectionInvitationResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/acceptConnectionInvitationResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/acceptConnectionInvitationRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    },
    "/connection/{connectionId}": {
      "get": {
        "tags": [
          "Connection"
        ],
        "summary": "Get Connection By Id",
        "description": "This route is used to get connection by id.",
        "parameters": [
          {
            "name": "connectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Unique identifier of the DIDComm connection record used to exchange credentials and proof requests. Here it is used to retrieve a proof request by `connectionId`.",
            "example": "a4508d13-33ca-4100-ab39-605401e54961"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Connection fetched successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getConnectionByIdResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/getConnectionByIdResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/webhook/register": {
      "post": {
        "tags": [
          "Webhook"
        ],
        "summary": "Register Webhook",
        "description": "This route is used to register a webhook.",
        "responses": {
          "201": {
            "description": "Webhook registered successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/registerWebhookResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/registerWebhookResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/registerWebhookRequest"
              }
            }
          }
        },
        "parameters": []
      }
    },
    "/webhook/": {
      "delete": {
        "tags": [
          "Webhook"
        ],
        "summary": "Delete Webhook",
        "description": "This route is used to delete a webhook.",
        "responses": {
          "200": {
            "description": "Webhook deleted successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWebhookResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/deleteWebhookResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/deleteWebhookRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      },
      "get": {
        "tags": [
          "Webhook"
        ],
        "summary": "Get Webhooks",
        "description": "This route is used to get registered webhooks.",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ],
        "responses": {
          "200": {
            "description": "Webhook retrieved successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getWebhookResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/getWebhookResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        }
      }
    },
    "/webhook/rotate-secret": {
      "post": {
        "tags": [
          "Webhook"
        ],
        "summary": "Rotate Webhook Secret",
        "description": "This route is used to rotate the signing secret for a registered webhook.",
        "responses": {
          "200": {
            "description": "Webhook secret rotated successfully.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/rotateWebhookSecretResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/rotateWebhookSecretResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/unauthorizedResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal server error.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/internalServerErrorResponse"
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/rotateWebhookSecretRequest"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Wallet access token. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_WALLET_ACCESS_TOKEN"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "HolderCredentialSelection": {
        "type": "object",
        "required": [
          "id",
          "credentialId"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Credential query ID from the proof preview."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "ID of a matching credential in the wallet."
          }
        }
      },
      "HolderCredentialRequirement": {
        "type": "object",
        "required": [
          "required",
          "mode",
          "queryIds"
        ],
        "properties": {
          "required": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Every returned group must be satisfied."
          },
          "mode": {
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "description": "all requires every query in this group. any requires one query. A request may contain multiple groups."
          },
          "queryIds": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Query IDs to match against credentialsByQueryId."
          }
        }
      },
      "HolderPreviewCredential": {
        "type": "object",
        "required": [
          "credentialId",
          "credentialType",
          "attributes"
        ],
        "properties": {
          "credentialId": {
            "type": "string",
            "description": "Wallet credential ID to use when selecting this candidate."
          },
          "credentialType": {
            "type": "string"
          },
          "communicationProtocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ]
          },
          "type": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": true,
            "description": "Disclosed attributes. mso_mdoc attributes are grouped by namespace."
          },
          "issuer": {
            "type": "string"
          },
          "issuanceDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CredentialAttributeValue": {
        "description": "A credential claim value. Values may be primitive, nested objects, or arrays; mdoc namespace buckets are represented as nested objects.",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CredentialAttributeValue"
            }
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CredentialAttributeValue"
            }
          }
        ]
      },
      "ImageAsset": {
        "title": "Image Asset",
        "type": "object",
        "description": "Reference to a hosted image (used for issuer/credential logos and background images shown in wallet UIs).",
        "example": {
          "url": "https://loremflickr.com/640/480",
          "alt": "Corwin and Sons"
        },
        "properties": {
          "url": {
            "type": "string",
            "format": "url",
            "example": "https://loremflickr.com/640/480",
            "description": "Direct URL to the image (the location where the image is hosted)."
          },
          "alt": {
            "type": "string",
            "example": "Corwin and Sons",
            "description": "Accessibility alt text for the image (text description shown to screen readers)."
          }
        }
      },
      "IssuerMetadata": {
        "title": "Issuer Metadata",
        "type": "object",
        "description": "Metadata describing the credential issuer (information about the organization that issued or offered the credential).",
        "example": {
          "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
          "name": "Business-focused zero administration framework",
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Corwin and Sons"
          }
        },
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "url",
            "example": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
            "description": "OpenID4VCI issuer endpoint URL (the issuer service the wallet communicates with)."
          },
          "name": {
            "type": "string",
            "example": "Business-focused zero administration framework",
            "description": "Human-readable name of the issuer (the issuer name shown to the user)."
          },
          "logo": {
            "$ref": "#/components/schemas/ImageAsset"
          }
        }
      },
      "CredentialDisplayMetadata": {
        "title": "Credential Display Metadata",
        "type": "object",
        "description": "Visual rendering metadata for a credential (controls how the credential is displayed in the wallet UI).",
        "example": {
          "name": "Patient Info",
          "description": "Proof of Patient Id",
          "textColor": "#f2f500",
          "backgroundImage": {
            "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
          },
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Schowalter, Wolff and Crona"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Patient Info",
            "description": "Display name of the credential (the title shown on the credential card)."
          },
          "description": {
            "type": "string",
            "example": "Proof of Patient Id",
            "description": "Human-readable description of the credential (explains what the credential represents)."
          },
          "textColor": {
            "type": "string",
            "example": "#f2f500",
            "description": "Hex color used for text rendered on the credential card (the foreground color)."
          },
          "backgroundImage": {
            "$ref": "#/components/schemas/ImageAsset"
          },
          "logo": {
            "$ref": "#/components/schemas/ImageAsset"
          }
        }
      },
      "ClaimDisplay": {
        "title": "Claim Display",
        "type": "object",
        "description": "Display metadata for a single credential claim (how one attribute of the credential is labelled and shown in wallet UIs).",
        "example": {
          "path": [
            "name"
          ],
          "mandatory": true,
          "labels": {
            "default": "Name"
          },
          "originalDisplay": [
            {
              "name": "Name"
            }
          ],
          "originalClaim": {
            "path": [
              "credentialSubject",
              "name"
            ],
            "display": [
              {
                "name": "Name"
              }
            ],
            "mandatory": true
          }
        },
        "properties": {
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "name"
            ],
            "description": "JSON path segments locating the claim within the credential (where this attribute lives in the data)."
          },
          "mandatory": {
            "type": "boolean",
            "example": true,
            "description": "Indicates whether this claim is mandatory (whether the claim must be present)."
          },
          "labels": {
            "type": "object",
            "description": "Locale-keyed display labels for the claim (the friendly names shown per language).",
            "properties": {
              "default": {
                "type": "string",
                "example": "Name",
                "description": "Default display label used when no locale-specific label applies."
              }
            }
          },
          "originalDisplay": {
            "type": "array",
            "description": "Original display entries as provided by the issuer metadata.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "example": "Name",
                  "description": "Display name for the claim."
                }
              }
            }
          },
          "originalClaim": {
            "type": "object",
            "description": "The original claim definition as declared by the issuer.",
            "properties": {
              "path": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "credentialSubject",
                  "name"
                ],
                "description": "Original JSON path to the claim in the source credential."
              },
              "display": {
                "type": "array",
                "description": "Original display entries for the claim.",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Name",
                      "description": "Original display name for the claim."
                    }
                  }
                }
              },
              "mandatory": {
                "type": "boolean",
                "example": true,
                "description": "Whether the original claim was mandatory."
              }
            }
          }
        }
      },
      "Connection": {
        "title": "Connection",
        "type": "object",
        "description": "A DIDComm connection record between the wallet and another agent (represents a secure peer-to-peer communication channel).",
        "example": {
          "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
          "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
          "connectionProtocol": "https://didcomm.org/didexchange/1.x",
          "state": "completed",
          "role": "requester",
          "accept": "auto",
          "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
          "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
          "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
          "theirLabel": "Cheqd Org",
          "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
          "createdAt": "2026-07-07T11:19:24.175Z",
          "updatedAt": "2026-07-07T11:19:24.426Z",
          "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "description": "Unique identifier of the connection (the UUID assigned to this connection)."
          },
          "invitationId": {
            "type": "string",
            "format": "uuid",
            "example": "a11bde0c-63f0-41bd-9a60-73acace9628d",
            "description": "Identifier of the invitation that created this connection (links back to the original invite)."
          },
          "connectionProtocol": {
            "type": "string",
            "example": "https://didcomm.org/didexchange/1.x",
            "description": "DIDComm protocol used to establish the connection (the handshake protocol identifier)."
          },
          "state": {
            "type": "string",
            "example": "completed",
            "description": "Current lifecycle state of the connection (for example, completed or pending)."
          },
          "role": {
            "type": "string",
            "example": "requester",
            "description": "Role played by the wallet in this connection (for example, requester or responder)."
          },
          "accept": {
            "type": "string",
            "example": "auto",
            "description": "Auto-acceptance mode for the connection (whether requests are accepted automatically)."
          },
          "theirDid": {
            "type": "string",
            "example": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
            "description": "Decentralized Identifier of the remote peer (the DID of the other party)."
          },
          "threadId": {
            "type": "string",
            "format": "uuid",
            "example": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
            "description": "Thread identifier correlating the connection messages (groups the related protocol messages)."
          },
          "myDid": {
            "type": "string",
            "example": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
            "description": "Decentralized Identifier of the wallet in this connection (the DID representing this wallet)."
          },
          "theirLabel": {
            "type": "string",
            "example": "Cheqd Org",
            "description": "Human-readable label of the remote peer (the display name of the other party)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
            "description": "URL of the remote peer logo/avatar (the image identifying the other party)."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "example": "2026-07-07T11:19:24.175Z",
            "description": "Timestamp when the connection was created (ISO 8601)."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "example": "2026-07-07T11:19:24.426Z",
            "description": "Timestamp when the connection was last updated (ISO 8601)."
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "example": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "description": "Alias identifier of the connection record (same value as connectionId)."
          }
        }
      },
      "createWalletRequest": {
        "title": "Create Wallet",
        "type": "object",
        "required": [
          "label",
          "secret"
        ],
        "description": "Request payload to provision a new cloud wallet (the data you send to create a wallet that stores and manages verifiable credentials).",
        "example": {
          "label": "Patient Info Wallet",
          "secret": "e8a0012c-17e7-439d-a390-81a54c3fa09c"
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "Patient Info Wallet",
            "description": "Human-readable name for the wallet (the friendly label shown to identify this wallet)."
          },
          "secret": {
            "type": "string",
            "example": "e8a0012c-17e7-439d-a390-81a54c3fa09c",
            "description": "Secret passphrase used to secure the wallet and to recover it later (keep this confidential; it acts as the wallet key)."
          }
        }
      },
      "createWalletResponse": {
        "title": "Create Wallet",
        "type": "object",
        "description": "Response payload returned after a cloud wallet is successfully created.",
        "example": {
          "success": true,
          "response": {
            "id": "77255e50-41d9-473e-824f-89f6cad390d6",
            "accessToken": "eyJhbGciOiJIUzI1NiJ9.ZXlKMFpXNWhibaJKWkNJNklqYzNNalUxWlRVd0xUUXhaRGt0TkRjelpTMDRNalJtTFRnNVpqWmpZV1F6T1RCa05pSXNJbWxoZENJNk1UYzByakkwTURFNU1YMD0.bA04OItcJYMjzJ7uRMcfiqxMMpjHrRlD9fGgFgnhlY4",
            "did": "did:key:z6MkwB4N3z1pAtmzVC3pa3khHJvw9bg44PGFmvwnFSVFVDeP",
            "seed": "eilIhLrvjg5XDc4asaNs4uvT5O0ipRoS6"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet was created without errors)."
          },
          "response": {
            "type": "object",
            "description": "The details of the newly created wallet.",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the wallet (the UUID assigned to this wallet)."
              },
              "accessToken": {
                "type": "string",
                "description": "JWT bearer token used to authenticate subsequent requests for this wallet (pass it in the Authorization header)."
              },
              "did": {
                "type": "string",
                "description": "Decentralized Identifier generated for the wallet (the DID that represents this wallet)."
              },
              "seed": {
                "type": "string",
                "description": "Cryptographic seed backing the wallet keys (used for key derivation and recovery; keep this secret)."
              }
            }
          }
        }
      },
      "getWalletResponse": {
        "title": "Get All Created Wallets",
        "type": "object",
        "description": "Response payload listing the wallets available to the authenticated user.",
        "example": {
          "success": true,
          "response": [
            {
              "walletId": "77255e50-41d9-473e-824f-89f6cad390d6",
              "label": "Employee Wallet",
              "did": "did:key:z6MkwB4N3z1pAtmzVC3pa3khHJvw9bg44PGFmvwnFSVFVDeP",
              "walletStatus": "active",
              "createdAt": "2025-03-18T09:30:00.000Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet list was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of wallet records.",
            "items": {
              "type": "object",
              "properties": {
                "walletId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the wallet (the UUID assigned to this wallet)."
                },
                "label": {
                  "type": "string",
                  "description": "Human-readable name of the wallet (the friendly label for this wallet)."
                },
                "did": {
                  "type": "string",
                  "description": "Decentralized Identifier representing the wallet (the DID of this wallet)."
                },
                "walletStatus": {
                  "type": "string",
                  "description": "Current status of the wallet (for example, active)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the wallet was created (ISO 8601)."
                }
              }
            }
          }
        }
      },
      "adminDeleteWalletRequest": {
        "title": "Admin Delete Wallet",
        "type": "object",
        "required": [
          "walletId"
        ],
        "description": "Request payload to delete a specific wallet as an ecosystem admin.",
        "example": {
          "walletId": "77255e50-41d9-473e-824f-89f6cad390d6"
        },
        "properties": {
          "walletId": {
            "type": "string",
            "format": "uuid",
            "example": "77255e50-41d9-473e-824f-89f6cad390d6",
            "description": "Unique identifier of the wallet to delete (the UUID assigned to this wallet)."
          }
        }
      },
      "deleteWalletResponse": {
        "title": "Delete Wallet",
        "type": "object",
        "description": "Response payload returned after a wallet is successfully deleted.",
        "example": {
          "success": true,
          "message": "Wallet deleted successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet was deleted without errors)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation message describing the result of the deletion."
          }
        }
      },
      "genericSuccessResponse": {
        "title": "Generic Success",
        "type": "object",
        "description": "Generic success envelope returned by operations that do not return a data payload.",
        "example": {
          "success": true,
          "message": "Operation completed successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "message": {
            "type": "string",
            "description": "Human-readable message describing the successful result."
          }
        }
      },
      "unauthorizedResponse": {
        "title": "Unauthorized",
        "type": "object",
        "description": "Error envelope returned when the request is not authenticated or the token is invalid.",
        "example": {
          "success": false,
          "message": "Unauthorized request"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message explaining the authorization failure."
          }
        }
      },
      "internalServerErrorResponse": {
        "title": "Internal Server Error",
        "type": "object",
        "description": "Error envelope returned when an unexpected server-side error occurs.",
        "example": {
          "success": false,
          "message": "Internal server error"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message describing the server error."
          }
        }
      },
      "missingAttributesResponse": {
        "title": "Missing Attributes",
        "type": "object",
        "description": "Error envelope returned when required attributes are missing from the request.",
        "example": {
          "success": false,
          "message": "Missing required attributes "
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message listing the missing required attributes."
          }
        }
      },
      "getAllConnectionResponse": {
        "title": "Get All Connections",
        "type": "object",
        "description": "Response payload listing all connections established by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
              "connectionProtocol": "https://didcomm.org/didexchange/1.x",
              "state": "completed",
              "role": "requester",
              "accept": "auto",
              "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
              "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
              "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
              "theirLabel": "Cheqd Org",
              "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
              "createdAt": "2026-07-07T11:19:24.175Z",
              "updatedAt": "2026-07-07T11:19:24.426Z",
              "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the connections were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of connection records.",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          }
        }
      },
      "getConnectionByIdResponse": {
        "title": "Get Connection By Id",
        "type": "object",
        "description": "Response payload returning the connection(s) matching the supplied connection identifier.",
        "example": {
          "success": true,
          "response": [
            {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
              "connectionProtocol": "https://didcomm.org/didexchange/1.x",
              "state": "completed",
              "role": "requester",
              "accept": "auto",
              "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
              "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
              "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
              "theirLabel": "Cheqd Org",
              "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
              "createdAt": "2026-07-07T11:19:24.175Z",
              "updatedAt": "2026-07-07T11:19:24.426Z",
              "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the connection was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array containing the matching connection record.",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          }
        }
      },
      "acceptConnectionInvitationRequest": {
        "title": "Accept Connection Invitation",
        "type": "object",
        "required": [
          "protocol",
          "invitation"
        ],
        "description": "Request payload to accept a connection invitation received from another agent (the data you send to establish a connection).",
        "example": {
          "protocol": "didcomm",
          "invitation": "https://studio.hovi.id/connection?oob=eyJAdHlwZSI6Imh0dHBzOi8vzGlkY29tbS5vcmcvb3V0LW9mLWJhbmQvaS4xL2ludml0YXRpb24iLCJAaWQiOiI0Nzg4ZmM3ZS0wYWM0LTQwYjAtOTczNi05M2ViMmQ0MWEwNDMiLCJsYWJlbCI6InRlc3QtbGFiZWwtNjQzMDIiLCJhY2NlcHQiOlsiZGlkY29tbS9haXAxIiwiZGlkY29tbS9haXAyO2Vudj1yZmMxOSJdLCJoYW5kc2hha2VfcHJvdG9jb2xzIjpbImh0dHBzOi8vZGlkY29tbS5vcmcvZGlkZXhjaGFuZ2UvMS4xIiwiaHR0cHM6Ly9kaWRjb21tLm9yZy9jb25uZWN0aW9ucy8xLjAiXSwic2VydmljZXMiOlt7ImlkIjoiI2lubGluZS0wIiwic2VydmljZUVuZHBvaW50IjoiaHR0cHM6Ly9jb3JlLWFnZW50LWRldi5ob3ZpLmlkL2FnZW50IiwidHlwZSI6ImRpZC1jb21tdW5pY2F0aW9uIiwicmVjaXBpZW50S2V5cyI6WyJkaWQ6a2V5Ono2TWt3NkF1eWVBU0FNcFg2cGExNWFKeHphSzFoZnF6SkRadUZSb0NuQnhEbVRmVSJdLCJyb3V0aW5nS2V5cyI6W119XSwiaW1hZ2VVcmwiOiJodHRwczovL2xvcmVtZmxpY2tyLmNvbS82NDAvNDgwIn0",
          "label": "Patient Info Wallet"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol used for the invitation (currently didcomm)."
          },
          "invitation": {
            "type": "string",
            "example": "https://studio.hovi.id/connection?oob=eyJAdHlwZSI6Imh0dHBzOi8vzGlkY29tbS5vcmcvb3V0LW9mLWJhbmQvaS4xL2ludml0YXRpb24iLCJAaWQiOiI0Nzg4ZmM3ZS0wYWM0LTQwYjAtOTczNi05M2ViMmQ0MWEwNDMiLCJsYWJlbCI6InRlc3QtbGFiZWwtNjQzMDIiLCJhY2NlcHQiOlsiZGlkY29tbS9haXAxIiwiZGlkY29tbS9haXAyO2Vudj1yZmMxOSJdLCJoYW5kc2hha2VfcHJvdG9jb2xzIjpbImh0dHBzOi8vZGlkY29tbS5vcmcvZGlkZXhjaGFuZ2UvMS4xIiwiaHR0cHM6Ly9kaWRjb21tLm9yZy9jb25uZWN0aW9ucy8xLjAiXSwic2VydmljZXMiOlt7ImlkIjoiI2lubGluZS0wIiwic2VydmljZUVuZHBvaW50IjoiaHR0cHM6Ly9jb3JlLWFnZW50LWRldi5ob3ZpLmlkL2FnZW50IiwidHlwZSI6ImRpZC1jb21tdW5pY2F0aW9uIiwicmVjaXBpZW50S2V5cyI6WyJkaWQ6a2V5Ono2TWt3NkF1eWVBU0FNcFg2cGExNWFKeHphSzFoZnF6SkRadUZSb0NuQnhEbVRmVSJdLCJyb3V0aW5nS2V5cyI6W119XSwiaW1hZ2VVcmwiOiJodHRwczovL2xvcmVtZmxpY2tyLmNvbS82NDAvNDgwIn0",
            "description": "Out-of-band invitation URL or encoded invitation payload to accept."
          },
          "label": {
            "type": "string",
            "example": "Patient Info Wallet",
            "description": "Optional label to associate with the newly created connection."
          }
        }
      },
      "acceptConnectionInvitationResponse": {
        "title": "Accept Connection Invitation",
        "type": "object",
        "description": "Response payload returned after accepting a connection invitation.",
        "example": {
          "success": true,
          "response": {
            "invitationId": "0fd2cb08-cfdf-48ca-a8ca-2716e3c6c747",
            "connectionId": "03cd162e-119f-4567-b2a1-f0d447cd1759",
            "state": "pending",
            "theirLabel": "Indicio Organization",
            "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/indicio-organization-image-1783423471805.svg%2Bxml"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the invitation was accepted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Details of the connection created from the accepted invitation.",
            "properties": {
              "invitationId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the accepted invitation."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the newly created connection."
              },
              "state": {
                "type": "string",
                "description": "Current lifecycle state of the connection (for example, pending)."
              },
              "theirLabel": {
                "type": "string",
                "description": "Human-readable label of the remote peer."
              },
              "imageUrl": {
                "type": "string",
                "format": "url",
                "description": "URL of the remote peer logo/avatar."
              }
            }
          }
        }
      },
      "resolveCredentialOfferUriRequest": {
        "title": "Resolve Credential Offer URI",
        "type": "object",
        "required": [
          "protocol",
          "credentialOfferUri"
        ],
        "description": "Request payload to resolve a credential offer URI into its full offer details (the data you send to inspect an incoming credential offer).",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (currently openid)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "The credential offer URI to resolve (the offer link received from an issuer)."
          }
        }
      },
      "resolveCredentialOfferUriResponse": {
        "title": "Resolve Credential Offer URI",
        "type": "object",
        "description": "Response payload containing the resolved details of a credential offer.",
        "example": {
          "success": true,
          "response": {
            "transactionCodeRequired": false,
            "transactionCode": {},
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Business-focused zero administration framework",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Corwin and Sons"
                }
              },
              "credential": {
                "name": "Patient Record SD 2",
                "backgroundImage": {},
                "logo": {}
              }
            },
            "claims": {
              "name": {
                "mandatory": true,
                "value_type": "string",
                "display": [
                  {
                    "name": "Name",
                    "locale": "en-US"
                  }
                ]
              },
              "age": {
                "mandatory": true,
                "value_type": "string",
                "display": [
                  {
                    "name": "Age",
                    "locale": "en-US"
                  }
                ]
              }
            },
            "credentialOffer": {
              "credential_issuer": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
              "credential_configuration_ids": [
                "patient_id_sd_15351.54_sd_jwt"
              ],
              "grants": {
                "urn:ietf:params:oauth:grant-type:pre-authorized_code": {
                  "pre-authorized_code": "984049492928698597207046"
                }
              },
              "credentials": [
                "patient_id_sd_15351.54_sd_jwt"
              ]
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer was resolved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The resolved credential offer details.",
            "properties": {
              "transactionCodeRequired": {
                "type": "boolean",
                "description": "Indicates whether a transaction code is required to accept the offer."
              },
              "transactionCode": {
                "type": "object",
                "description": "Transaction code metadata, when a transaction code is required."
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the offer.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  }
                }
              },
              "claims": {
                "type": "object",
                "description": "Offered claims keyed by claim name.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "mandatory": {
                      "type": "boolean",
                      "description": "Whether the claim is mandatory."
                    },
                    "value_type": {
                      "type": "string",
                      "description": "Expected data type of the claim value."
                    },
                    "display": {
                      "type": "array",
                      "description": "Localized display entries for the claim.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Display name of the claim."
                          },
                          "locale": {
                            "type": "string",
                            "description": "Locale for the display entry."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "credentialOffer": {
                "type": "object",
                "description": "The raw OpenID4VCI credential offer object.",
                "properties": {
                  "credential_issuer": {
                    "type": "string",
                    "format": "url",
                    "description": "Issuer endpoint that made the credential offer."
                  },
                  "credential_configuration_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Identifiers of the credential configurations included in the offer."
                  },
                  "grants": {
                    "type": "object",
                    "description": "Grant types supported by the offer (for example, pre-authorized code)."
                  },
                  "credentials": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Legacy list of credential configuration identifiers included in the offer."
                  }
                }
              }
            }
          }
        }
      },
      "previewCredentialOfferRequest": {
        "title": "Preview Credential Offer",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to preview a credential offer before accepting it (the data you send to see what a credential offer contains).",
        "example": {
          "protocol": "didcomm",
          "credentialExchangeId": "b5ef2f1f-454d-4ecc-aa11-2ca027f59843",
          "connectionId": "a4508d13-33ca-4100-ab39-605401e54961"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI to preview (used for the openid protocol)."
          },
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Credential exchange identifier to preview (used for the didcomm protocol)."
          },
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "bc3c4c3b-2c53-4d75-b7d9-583ec6cca94b",
            "description": "Connection identifier associated with the offer (used for the didcomm protocol)."
          }
        }
      },
      "previewCredentialOfferResponse": {
        "title": "Preview Credential Offer",
        "type": "object",
        "description": "Response payload containing a preview of the credential contained in an offer.",
        "example": {
          "success": true,
          "response": {
            "credentialType": "vc+sd-jwt",
            "communicationProtocol": "openid",
            "attributes": {
              "fullName": "Ernest Block",
              "age": "18"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Business-focused zero administration framework",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Corwin and Sons"
                }
              },
              "credential": {
                "name": "Patient Info",
                "description": "Proof of Patient Id",
                "textColor": "#f2f500",
                "backgroundImage": {
                  "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                },
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "claims": {
                "name": {
                  "path": [
                    "name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "name"
                    ],
                    "display": [
                      {
                        "name": "Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                }
              }
            },
            "codeflow": "pre-authorized",
            "transactionCodeInfo": {
              "codeRequired": true,
              "length": 4,
              "description": "Enter the code sent to your email"
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer preview was generated without errors)."
          },
          "response": {
            "type": "object",
            "description": "The previewed credential details.",
            "properties": {
              "credentialType": {
                "type": "string",
                "description": "Format/type of the offered credential (for example, vc+sd-jwt)."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid",
                  "didcomm"
                ],
                "description": "Protocol used to deliver the credential (for example, openid)."
              },
              "attributes": {
                "type": "object",
                "description": "Preview of credential claims keyed by attribute name, or by namespace and then attribute name for mdoc.",
                "additionalProperties": {
                  "$ref": "#/components/schemas/CredentialAttributeValue"
                }
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the offered credential.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  },
                  "claims": {
                    "type": "object",
                    "description": "Per-claim display metadata keyed by claim name.",
                    "additionalProperties": {
                      "$ref": "#/components/schemas/ClaimDisplay"
                    }
                  }
                }
              },
              "codeflow": {
                "type": "string",
                "description": "Authorization code flow used for issuance (for example, pre-authorized)."
              },
              "transactionCodeInfo": {
                "type": "object",
                "description": "Information about the transaction code required to accept the offer.",
                "properties": {
                  "codeRequired": {
                    "type": "boolean",
                    "description": "Whether a transaction code is required."
                  },
                  "length": {
                    "type": "number",
                    "description": "Expected length of the transaction code."
                  },
                  "description": {
                    "type": "string",
                    "description": "Explanation of how the transaction code is delivered to the holder."
                  }
                }
              }
            }
          }
        }
      },
      "notFoundResponse": {
        "type": "object",
        "description": "Response for not found scenarios."
      },
      "resolveCredentialAuthorizationRequestUriRequest": {
        "title": "Resolve Credential Authorization Request URI",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to resolve the authorization request URI for a credential offer that uses the authorization code flow.",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
          "clientId": "acme-corp-client-id",
          "redirectUri": "https://wallet.acme-corp.id/callback"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI for which to resolve the authorization request."
          },
          "clientId": {
            "type": "string",
            "example": "acme-corp-client-id",
            "description": "OAuth2 client identifier used for the authorization request."
          },
          "redirectUri": {
            "type": "string",
            "example": "https://wallet.acme-corp.id/callback",
            "description": "Redirect URI to which the authorization server returns the user."
          },
          "scope": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid"
            ],
            "description": "OAuth2 scopes to request. If omitted, scopes are taken from the credential offer."
          },
          "walletAttestationJwt": {
            "type": "string",
            "description": "Wallet attestation JWT presented during the authorization request."
          }
        }
      },
      "resolveCredentialAuthorizationRequestUriResponse": {
        "title": "Resolve Credential Authorization Request URI",
        "type": "object",
        "description": "Response payload containing the resolved authorization request details for a credential offer.",
        "example": {
          "success": true,
          "response": {
            "authorizationFlow": "Oauth2Redirect",
            "authorizationRequestUrl": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608/authorize?client_id=hovi-cloud-wallet&redirect_uri=https%3A%2F%2Fwallet.hovi.id%2Fcallback&response_type=code&scope=openid"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the authorization request was resolved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The resolved authorization request details.",
            "properties": {
              "authorizationFlow": {
                "type": "string",
                "description": "Authorization flow type to follow (for example, Oauth2Redirect)."
              },
              "authorizationRequestUrl": {
                "type": "string",
                "description": "URL the user must visit to authorize the credential issuance."
              }
            }
          }
        }
      },
      "acceptCredentialOfferRequest": {
        "title": "Accept Credential Offer",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to accept a credential offer and receive the credential into the wallet (the data you send to complete issuance).",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
          "codeflow": "pre-authorized",
          "preAuthorizedFlowOptions": {
            "transactionCode": "2412"
          }
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI to accept (used for the openid protocol)."
          },
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Credential exchange identifier to accept (used for the didcomm protocol)."
          },
          "codeflow": {
            "type": "string",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "example": "pre-authorized",
            "description": "Issuance code flow to use (either pre-authorized or authorization)."
          },
          "preAuthorizedFlowOptions": {
            "type": "object",
            "description": "Options used when accepting via the pre-authorized code flow.",
            "properties": {
              "transactionCode": {
                "type": "string",
                "example": "24121",
                "description": "Transaction code entered by the holder to authorize issuance."
              }
            }
          },
          "authorizationFlowOptions": {
            "type": "object",
            "description": "Options used when accepting via the authorization code flow.",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "example": "SplxlOBeZQQYbYS6WxSbIA",
                "description": "Authorization code returned by the authorization server."
              }
            }
          }
        }
      },
      "acceptCredentialOfferResponse": {
        "title": "Accept Credential Offer",
        "description": "Response payload returned after accepting a credential offer. The exact shape depends on the communication protocol used (OpenID4VCI or DIDComm).",
        "oneOf": [
          {
            "$ref": "#/components/schemas/acceptCredentialOfferOpenIdResponse"
          },
          {
            "$ref": "#/components/schemas/acceptCredentialOfferDidCommResponse"
          }
        ]
      },
      "acceptCredentialOfferOpenIdResponse": {
        "title": "Accept Credential Offer (OpenID)",
        "type": "object",
        "required": [
          "success",
          "response"
        ],
        "description": "Response returned after accepting a credential offer over the OpenID4VCI protocol.",
        "example": {
          "success": true,
          "response": {
            "id": "2552b099-d5b0-4f7f-83bc-00b3956b9cea",
            "communicationProtocol": "openid",
            "credentialType": "vc+sd-jwt",
            "attributes": {
              "age": "30",
              "name": "Miss Owen Fritsch"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://temp-dev-core-credo-agent.koyeb.app/agent/oid4vci/3edb50dd-10a4-48a3-8934-f91106cdd640",
                "name": "Customizable zero administration time-frame",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "credential": {
                "name": "Patient Info",
                "description": "Proof of Patient Id",
                "textColor": "#f2f500",
                "backgroundImage": {
                  "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                },
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "claims": {
                "name": {
                  "path": [
                    "name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "name"
                    ],
                    "display": [
                      {
                        "name": "Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                }
              }
            },
            "issuanceDate": "2026-07-20T11:47:36.816Z",
            "type": "PatientRecordSD",
            "issuer": "did:key:zDnaeXbPv7WMQSakiieDuySVGBxYPQzXeA5prLLmGutiBxAaY",
            "createdAt": "2025-12-23T06:28:38.664Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential was accepted without errors)."
          },
          "response": {
            "type": "object",
            "required": [
              "communicationProtocol"
            ],
            "description": "The accepted credential and its metadata.",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the stored credential."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid"
                ],
                "description": "Protocol used to receive the credential (openid)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format/type of the credential (for example, vc+sd-jwt)."
              },
              "attributes": {
                "type": "object",
                "description": "Credential claims keyed by attribute name, or by namespace and then attribute name for mdoc.",
                "additionalProperties": {
                  "$ref": "#/components/schemas/CredentialAttributeValue"
                }
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the credential.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  },
                  "claims": {
                    "type": "object",
                    "description": "Per-claim display metadata keyed by claim name.",
                    "additionalProperties": {
                      "$ref": "#/components/schemas/ClaimDisplay"
                    }
                  }
                }
              },
              "issuanceDate": {
                "type": "string",
                "format": "date-time",
                "description": "Date the credential was issued (ISO 8601)."
              },
              "type": {
                "type": "string",
                "description": "Credential type name (for example, PatientRecordSD)."
              },
              "issuer": {
                "type": "string",
                "description": "Decentralized Identifier of the issuer."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the credential record was created (ISO 8601)."
              }
            }
          }
        }
      },
      "acceptCredentialOfferDidCommResponse": {
        "title": "Accept Credential Offer (DIDComm)",
        "type": "object",
        "required": [
          "success",
          "response"
        ],
        "description": "Response returned after accepting a credential offer over the DIDComm protocol.",
        "example": {
          "success": true,
          "response": {
            "_tags": {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "role": "holder",
              "state": "offer-received",
              "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6"
            },
            "metadata": {
              "_anoncreds/credentialRequest": {
                "link_secret_blinding_data": {
                  "v_prime": "31775313156542560276437146916538965879326879309874386049800972775373284124023720978969238468149936760841210817907844036327737540062473713722369681935069121097785327484072663784947807421116005064694658030500919840418821017763043315335296066635981464669756597032535761341341041336980987774611386179734597847498919706164207373818496544050960040741792459144306722688858583115500334769256650572140721138023888560719837324165663598347301809678112761847746636076070597901587621330254963316263368558866420032651949528835009959357820739387482629691870443681015410047852113695880240697770068764469336388682172541770484790552133096778085217068902646813",
                  "vr_prime": null
                },
                "nonce": "172585678564026124472233",
                "link_secret_name": "58e82de8-a905-4fe1-9bd1-4a894cd378d0"
              },
              "_anoncreds/credential": {
                "credentialDefinitionId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/f1897447-d0dc-42b6-9156-db8760f684ba",
                "schemaId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/51791cd5-3ada-42c1-a2f1-f3dd21e97206"
              }
            },
            "credentials": [],
            "id": "7fa31628-6fc6-4e58-94da-366989e36120",
            "createdAt": "2026-07-07T11:42:30.372Z",
            "state": "request-sent",
            "role": "holder",
            "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6",
            "protocolVersion": "v2",
            "updatedAt": "2026-07-07T11:44:58.625Z",
            "credentialAttributes": [
              {
                "mime-type": "text/plain",
                "name": "name",
                "value": "Siam"
              },
              {
                "mime-type": "text/plain",
                "name": "age",
                "value": "24"
              }
            ]
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential offer was accepted without errors)."
          },
          "response": {
            "type": "object",
            "required": [
              "state",
              "role",
              "connectionId"
            ],
            "description": "The DIDComm credential exchange record.",
            "properties": {
              "_tags": {
                "type": "object",
                "description": "Internal tags describing the credential exchange (connection, role, state, thread)."
              },
              "metadata": {
                "type": "object",
                "description": "Protocol-specific metadata for the credential exchange (for example, AnonCreds request data)."
              },
              "credentials": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Credentials attached to the exchange (empty until issuance completes)."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the credential exchange."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was created (ISO 8601)."
              },
              "state": {
                "type": "string",
                "description": "Current state of the credential exchange."
              },
              "role": {
                "type": "string",
                "description": "Role of the wallet in the exchange (for example, holder)."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the connection over which the exchange occurs."
              },
              "threadId": {
                "type": "string",
                "format": "uuid",
                "description": "Thread identifier correlating the exchange messages."
              },
              "protocolVersion": {
                "type": "string",
                "description": "DIDComm issue-credential protocol version."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was last updated (ISO 8601)."
              },
              "credentialAttributes": {
                "type": "array",
                "description": "Attributes offered in the credential exchange.",
                "items": {
                  "type": "object",
                  "properties": {
                    "mime-type": {
                      "type": "string",
                      "description": "MIME type of the attribute value."
                    },
                    "name": {
                      "type": "string",
                      "description": "Attribute name."
                    },
                    "value": {
                      "type": "string",
                      "description": "Attribute value."
                    }
                  }
                }
              }
            }
          }
        }
      },
      "allStoredCredentialResponse": {
        "title": "Get Stored Credentials",
        "type": "object",
        "description": "Response payload listing all credentials stored in the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
              "createdAt": "2025-03-18T09:06:17.491Z",
              "updatedAt": "2025-03-18T09:06:17.491Z",
              "communicationProtocol": "openid",
              "credentialType": "vc+sd-jwt",
              "issuer": "did:key:z6MkkXxeGTt6GZvQ8RvuCGckgtvVLJD8RSmH4EZm9jug6JFo",
              "holder": "did:key:z6MksAC7hNLTsBEirsh35pNruC6ZdmH5czE3UTSWCSyQbear#z6MksAC7hNLTsBEirsh35pNruC6ZdmH5czE3UTSWCSyQbear",
              "type": "Employee Record Credential",
              "name": "Employee Record Credential",
              "attributes": {
                "family_name": "John Doe",
                "email": "john.doe@example.com",
                "employee_id": "emp-123456",
                "given_name": "John",
                "issued_at": "2025-03-18T09:06:17.491Z",
                "department": "Engineering"
              },
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                  "name": "Business-focused zero administration framework",
                  "logo": {
                    "url": "https://loremflickr.com/640/480",
                    "alt": "Corwin and Sons"
                  }
                },
                "credential": {
                  "name": "Employee Record Credential",
                  "textColor": "#000000",
                  "backgroundImage": {
                    "url": "https://hovi.blob.core.windows.net/studio-assets/default-images/credentialTemplateTheme.jpg"
                  },
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eu-org-image-1782979616602.svg%2Bxml",
                    "alt": "EU Org"
                  }
                },
                "claims": {
                  "given_name": {
                    "path": [
                      "given_name"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Given Name"
                    },
                    "originalDisplay": [
                      {
                        "name": "Given Name"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "given_name"
                      ],
                      "display": [
                        {
                          "name": "Given Name"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "family_name": {
                    "path": [
                      "family_name"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Family Name"
                    },
                    "originalDisplay": [
                      {
                        "name": "Family Name"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "family_name"
                      ],
                      "display": [
                        {
                          "name": "Family Name"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "email": {
                    "path": [
                      "email"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Email"
                    },
                    "originalDisplay": [
                      {
                        "name": "Email"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "email"
                      ],
                      "display": [
                        {
                          "name": "Email"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "employee_id": {
                    "path": [
                      "employee_id"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Employee Id"
                    },
                    "originalDisplay": [
                      {
                        "name": "Employee Id"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "employee_id"
                      ],
                      "display": [
                        {
                          "name": "Employee Id"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "department": {
                    "path": [
                      "department"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Department"
                    },
                    "originalDisplay": [
                      {
                        "name": "Department"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "department"
                      ],
                      "display": [
                        {
                          "name": "Department"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "issued_at": {
                    "path": [
                      "issued_at"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Issued At"
                    },
                    "originalDisplay": [
                      {
                        "name": "Issued At"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "issued_at"
                      ],
                      "display": [
                        {
                          "name": "Issued At"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credentials were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of stored credential records.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the stored credential."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the credential was stored (ISO 8601)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the credential was last updated (ISO 8601)."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid",
                    "didcomm"
                  ],
                  "description": "Protocol used to receive the credential (for example, openid)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "Format/type of the credential (for example, vc+sd-jwt)."
                },
                "issuer": {
                  "type": "string",
                  "description": "Decentralized Identifier of the issuer."
                },
                "holder": {
                  "type": "string",
                  "description": "Decentralized Identifier of the credential holder (this wallet)."
                },
                "type": {
                  "type": "string",
                  "description": "Credential type name."
                },
                "name": {
                  "type": "string",
                  "description": "Display name of the credential."
                },
                "attributes": {
                  "type": "object",
                  "description": "Disclosed credential attributes keyed by attribute name.",
                  "additionalProperties": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "object"
                      },
                      {
                        "type": "array"
                      }
                    ]
                  }
                },
                "metadata": {
                  "type": "object",
                  "description": "Issuer and credential display metadata for the stored credential.",
                  "properties": {
                    "issuer": {
                      "$ref": "#/components/schemas/IssuerMetadata"
                    },
                    "credential": {
                      "$ref": "#/components/schemas/CredentialDisplayMetadata"
                    },
                    "claims": {
                      "type": "object",
                      "description": "Per-claim display metadata keyed by claim name.",
                      "additionalProperties": {
                        "$ref": "#/components/schemas/ClaimDisplay"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "deleteCredentialResponse": {
        "title": "Delete Credential",
        "type": "object",
        "description": "Response payload returned after a stored credential is successfully deleted.",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential was deleted without errors)."
          }
        }
      },
      "storedCredentialListV2Response": {
        "title": "Get Stored Credentials (v2)",
        "type": "object",
        "description": "One page of the credentials stored in the wallet, newest first. Credentials are returned without their attributes.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
                "claimFormat": "dc+sd-jwt",
                "createdAt": "2025-03-18T09:06:17.491Z",
                "metadata": {
                  "issuer": {
                    "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                    "name": "Acme Corp",
                    "logo": {
                      "url": "https://acme-corp.id/logo.png",
                      "alt": "Acme Corp logo"
                    }
                  },
                  "credential": {
                    "name": "Employee Record Credential",
                    "description": "Proof of employment at Acme Corp",
                    "textColor": "#FFFFFF",
                    "backgroundImage": {
                      "url": "https://acme-corp.id/card.png"
                    }
                  }
                }
              }
            ],
            "pagination": {
              "page": 1,
              "limit": 20,
              "total": 1,
              "totalPages": 1,
              "hasNextPage": false,
              "hasPreviousPage": false
            }
          }
        },
        "required": [
          "success",
          "response"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "required": [
              "credentials",
              "pagination"
            ],
            "properties": {
              "credentials": {
                "type": "array",
                "description": "The credentials of the requested page.",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "createdAt",
                    "metadata"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Credential ID. Use it to retrieve, present or delete the credential."
                    },
                    "claimFormat": {
                      "type": "string",
                      "example": "dc+sd-jwt",
                      "description": "Encoding format of the credential: dc+sd-jwt, vc+sd-jwt, mso_mdoc, jwt_vc, ldp_vc or vc+jwt. An AnonCreds credential is stored in W3C form and reports ldp_vc."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "When the credential was stored in the wallet (ISO 8601)."
                    },
                    "metadata": {
                      "type": "object",
                      "required": [
                        "credential"
                      ],
                      "description": "Issuer and display metadata of the credential.",
                      "properties": {
                        "issuer": {
                          "type": "object",
                          "description": "Issuer of the credential. Taken from the credential offer for OpenID credentials and from the connection for DIDComm credentials.",
                          "properties": {
                            "endpoint": {
                              "type": "string",
                              "description": "Credential issuer endpoint (OpenID credentials)."
                            },
                            "name": {
                              "type": "string",
                              "description": "Display name of the issuer."
                            },
                            "logo": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            },
                            "connectionId": {
                              "type": "string",
                              "description": "DIDComm connection the credential was received over (DIDComm credentials)."
                            }
                          }
                        },
                        "credential": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "description": "How the credential is displayed.",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "Display name of the credential. Falls back to the credential type when the issuer supplied no display name."
                            },
                            "description": {
                              "type": "string",
                              "description": "Description of the credential."
                            },
                            "textColor": {
                              "type": "string",
                              "description": "Text colour to render the credential with."
                            },
                            "backgroundImage": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            },
                            "logo": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "pagination": {
                "type": "object",
                "required": [
                  "page",
                  "limit",
                  "total",
                  "totalPages",
                  "hasNextPage",
                  "hasPreviousPage"
                ],
                "properties": {
                  "page": {
                    "type": "integer",
                    "description": "The returned page, starting at 1."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "Number of credentials per page."
                  },
                  "total": {
                    "type": "integer",
                    "description": "Number of credentials matching the filters, across all pages."
                  },
                  "totalPages": {
                    "type": "integer",
                    "description": "Number of pages."
                  },
                  "hasNextPage": {
                    "type": "boolean",
                    "description": "Whether a page follows this one."
                  },
                  "hasPreviousPage": {
                    "type": "boolean",
                    "description": "Whether a page precedes this one."
                  }
                }
              }
            }
          }
        }
      },
      "storedCredentialV2Response": {
        "title": "Get Credential (v2)",
        "type": "object",
        "description": "One stored credential with its attributes and the display labels of its claims.",
        "example": {
          "success": true,
          "response": {
            "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "createdAt": "2025-03-18T09:06:17.491Z",
            "updatedAt": "2025-03-18T09:06:17.491Z",
            "claimFormat": "dc+sd-jwt",
            "issuer": "did:key:z6MkkXxeGTt6GZvQ8RvuCGckgtvVLJD8RSmH4EZm9jug6JFo",
            "attributes": {
              "given_name": "John",
              "family_name": "Doe",
              "employee_id": "emp-123456"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Acme Corp",
                "logo": {
                  "url": "https://acme-corp.id/logo.png",
                  "alt": "Acme Corp logo"
                }
              },
              "credential": {
                "name": "Employee Record Credential",
                "description": "Proof of employment at Acme Corp"
              },
              "claims": {
                "given_name": {
                  "path": [
                    "given_name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Given Name"
                  }
                }
              }
            }
          }
        },
        "required": [
          "success",
          "response"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "required": [
              "id",
              "attributes",
              "metadata"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Credential ID."
              },
              "createdAt": {
                "type": "string",
                "description": "When the credential was stored in the wallet (ISO 8601)."
              },
              "updatedAt": {
                "type": "string",
                "description": "When the stored credential was last updated (ISO 8601)."
              },
              "claimFormat": {
                "type": "string",
                "example": "dc+sd-jwt",
                "description": "Encoding format of the credential: dc+sd-jwt, vc+sd-jwt, mso_mdoc, jwt_vc, ldp_vc or vc+jwt. An AnonCreds credential is stored in W3C form and reports ldp_vc."
              },
              "issuer": {
                "type": "string",
                "description": "Identifier of the issuer. For an mdoc, the issuer certificate in PEM format."
              },
              "holder": {
                "type": "string",
                "description": "Identifier of the holder, when the credential is bound to one."
              },
              "attributes": {
                "type": "object",
                "description": "The claims of the credential. An mdoc groups them by namespace."
              },
              "issuanceDate": {
                "type": "string",
                "description": "When the credential was issued, when the credential states it."
              },
              "expirationDate": {
                "type": "string",
                "description": "When the credential expires, when the credential states it."
              },
              "metadata": {
                "type": "object",
                "required": [
                  "credential"
                ],
                "description": "Issuer and display metadata of the credential.",
                "properties": {
                  "issuer": {
                    "type": "object",
                    "description": "Issuer of the credential. Taken from the credential offer for OpenID credentials and from the connection for DIDComm credentials.",
                    "properties": {
                      "endpoint": {
                        "type": "string",
                        "description": "Credential issuer endpoint (OpenID credentials)."
                      },
                      "name": {
                        "type": "string",
                        "description": "Display name of the issuer."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      },
                      "connectionId": {
                        "type": "string",
                        "description": "DIDComm connection the credential was received over (DIDComm credentials)."
                      }
                    }
                  },
                  "credential": {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "description": "How the credential is displayed.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the credential. Falls back to the credential type when the issuer supplied no display name."
                      },
                      "description": {
                        "type": "string",
                        "description": "Description of the credential."
                      },
                      "textColor": {
                        "type": "string",
                        "description": "Text colour to render the credential with."
                      },
                      "backgroundImage": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      }
                    }
                  },
                  "claims": {
                    "type": "object",
                    "description": "Display labels per claim, keyed by claim path. Only present when the issuer supplied them."
                  }
                }
              }
            }
          }
        }
      },
      "retrieveCredentialOffersResponse": {
        "title": "Retrieve Credential Offers",
        "type": "object",
        "description": "Response payload listing the pending credential offers received by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "7fa31628-6fc6-4e58-94da-366989e36120",
              "state": "pending",
              "role": "holder",
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6",
              "createdAt": "2026-07-07T11:42:34.907Z",
              "updatedAt": "2026-07-07T11:42:34.907Z",
              "id": "7fa31628-6fc6-4e58-94da-366989e36120"
            },
            {
              "id": "9476f9b6-e8d3-4df3-ac4f-adf3754aa660",
              "createdAt": "2026-07-07T11:44:59.450Z",
              "updatedAt": "2026-07-07T11:44:59.474Z",
              "communicationProtocol": "didcomm",
              "credentialType": "ldp_vc",
              "issuer": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292",
              "name": "Anoncreds",
              "schemaId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/51791cd5-3ada-42c1-a2f1-f3dd21e97206",
              "credentialDefinitionId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/f1897447-d0dc-42b6-9156-db8760f684ba",
              "context": [
                "https://www.w3.org/2018/credentials/v1",
                "https://w3id.org/security/data-integrity/v2",
                {
                  "@vocab": "https://www.w3.org/ns/credentials/issuer-dependent#"
                }
              ],
              "issuanceDate": "2026-07-07T11:44:59.398252404Z",
              "attributes": {
                "fullName": "Ernest Block",
                "age": 18
              },
              "metadata": {
                "issuer": {
                  "name": "Cheqd Org",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
                    "alt": "Cheqd Org"
                  }
                },
                "credential": {}
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential offers were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of pending credential offer records. Shapes vary slightly between the openid and didcomm protocols.",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the credential exchange."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the offer record."
                },
                "state": {
                  "type": "string",
                  "description": "Current state of the credential offer."
                },
                "role": {
                  "type": "string",
                  "description": "Role of the wallet in the exchange."
                },
                "connectionId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the associated connection."
                },
                "threadId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Thread identifier correlating the exchange messages."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the offer was received (ISO 8601)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the offer was last updated (ISO 8601)."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid",
                    "didcomm"
                  ],
                  "description": "Protocol used for the offer (openid or didcomm)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "Format/type of the offered credential."
                },
                "issuer": {
                  "type": "string",
                  "description": "Decentralized Identifier of the issuer."
                },
                "name": {
                  "type": "string",
                  "description": "Display name of the offered credential."
                },
                "schemaId": {
                  "type": "string",
                  "description": "Identifier of the credential schema (didcomm/AnonCreds)."
                },
                "credentialDefinitionId": {
                  "type": "string",
                  "description": "Identifier of the credential definition (didcomm/AnonCreds)."
                },
                "context": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  },
                  "description": "JSON-LD context entries for the credential."
                },
                "issuanceDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Date the credential was issued (ISO 8601)."
                },
                "attributes": {
                  "type": "object",
                  "description": "Offered credential attributes keyed by attribute name.",
                  "additionalProperties": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      }
                    ]
                  }
                },
                "metadata": {
                  "type": "object",
                  "description": "Issuer and credential display metadata for the offer.",
                  "properties": {
                    "issuer": {
                      "$ref": "#/components/schemas/IssuerMetadata"
                    },
                    "credential": {
                      "$ref": "#/components/schemas/CredentialDisplayMetadata"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "declineCredentialOfferRequest": {
        "title": "Decline Credential Offer",
        "type": "object",
        "required": [
          "protocol",
          "credentialId"
        ],
        "description": "Request payload to decline a pending credential offer (the data you send to reject an incoming credential).",
        "example": {
          "protocol": "didcomm",
          "credentialId": "551d4177-c82e-4682-b3ff-3a0414635e88"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the offer (currently didcomm)."
          },
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the credential offer to decline."
          }
        }
      },
      "declineCredentialOfferResponse": {
        "title": "Decline Credential Offer",
        "type": "object",
        "description": "Response payload returned after a credential offer is declined.",
        "example": {
          "success": true,
          "response": {
            "_tags": {
              "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
              "role": "holder",
              "state": "offer-received",
              "threadId": "9f8825e0-2e2d-4a09-badf-e57ce5c05a85"
            },
            "metadata": {},
            "credentials": [],
            "id": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "createdAt": "2025-03-18T09:16:06.290Z",
            "state": "declined",
            "role": "holder",
            "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
            "threadId": "9f8825e0-2e2d-4a09-badf-e57ce5c05a85",
            "protocolVersion": "v2",
            "updatedAt": "2025-03-18T09:18:46.762Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer was declined without errors)."
          },
          "response": {
            "type": "object",
            "description": "The updated credential exchange record after declining.",
            "properties": {
              "_tags": {
                "type": "object",
                "description": "Internal tags describing the credential exchange."
              },
              "metadata": {
                "type": "object",
                "description": "Protocol-specific metadata for the credential exchange."
              },
              "credentials": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Credentials attached to the exchange (empty for a declined offer)."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the credential exchange."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was created (ISO 8601)."
              },
              "state": {
                "type": "string",
                "description": "Current state of the exchange (for example, declined)."
              },
              "role": {
                "type": "string",
                "description": "Role of the wallet in the exchange."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the associated connection."
              },
              "threadId": {
                "type": "string",
                "format": "uuid",
                "description": "Thread identifier correlating the exchange messages."
              },
              "protocolVersion": {
                "type": "string",
                "description": "DIDComm protocol version."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was last updated (ISO 8601)."
              }
            }
          }
        }
      },
      "allProofRequestsResponse": {
        "title": "Get All Proof Requests",
        "type": "object",
        "description": "Response payload listing all proof (presentation) requests received by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "_tags": {
                "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
                "role": "prover",
                "state": "request-received",
                "threadId": "696efbb2-729d-44a4-ba68-344279f636fd"
              },
              "metadata": {},
              "id": "b487e5ee-c2dc-4e93-b9b9-c1ee2b001c8e",
              "createdAt": "2025-03-18T09:23:11.133Z",
              "protocolVersion": "v2",
              "state": "request-received",
              "role": "prover",
              "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
              "threadId": "696efbb2-729d-44a4-ba68-344279f636fd",
              "updatedAt": "2025-03-18T09:23:11.167Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof requests were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of proof request records.",
            "items": {
              "type": "object",
              "properties": {
                "_tags": {
                  "type": "object",
                  "description": "Internal tags describing the proof exchange (connection, role, state, thread)."
                },
                "metadata": {
                  "type": "object",
                  "description": "Protocol-specific metadata for the proof exchange."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the proof exchange."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the proof request was received (ISO 8601)."
                },
                "protocolVersion": {
                  "type": "string",
                  "description": "DIDComm present-proof protocol version."
                },
                "state": {
                  "type": "string",
                  "description": "Current state of the proof exchange."
                },
                "role": {
                  "type": "string",
                  "description": "Role of the wallet in the exchange (for example, prover)."
                },
                "connectionId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the associated connection."
                },
                "threadId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Thread identifier correlating the exchange messages."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the exchange was last updated (ISO 8601)."
                }
              }
            }
          }
        }
      },
      "proofRequestResponse": {
        "title": "Get Proof Request",
        "type": "object",
        "description": "Response payload containing the details of a single proof (presentation) request.",
        "example": {
          "success": true,
          "response": {
            "request": {
              "anoncreds": {
                "name": "Patient ID",
                "version": "1.0.1",
                "nonce": "873130175267224263651861",
                "requested_attributes": {
                  "attributes": {
                    "names": [
                      "name"
                    ],
                    "restrictions": [
                      {
                        "schema_id": "did:cheqd:testnet:0e411e10-2379-466a-858c-338e1696df78/resources/f9a7079b-a93f-4dcc-be64-9881f691f2e2"
                      }
                    ]
                  }
                },
                "requested_predicates": {
                  "0_age": {
                    "name": "age",
                    "p_type": ">=",
                    "p_value": 18
                  }
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request was retrieved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The proof request details.",
            "properties": {
              "request": {
                "type": "object",
                "description": "The underlying proof request payload.",
                "properties": {
                  "anoncreds": {
                    "type": "object",
                    "description": "AnonCreds proof request definition.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Name of the proof request."
                      },
                      "version": {
                        "type": "string",
                        "description": "Version of the proof request."
                      },
                      "nonce": {
                        "type": "string",
                        "description": "Cryptographic nonce for the proof request."
                      },
                      "requested_attributes": {
                        "type": "object",
                        "description": "Attributes requested from the holder, with optional restrictions."
                      },
                      "requested_predicates": {
                        "type": "object",
                        "description": "Predicate conditions requested from the holder (for example, age >= 18)."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "declineProofRequest": {
        "title": "Decline Proof Request",
        "type": "object",
        "required": [
          "protocol",
          "proofExchangeId"
        ],
        "description": "Request payload to decline a pending proof (presentation) request.",
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (currently didcomm)."
          },
          "proofExchangeId": {
            "type": "string",
            "example": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
            "description": "Identifier of the proof exchange to decline."
          }
        }
      },
      "declineProofRequestResponse": {
        "title": "Decline Proof Request",
        "type": "object",
        "description": "Response payload returned after a proof request is declined.",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request was declined without errors)."
          }
        }
      },
      "previewProofRequest": {
        "title": "Preview Proof Request",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to preview a proof (presentation) request and the credentials that can satisfy it.",
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
          "connectionId": "a4508d13-33ca-4100-ab39-605401e54961"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm",
              "openid"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (didcomm or openid)."
          },
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the proof exchange (used for the didcomm protocol)."
          },
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
            "description": "Identifier of the associated connection (used for the didcomm protocol)."
          },
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://authorize?client_id=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f&request_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f",
            "description": "Proof request URI to preview (used for the openid protocol)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "example": "https://verifier.example.com",
            "description": "HTTPS origin of the OpenID4VP Digital Credentials API (DC API) verifier (relying party). Required for dc_api and dc_api.jwt response modes; must match the verifier expected_origins. Used for the openid protocol only."
          }
        }
      },
      "previewProofRequestResponse": {
        "title": "Preview Proof Request",
        "type": "object",
        "description": "Response payload containing a preview of a proof request and the matching credentials.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "identity-c1"
                }
              },
              {
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "identity-c2"
                }
              },
              {
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                "credentialType": "mso_mdoc",
                "communicationProtocol": "openid",
                "attributes": {
                  "org.iso.18013.5.1": {
                    "family_name": "Doe"
                  }
                }
              },
              {
                "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "passport"
                }
              }
            ],
            "credentialsByQueryId": {
              "identity": [
                {
                  "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "identity-c1"
                  }
                },
                {
                  "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "identity-c2"
                  }
                }
              ],
              "licence": [
                {
                  "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                  "credentialType": "mso_mdoc",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "org.iso.18013.5.1": {
                      "family_name": "Doe"
                    }
                  }
                }
              ],
              "passport": [
                {
                  "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "passport"
                  }
                }
              ]
            },
            "credentialRequirements": [
              {
                "required": true,
                "mode": "all",
                "queryIds": [
                  "identity"
                ]
              },
              {
                "required": true,
                "mode": "any",
                "queryIds": [
                  "licence",
                  "passport"
                ]
              }
            ],
            "dcql": {
              "credentials": [
                {
                  "id": "identity",
                  "format": "dc+sd-jwt",
                  "meta": {
                    "vct_values": [
                      "urn:example:identity"
                    ]
                  }
                },
                {
                  "id": "licence",
                  "format": "mso_mdoc",
                  "meta": {
                    "doctype_value": "org.iso.18013.5.1.mDL"
                  }
                },
                {
                  "id": "passport",
                  "format": "dc+sd-jwt",
                  "meta": {
                    "vct_values": [
                      "urn:example:passport"
                    ]
                  }
                }
              ],
              "credential_sets": [
                {
                  "required": true,
                  "options": [
                    [
                      "identity"
                    ]
                  ]
                },
                {
                  "required": true,
                  "options": [
                    [
                      "licence"
                    ],
                    [
                      "passport"
                    ]
                  ]
                }
              ]
            },
            "metadata": {
              "verifier": {
                "name": "Example verifier"
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request preview was generated without errors)."
          },
          "response": {
            "type": "object",
            "description": "The previewed proof request details.",
            "properties": {
              "credentials": {
                "type": "array",
                "description": "Matching wallet credentials. For OpenID DCQL requests, use credentialsByQueryId to choose a credential for each query.",
                "items": {
                  "$ref": "#/components/schemas/HolderPreviewCredential"
                }
              },
              "credentialsByQueryId": {
                "type": "object",
                "description": "OpenID DCQL credential candidates grouped by query ID. A query may have multiple candidates; choose one by credentialId. Queries without matches have an empty array. Optional credential sets are excluded.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HolderPreviewCredential"
                  }
                }
              },
              "credentialRequirements": {
                "type": "array",
                "description": "Every returned group must be satisfied. Each group requires all queries or any one query. If credential sets are absent, all queries are required. Optional sets are excluded, so optional-only requests return an empty array. Alternative bundles within a group and transaction data referencing optional queries are unsupported and return HTTP 400.",
                "items": {
                  "$ref": "#/components/schemas/HolderCredentialRequirement"
                }
              },
              "dcql": {
                "type": "object",
                "description": "The OpenID DCQL credential query from the proof request."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable purpose of the verification."
              },
              "presentationDefinition": {
                "type": "object",
                "description": "DIF Presentation Exchange definition describing the required claims.",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Identifier of the presentation definition."
                  },
                  "purpose": {
                    "type": "string",
                    "description": "Purpose of the presentation definition."
                  },
                  "input_descriptors": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "Input descriptors specifying which credentials/claims are required."
                  }
                }
              },
              "transactionData": {
                "type": "array",
                "description": "OpenID4VP transaction data the verifier asks the wallet to sign. Present only for openid proof requests that carry transaction data. Submitting the presentation signs every entry, so show these to the user before they confirm.",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Transaction data type.",
                      "example": "payment_data"
                    },
                    "transactionDataIndex": {
                      "type": "integer",
                      "description": "Position of the entry in the proof request.",
                      "example": 0
                    },
                    "matchedCredentialIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "DCQL credential query ids the wallet can satisfy for this entry. These are query ids from the proof request, not wallet credential ids."
                    },
                    "payload": {
                      "type": "object",
                      "description": "Decoded transaction data entry, including its type-specific fields.",
                      "example": {
                        "type": "payment_data",
                        "credential_ids": [
                          "f75f5fbd-5446-463e-b4d5-ed2ebb7dbcc7"
                        ],
                        "transaction_data_hashes_alg": [
                          "sha-256"
                        ],
                        "payment_data": {
                          "payee": "Merchant XYZ",
                          "currency_amount": {
                            "currency": "EUR",
                            "value": "23.58"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "description": "Verifier metadata for the proof request.",
                "properties": {
                  "verifier": {
                    "type": "object",
                    "description": "Information about the verifier requesting the proof.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Human-readable name of the verifier."
                      },
                      "logo": {
                        "$ref": "#/components/schemas/ImageAsset"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "submitProofPresentation": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Submit a proof presentation. For OpenID DCQL, select one matching wallet credential per chosen query and satisfy every required group. Use credentialId for a single-query request, selectedCredentials for query-based selections, or omit both for automatic selection. Query-based selections require OpenID DCQL. Alternative bundles within a group and transaction data referencing optional queries return HTTP 400.",
        "not": {
          "required": [
            "credentialId",
            "selectedCredentials"
          ]
        },
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
          "credentialId": "403c8b56-f69e-4d58-a918-a84572f18b8e"
        },
        "examples": [
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb"
              },
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb"
              },
              {
                "id": "passport",
                "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest"
          }
        ],
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm",
              "openid"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (didcomm or openid)."
          },
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the proof exchange (used for the didcomm protocol)."
          },
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://authorize?client_id=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f&request_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f",
            "description": "Proof request URI (used for the openid protocol)."
          },
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Wallet credential ID for a single-query OpenID DCQL request, a Presentation Exchange request, or a DIDComm request. For multiple DCQL queries, use selectedCredentials or omit both selection fields for automatic selection."
          },
          "selectedCredentials": {
            "type": "array",
            "minItems": 1,
            "description": "OpenID DCQL only. Include one matching credential for every query in each all group and one alternative for each any group. Query IDs must be unique. Use either credentialId or selectedCredentials. Choose a candidate using its credentialId from credentialsByQueryId.",
            "items": {
              "$ref": "#/components/schemas/HolderCredentialSelection"
            }
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "example": "https://verifier.example.com",
            "description": "HTTPS origin of the OpenID4VP Digital Credentials API (DC API) verifier (relying party). Required for dc_api and dc_api.jwt response modes; must match the verifier expected_origins. Used for the openid protocol only."
          }
        }
      },
      "submitProofPresentationResponse": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "description": "Response payload returned after a proof presentation is successfully submitted.",
        "example": {
          "success": true,
          "response": {
            "authorizationResponse": {
              "vp_token": {
                "pid-credential": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the presentation was submitted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Presentation submission result. For openid, contains the OpenID4VP authorization response. For didcomm, may include an optional message.",
            "properties": {
              "authorizationResponse": {
                "type": "object",
                "additionalProperties": true,
                "description": "OpenID4VP authorization response (openid only). Contains the presentation result sent to the verifier (e.g. vp_token)."
              },
              "message": {
                "type": "string",
                "description": "Optional status message (used for the didcomm protocol)."
              }
            }
          }
        }
      },
      "registerWebhookRequest": {
        "title": "Register Webhook",
        "type": "object",
        "required": [
          "webhookUrl"
        ],
        "description": "Creates a webhook endpoint for receiving Hovi event notifications. Hovi automatically generates a signing secret and returns it in the response. Store this secret securely and use it to verify incoming webhook requests. Each request includes `x-webhook-timestamp` and `x-webhook-signature`. The signature is generated using HMAC-SHA256 over `{timestamp}.{rawBody}`. See the Webhooks guide for complete verification instructions. [See more](https://docs.hovi.id/studio-guide/webhooks#verify-webhook-signaturess)",
        "example": {
          "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://api.partner.hovi.id/webhooks/cloud-wallet",
            "description": "HTTP callback URL that will receive event notifications."
          }
        }
      },
      "registerWebhookResponse": {
        "title": "Register Webhook",
        "type": "object",
        "description": "Response payload returned after a webhook is successfully registered.",
        "example": {
          "success": true,
          "response": {
            "message": "Webhooks registered successfully",
            "webhookId": "27f98567-dcd2-4fc2-966d-a3195b54f983",
            "webhookUrl": "https://example.com/webhook",
            "webhookSecret": "-s71NA6EhypIYFhR8_TAQyS52bglyF44_ZVU-QhL6H0"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was registered without errors)."
          },
          "response": {
            "type": "object",
            "description": "Confirmation details for the registered webhook.",
            "properties": {
              "message": {
                "type": "string",
                "description": "Human-readable confirmation message."
              },
              "webhookId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the registered webhook."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "HTTP callback URL that will receive event notifications."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Base64-encoded secret key for webhook signature verification."
              }
            }
          }
        }
      },
      "deleteWebhookRequest": {
        "title": "Delete Webhook",
        "type": "object",
        "required": [
          "webhookUrl"
        ],
        "description": "Request payload to delete a previously registered webhook URL.",
        "example": {
          "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://api.partner.hovi.id/webhooks/cloud-wallet",
            "description": "HTTP callback URL of the webhook to delete."
          }
        }
      },
      "rotateWebhookSecretRequest": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to rotate the secret key for an existing webhook.",
        "example": {
          "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the webhook to rotate the secret for."
          }
        }
      },
      "rotateWebhookSecretResponse": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "description": "Response payload returned after a webhook secret is successfully rotated.",
        "example": {
          "success": true,
          "response": {
            "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "webhookUrl": "https://example.com/webhook",
            "webhookSecret": "dGhpcy1pcy1hLXNlY3JldA"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook secret was rotated without errors)."
          },
          "response": {
            "type": "object",
            "description": "Details for the webhook after secret rotation.",
            "properties": {
              "webhookId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the webhook."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "HTTP callback URL of the webhook."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Base64-encoded secret key for webhook signature verification."
              }
            }
          }
        }
      },
      "deleteWebhookResponse": {
        "title": "Delete Webhook",
        "type": "object",
        "description": "Response payload returned after a webhook is successfully deleted.",
        "example": {
          "success": true,
          "response": {
            "message": "Webhook deleted successfully"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was deleted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Confirmation details for the deleted webhook.",
            "properties": {
              "message": {
                "type": "string",
                "description": "Human-readable confirmation message."
              }
            }
          }
        }
      },
      "getWebhookResponse": {
        "title": "Get Webhooks",
        "type": "object",
        "description": "Response payload listing the webhooks registered for the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet",
              "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhooks were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of registered webhook records.",
            "items": {
              "type": "object",
              "properties": {
                "webhookUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "HTTP callback URL of the webhook."
                },
                "webhookId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the webhook."
                }
              }
            }
          }
        }
      },
      "getMAUAnalyticsResponse": {
        "title": "Get MAU Analytics",
        "type": "object",
        "description": "Response payload containing monthly active wallet (MAU) analytics for an ecosystem.",
        "example": {
          "success": true,
          "response": {
            "ecosystemId": "9a3d1ee0-5850-4f75-986d-36002e8bc1d9",
            "analytics": {
              "monthlyActiveWallet": 1,
              "totalCreatedWallet": 6,
              "limit": 1000
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the analytics were retrieved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The analytics details for the ecosystem.",
            "properties": {
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the ecosystem the analytics belong to."
              },
              "analytics": {
                "type": "object",
                "description": "Wallet usage metrics for the ecosystem.",
                "properties": {
                  "monthlyActiveWallet": {
                    "type": "number",
                    "description": "Number of wallets active in the current month."
                  },
                  "totalCreatedWallet": {
                    "type": "number",
                    "description": "Total number of wallets created in the ecosystem."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Maximum number of wallets allowed for the ecosystem."
                  }
                }
              }
            }
          }
        }
      },
      "HolderDidCommExchangeBase": {
        "type": "object",
        "required": [
          "id",
          "tenantId",
          "agentState",
          "state",
          "role",
          "threadId",
          "connectionId",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "description": "Cloud wallet tenant receiving the webhook."
          },
          "agentState": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "threadId": {
            "type": "string",
            "format": "uuid"
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "message": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "HolderDidExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "did-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "invitationId",
                  "connectionProtocol",
                  "myDid",
                  "accept"
                ],
                "oneOf": [
                  {
                    "title": "Connection request sent",
                    "required": [
                      "agentState",
                      "state"
                    ],
                    "properties": {
                      "agentState": {
                        "const": "request-sent"
                      },
                      "state": {
                        "const": "pending"
                      }
                    }
                  },
                  {
                    "title": "Connection completed",
                    "required": [
                      "agentState",
                      "state"
                    ],
                    "properties": {
                      "agentState": {
                        "const": "completed"
                      },
                      "state": {
                        "const": "completed"
                      }
                    }
                  }
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "enum": [
                      "request-sent",
                      "completed"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "completed"
                    ]
                  },
                  "role": {
                    "type": "string",
                    "const": "requester"
                  },
                  "invitationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "connectionProtocol": {
                    "type": "string",
                    "format": "uri"
                  },
                  "myDid": {
                    "type": "string"
                  },
                  "theirDid": {
                    "type": "string"
                  },
                  "theirLabel": {
                    "type": "string"
                  },
                  "accept": {
                    "type": "string"
                  },
                  "imageUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            ]
          }
        }
      },
      "HolderCredentialExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "credential-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "credentialExchangeId",
                  "message"
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "enum": [
                      "offer-received",
                      "done"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "done"
                    ]
                  },
                  "role": {
                    "type": "string",
                    "const": "holder"
                  },
                  "credentialExchangeId": {
                    "type": "string",
                    "format": "uuid"
                  }
                }
              }
            ]
          }
        }
      },
      "HolderProofExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "proof-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "proofExchangeId",
                  "isVerified",
                  "message"
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "const": "request-received"
                  },
                  "state": {
                    "type": "string",
                    "const": "pending"
                  },
                  "role": {
                    "type": "string",
                    "const": "prover"
                  },
                  "proofExchangeId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "isVerified": {
                    "type": "boolean",
                    "const": false
                  }
                }
              }
            ]
          }
        }
      }
    },
    "@schemas": {
      "HolderCredentialSelection": {
        "type": "object",
        "required": [
          "id",
          "credentialId"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Credential query ID from the proof preview."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "ID of a matching credential in the wallet."
          }
        }
      },
      "HolderCredentialRequirement": {
        "type": "object",
        "required": [
          "required",
          "mode",
          "queryIds"
        ],
        "properties": {
          "required": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Every returned group must be satisfied."
          },
          "mode": {
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "description": "all requires every query in this group. any requires one query. A request may contain multiple groups."
          },
          "queryIds": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string"
            },
            "description": "Query IDs to match against credentialsByQueryId."
          }
        }
      },
      "HolderPreviewCredential": {
        "type": "object",
        "required": [
          "credentialId",
          "credentialType",
          "attributes"
        ],
        "properties": {
          "credentialId": {
            "type": "string",
            "description": "Wallet credential ID to use when selecting this candidate."
          },
          "credentialType": {
            "type": "string"
          },
          "communicationProtocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ]
          },
          "type": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": true,
            "description": "Disclosed attributes. mso_mdoc attributes are grouped by namespace."
          },
          "issuer": {
            "type": "string"
          },
          "issuanceDate": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "CredentialAttributeValue": {
        "description": "A credential claim value. Values may be primitive, nested objects, or arrays; mdoc namespace buckets are represented as nested objects.",
        "oneOf": [
          {
            "type": "string"
          },
          {
            "type": "number"
          },
          {
            "type": "boolean"
          },
          {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/CredentialAttributeValue"
            }
          },
          {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CredentialAttributeValue"
            }
          }
        ]
      },
      "ImageAsset": {
        "title": "Image Asset",
        "type": "object",
        "description": "Reference to a hosted image (used for issuer/credential logos and background images shown in wallet UIs).",
        "example": {
          "url": "https://loremflickr.com/640/480",
          "alt": "Corwin and Sons"
        },
        "properties": {
          "url": {
            "type": "string",
            "format": "url",
            "example": "https://loremflickr.com/640/480",
            "description": "Direct URL to the image (the location where the image is hosted)."
          },
          "alt": {
            "type": "string",
            "example": "Corwin and Sons",
            "description": "Accessibility alt text for the image (text description shown to screen readers)."
          }
        }
      },
      "IssuerMetadata": {
        "title": "Issuer Metadata",
        "type": "object",
        "description": "Metadata describing the credential issuer (information about the organization that issued or offered the credential).",
        "example": {
          "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
          "name": "Business-focused zero administration framework",
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Corwin and Sons"
          }
        },
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "url",
            "example": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
            "description": "OpenID4VCI issuer endpoint URL (the issuer service the wallet communicates with)."
          },
          "name": {
            "type": "string",
            "example": "Business-focused zero administration framework",
            "description": "Human-readable name of the issuer (the issuer name shown to the user)."
          },
          "logo": {
            "$ref": "#/components/schemas/ImageAsset"
          }
        }
      },
      "CredentialDisplayMetadata": {
        "title": "Credential Display Metadata",
        "type": "object",
        "description": "Visual rendering metadata for a credential (controls how the credential is displayed in the wallet UI).",
        "example": {
          "name": "Patient Info",
          "description": "Proof of Patient Id",
          "textColor": "#f2f500",
          "backgroundImage": {
            "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
          },
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Schowalter, Wolff and Crona"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Patient Info",
            "description": "Display name of the credential (the title shown on the credential card)."
          },
          "description": {
            "type": "string",
            "example": "Proof of Patient Id",
            "description": "Human-readable description of the credential (explains what the credential represents)."
          },
          "textColor": {
            "type": "string",
            "example": "#f2f500",
            "description": "Hex color used for text rendered on the credential card (the foreground color)."
          },
          "backgroundImage": {
            "$ref": "#/components/schemas/ImageAsset"
          },
          "logo": {
            "$ref": "#/components/schemas/ImageAsset"
          }
        }
      },
      "ClaimDisplay": {
        "title": "Claim Display",
        "type": "object",
        "description": "Display metadata for a single credential claim (how one attribute of the credential is labelled and shown in wallet UIs).",
        "example": {
          "path": [
            "name"
          ],
          "mandatory": true,
          "labels": {
            "default": "Name"
          },
          "originalDisplay": [
            {
              "name": "Name"
            }
          ],
          "originalClaim": {
            "path": [
              "credentialSubject",
              "name"
            ],
            "display": [
              {
                "name": "Name"
              }
            ],
            "mandatory": true
          }
        },
        "properties": {
          "path": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "name"
            ],
            "description": "JSON path segments locating the claim within the credential (where this attribute lives in the data)."
          },
          "mandatory": {
            "type": "boolean",
            "example": true,
            "description": "Indicates whether this claim is mandatory (whether the claim must be present)."
          },
          "labels": {
            "type": "object",
            "description": "Locale-keyed display labels for the claim (the friendly names shown per language).",
            "properties": {
              "default": {
                "type": "string",
                "example": "Name",
                "description": "Default display label used when no locale-specific label applies."
              }
            }
          },
          "originalDisplay": {
            "type": "array",
            "description": "Original display entries as provided by the issuer metadata.",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "example": "Name",
                  "description": "Display name for the claim."
                }
              }
            }
          },
          "originalClaim": {
            "type": "object",
            "description": "The original claim definition as declared by the issuer.",
            "properties": {
              "path": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "credentialSubject",
                  "name"
                ],
                "description": "Original JSON path to the claim in the source credential."
              },
              "display": {
                "type": "array",
                "description": "Original display entries for the claim.",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string",
                      "example": "Name",
                      "description": "Original display name for the claim."
                    }
                  }
                }
              },
              "mandatory": {
                "type": "boolean",
                "example": true,
                "description": "Whether the original claim was mandatory."
              }
            }
          }
        }
      },
      "Connection": {
        "title": "Connection",
        "type": "object",
        "description": "A DIDComm connection record between the wallet and another agent (represents a secure peer-to-peer communication channel).",
        "example": {
          "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
          "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
          "connectionProtocol": "https://didcomm.org/didexchange/1.x",
          "state": "completed",
          "role": "requester",
          "accept": "auto",
          "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
          "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
          "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
          "theirLabel": "Cheqd Org",
          "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
          "createdAt": "2026-07-07T11:19:24.175Z",
          "updatedAt": "2026-07-07T11:19:24.426Z",
          "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "description": "Unique identifier of the connection (the UUID assigned to this connection)."
          },
          "invitationId": {
            "type": "string",
            "format": "uuid",
            "example": "a11bde0c-63f0-41bd-9a60-73acace9628d",
            "description": "Identifier of the invitation that created this connection (links back to the original invite)."
          },
          "connectionProtocol": {
            "type": "string",
            "example": "https://didcomm.org/didexchange/1.x",
            "description": "DIDComm protocol used to establish the connection (the handshake protocol identifier)."
          },
          "state": {
            "type": "string",
            "example": "completed",
            "description": "Current lifecycle state of the connection (for example, completed or pending)."
          },
          "role": {
            "type": "string",
            "example": "requester",
            "description": "Role played by the wallet in this connection (for example, requester or responder)."
          },
          "accept": {
            "type": "string",
            "example": "auto",
            "description": "Auto-acceptance mode for the connection (whether requests are accepted automatically)."
          },
          "theirDid": {
            "type": "string",
            "example": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
            "description": "Decentralized Identifier of the remote peer (the DID of the other party)."
          },
          "threadId": {
            "type": "string",
            "format": "uuid",
            "example": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
            "description": "Thread identifier correlating the connection messages (groups the related protocol messages)."
          },
          "myDid": {
            "type": "string",
            "example": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
            "description": "Decentralized Identifier of the wallet in this connection (the DID representing this wallet)."
          },
          "theirLabel": {
            "type": "string",
            "example": "Cheqd Org",
            "description": "Human-readable label of the remote peer (the display name of the other party)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
            "description": "URL of the remote peer logo/avatar (the image identifying the other party)."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "example": "2026-07-07T11:19:24.175Z",
            "description": "Timestamp when the connection was created (ISO 8601)."
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "example": "2026-07-07T11:19:24.426Z",
            "description": "Timestamp when the connection was last updated (ISO 8601)."
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "example": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "description": "Alias identifier of the connection record (same value as connectionId)."
          }
        }
      },
      "createWalletRequest": {
        "title": "Create Wallet",
        "type": "object",
        "required": [
          "label",
          "secret"
        ],
        "description": "Request payload to provision a new cloud wallet (the data you send to create a wallet that stores and manages verifiable credentials).",
        "example": {
          "label": "Patient Info Wallet",
          "secret": "e8a0012c-17e7-439d-a390-81a54c3fa09c"
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "Patient Info Wallet",
            "description": "Human-readable name for the wallet (the friendly label shown to identify this wallet)."
          },
          "secret": {
            "type": "string",
            "example": "e8a0012c-17e7-439d-a390-81a54c3fa09c",
            "description": "Secret passphrase used to secure the wallet and to recover it later (keep this confidential; it acts as the wallet key)."
          }
        }
      },
      "createWalletResponse": {
        "title": "Create Wallet",
        "type": "object",
        "description": "Response payload returned after a cloud wallet is successfully created.",
        "example": {
          "success": true,
          "response": {
            "id": "77255e50-41d9-473e-824f-89f6cad390d6",
            "accessToken": "eyJhbGciOiJIUzI1NiJ9.ZXlKMFpXNWhibaJKWkNJNklqYzNNalUxWlRVd0xUUXhaRGt0TkRjelpTMDRNalJtTFRnNVpqWmpZV1F6T1RCa05pSXNJbWxoZENJNk1UYzByakkwTURFNU1YMD0.bA04OItcJYMjzJ7uRMcfiqxMMpjHrRlD9fGgFgnhlY4",
            "did": "did:key:z6MkwB4N3z1pAtmzVC3pa3khHJvw9bg44PGFmvwnFSVFVDeP",
            "seed": "eilIhLrvjg5XDc4asaNs4uvT5O0ipRoS6"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet was created without errors)."
          },
          "response": {
            "type": "object",
            "description": "The details of the newly created wallet.",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the wallet (the UUID assigned to this wallet)."
              },
              "accessToken": {
                "type": "string",
                "description": "JWT bearer token used to authenticate subsequent requests for this wallet (pass it in the Authorization header)."
              },
              "did": {
                "type": "string",
                "description": "Decentralized Identifier generated for the wallet (the DID that represents this wallet)."
              },
              "seed": {
                "type": "string",
                "description": "Cryptographic seed backing the wallet keys (used for key derivation and recovery; keep this secret)."
              }
            }
          }
        }
      },
      "getWalletResponse": {
        "title": "Get All Created Wallets",
        "type": "object",
        "description": "Response payload listing the wallets available to the authenticated user.",
        "example": {
          "success": true,
          "response": [
            {
              "walletId": "77255e50-41d9-473e-824f-89f6cad390d6",
              "label": "Employee Wallet",
              "did": "did:key:z6MkwB4N3z1pAtmzVC3pa3khHJvw9bg44PGFmvwnFSVFVDeP",
              "walletStatus": "active",
              "createdAt": "2025-03-18T09:30:00.000Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet list was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of wallet records.",
            "items": {
              "type": "object",
              "properties": {
                "walletId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the wallet (the UUID assigned to this wallet)."
                },
                "label": {
                  "type": "string",
                  "description": "Human-readable name of the wallet (the friendly label for this wallet)."
                },
                "did": {
                  "type": "string",
                  "description": "Decentralized Identifier representing the wallet (the DID of this wallet)."
                },
                "walletStatus": {
                  "type": "string",
                  "description": "Current status of the wallet (for example, active)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the wallet was created (ISO 8601)."
                }
              }
            }
          }
        }
      },
      "adminDeleteWalletRequest": {
        "title": "Admin Delete Wallet",
        "type": "object",
        "required": [
          "walletId"
        ],
        "description": "Request payload to delete a specific wallet as an ecosystem admin.",
        "example": {
          "walletId": "77255e50-41d9-473e-824f-89f6cad390d6"
        },
        "properties": {
          "walletId": {
            "type": "string",
            "format": "uuid",
            "example": "77255e50-41d9-473e-824f-89f6cad390d6",
            "description": "Unique identifier of the wallet to delete (the UUID assigned to this wallet)."
          }
        }
      },
      "deleteWalletResponse": {
        "title": "Delete Wallet",
        "type": "object",
        "description": "Response payload returned after a wallet is successfully deleted.",
        "example": {
          "success": true,
          "message": "Wallet deleted successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the wallet was deleted without errors)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation message describing the result of the deletion."
          }
        }
      },
      "genericSuccessResponse": {
        "title": "Generic Success",
        "type": "object",
        "description": "Generic success envelope returned by operations that do not return a data payload.",
        "example": {
          "success": true,
          "message": "Operation completed successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "message": {
            "type": "string",
            "description": "Human-readable message describing the successful result."
          }
        }
      },
      "unauthorizedResponse": {
        "title": "Unauthorized",
        "type": "object",
        "description": "Error envelope returned when the request is not authenticated or the token is invalid.",
        "example": {
          "success": false,
          "message": "Unauthorized request"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message explaining the authorization failure."
          }
        }
      },
      "internalServerErrorResponse": {
        "title": "Internal Server Error",
        "type": "object",
        "description": "Error envelope returned when an unexpected server-side error occurs.",
        "example": {
          "success": false,
          "message": "Internal server error"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message describing the server error."
          }
        }
      },
      "missingAttributesResponse": {
        "title": "Missing Attributes",
        "type": "object",
        "description": "Error envelope returned when required attributes are missing from the request.",
        "example": {
          "success": false,
          "message": "Missing required attributes "
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Always false for an error response (indicates the request did not succeed)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable error message listing the missing required attributes."
          }
        }
      },
      "getAllConnectionResponse": {
        "title": "Get All Connections",
        "type": "object",
        "description": "Response payload listing all connections established by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
              "connectionProtocol": "https://didcomm.org/didexchange/1.x",
              "state": "completed",
              "role": "requester",
              "accept": "auto",
              "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
              "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
              "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
              "theirLabel": "Cheqd Org",
              "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
              "createdAt": "2026-07-07T11:19:24.175Z",
              "updatedAt": "2026-07-07T11:19:24.426Z",
              "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the connections were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of connection records.",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          }
        }
      },
      "getConnectionByIdResponse": {
        "title": "Get Connection By Id",
        "type": "object",
        "description": "Response payload returning the connection(s) matching the supplied connection identifier.",
        "example": {
          "success": true,
          "response": [
            {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "invitationId": "a11bde0c-63f0-41bd-9a60-73acace9628d",
              "connectionProtocol": "https://didcomm.org/didexchange/1.x",
              "state": "completed",
              "role": "requester",
              "accept": "auto",
              "theirDid": "did:peer:4zQmZ3D2mcdjEb48r1cT9JqK6z6S9L5sPbtY3LE5PRAJwvqL:zgRJGCEoHxZ6jTuF6Fk667S8ALo2f6kAcF3zvQvz3qEcqoue93rPDXevNqcipgMkBheEpoh8bR8hybSZT3qJELApAJWD3wEX3WKuZTFeHbGaySQRAHVMwEjTZqtvWZWTDM37UW5CBrTdLES81oLoqzhG5xCovWQQBWbYZhw5LKLCHTL82jYQmN7ooosyfFwXEpbmWM1v6r8B3uhptpMUirJeeUZDCmLcm167WJcuhnUGB6ABRaopiC9tXzap99xqoAuD3iw5tSzLf4ypTmbG8qkq79sEhRvHjPojLnFTsEeC1ARimk2zsGJjaqTn79GYR3RhiFXyJbkknpG4tz7VMShEF6frjgsGug7vxqz5Qri4U9jtYwBY3yVVPAV2FGRQFFZ2kVwRtzRzk5TX7LexfGiQj1ERusk1uPxrgeotiqREnmLap9zGkSDLDkK7LroSJqCCTkejsV95s47cwezYFiyc3tkKxnE3oEQMscKgWgFbTSnrtTaabziYAx4MSrGYPuT5GD8FaxQJPcmgxqdGuFGJZ5uUgNoHth4g8Poctd2zYVjQsxuxXQgv8nhkbHRFzcE3teyf3BWXrbtfRTAmM3gavKgnmojKFXeixHLQWwLU92ocgeaH8H7Baz8XkA5nYpmhjva5WBSYbTvsvX6k5MDzjN",
              "threadId": "e2a35bf9-7666-4eb2-9fef-1c8ac622c6ad",
              "myDid": "did:peer:4zQmSq4QW7FeVrPeiePK4RTq75Qare5cdejtQAacvkKKmhds:z3DT1Foi4HThq6zpbYF1jT1Ym7ZTMzJVeF71f8p6oYhY1y6jez3d9FQ7vFu2toCJ5Vp9LCgHNBjupco6BVPQuQ9k6Q62BWDfiWmQbb66syw5T3ZSmHAtfPdY3dnR1vmwcaSLRMeUPMn5247NErKALX7Vszu4TK1dn1wE9rrsojvuZWa5Ak8dpR9ZfPrAsZ9p2aMuAZP8R3JsGUZMpLaanvZEKFCLtJQ9cDiJMfNTG2XPHUFshKoMRrmAPNfhZzR59CD1bbKmmKM7syaZCLKPyZviXHxbamNRPPmSurcMuq94hR1SdUdZ5vvfntSMPtF3NFhrBN1ftb3SkS4yuxsQVPhkqrc2embHhoKRKCJe56WQTUGvrzALZSs1fuTTxCcaHVy1NRVnv9KEStZPbXEdmQ4tXzrFisKPk31t42ZdsfFU9EY5STYdM3gPAburWRY3AKEhBconX2xGgX4MLF5rgD58T2Qyvk2XAA5yn4iEhpYcyPkzqQvKtVEj32n3Xk8i9rdB2fhkARGWihPNvr8mcK7Y36wqAquREKvPv5RYZfmy5MTEUsqQrUARMJDYMNpWPDLoQGhqwBAMLpJPbe9agQyYpyMoUVQNERte2Kya7xFUdYxiiNehUu8EUCwutWEDBsmmYcz7ywUKgQVBSKSkX5QbXBM9ujN9YpCg5Ta",
              "theirLabel": "Cheqd Org",
              "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
              "createdAt": "2026-07-07T11:19:24.175Z",
              "updatedAt": "2026-07-07T11:19:24.426Z",
              "id": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the connection was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array containing the matching connection record.",
            "items": {
              "$ref": "#/components/schemas/Connection"
            }
          }
        }
      },
      "acceptConnectionInvitationRequest": {
        "title": "Accept Connection Invitation",
        "type": "object",
        "required": [
          "protocol",
          "invitation"
        ],
        "description": "Request payload to accept a connection invitation received from another agent (the data you send to establish a connection).",
        "example": {
          "protocol": "didcomm",
          "invitation": "https://studio.hovi.id/connection?oob=eyJAdHlwZSI6Imh0dHBzOi8vzGlkY29tbS5vcmcvb3V0LW9mLWJhbmQvaS4xL2ludml0YXRpb24iLCJAaWQiOiI0Nzg4ZmM3ZS0wYWM0LTQwYjAtOTczNi05M2ViMmQ0MWEwNDMiLCJsYWJlbCI6InRlc3QtbGFiZWwtNjQzMDIiLCJhY2NlcHQiOlsiZGlkY29tbS9haXAxIiwiZGlkY29tbS9haXAyO2Vudj1yZmMxOSJdLCJoYW5kc2hha2VfcHJvdG9jb2xzIjpbImh0dHBzOi8vZGlkY29tbS5vcmcvZGlkZXhjaGFuZ2UvMS4xIiwiaHR0cHM6Ly9kaWRjb21tLm9yZy9jb25uZWN0aW9ucy8xLjAiXSwic2VydmljZXMiOlt7ImlkIjoiI2lubGluZS0wIiwic2VydmljZUVuZHBvaW50IjoiaHR0cHM6Ly9jb3JlLWFnZW50LWRldi5ob3ZpLmlkL2FnZW50IiwidHlwZSI6ImRpZC1jb21tdW5pY2F0aW9uIiwicmVjaXBpZW50S2V5cyI6WyJkaWQ6a2V5Ono2TWt3NkF1eWVBU0FNcFg2cGExNWFKeHphSzFoZnF6SkRadUZSb0NuQnhEbVRmVSJdLCJyb3V0aW5nS2V5cyI6W119XSwiaW1hZ2VVcmwiOiJodHRwczovL2xvcmVtZmxpY2tyLmNvbS82NDAvNDgwIn0",
          "label": "Patient Info Wallet"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol used for the invitation (currently didcomm)."
          },
          "invitation": {
            "type": "string",
            "example": "https://studio.hovi.id/connection?oob=eyJAdHlwZSI6Imh0dHBzOi8vzGlkY29tbS5vcmcvb3V0LW9mLWJhbmQvaS4xL2ludml0YXRpb24iLCJAaWQiOiI0Nzg4ZmM3ZS0wYWM0LTQwYjAtOTczNi05M2ViMmQ0MWEwNDMiLCJsYWJlbCI6InRlc3QtbGFiZWwtNjQzMDIiLCJhY2NlcHQiOlsiZGlkY29tbS9haXAxIiwiZGlkY29tbS9haXAyO2Vudj1yZmMxOSJdLCJoYW5kc2hha2VfcHJvdG9jb2xzIjpbImh0dHBzOi8vZGlkY29tbS5vcmcvZGlkZXhjaGFuZ2UvMS4xIiwiaHR0cHM6Ly9kaWRjb21tLm9yZy9jb25uZWN0aW9ucy8xLjAiXSwic2VydmljZXMiOlt7ImlkIjoiI2lubGluZS0wIiwic2VydmljZUVuZHBvaW50IjoiaHR0cHM6Ly9jb3JlLWFnZW50LWRldi5ob3ZpLmlkL2FnZW50IiwidHlwZSI6ImRpZC1jb21tdW5pY2F0aW9uIiwicmVjaXBpZW50S2V5cyI6WyJkaWQ6a2V5Ono2TWt3NkF1eWVBU0FNcFg2cGExNWFKeHphSzFoZnF6SkRadUZSb0NuQnhEbVRmVSJdLCJyb3V0aW5nS2V5cyI6W119XSwiaW1hZ2VVcmwiOiJodHRwczovL2xvcmVtZmxpY2tyLmNvbS82NDAvNDgwIn0",
            "description": "Out-of-band invitation URL or encoded invitation payload to accept."
          },
          "label": {
            "type": "string",
            "example": "Patient Info Wallet",
            "description": "Optional label to associate with the newly created connection."
          }
        }
      },
      "acceptConnectionInvitationResponse": {
        "title": "Accept Connection Invitation",
        "type": "object",
        "description": "Response payload returned after accepting a connection invitation.",
        "example": {
          "success": true,
          "response": {
            "invitationId": "0fd2cb08-cfdf-48ca-a8ca-2716e3c6c747",
            "connectionId": "03cd162e-119f-4567-b2a1-f0d447cd1759",
            "state": "pending",
            "theirLabel": "Indicio Organization",
            "imageUrl": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/indicio-organization-image-1783423471805.svg%2Bxml"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the invitation was accepted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Details of the connection created from the accepted invitation.",
            "properties": {
              "invitationId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the accepted invitation."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the newly created connection."
              },
              "state": {
                "type": "string",
                "description": "Current lifecycle state of the connection (for example, pending)."
              },
              "theirLabel": {
                "type": "string",
                "description": "Human-readable label of the remote peer."
              },
              "imageUrl": {
                "type": "string",
                "format": "url",
                "description": "URL of the remote peer logo/avatar."
              }
            }
          }
        }
      },
      "resolveCredentialOfferUriRequest": {
        "title": "Resolve Credential Offer URI",
        "type": "object",
        "required": [
          "protocol",
          "credentialOfferUri"
        ],
        "description": "Request payload to resolve a credential offer URI into its full offer details (the data you send to inspect an incoming credential offer).",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (currently openid)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "The credential offer URI to resolve (the offer link received from an issuer)."
          }
        }
      },
      "resolveCredentialOfferUriResponse": {
        "title": "Resolve Credential Offer URI",
        "type": "object",
        "description": "Response payload containing the resolved details of a credential offer.",
        "example": {
          "success": true,
          "response": {
            "transactionCodeRequired": false,
            "transactionCode": {},
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Business-focused zero administration framework",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Corwin and Sons"
                }
              },
              "credential": {
                "name": "Patient Record SD 2",
                "backgroundImage": {},
                "logo": {}
              }
            },
            "claims": {
              "name": {
                "mandatory": true,
                "value_type": "string",
                "display": [
                  {
                    "name": "Name",
                    "locale": "en-US"
                  }
                ]
              },
              "age": {
                "mandatory": true,
                "value_type": "string",
                "display": [
                  {
                    "name": "Age",
                    "locale": "en-US"
                  }
                ]
              }
            },
            "credentialOffer": {
              "credential_issuer": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
              "credential_configuration_ids": [
                "patient_id_sd_15351.54_sd_jwt"
              ],
              "grants": {
                "urn:ietf:params:oauth:grant-type:pre-authorized_code": {
                  "pre-authorized_code": "984049492928698597207046"
                }
              },
              "credentials": [
                "patient_id_sd_15351.54_sd_jwt"
              ]
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer was resolved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The resolved credential offer details.",
            "properties": {
              "transactionCodeRequired": {
                "type": "boolean",
                "description": "Indicates whether a transaction code is required to accept the offer."
              },
              "transactionCode": {
                "type": "object",
                "description": "Transaction code metadata, when a transaction code is required."
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the offer.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  }
                }
              },
              "claims": {
                "type": "object",
                "description": "Offered claims keyed by claim name.",
                "additionalProperties": {
                  "type": "object",
                  "properties": {
                    "mandatory": {
                      "type": "boolean",
                      "description": "Whether the claim is mandatory."
                    },
                    "value_type": {
                      "type": "string",
                      "description": "Expected data type of the claim value."
                    },
                    "display": {
                      "type": "array",
                      "description": "Localized display entries for the claim.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "description": "Display name of the claim."
                          },
                          "locale": {
                            "type": "string",
                            "description": "Locale for the display entry."
                          }
                        }
                      }
                    }
                  }
                }
              },
              "credentialOffer": {
                "type": "object",
                "description": "The raw OpenID4VCI credential offer object.",
                "properties": {
                  "credential_issuer": {
                    "type": "string",
                    "format": "url",
                    "description": "Issuer endpoint that made the credential offer."
                  },
                  "credential_configuration_ids": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Identifiers of the credential configurations included in the offer."
                  },
                  "grants": {
                    "type": "object",
                    "description": "Grant types supported by the offer (for example, pre-authorized code)."
                  },
                  "credentials": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Legacy list of credential configuration identifiers included in the offer."
                  }
                }
              }
            }
          }
        }
      },
      "previewCredentialOfferRequest": {
        "title": "Preview Credential Offer",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to preview a credential offer before accepting it (the data you send to see what a credential offer contains).",
        "example": {
          "protocol": "didcomm",
          "credentialExchangeId": "b5ef2f1f-454d-4ecc-aa11-2ca027f59843",
          "connectionId": "a4508d13-33ca-4100-ab39-605401e54961"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI to preview (used for the openid protocol)."
          },
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Credential exchange identifier to preview (used for the didcomm protocol)."
          },
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "bc3c4c3b-2c53-4d75-b7d9-583ec6cca94b",
            "description": "Connection identifier associated with the offer (used for the didcomm protocol)."
          }
        }
      },
      "previewCredentialOfferResponse": {
        "title": "Preview Credential Offer",
        "type": "object",
        "description": "Response payload containing a preview of the credential contained in an offer.",
        "example": {
          "success": true,
          "response": {
            "credentialType": "vc+sd-jwt",
            "communicationProtocol": "openid",
            "attributes": {
              "fullName": "Ernest Block",
              "age": "18"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Business-focused zero administration framework",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Corwin and Sons"
                }
              },
              "credential": {
                "name": "Patient Info",
                "description": "Proof of Patient Id",
                "textColor": "#f2f500",
                "backgroundImage": {
                  "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                },
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "claims": {
                "name": {
                  "path": [
                    "name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "name"
                    ],
                    "display": [
                      {
                        "name": "Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                }
              }
            },
            "codeflow": "pre-authorized",
            "transactionCodeInfo": {
              "codeRequired": true,
              "length": 4,
              "description": "Enter the code sent to your email"
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer preview was generated without errors)."
          },
          "response": {
            "type": "object",
            "description": "The previewed credential details.",
            "properties": {
              "credentialType": {
                "type": "string",
                "description": "Format/type of the offered credential (for example, vc+sd-jwt)."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid",
                  "didcomm"
                ],
                "description": "Protocol used to deliver the credential (for example, openid)."
              },
              "attributes": {
                "type": "object",
                "description": "Preview of credential claims keyed by attribute name, or by namespace and then attribute name for mdoc.",
                "additionalProperties": {
                  "$ref": "#/components/schemas/CredentialAttributeValue"
                }
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the offered credential.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  },
                  "claims": {
                    "type": "object",
                    "description": "Per-claim display metadata keyed by claim name.",
                    "additionalProperties": {
                      "$ref": "#/components/schemas/ClaimDisplay"
                    }
                  }
                }
              },
              "codeflow": {
                "type": "string",
                "description": "Authorization code flow used for issuance (for example, pre-authorized)."
              },
              "transactionCodeInfo": {
                "type": "object",
                "description": "Information about the transaction code required to accept the offer.",
                "properties": {
                  "codeRequired": {
                    "type": "boolean",
                    "description": "Whether a transaction code is required."
                  },
                  "length": {
                    "type": "number",
                    "description": "Expected length of the transaction code."
                  },
                  "description": {
                    "type": "string",
                    "description": "Explanation of how the transaction code is delivered to the holder."
                  }
                }
              }
            }
          }
        }
      },
      "notFoundResponse": {
        "type": "object",
        "description": "Response for not found scenarios."
      },
      "resolveCredentialAuthorizationRequestUriRequest": {
        "title": "Resolve Credential Authorization Request URI",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to resolve the authorization request URI for a credential offer that uses the authorization code flow.",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
          "clientId": "acme-corp-client-id",
          "redirectUri": "https://wallet.acme-corp.id/callback"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI for which to resolve the authorization request."
          },
          "clientId": {
            "type": "string",
            "example": "acme-corp-client-id",
            "description": "OAuth2 client identifier used for the authorization request."
          },
          "redirectUri": {
            "type": "string",
            "example": "https://wallet.acme-corp.id/callback",
            "description": "Redirect URI to which the authorization server returns the user."
          },
          "scope": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid"
            ],
            "description": "OAuth2 scopes to request. If omitted, scopes are taken from the credential offer."
          },
          "walletAttestationJwt": {
            "type": "string",
            "description": "Wallet attestation JWT presented during the authorization request."
          }
        }
      },
      "resolveCredentialAuthorizationRequestUriResponse": {
        "title": "Resolve Credential Authorization Request URI",
        "type": "object",
        "description": "Response payload containing the resolved authorization request details for a credential offer.",
        "example": {
          "success": true,
          "response": {
            "authorizationFlow": "Oauth2Redirect",
            "authorizationRequestUrl": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608/authorize?client_id=hovi-cloud-wallet&redirect_uri=https%3A%2F%2Fwallet.hovi.id%2Fcallback&response_type=code&scope=openid"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the authorization request was resolved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The resolved authorization request details.",
            "properties": {
              "authorizationFlow": {
                "type": "string",
                "description": "Authorization flow type to follow (for example, Oauth2Redirect)."
              },
              "authorizationRequestUrl": {
                "type": "string",
                "description": "URL the user must visit to authorize the credential issuance."
              }
            }
          }
        }
      },
      "acceptCredentialOfferRequest": {
        "title": "Accept Credential Offer",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to accept a credential offer and receive the credential into the wallet (the data you send to complete issuance).",
        "example": {
          "protocol": "openid",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
          "codeflow": "pre-authorized",
          "preAuthorizedFlowOptions": {
            "transactionCode": "2412"
          }
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "openid",
              "didcomm"
            ],
            "example": "openid",
            "description": "Communication protocol of the offer (either openid or didcomm)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vci%2F8025d737-bd05-44fa-9201-52c1b1f6d608%2Foffers%2F614f3bc9-f278-465f-80bz-53086ec60325",
            "description": "Credential offer URI to accept (used for the openid protocol)."
          },
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Credential exchange identifier to accept (used for the didcomm protocol)."
          },
          "codeflow": {
            "type": "string",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "example": "pre-authorized",
            "description": "Issuance code flow to use (either pre-authorized or authorization)."
          },
          "preAuthorizedFlowOptions": {
            "type": "object",
            "description": "Options used when accepting via the pre-authorized code flow.",
            "properties": {
              "transactionCode": {
                "type": "string",
                "example": "24121",
                "description": "Transaction code entered by the holder to authorize issuance."
              }
            }
          },
          "authorizationFlowOptions": {
            "type": "object",
            "description": "Options used when accepting via the authorization code flow.",
            "required": [
              "code"
            ],
            "properties": {
              "code": {
                "type": "string",
                "example": "SplxlOBeZQQYbYS6WxSbIA",
                "description": "Authorization code returned by the authorization server."
              }
            }
          }
        }
      },
      "acceptCredentialOfferResponse": {
        "title": "Accept Credential Offer",
        "description": "Response payload returned after accepting a credential offer. The exact shape depends on the communication protocol used (OpenID4VCI or DIDComm).",
        "oneOf": [
          {
            "$ref": "#/components/schemas/acceptCredentialOfferOpenIdResponse"
          },
          {
            "$ref": "#/components/schemas/acceptCredentialOfferDidCommResponse"
          }
        ]
      },
      "acceptCredentialOfferOpenIdResponse": {
        "title": "Accept Credential Offer (OpenID)",
        "type": "object",
        "required": [
          "success",
          "response"
        ],
        "description": "Response returned after accepting a credential offer over the OpenID4VCI protocol.",
        "example": {
          "success": true,
          "response": {
            "id": "2552b099-d5b0-4f7f-83bc-00b3956b9cea",
            "communicationProtocol": "openid",
            "credentialType": "vc+sd-jwt",
            "attributes": {
              "age": "30",
              "name": "Miss Owen Fritsch"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://temp-dev-core-credo-agent.koyeb.app/agent/oid4vci/3edb50dd-10a4-48a3-8934-f91106cdd640",
                "name": "Customizable zero administration time-frame",
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "credential": {
                "name": "Patient Info",
                "description": "Proof of Patient Id",
                "textColor": "#f2f500",
                "backgroundImage": {
                  "url": "https://images.pexels.com/photos/956999/milky-way-starry-sky-night-sky-star-956999.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1"
                },
                "logo": {
                  "url": "https://loremflickr.com/640/480",
                  "alt": "Schowalter, Wolff and Crona"
                }
              },
              "claims": {
                "name": {
                  "path": [
                    "name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "name"
                    ],
                    "display": [
                      {
                        "name": "Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                }
              }
            },
            "issuanceDate": "2026-07-20T11:47:36.816Z",
            "type": "PatientRecordSD",
            "issuer": "did:key:zDnaeXbPv7WMQSakiieDuySVGBxYPQzXeA5prLLmGutiBxAaY",
            "createdAt": "2025-12-23T06:28:38.664Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential was accepted without errors)."
          },
          "response": {
            "type": "object",
            "required": [
              "communicationProtocol"
            ],
            "description": "The accepted credential and its metadata.",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the stored credential."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid"
                ],
                "description": "Protocol used to receive the credential (openid)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format/type of the credential (for example, vc+sd-jwt)."
              },
              "attributes": {
                "type": "object",
                "description": "Credential claims keyed by attribute name, or by namespace and then attribute name for mdoc.",
                "additionalProperties": {
                  "$ref": "#/components/schemas/CredentialAttributeValue"
                }
              },
              "metadata": {
                "type": "object",
                "description": "Issuer and credential display metadata for the credential.",
                "properties": {
                  "issuer": {
                    "$ref": "#/components/schemas/IssuerMetadata"
                  },
                  "credential": {
                    "$ref": "#/components/schemas/CredentialDisplayMetadata"
                  },
                  "claims": {
                    "type": "object",
                    "description": "Per-claim display metadata keyed by claim name.",
                    "additionalProperties": {
                      "$ref": "#/components/schemas/ClaimDisplay"
                    }
                  }
                }
              },
              "issuanceDate": {
                "type": "string",
                "format": "date-time",
                "description": "Date the credential was issued (ISO 8601)."
              },
              "type": {
                "type": "string",
                "description": "Credential type name (for example, PatientRecordSD)."
              },
              "issuer": {
                "type": "string",
                "description": "Decentralized Identifier of the issuer."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the credential record was created (ISO 8601)."
              }
            }
          }
        }
      },
      "acceptCredentialOfferDidCommResponse": {
        "title": "Accept Credential Offer (DIDComm)",
        "type": "object",
        "required": [
          "success",
          "response"
        ],
        "description": "Response returned after accepting a credential offer over the DIDComm protocol.",
        "example": {
          "success": true,
          "response": {
            "_tags": {
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "role": "holder",
              "state": "offer-received",
              "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6"
            },
            "metadata": {
              "_anoncreds/credentialRequest": {
                "link_secret_blinding_data": {
                  "v_prime": "31775313156542560276437146916538965879326879309874386049800972775373284124023720978969238468149936760841210817907844036327737540062473713722369681935069121097785327484072663784947807421116005064694658030500919840418821017763043315335296066635981464669756597032535761341341041336980987774611386179734597847498919706164207373818496544050960040741792459144306722688858583115500334769256650572140721138023888560719837324165663598347301809678112761847746636076070597901587621330254963316263368558866420032651949528835009959357820739387482629691870443681015410047852113695880240697770068764469336388682172541770484790552133096778085217068902646813",
                  "vr_prime": null
                },
                "nonce": "172585678564026124472233",
                "link_secret_name": "58e82de8-a905-4fe1-9bd1-4a894cd378d0"
              },
              "_anoncreds/credential": {
                "credentialDefinitionId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/f1897447-d0dc-42b6-9156-db8760f684ba",
                "schemaId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/51791cd5-3ada-42c1-a2f1-f3dd21e97206"
              }
            },
            "credentials": [],
            "id": "7fa31628-6fc6-4e58-94da-366989e36120",
            "createdAt": "2026-07-07T11:42:30.372Z",
            "state": "request-sent",
            "role": "holder",
            "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
            "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6",
            "protocolVersion": "v2",
            "updatedAt": "2026-07-07T11:44:58.625Z",
            "credentialAttributes": [
              {
                "mime-type": "text/plain",
                "name": "name",
                "value": "Siam"
              },
              {
                "mime-type": "text/plain",
                "name": "age",
                "value": "24"
              }
            ]
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential offer was accepted without errors)."
          },
          "response": {
            "type": "object",
            "required": [
              "state",
              "role",
              "connectionId"
            ],
            "description": "The DIDComm credential exchange record.",
            "properties": {
              "_tags": {
                "type": "object",
                "description": "Internal tags describing the credential exchange (connection, role, state, thread)."
              },
              "metadata": {
                "type": "object",
                "description": "Protocol-specific metadata for the credential exchange (for example, AnonCreds request data)."
              },
              "credentials": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Credentials attached to the exchange (empty until issuance completes)."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the credential exchange."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was created (ISO 8601)."
              },
              "state": {
                "type": "string",
                "description": "Current state of the credential exchange."
              },
              "role": {
                "type": "string",
                "description": "Role of the wallet in the exchange (for example, holder)."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the connection over which the exchange occurs."
              },
              "threadId": {
                "type": "string",
                "format": "uuid",
                "description": "Thread identifier correlating the exchange messages."
              },
              "protocolVersion": {
                "type": "string",
                "description": "DIDComm issue-credential protocol version."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was last updated (ISO 8601)."
              },
              "credentialAttributes": {
                "type": "array",
                "description": "Attributes offered in the credential exchange.",
                "items": {
                  "type": "object",
                  "properties": {
                    "mime-type": {
                      "type": "string",
                      "description": "MIME type of the attribute value."
                    },
                    "name": {
                      "type": "string",
                      "description": "Attribute name."
                    },
                    "value": {
                      "type": "string",
                      "description": "Attribute value."
                    }
                  }
                }
              }
            }
          }
        }
      },
      "allStoredCredentialResponse": {
        "title": "Get Stored Credentials",
        "type": "object",
        "description": "Response payload listing all credentials stored in the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
              "createdAt": "2025-03-18T09:06:17.491Z",
              "updatedAt": "2025-03-18T09:06:17.491Z",
              "communicationProtocol": "openid",
              "credentialType": "vc+sd-jwt",
              "issuer": "did:key:z6MkkXxeGTt6GZvQ8RvuCGckgtvVLJD8RSmH4EZm9jug6JFo",
              "holder": "did:key:z6MksAC7hNLTsBEirsh35pNruC6ZdmH5czE3UTSWCSyQbear#z6MksAC7hNLTsBEirsh35pNruC6ZdmH5czE3UTSWCSyQbear",
              "type": "Employee Record Credential",
              "name": "Employee Record Credential",
              "attributes": {
                "family_name": "John Doe",
                "email": "john.doe@example.com",
                "employee_id": "emp-123456",
                "given_name": "John",
                "issued_at": "2025-03-18T09:06:17.491Z",
                "department": "Engineering"
              },
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                  "name": "Business-focused zero administration framework",
                  "logo": {
                    "url": "https://loremflickr.com/640/480",
                    "alt": "Corwin and Sons"
                  }
                },
                "credential": {
                  "name": "Employee Record Credential",
                  "textColor": "#000000",
                  "backgroundImage": {
                    "url": "https://hovi.blob.core.windows.net/studio-assets/default-images/credentialTemplateTheme.jpg"
                  },
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eu-org-image-1782979616602.svg%2Bxml",
                    "alt": "EU Org"
                  }
                },
                "claims": {
                  "given_name": {
                    "path": [
                      "given_name"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Given Name"
                    },
                    "originalDisplay": [
                      {
                        "name": "Given Name"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "given_name"
                      ],
                      "display": [
                        {
                          "name": "Given Name"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "family_name": {
                    "path": [
                      "family_name"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Family Name"
                    },
                    "originalDisplay": [
                      {
                        "name": "Family Name"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "family_name"
                      ],
                      "display": [
                        {
                          "name": "Family Name"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "email": {
                    "path": [
                      "email"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Email"
                    },
                    "originalDisplay": [
                      {
                        "name": "Email"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "email"
                      ],
                      "display": [
                        {
                          "name": "Email"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "employee_id": {
                    "path": [
                      "employee_id"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Employee Id"
                    },
                    "originalDisplay": [
                      {
                        "name": "Employee Id"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "employee_id"
                      ],
                      "display": [
                        {
                          "name": "Employee Id"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "department": {
                    "path": [
                      "department"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Department"
                    },
                    "originalDisplay": [
                      {
                        "name": "Department"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "department"
                      ],
                      "display": [
                        {
                          "name": "Department"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "issued_at": {
                    "path": [
                      "issued_at"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Issued At"
                    },
                    "originalDisplay": [
                      {
                        "name": "Issued At"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "issued_at"
                      ],
                      "display": [
                        {
                          "name": "Issued At"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credentials were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of stored credential records.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the stored credential."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the credential was stored (ISO 8601)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the credential was last updated (ISO 8601)."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid",
                    "didcomm"
                  ],
                  "description": "Protocol used to receive the credential (for example, openid)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "Format/type of the credential (for example, vc+sd-jwt)."
                },
                "issuer": {
                  "type": "string",
                  "description": "Decentralized Identifier of the issuer."
                },
                "holder": {
                  "type": "string",
                  "description": "Decentralized Identifier of the credential holder (this wallet)."
                },
                "type": {
                  "type": "string",
                  "description": "Credential type name."
                },
                "name": {
                  "type": "string",
                  "description": "Display name of the credential."
                },
                "attributes": {
                  "type": "object",
                  "description": "Disclosed credential attributes keyed by attribute name.",
                  "additionalProperties": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      },
                      {
                        "type": "boolean"
                      },
                      {
                        "type": "object"
                      },
                      {
                        "type": "array"
                      }
                    ]
                  }
                },
                "metadata": {
                  "type": "object",
                  "description": "Issuer and credential display metadata for the stored credential.",
                  "properties": {
                    "issuer": {
                      "$ref": "#/components/schemas/IssuerMetadata"
                    },
                    "credential": {
                      "$ref": "#/components/schemas/CredentialDisplayMetadata"
                    },
                    "claims": {
                      "type": "object",
                      "description": "Per-claim display metadata keyed by claim name.",
                      "additionalProperties": {
                        "$ref": "#/components/schemas/ClaimDisplay"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "deleteCredentialResponse": {
        "title": "Delete Credential",
        "type": "object",
        "description": "Response payload returned after a stored credential is successfully deleted.",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential was deleted without errors)."
          }
        }
      },
      "storedCredentialListV2Response": {
        "title": "Get Stored Credentials (v2)",
        "type": "object",
        "description": "One page of the credentials stored in the wallet, newest first. Credentials are returned without their attributes.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
                "claimFormat": "dc+sd-jwt",
                "createdAt": "2025-03-18T09:06:17.491Z",
                "metadata": {
                  "issuer": {
                    "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                    "name": "Acme Corp",
                    "logo": {
                      "url": "https://acme-corp.id/logo.png",
                      "alt": "Acme Corp logo"
                    }
                  },
                  "credential": {
                    "name": "Employee Record Credential",
                    "description": "Proof of employment at Acme Corp",
                    "textColor": "#FFFFFF",
                    "backgroundImage": {
                      "url": "https://acme-corp.id/card.png"
                    }
                  }
                }
              }
            ],
            "pagination": {
              "page": 1,
              "limit": 20,
              "total": 1,
              "totalPages": 1,
              "hasNextPage": false,
              "hasPreviousPage": false
            }
          }
        },
        "required": [
          "success",
          "response"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "required": [
              "credentials",
              "pagination"
            ],
            "properties": {
              "credentials": {
                "type": "array",
                "description": "The credentials of the requested page.",
                "items": {
                  "type": "object",
                  "required": [
                    "id",
                    "createdAt",
                    "metadata"
                  ],
                  "properties": {
                    "id": {
                      "type": "string",
                      "description": "Credential ID. Use it to retrieve, present or delete the credential."
                    },
                    "claimFormat": {
                      "type": "string",
                      "example": "dc+sd-jwt",
                      "description": "Encoding format of the credential: dc+sd-jwt, vc+sd-jwt, mso_mdoc, jwt_vc, ldp_vc or vc+jwt. An AnonCreds credential is stored in W3C form and reports ldp_vc."
                    },
                    "createdAt": {
                      "type": "string",
                      "description": "When the credential was stored in the wallet (ISO 8601)."
                    },
                    "metadata": {
                      "type": "object",
                      "required": [
                        "credential"
                      ],
                      "description": "Issuer and display metadata of the credential.",
                      "properties": {
                        "issuer": {
                          "type": "object",
                          "description": "Issuer of the credential. Taken from the credential offer for OpenID credentials and from the connection for DIDComm credentials.",
                          "properties": {
                            "endpoint": {
                              "type": "string",
                              "description": "Credential issuer endpoint (OpenID credentials)."
                            },
                            "name": {
                              "type": "string",
                              "description": "Display name of the issuer."
                            },
                            "logo": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            },
                            "connectionId": {
                              "type": "string",
                              "description": "DIDComm connection the credential was received over (DIDComm credentials)."
                            }
                          }
                        },
                        "credential": {
                          "type": "object",
                          "required": [
                            "name"
                          ],
                          "description": "How the credential is displayed.",
                          "properties": {
                            "name": {
                              "type": "string",
                              "description": "Display name of the credential. Falls back to the credential type when the issuer supplied no display name."
                            },
                            "description": {
                              "type": "string",
                              "description": "Description of the credential."
                            },
                            "textColor": {
                              "type": "string",
                              "description": "Text colour to render the credential with."
                            },
                            "backgroundImage": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            },
                            "logo": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string",
                                  "description": "Direct URL to the image."
                                },
                                "alt": {
                                  "type": "string",
                                  "description": "Alternative text of the image."
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "pagination": {
                "type": "object",
                "required": [
                  "page",
                  "limit",
                  "total",
                  "totalPages",
                  "hasNextPage",
                  "hasPreviousPage"
                ],
                "properties": {
                  "page": {
                    "type": "integer",
                    "description": "The returned page, starting at 1."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "Number of credentials per page."
                  },
                  "total": {
                    "type": "integer",
                    "description": "Number of credentials matching the filters, across all pages."
                  },
                  "totalPages": {
                    "type": "integer",
                    "description": "Number of pages."
                  },
                  "hasNextPage": {
                    "type": "boolean",
                    "description": "Whether a page follows this one."
                  },
                  "hasPreviousPage": {
                    "type": "boolean",
                    "description": "Whether a page precedes this one."
                  }
                }
              }
            }
          }
        }
      },
      "storedCredentialV2Response": {
        "title": "Get Credential (v2)",
        "type": "object",
        "description": "One stored credential with its attributes and the display labels of its claims.",
        "example": {
          "success": true,
          "response": {
            "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "createdAt": "2025-03-18T09:06:17.491Z",
            "updatedAt": "2025-03-18T09:06:17.491Z",
            "claimFormat": "dc+sd-jwt",
            "issuer": "did:key:z6MkkXxeGTt6GZvQ8RvuCGckgtvVLJD8RSmH4EZm9jug6JFo",
            "attributes": {
              "given_name": "John",
              "family_name": "Doe",
              "employee_id": "emp-123456"
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent.hovi.id/agent/oid4vci/8025d737-bd05-44fa-9201-52c1b1f6d608",
                "name": "Acme Corp",
                "logo": {
                  "url": "https://acme-corp.id/logo.png",
                  "alt": "Acme Corp logo"
                }
              },
              "credential": {
                "name": "Employee Record Credential",
                "description": "Proof of employment at Acme Corp"
              },
              "claims": {
                "given_name": {
                  "path": [
                    "given_name"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Given Name"
                  }
                }
              }
            }
          }
        },
        "required": [
          "success",
          "response"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "required": [
              "id",
              "attributes",
              "metadata"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Credential ID."
              },
              "createdAt": {
                "type": "string",
                "description": "When the credential was stored in the wallet (ISO 8601)."
              },
              "updatedAt": {
                "type": "string",
                "description": "When the stored credential was last updated (ISO 8601)."
              },
              "claimFormat": {
                "type": "string",
                "example": "dc+sd-jwt",
                "description": "Encoding format of the credential: dc+sd-jwt, vc+sd-jwt, mso_mdoc, jwt_vc, ldp_vc or vc+jwt. An AnonCreds credential is stored in W3C form and reports ldp_vc."
              },
              "issuer": {
                "type": "string",
                "description": "Identifier of the issuer. For an mdoc, the issuer certificate in PEM format."
              },
              "holder": {
                "type": "string",
                "description": "Identifier of the holder, when the credential is bound to one."
              },
              "attributes": {
                "type": "object",
                "description": "The claims of the credential. An mdoc groups them by namespace."
              },
              "issuanceDate": {
                "type": "string",
                "description": "When the credential was issued, when the credential states it."
              },
              "expirationDate": {
                "type": "string",
                "description": "When the credential expires, when the credential states it."
              },
              "metadata": {
                "type": "object",
                "required": [
                  "credential"
                ],
                "description": "Issuer and display metadata of the credential.",
                "properties": {
                  "issuer": {
                    "type": "object",
                    "description": "Issuer of the credential. Taken from the credential offer for OpenID credentials and from the connection for DIDComm credentials.",
                    "properties": {
                      "endpoint": {
                        "type": "string",
                        "description": "Credential issuer endpoint (OpenID credentials)."
                      },
                      "name": {
                        "type": "string",
                        "description": "Display name of the issuer."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      },
                      "connectionId": {
                        "type": "string",
                        "description": "DIDComm connection the credential was received over (DIDComm credentials)."
                      }
                    }
                  },
                  "credential": {
                    "type": "object",
                    "required": [
                      "name"
                    ],
                    "description": "How the credential is displayed.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the credential. Falls back to the credential type when the issuer supplied no display name."
                      },
                      "description": {
                        "type": "string",
                        "description": "Description of the credential."
                      },
                      "textColor": {
                        "type": "string",
                        "description": "Text colour to render the credential with."
                      },
                      "backgroundImage": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "description": "Direct URL to the image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alternative text of the image."
                          }
                        }
                      }
                    }
                  },
                  "claims": {
                    "type": "object",
                    "description": "Display labels per claim, keyed by claim path. Only present when the issuer supplied them."
                  }
                }
              }
            }
          }
        }
      },
      "retrieveCredentialOffersResponse": {
        "title": "Retrieve Credential Offers",
        "type": "object",
        "description": "Response payload listing the pending credential offers received by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "7fa31628-6fc6-4e58-94da-366989e36120",
              "state": "pending",
              "role": "holder",
              "connectionId": "c44fb75f-85a8-40cc-a9c0-60f48bc837d5",
              "threadId": "548bbefc-2822-4f63-b0b5-cb52c1397ea6",
              "createdAt": "2026-07-07T11:42:34.907Z",
              "updatedAt": "2026-07-07T11:42:34.907Z",
              "id": "7fa31628-6fc6-4e58-94da-366989e36120"
            },
            {
              "id": "9476f9b6-e8d3-4df3-ac4f-adf3754aa660",
              "createdAt": "2026-07-07T11:44:59.450Z",
              "updatedAt": "2026-07-07T11:44:59.474Z",
              "communicationProtocol": "didcomm",
              "credentialType": "ldp_vc",
              "issuer": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292",
              "name": "Anoncreds",
              "schemaId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/51791cd5-3ada-42c1-a2f1-f3dd21e97206",
              "credentialDefinitionId": "did:cheqd:testnet:dd387cf8-5e50-4acc-87ef-462ac064c292/resources/f1897447-d0dc-42b6-9156-db8760f684ba",
              "context": [
                "https://www.w3.org/2018/credentials/v1",
                "https://w3id.org/security/data-integrity/v2",
                {
                  "@vocab": "https://www.w3.org/ns/credentials/issuer-dependent#"
                }
              ],
              "issuanceDate": "2026-07-07T11:44:59.398252404Z",
              "attributes": {
                "fullName": "Ernest Block",
                "age": 18
              },
              "metadata": {
                "issuer": {
                  "name": "Cheqd Org",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/cheqd-org-image-1783421744164.svg%2Bxml",
                    "alt": "Cheqd Org"
                  }
                },
                "credential": {}
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential offers were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of pending credential offer records. Shapes vary slightly between the openid and didcomm protocols.",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the credential exchange."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the offer record."
                },
                "state": {
                  "type": "string",
                  "description": "Current state of the credential offer."
                },
                "role": {
                  "type": "string",
                  "description": "Role of the wallet in the exchange."
                },
                "connectionId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the associated connection."
                },
                "threadId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Thread identifier correlating the exchange messages."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the offer was received (ISO 8601)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the offer was last updated (ISO 8601)."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid",
                    "didcomm"
                  ],
                  "description": "Protocol used for the offer (openid or didcomm)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "Format/type of the offered credential."
                },
                "issuer": {
                  "type": "string",
                  "description": "Decentralized Identifier of the issuer."
                },
                "name": {
                  "type": "string",
                  "description": "Display name of the offered credential."
                },
                "schemaId": {
                  "type": "string",
                  "description": "Identifier of the credential schema (didcomm/AnonCreds)."
                },
                "credentialDefinitionId": {
                  "type": "string",
                  "description": "Identifier of the credential definition (didcomm/AnonCreds)."
                },
                "context": {
                  "type": "array",
                  "items": {
                    "type": "object"
                  },
                  "description": "JSON-LD context entries for the credential."
                },
                "issuanceDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Date the credential was issued (ISO 8601)."
                },
                "attributes": {
                  "type": "object",
                  "description": "Offered credential attributes keyed by attribute name.",
                  "additionalProperties": {
                    "oneOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "number"
                      }
                    ]
                  }
                },
                "metadata": {
                  "type": "object",
                  "description": "Issuer and credential display metadata for the offer.",
                  "properties": {
                    "issuer": {
                      "$ref": "#/components/schemas/IssuerMetadata"
                    },
                    "credential": {
                      "$ref": "#/components/schemas/CredentialDisplayMetadata"
                    }
                  }
                }
              }
            }
          }
        }
      },
      "declineCredentialOfferRequest": {
        "title": "Decline Credential Offer",
        "type": "object",
        "required": [
          "protocol",
          "credentialId"
        ],
        "description": "Request payload to decline a pending credential offer (the data you send to reject an incoming credential).",
        "example": {
          "protocol": "didcomm",
          "credentialId": "551d4177-c82e-4682-b3ff-3a0414635e88"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the offer (currently didcomm)."
          },
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the credential offer to decline."
          }
        }
      },
      "declineCredentialOfferResponse": {
        "title": "Decline Credential Offer",
        "type": "object",
        "description": "Response payload returned after a credential offer is declined.",
        "example": {
          "success": true,
          "response": {
            "_tags": {
              "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
              "role": "holder",
              "state": "offer-received",
              "threadId": "9f8825e0-2e2d-4a09-badf-e57ce5c05a85"
            },
            "metadata": {},
            "credentials": [],
            "id": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "createdAt": "2025-03-18T09:16:06.290Z",
            "state": "declined",
            "role": "holder",
            "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
            "threadId": "9f8825e0-2e2d-4a09-badf-e57ce5c05a85",
            "protocolVersion": "v2",
            "updatedAt": "2025-03-18T09:18:46.762Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the offer was declined without errors)."
          },
          "response": {
            "type": "object",
            "description": "The updated credential exchange record after declining.",
            "properties": {
              "_tags": {
                "type": "object",
                "description": "Internal tags describing the credential exchange."
              },
              "metadata": {
                "type": "object",
                "description": "Protocol-specific metadata for the credential exchange."
              },
              "credentials": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Credentials attached to the exchange (empty for a declined offer)."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the credential exchange."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was created (ISO 8601)."
              },
              "state": {
                "type": "string",
                "description": "Current state of the exchange (for example, declined)."
              },
              "role": {
                "type": "string",
                "description": "Role of the wallet in the exchange."
              },
              "connectionId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the associated connection."
              },
              "threadId": {
                "type": "string",
                "format": "uuid",
                "description": "Thread identifier correlating the exchange messages."
              },
              "protocolVersion": {
                "type": "string",
                "description": "DIDComm protocol version."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Timestamp when the exchange was last updated (ISO 8601)."
              }
            }
          }
        }
      },
      "allProofRequestsResponse": {
        "title": "Get All Proof Requests",
        "type": "object",
        "description": "Response payload listing all proof (presentation) requests received by the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "_tags": {
                "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
                "role": "prover",
                "state": "request-received",
                "threadId": "696efbb2-729d-44a4-ba68-344279f636fd"
              },
              "metadata": {},
              "id": "b487e5ee-c2dc-4e93-b9b9-c1ee2b001c8e",
              "createdAt": "2025-03-18T09:23:11.133Z",
              "protocolVersion": "v2",
              "state": "request-received",
              "role": "prover",
              "connectionId": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
              "threadId": "696efbb2-729d-44a4-ba68-344279f636fd",
              "updatedAt": "2025-03-18T09:23:11.167Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof requests were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of proof request records.",
            "items": {
              "type": "object",
              "properties": {
                "_tags": {
                  "type": "object",
                  "description": "Internal tags describing the proof exchange (connection, role, state, thread)."
                },
                "metadata": {
                  "type": "object",
                  "description": "Protocol-specific metadata for the proof exchange."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the proof exchange."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the proof request was received (ISO 8601)."
                },
                "protocolVersion": {
                  "type": "string",
                  "description": "DIDComm present-proof protocol version."
                },
                "state": {
                  "type": "string",
                  "description": "Current state of the proof exchange."
                },
                "role": {
                  "type": "string",
                  "description": "Role of the wallet in the exchange (for example, prover)."
                },
                "connectionId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Identifier of the associated connection."
                },
                "threadId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Thread identifier correlating the exchange messages."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp when the exchange was last updated (ISO 8601)."
                }
              }
            }
          }
        }
      },
      "proofRequestResponse": {
        "title": "Get Proof Request",
        "type": "object",
        "description": "Response payload containing the details of a single proof (presentation) request.",
        "example": {
          "success": true,
          "response": {
            "request": {
              "anoncreds": {
                "name": "Patient ID",
                "version": "1.0.1",
                "nonce": "873130175267224263651861",
                "requested_attributes": {
                  "attributes": {
                    "names": [
                      "name"
                    ],
                    "restrictions": [
                      {
                        "schema_id": "did:cheqd:testnet:0e411e10-2379-466a-858c-338e1696df78/resources/f9a7079b-a93f-4dcc-be64-9881f691f2e2"
                      }
                    ]
                  }
                },
                "requested_predicates": {
                  "0_age": {
                    "name": "age",
                    "p_type": ">=",
                    "p_value": 18
                  }
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request was retrieved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The proof request details.",
            "properties": {
              "request": {
                "type": "object",
                "description": "The underlying proof request payload.",
                "properties": {
                  "anoncreds": {
                    "type": "object",
                    "description": "AnonCreds proof request definition.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Name of the proof request."
                      },
                      "version": {
                        "type": "string",
                        "description": "Version of the proof request."
                      },
                      "nonce": {
                        "type": "string",
                        "description": "Cryptographic nonce for the proof request."
                      },
                      "requested_attributes": {
                        "type": "object",
                        "description": "Attributes requested from the holder, with optional restrictions."
                      },
                      "requested_predicates": {
                        "type": "object",
                        "description": "Predicate conditions requested from the holder (for example, age >= 18)."
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "declineProofRequest": {
        "title": "Decline Proof Request",
        "type": "object",
        "required": [
          "protocol",
          "proofExchangeId"
        ],
        "description": "Request payload to decline a pending proof (presentation) request.",
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (currently didcomm)."
          },
          "proofExchangeId": {
            "type": "string",
            "example": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
            "description": "Identifier of the proof exchange to decline."
          }
        }
      },
      "declineProofRequestResponse": {
        "title": "Decline Proof Request",
        "type": "object",
        "description": "Response payload returned after a proof request is declined.",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request was declined without errors)."
          }
        }
      },
      "previewProofRequest": {
        "title": "Preview Proof Request",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Request payload to preview a proof (presentation) request and the credentials that can satisfy it.",
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
          "connectionId": "a4508d13-33ca-4100-ab39-605401e54961"
        },
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm",
              "openid"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (didcomm or openid)."
          },
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the proof exchange (used for the didcomm protocol)."
          },
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "64f7f6db-b974-4e09-8e0b-d1a70819ded6",
            "description": "Identifier of the associated connection (used for the didcomm protocol)."
          },
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://authorize?client_id=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f&request_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f",
            "description": "Proof request URI to preview (used for the openid protocol)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "example": "https://verifier.example.com",
            "description": "HTTPS origin of the OpenID4VP Digital Credentials API (DC API) verifier (relying party). Required for dc_api and dc_api.jwt response modes; must match the verifier expected_origins. Used for the openid protocol only."
          }
        }
      },
      "previewProofRequestResponse": {
        "title": "Preview Proof Request",
        "type": "object",
        "description": "Response payload containing a preview of a proof request and the matching credentials.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "identity-c1"
                }
              },
              {
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "identity-c2"
                }
              },
              {
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                "credentialType": "mso_mdoc",
                "communicationProtocol": "openid",
                "attributes": {
                  "org.iso.18013.5.1": {
                    "family_name": "Doe"
                  }
                }
              },
              {
                "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66",
                "credentialType": "dc+sd-jwt",
                "communicationProtocol": "openid",
                "attributes": {
                  "given_name": "Alice",
                  "reference": "passport"
                }
              }
            ],
            "credentialsByQueryId": {
              "identity": [
                {
                  "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "identity-c1"
                  }
                },
                {
                  "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "identity-c2"
                  }
                }
              ],
              "licence": [
                {
                  "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                  "credentialType": "mso_mdoc",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "org.iso.18013.5.1": {
                      "family_name": "Doe"
                    }
                  }
                }
              ],
              "passport": [
                {
                  "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66",
                  "credentialType": "dc+sd-jwt",
                  "communicationProtocol": "openid",
                  "attributes": {
                    "given_name": "Alice",
                    "reference": "passport"
                  }
                }
              ]
            },
            "credentialRequirements": [
              {
                "required": true,
                "mode": "all",
                "queryIds": [
                  "identity"
                ]
              },
              {
                "required": true,
                "mode": "any",
                "queryIds": [
                  "licence",
                  "passport"
                ]
              }
            ],
            "dcql": {
              "credentials": [
                {
                  "id": "identity",
                  "format": "dc+sd-jwt",
                  "meta": {
                    "vct_values": [
                      "urn:example:identity"
                    ]
                  }
                },
                {
                  "id": "licence",
                  "format": "mso_mdoc",
                  "meta": {
                    "doctype_value": "org.iso.18013.5.1.mDL"
                  }
                },
                {
                  "id": "passport",
                  "format": "dc+sd-jwt",
                  "meta": {
                    "vct_values": [
                      "urn:example:passport"
                    ]
                  }
                }
              ],
              "credential_sets": [
                {
                  "required": true,
                  "options": [
                    [
                      "identity"
                    ]
                  ]
                },
                {
                  "required": true,
                  "options": [
                    [
                      "licence"
                    ],
                    [
                      "passport"
                    ]
                  ]
                }
              ]
            },
            "metadata": {
              "verifier": {
                "name": "Example verifier"
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the proof request preview was generated without errors)."
          },
          "response": {
            "type": "object",
            "description": "The previewed proof request details.",
            "properties": {
              "credentials": {
                "type": "array",
                "description": "Matching wallet credentials. For OpenID DCQL requests, use credentialsByQueryId to choose a credential for each query.",
                "items": {
                  "$ref": "#/components/schemas/HolderPreviewCredential"
                }
              },
              "credentialsByQueryId": {
                "type": "object",
                "description": "OpenID DCQL credential candidates grouped by query ID. A query may have multiple candidates; choose one by credentialId. Queries without matches have an empty array. Optional credential sets are excluded.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HolderPreviewCredential"
                  }
                }
              },
              "credentialRequirements": {
                "type": "array",
                "description": "Every returned group must be satisfied. Each group requires all queries or any one query. If credential sets are absent, all queries are required. Optional sets are excluded, so optional-only requests return an empty array. Alternative bundles within a group and transaction data referencing optional queries are unsupported and return HTTP 400.",
                "items": {
                  "$ref": "#/components/schemas/HolderCredentialRequirement"
                }
              },
              "dcql": {
                "type": "object",
                "description": "The OpenID DCQL credential query from the proof request."
              },
              "purpose": {
                "type": "string",
                "description": "Human-readable purpose of the verification."
              },
              "presentationDefinition": {
                "type": "object",
                "description": "DIF Presentation Exchange definition describing the required claims.",
                "properties": {
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Identifier of the presentation definition."
                  },
                  "purpose": {
                    "type": "string",
                    "description": "Purpose of the presentation definition."
                  },
                  "input_descriptors": {
                    "type": "array",
                    "items": {
                      "type": "object"
                    },
                    "description": "Input descriptors specifying which credentials/claims are required."
                  }
                }
              },
              "transactionData": {
                "type": "array",
                "description": "OpenID4VP transaction data the verifier asks the wallet to sign. Present only for openid proof requests that carry transaction data. Submitting the presentation signs every entry, so show these to the user before they confirm.",
                "items": {
                  "type": "object",
                  "properties": {
                    "type": {
                      "type": "string",
                      "description": "Transaction data type.",
                      "example": "payment_data"
                    },
                    "transactionDataIndex": {
                      "type": "integer",
                      "description": "Position of the entry in the proof request.",
                      "example": 0
                    },
                    "matchedCredentialIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "DCQL credential query ids the wallet can satisfy for this entry. These are query ids from the proof request, not wallet credential ids."
                    },
                    "payload": {
                      "type": "object",
                      "description": "Decoded transaction data entry, including its type-specific fields.",
                      "example": {
                        "type": "payment_data",
                        "credential_ids": [
                          "f75f5fbd-5446-463e-b4d5-ed2ebb7dbcc7"
                        ],
                        "transaction_data_hashes_alg": [
                          "sha-256"
                        ],
                        "payment_data": {
                          "payee": "Merchant XYZ",
                          "currency_amount": {
                            "currency": "EUR",
                            "value": "23.58"
                          }
                        }
                      }
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "description": "Verifier metadata for the proof request.",
                "properties": {
                  "verifier": {
                    "type": "object",
                    "description": "Information about the verifier requesting the proof.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Human-readable name of the verifier."
                      },
                      "logo": {
                        "$ref": "#/components/schemas/ImageAsset"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "submitProofPresentation": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "required": [
          "protocol"
        ],
        "description": "Submit a proof presentation. For OpenID DCQL, select one matching wallet credential per chosen query and satisfy every required group. Use credentialId for a single-query request, selectedCredentials for query-based selections, or omit both for automatic selection. Query-based selections require OpenID DCQL. Alternative bundles within a group and transaction data referencing optional queries return HTTP 400.",
        "not": {
          "required": [
            "credentialId",
            "selectedCredentials"
          ]
        },
        "example": {
          "protocol": "didcomm",
          "proofExchangeId": "797fbc10-2810-44ea-9c1b-7d70833ea12e",
          "credentialId": "403c8b56-f69e-4d58-a918-a84572f18b8e"
        },
        "examples": [
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb"
              },
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "613bf782-b151-4f2b-aae9-b6c245307beb"
              },
              {
                "id": "passport",
                "credentialId": "96424e70-d1ca-4912-8fc4-2687c5daef66"
              }
            ]
          },
          {
            "protocol": "openid",
            "proofRequestUri": "openid4vp://?request_uri=https%3A%2F%2Fverifier.example%2Frequest"
          }
        ],
        "properties": {
          "protocol": {
            "type": "string",
            "enum": [
              "didcomm",
              "openid"
            ],
            "example": "didcomm",
            "description": "Communication protocol of the proof request (didcomm or openid)."
          },
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the proof exchange (used for the didcomm protocol)."
          },
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://authorize?client_id=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f&request_uri=https%3A%2F%2Fcore-agent.hovi.id%2Fagent%2Foid4vp%2Frequests%2F9b402c09-47a6-498e-9750-ae3a38aeed9f",
            "description": "Proof request URI (used for the openid protocol)."
          },
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "description": "Wallet credential ID for a single-query OpenID DCQL request, a Presentation Exchange request, or a DIDComm request. For multiple DCQL queries, use selectedCredentials or omit both selection fields for automatic selection."
          },
          "selectedCredentials": {
            "type": "array",
            "minItems": 1,
            "description": "OpenID DCQL only. Include one matching credential for every query in each all group and one alternative for each any group. Query IDs must be unique. Use either credentialId or selectedCredentials. Choose a candidate using its credentialId from credentialsByQueryId.",
            "items": {
              "$ref": "#/components/schemas/HolderCredentialSelection"
            }
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "example": "https://verifier.example.com",
            "description": "HTTPS origin of the OpenID4VP Digital Credentials API (DC API) verifier (relying party). Required for dc_api and dc_api.jwt response modes; must match the verifier expected_origins. Used for the openid protocol only."
          }
        }
      },
      "submitProofPresentationResponse": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "description": "Response payload returned after a proof presentation is successfully submitted.",
        "example": {
          "success": true,
          "response": {
            "authorizationResponse": {
              "vp_token": {
                "pid-credential": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the presentation was submitted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Presentation submission result. For openid, contains the OpenID4VP authorization response. For didcomm, may include an optional message.",
            "properties": {
              "authorizationResponse": {
                "type": "object",
                "additionalProperties": true,
                "description": "OpenID4VP authorization response (openid only). Contains the presentation result sent to the verifier (e.g. vp_token)."
              },
              "message": {
                "type": "string",
                "description": "Optional status message (used for the didcomm protocol)."
              }
            }
          }
        }
      },
      "registerWebhookRequest": {
        "title": "Register Webhook",
        "type": "object",
        "required": [
          "webhookUrl"
        ],
        "description": "Creates a webhook endpoint for receiving Hovi event notifications. Hovi automatically generates a signing secret and returns it in the response. Store this secret securely and use it to verify incoming webhook requests. Each request includes `x-webhook-timestamp` and `x-webhook-signature`. The signature is generated using HMAC-SHA256 over `{timestamp}.{rawBody}`. See the Webhooks guide for complete verification instructions. [See more](https://docs.hovi.id/studio-guide/webhooks#verify-webhook-signaturess)",
        "example": {
          "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://api.partner.hovi.id/webhooks/cloud-wallet",
            "description": "HTTP callback URL that will receive event notifications."
          }
        }
      },
      "registerWebhookResponse": {
        "title": "Register Webhook",
        "type": "object",
        "description": "Response payload returned after a webhook is successfully registered.",
        "example": {
          "success": true,
          "response": {
            "message": "Webhooks registered successfully",
            "webhookId": "27f98567-dcd2-4fc2-966d-a3195b54f983",
            "webhookUrl": "https://example.com/webhook",
            "webhookSecret": "-s71NA6EhypIYFhR8_TAQyS52bglyF44_ZVU-QhL6H0"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was registered without errors)."
          },
          "response": {
            "type": "object",
            "description": "Confirmation details for the registered webhook.",
            "properties": {
              "message": {
                "type": "string",
                "description": "Human-readable confirmation message."
              },
              "webhookId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the registered webhook."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "HTTP callback URL that will receive event notifications."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Base64-encoded secret key for webhook signature verification."
              }
            }
          }
        }
      },
      "deleteWebhookRequest": {
        "title": "Delete Webhook",
        "type": "object",
        "required": [
          "webhookUrl"
        ],
        "description": "Request payload to delete a previously registered webhook URL.",
        "example": {
          "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://api.partner.hovi.id/webhooks/cloud-wallet",
            "description": "HTTP callback URL of the webhook to delete."
          }
        }
      },
      "rotateWebhookSecretRequest": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to rotate the secret key for an existing webhook.",
        "example": {
          "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "format": "uuid",
            "example": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "description": "Identifier of the webhook to rotate the secret for."
          }
        }
      },
      "rotateWebhookSecretResponse": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "description": "Response payload returned after a webhook secret is successfully rotated.",
        "example": {
          "success": true,
          "response": {
            "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88",
            "webhookUrl": "https://example.com/webhook",
            "webhookSecret": "dGhpcy1pcy1hLXNlY3JldA"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook secret was rotated without errors)."
          },
          "response": {
            "type": "object",
            "description": "Details for the webhook after secret rotation.",
            "properties": {
              "webhookId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the webhook."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "HTTP callback URL of the webhook."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Base64-encoded secret key for webhook signature verification."
              }
            }
          }
        }
      },
      "deleteWebhookResponse": {
        "title": "Delete Webhook",
        "type": "object",
        "description": "Response payload returned after a webhook is successfully deleted.",
        "example": {
          "success": true,
          "response": {
            "message": "Webhook deleted successfully"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was deleted without errors)."
          },
          "response": {
            "type": "object",
            "description": "Confirmation details for the deleted webhook.",
            "properties": {
              "message": {
                "type": "string",
                "description": "Human-readable confirmation message."
              }
            }
          }
        }
      },
      "getWebhookResponse": {
        "title": "Get Webhooks",
        "type": "object",
        "description": "Response payload listing the webhooks registered for the wallet.",
        "example": {
          "success": true,
          "response": [
            {
              "webhookUrl": "https://api.partner.hovi.id/webhooks/cloud-wallet",
              "webhookId": "551d4177-c82e-4682-b3ff-3a0414635e88"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhooks were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Array of registered webhook records.",
            "items": {
              "type": "object",
              "properties": {
                "webhookUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "HTTP callback URL of the webhook."
                },
                "webhookId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the webhook."
                }
              }
            }
          }
        }
      },
      "getMAUAnalyticsResponse": {
        "title": "Get MAU Analytics",
        "type": "object",
        "description": "Response payload containing monthly active wallet (MAU) analytics for an ecosystem.",
        "example": {
          "success": true,
          "response": {
            "ecosystemId": "9a3d1ee0-5850-4f75-986d-36002e8bc1d9",
            "analytics": {
              "monthlyActiveWallet": 1,
              "totalCreatedWallet": 6,
              "limit": 1000
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the analytics were retrieved without errors)."
          },
          "response": {
            "type": "object",
            "description": "The analytics details for the ecosystem.",
            "properties": {
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the ecosystem the analytics belong to."
              },
              "analytics": {
                "type": "object",
                "description": "Wallet usage metrics for the ecosystem.",
                "properties": {
                  "monthlyActiveWallet": {
                    "type": "number",
                    "description": "Number of wallets active in the current month."
                  },
                  "totalCreatedWallet": {
                    "type": "number",
                    "description": "Total number of wallets created in the ecosystem."
                  },
                  "limit": {
                    "type": "number",
                    "description": "Maximum number of wallets allowed for the ecosystem."
                  }
                }
              }
            }
          }
        }
      },
      "HolderDidCommExchangeBase": {
        "type": "object",
        "required": [
          "id",
          "tenantId",
          "agentState",
          "state",
          "role",
          "threadId",
          "connectionId",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "tenantId": {
            "type": "string",
            "format": "uuid",
            "description": "Cloud wallet tenant receiving the webhook."
          },
          "agentState": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "threadId": {
            "type": "string",
            "format": "uuid"
          },
          "connectionId": {
            "type": "string",
            "format": "uuid"
          },
          "message": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "HolderDidExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "did-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "invitationId",
                  "connectionProtocol",
                  "myDid",
                  "accept"
                ],
                "oneOf": [
                  {
                    "title": "Connection request sent",
                    "required": [
                      "agentState",
                      "state"
                    ],
                    "properties": {
                      "agentState": {
                        "const": "request-sent"
                      },
                      "state": {
                        "const": "pending"
                      }
                    }
                  },
                  {
                    "title": "Connection completed",
                    "required": [
                      "agentState",
                      "state"
                    ],
                    "properties": {
                      "agentState": {
                        "const": "completed"
                      },
                      "state": {
                        "const": "completed"
                      }
                    }
                  }
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "enum": [
                      "request-sent",
                      "completed"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "completed"
                    ]
                  },
                  "role": {
                    "type": "string",
                    "const": "requester"
                  },
                  "invitationId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "connectionProtocol": {
                    "type": "string",
                    "format": "uri"
                  },
                  "myDid": {
                    "type": "string"
                  },
                  "theirDid": {
                    "type": "string"
                  },
                  "theirLabel": {
                    "type": "string"
                  },
                  "accept": {
                    "type": "string"
                  },
                  "imageUrl": {
                    "type": "string",
                    "format": "uri"
                  }
                }
              }
            ]
          }
        }
      },
      "HolderCredentialExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "credential-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "credentialExchangeId",
                  "message"
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "enum": [
                      "offer-received",
                      "done"
                    ]
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "pending",
                      "done"
                    ]
                  },
                  "role": {
                    "type": "string",
                    "const": "holder"
                  },
                  "credentialExchangeId": {
                    "type": "string",
                    "format": "uuid"
                  }
                }
              }
            ]
          }
        }
      },
      "HolderProofExchangeWebhook": {
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "proof-exchange"
          },
          "payload": {
            "allOf": [
              {
                "$ref": "#/components/schemas/HolderDidCommExchangeBase"
              },
              {
                "type": "object",
                "required": [
                  "proofExchangeId",
                  "isVerified",
                  "message"
                ],
                "properties": {
                  "agentState": {
                    "type": "string",
                    "const": "request-received"
                  },
                  "state": {
                    "type": "string",
                    "const": "pending"
                  },
                  "role": {
                    "type": "string",
                    "const": "prover"
                  },
                  "proofExchangeId": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "isVerified": {
                    "type": "boolean",
                    "const": false
                  }
                }
              }
            ]
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "webhooks": {
    "holder-connection-request-sent": {
      "post": {
        "tags": [
          "Webhook Events"
        ],
        "operationId": "holderConnectionRequestSent",
        "summary": "Connection Event",
        "description": "Sent to the cloud wallet when its DIDComm connection request is sent and when the connection is completed.",
        "parameters": [
          {
            "name": "x-webhook-signature",
            "in": "header",
            "description": "HMAC-SHA256 signature used to verify that Hovi sent the webhook.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "sha256=9d8f1f2f7f4e4b28d52c1b2a1fb7d39a"
          },
          {
            "name": "x-webhook-timestamp",
            "in": "header",
            "description": "Unix timestamp included when calculating the webhook signature.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1788922159"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The JSON event Hovi sends to the registered cloud wallet webhook URL.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HolderDidExchangeWebhook"
              },
              "examples": {
                "requestSent": {
                  "summary": "Connection request sent by holder",
                  "value": {
                    "type": "did-exchange",
                    "payload": {
                      "id": "99dfdfcc-1d9b-47e9-800c-653fdcd351d7",
                      "tenantId": "f24e27de-dffb-45b5-8b83-c091a2ee5119",
                      "invitationId": "40b6d8f4-baee-4db7-8be5-015937b719cf",
                      "connectionId": "99dfdfcc-1d9b-47e9-800c-653fdcd351d7",
                      "agentState": "request-sent",
                      "state": "pending",
                      "connectionProtocol": "https://didcomm.org/didexchange/1.x",
                      "role": "requester",
                      "threadId": "809ee8c9-8444-4972-9278-3969e5782291",
                      "myDid": "did:peer:4zQmHolderPairwiseDid...",
                      "theirLabel": "Cheqd Org",
                      "accept": "auto",
                      "imageUrl": "https://example.com/issuer-logo.png",
                      "createdAt": "2026-09-09T02:35:32.125Z",
                      "updatedAt": "2026-09-09T02:35:32.148Z"
                    }
                  }
                },
                "connectionCompleted": {
                  "summary": "Holder connection completed",
                  "value": {
                    "type": "did-exchange",
                    "payload": {
                      "id": "d3193fd0-7e27-44f2-a27c-59fc339879a5",
                      "tenantId": "f24e27de-dffb-45b5-8b83-c091a2ee5119",
                      "invitationId": "b3b57f0d-b06f-4c84-b919-6f3ea7c373ce",
                      "connectionId": "d3193fd0-7e27-44f2-a27c-59fc339879a5",
                      "agentState": "completed",
                      "state": "completed",
                      "connectionProtocol": "https://didcomm.org/didexchange/1.x",
                      "role": "requester",
                      "threadId": "986c6659-850b-4ae5-aade-c89358360f3c",
                      "myDid": "did:peer:4zQmHolderPairwiseDid...",
                      "theirDid": "did:peer:4zQmIssuerPairwiseDid...",
                      "theirLabel": "Cheqd Org",
                      "accept": "auto",
                      "imageUrl": "https://example.com/issuer-logo.png",
                      "createdAt": "2026-09-09T02:38:01.728Z",
                      "updatedAt": "2026-09-09T02:38:02.394Z"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Webhook acknowledged successfully. No response body is required."
          }
        }
      }
    },
    "holder-credential-exchange": {
      "post": {
        "tags": [
          "Webhook Events"
        ],
        "operationId": "holderCredentialExchange",
        "summary": "Credential Exchange Event",
        "description": "Sent to the cloud wallet when a DIDComm credential offer is received and when the accepted credential is stored.",
        "parameters": [
          {
            "name": "x-webhook-signature",
            "in": "header",
            "description": "HMAC-SHA256 signature used to verify that Hovi sent the webhook.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "sha256=9d8f1f2f7f4e4b28d52c1b2a1fb7d39a"
          },
          {
            "name": "x-webhook-timestamp",
            "in": "header",
            "description": "Unix timestamp included when calculating the webhook signature.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1788922159"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The JSON event Hovi sends to the registered cloud wallet webhook URL.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HolderCredentialExchangeWebhook"
              },
              "examples": {
                "offerReceived": {
                  "summary": "Credential offer received",
                  "value": {
                    "type": "credential-exchange",
                    "payload": {
                      "id": "1e34065c-7717-4e3c-b196-c83f5a7d5db4",
                      "tenantId": "f24e27de-dffb-45b5-8b83-c091a2ee5119",
                      "credentialExchangeId": "1e34065c-7717-4e3c-b196-c83f5a7d5db4",
                      "agentState": "offer-received",
                      "state": "pending",
                      "role": "holder",
                      "threadId": "f6396bc8-670b-47ed-a545-ab206a45bdc0",
                      "connectionId": "99dfdfcc-1d9b-47e9-800c-653fdcd351d7",
                      "createdAt": "2026-09-09T02:43:53.430Z",
                      "updatedAt": "2026-09-09T02:43:53.478Z",
                      "message": "Credential offer received. Accept to store it."
                    }
                  }
                },
                "credentialStored": {
                  "summary": "Credential stored",
                  "value": {
                    "type": "credential-exchange",
                    "payload": {
                      "id": "1e34065c-7717-4e3c-b196-c83f5a7d5db4",
                      "tenantId": "f24e27de-dffb-45b5-8b83-c091a2ee5119",
                      "credentialExchangeId": "1e34065c-7717-4e3c-b196-c83f5a7d5db4",
                      "agentState": "done",
                      "state": "done",
                      "role": "holder",
                      "threadId": "f6396bc8-670b-47ed-a545-ab206a45bdc0",
                      "connectionId": "99dfdfcc-1d9b-47e9-800c-653fdcd351d7",
                      "createdAt": "2026-09-09T02:43:53.430Z",
                      "updatedAt": "2026-09-09T02:47:53.271Z",
                      "message": "Credential has been stored in the wallet."
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Webhook acknowledged successfully. No response body is required."
          }
        }
      }
    },
    "holder-proof-request-received": {
      "post": {
        "tags": [
          "Webhook Events"
        ],
        "operationId": "holderProofRequestReceived",
        "summary": "Proof Request Received",
        "description": "Sent to the cloud wallet when it receives a DIDComm proof request from a verifier.",
        "parameters": [
          {
            "name": "x-webhook-signature",
            "in": "header",
            "description": "HMAC-SHA256 signature used to verify that Hovi sent the webhook.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "sha256=9d8f1f2f7f4e4b28d52c1b2a1fb7d39a"
          },
          {
            "name": "x-webhook-timestamp",
            "in": "header",
            "description": "Unix timestamp included when calculating the webhook signature.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1788922159"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The JSON event Hovi sends to the registered cloud wallet webhook URL.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HolderProofExchangeWebhook"
              },
              "examples": {
                "requestReceived": {
                  "summary": "Proof request received",
                  "value": {
                    "type": "proof-exchange",
                    "payload": {
                      "id": "fbc13141-61fc-4947-8d17-42108a19a436",
                      "tenantId": "f24e27de-dffb-45b5-8b83-c091a2ee5119",
                      "proofExchangeId": "fbc13141-61fc-4947-8d17-42108a19a436",
                      "agentState": "request-received",
                      "state": "pending",
                      "isVerified": false,
                      "role": "prover",
                      "threadId": "9fad0c8f-240b-4fea-8179-01147a3ef01d",
                      "connectionId": "d3193fd0-7e27-44f2-a27c-59fc339879a5",
                      "message": "Proof request received from verifier but presentation not submitted.",
                      "createdAt": "2026-09-09T02:49:19.108Z",
                      "updatedAt": "2026-09-09T02:49:19.151Z"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Webhook acknowledged successfully. No response body is required."
          }
        }
      }
    }
  }
}