{
  "openapi": "3.1.0",
  "info": {
    "version": "v0.8.9",
    "title": "Hovi API (EU Digital Identity)",
    "description": "Integrate with the EU Digital Identity ecosystem using the Hovi API. This documentation covers credential issuance and verification via OID4VCI and OID4VP protocols, supporting SD-JWT (selective disclosure), mdoc (offline ISO standards), and JSON-LD (W3C linked data). Build robust identity solutions aligned with EUDI ARF and W3C standards."
  },
  "servers": [
    {
      "url": "https://api.hovi.id",
      "description": "Hovi SaaS"
    }
  ],
  "tags": [
    {
      "name": "Organization",
      "description": "Organization endpoints allow the creation, deletion, and management of organizations (tenant accounts that act as issuers or verifiers) in the Hovi ecosystem. Organizations are essential entities that handle the majority of operations, including creating credential templates (predefined data structures for digital credentials), verification templates (rules defining what claims to request from users), issuing credentials (via OID4VCI protocol), and initiating verification proof requests (via OID4VP protocol)."
    },
    {
      "name": "Webhooks",
      "description": "Webhook endpoints allow organizations to configure webhooks (HTTP callback URLs) to receive asynchronous event notifications (e.g., successful OID4VCI issuance of a credential or successful OID4VP verification of a presentation)."
    },
    {
      "name": "Credential Templates",
      "description": "Credential templates endpoints enable organizations to define the schema (data structure), metadata, and visual rendering properties for credentials prior to issuance via the OID4VCI protocol."
    },
    {
      "name": "Credentials",
      "description": "Credential endpoints manage the lifecycle of verifiable credentials, allowing organizations to issue (via OpenID4VCI protocol) and revoke credentials based on defined templates."
    },
    {
      "name": "Verification Templates",
      "description": "Verification templates define the format for presentation requests (DIF Presentation Exchange definitions used in the OID4VP protocol), specifying the exact claims required from credential holders."
    },
    {
      "name": "Verifications",
      "description": "Verification endpoints allow organizations to verify credentials (via the OpenID4VP protocol) against predefined Verification Templates."
    },
    {
      "name": "Organizational Wallet",
      "description": "Organizational Wallet endpoints enable organizations to accept credential offers (via OID4VCI), and submit OpenID4VP proof presentations."
    },
    {
      "name": "Webhook Events",
      "description": "Asynchronous events delivered by Hovi to the callback URL registered for the organization."
    }
  ],
  "paths": {
    "/organization/create": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Create Organization",
        "description": "This route allows for the creation of a new organization within an ecosystem.",
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTenantResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid params",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createTenant"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/createTenant"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ]
      }
    },
    "/organization/": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get All Organization",
        "description": "Retrieves a list of organizations. By default, all organizations are returned.",
        "parameters": [
          {
            "name": "organizationId",
            "in": "query",
            "description": "Filters the result by a specific organization id.",
            "required": false,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Unauthorized to access the organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Unauthorized to access the organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/public-did": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Public DID",
        "description": "This route retrieves the Decentralized Identifiers (DIDs) associated with a specific organization, identified by their organization id. The response includes a list of all DIDs linked to the organization, along with relevant metadata.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantDidsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetTenantDidsResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/update": {
      "patch": {
        "tags": [
          "Organization"
        ],
        "summary": "Update Organization",
        "description": "This route allows for the modification of a organization’s metadata, such as their label and image URL. The organization is identified by their organization id.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateTenantResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/updateTenant"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/updateTenant"
              }
            }
          }
        }
      }
    },
    "/organization/rotate-key": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Rotate Organization Key",
        "description": "This route allows a organization to rotate their secret key, a critical security component used for authentication and encryption in the platform.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateTenantAccessTokenResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RotateTenantAccessTokenResponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid organization secret",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid organization secret"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/rotateKey"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/rotateKey"
              }
            }
          }
        }
      }
    },
    "/organization/delete": {
      "delete": {
        "tags": [
          "Organization"
        ],
        "summary": "Delete Organization",
        "description": "This route allows for the permanent deletion of a organization from the ecosystem, identified by their organization id. Deleting a organization removes all their associated data, including credential templates, verification templates, issued credentials, and proof requests.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantReponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteTenantReponse"
                }
              }
            }
          },
          "400": {
            "description": "Invalid organization secret",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid organization secret"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/deleteTenant"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/deleteTenant"
              }
            }
          }
        }
      }
    },
    "/organization/create-did": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Create Organization DID",
        "description": "This route allows for the creation of a did:web DID for a specific organization within an ecosystem.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDidResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateDidResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Only did method web is supported"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Only did method web is supported"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "privateKey is required to import did"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createDid"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/createDid"
              }
            }
          }
        }
      }
    },
    "/organization/certificate/import": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Import Certificate",
        "description": "Import an EC P-256 signing certificate and matching private key for an organization. The imported certificate is stored alongside the existing ones. Unless `isDefault` is true, it is not set as the default: issuance and verification keep using the current default certificate of the organization. With `isDefault: true` the imported certificate becomes the default; if it cannot be set as the default, it is not kept and the request fails. A certificate imported without `isDefault` can be set as the default later with its `certificateId` from the response.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportCertificateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ImportCertificateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network or invalid certificate or private key. See the response message for details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "certificate Key Usage must include digitalSignature"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "certificate Key Usage must include digitalSignature"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ImportCertificate"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ImportCertificate"
              }
            }
          }
        }
      }
    },
    "/organization/certificate": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "List Certificates",
        "description": "List the signing certificates of an organization. Each item contains the certificate ID, the PEM-encoded certificate, whether it is the default, and when it was created and last updated. The organization signs issuance and verification with its default certificate. The certificate chain is not included; to retrieve it, use Get Certificate with its `certificateId`.",
        "parameters": [
          {
            "name": "isDefault",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListCertificatesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ListCertificatesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network or invalid isDefault value.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "isDefault must be true or false"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "isDefault must be true or false"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/certificate/{certificateId}": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get Certificate",
        "description": "Get one signing certificate of an organization, including the PEM-encoded certificate and, when present, its certificate chain.",
        "parameters": [
          {
            "name": "certificateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "format": "uuid",
            "description": "Certificate ID returned by the list or import endpoints."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCertificateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetCertificateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network or invalid certificateId.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "certificateId must be a valid UUID"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "certificateId must be a valid UUID"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The organization has no certificate with this ID.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Certificate not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Certificate not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Organization"
        ],
        "summary": "Delete Certificate",
        "description": "Delete a certificate that is not the default of the organization. Deletion cannot be undone. Verification requests that were already sent keep working. To delete the default certificate, set another certificate as the default first.",
        "parameters": [
          {
            "name": "certificateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "format": "uuid",
            "description": "Certificate ID returned by the list or import endpoints."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateMetadataResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateMetadataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network, invalid certificateId, or the certificate could not be deleted, for example because it does not exist or is the default.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Certificate deletion failed"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Certificate deletion failed"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "certificateId": {
                    "example": "any"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/certificate/{certificateId}/set-default": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Set Default Certificate",
        "description": "Make a certificate the default of the organization. New issuance and verification requests are signed with the default certificate. The certificate must be within its validity dates, and its private key must match it. Setting the current default again succeeds without changes.",
        "parameters": [
          {
            "name": "certificateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "format": "uuid",
            "description": "Certificate ID returned by the list or import endpoints."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateMetadataResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CertificateMetadataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network, invalid certificateId, or the certificate could not be set as the default, for example because it does not exist, is expired or its private key does not match.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to set the default certificate"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to set the default certificate"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "certificateId": {
                    "example": "any"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/authorization-server": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Add Authorization Server",
        "description": "Add an external OAuth 2.0 authorization server to the organization for the authorization code flow. Wallets authorize with the organization, which sends the user on to this server to sign in. An organization can have at most 5 authorization servers. The client secret is not returned by any endpoint.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network, invalid configuration, the issuer is already configured, or the organization already has 5 authorization servers. See the response message for details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "issuer 'https://auth.example.com' is already configured"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "issuer 'https://auth.example.com' is already configured"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationServerConfig"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/AuthorizationServerConfig"
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "List Authorization Servers",
        "description": "List the external authorization servers of the organization. Client secrets are not returned.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListAuthorizationServersResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ListAuthorizationServersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server management is not supported for cheqd network"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server management is not supported for cheqd network"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/organization/authorization-server/{authorizationServerId}": {
      "patch": {
        "tags": [
          "Organization"
        ],
        "summary": "Update Authorization Server",
        "description": "Change the default scopes and wallet redirect URIs used by credential offers through an authorization server.",
        "parameters": [
          {
            "name": "authorizationServerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "format": "uuid",
            "description": "Authorization server ID returned by the add or list endpoints."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network, invalid authorizationServerId, or invalid values. See the response message for details.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Request body must set scopes or walletRedirectUris"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Request body must set scopes or walletRedirectUris"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The organization has no authorization server with this ID.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAuthorizationServer"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAuthorizationServer"
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Organization"
        ],
        "summary": "Remove Authorization Server",
        "description": "Remove an external authorization server from the organization. Credential offers created through it can no longer be used; credentials already issued are not affected.",
        "parameters": [
          {
            "name": "authorizationServerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "format": "uuid",
            "description": "Authorization server ID returned by the add or list endpoints."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AuthorizationServerResponse"
                }
              }
            }
          },
          "400": {
            "description": "Unsupported network or invalid authorizationServerId.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "authorizationServerId must be a valid UUID"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "authorizationServerId must be a valid UUID"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "The organization has no authorization server with this ID.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Authorization server not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "issuer": {
                    "example": "any"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/credential-template/jsonld/create": {
      "post": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Create Template (JSON-LD)",
        "description": "This route enables a organization to create a JSON-LD credential template, specifying the schema type, attributes, and structure for issuing JSON-LD credentials.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJsonLdCredentialTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJsonLdCredentialTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid credential type for ecosystem"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createJsonLdCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/credential-template/sd-jwt/create": {
      "post": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Create Template (SD-JWT)",
        "description": "This route is used to create a SD-JWT credential template for a organization. The SD-JWT credential template allows the organization to define the attributes, types, labels, and conditions under which the credential can be issued.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSdJwtCredentialTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSdJwtCredentialTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid credential type for ecosystem"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for tenant"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for tenant"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createSdJwtCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/credential-template/mdoc/create": {
      "post": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Create Template (mDoc)",
        "description": "This route is used to create a mDoc credential template for a organization. The mDoc credential template allows the organization to define the attributes, types, labels, and conditions under which the credential can be issued.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMdocCredentialTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMdocCredentialTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid credential type for ecosystem"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createMdocCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/credential-template/jsonld/import": {
      "post": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Import Template (JSON-LD)",
        "description": "This route enables a organization to import a JSON-LD credential template by providing the schema URL. The schema is fetched from the provided URL, validated, and then resolved into a credential template within the ecosystem.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJsonLdCredentialTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ImportJsonLdCredentialTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Credential template already exists"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/importJsonLdCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/credential-template/": {
      "get": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Get Ecosystem Templates",
        "description": "This route retrieves all credential templates or find a specific credential template by the credential template id. The templates provide a detailed structure of the credentials, including the attributes, their types, and requirements, as defined in the schema.",
        "parameters": [
          {
            "name": "credentialTemplateId",
            "in": "query",
            "description": "By default, this endpoint returns a list of all your credential templates from current Ecosystem. You can pass a specific credentialTemplateId (in UUID format) here to filter the results and retrieve details for only that single credential template.",
            "required": false,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialTemplatesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialTemplatesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false
        }
      }
    },
    "/credential-template/organization": {
      "get": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Get Organization Templates",
        "description": "This route retrieves all credential templates or find a specific credential template by the credential template id created by an organization.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "credentialTemplateId",
            "in": "query",
            "description": "By default, this endpoint returns a list of all your credential templates from current organization. You can pass a specific credentialTemplateId (in UUID format) here to filter the results and retrieve details for only that single credential template.",
            "required": false,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialTemplatesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialTemplatesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/credential-template/delete": {
      "delete": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Delete Template",
        "description": "This route allows a organization to delete a specific credential template by providing the credential template ID. The specified template is removed from the ecosystem, ensuring that it is no longer available for issuing credentials.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential template deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCredentialTemplate"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/DeleteCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/credential-template/update": {
      "patch": {
        "tags": [
          "Credential Templates"
        ],
        "summary": "Update Template",
        "description": "This route allows a organization to update a specific credential template by providing the schema ID. The specified template is updated with the new details provided by the organization, ensuring that the credential template remains accurate and up-to-date.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template updated successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template updated successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid parameters"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCredentialTemplate"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCredentialTemplate"
              }
            }
          }
        }
      }
    },
    "/verification-template/jsonld/create": {
      "post": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Create Template (JSON-LD)",
        "description": "This route allows a organization to create a JSON-LD verification template, outlining the policy for verifying issued JSON-LD credentials.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJsonLdVerificationTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateJsonLdVerificationTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Schema context is required for PrivadoId"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Credential template not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createJsonLdVerificationTemplate"
              }
            }
          }
        }
      }
    },
    "/verification-template/sd-jwt/create": {
      "post": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Create Template (SD-JWT)",
        "description": "This route allows a organization to create a SD-JWT verification template, outlining the policy for verifying issued SD-JWT credentials.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSdJwtVerificationTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateSdJwtVerificationTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "transactionData is only supported for dc+sd-jwt verification templates"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Credential template not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createSdJwtVerificationTemplate"
              }
            }
          }
        }
      }
    },
    "/verification-template/mdoc/create": {
      "post": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Create Template (mDoc)",
        "description": "This route allows a organization to create a mDoc verification template, outlining the policy for verifying issued mDoc credentials.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMdocVerificationTemplateResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMdocVerificationTemplateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid credential type for ecosystem"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification template creation limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Credential template not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createMdocVerificationTemplate"
              }
            }
          }
        }
      }
    },
    "/verification-template/": {
      "get": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Get Ecosystem Templates",
        "description": "Retrieves verification templates from the current ecosystem. By default, all verification templates are returned.",
        "parameters": [
          {
            "name": "verificationTemplateId",
            "in": "query",
            "description": "Filters the result by a specific verification template id.",
            "required": false,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVerificationTemplatesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetVerificationTemplatesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/verification-template/organization": {
      "get": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Get Organization Templates",
        "description": "Retrieves verification templates for a specific organization. By default, all verification templates are returned.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "verificationTemplateId",
            "in": "query",
            "description": "Filters the result by a specific verification template id for a specific organization.",
            "required": false,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVerificationTemplatesResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetVerificationTemplatesResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/verification-template/delete": {
      "delete": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Delete Template by Verification Template Id",
        "description": "This route is used to delete a specific verification template by its unique id.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteTemplateByVerificationTemplateId"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/DeleteTemplateByVerificationTemplateId"
              }
            }
          }
        }
      }
    },
    "/verification-template/update": {
      "patch": {
        "tags": [
          "Verification Templates"
        ],
        "summary": "Update Template by Verification Template Id",
        "description": "This route is used to update a specific verification template by its unique id.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template updated successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template updated successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid parameters"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Category not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTemplateByVerificationTemplateId"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTemplateByVerificationTemplateId"
              }
            }
          }
        }
      }
    },
    "/credential/": {
      "get": {
        "tags": [
          "Credentials"
        ],
        "summary": "Get Credentials",
        "description": "This route retrieves a list of all verifiable credentials issued by the organization.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number for paginated results. Each page returns up to 100 results. Defaults to 1 if not provided.",
            "example": 1,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllCredentialsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllCredentialsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/credential/find": {
      "get": {
        "tags": [
          "Credentials"
        ],
        "summary": "Get Credential by Id",
        "description": "This route retrieves detailed information about a specific verifiable credential issued by the organization, identified by its unique credential exchange ID.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "credentialExchangeId",
            "in": "query",
            "description": "Retrive detailed record credential by credential exchange id",
            "required": true,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/credential/jsonld/offer": {
      "post": {
        "tags": [
          "Credentials"
        ],
        "summary": "Offer Credential (JSON-LD)",
        "description": "This route allows the organization to generate a credential offer using the JSON-LD format. The credential issuance is based on a credential template that specifies the necessary attributes, types, and requirements.\n\n### Related webhook events\n\nAfter the holder accepts this offer and issuance completes, Hovi sends an asynchronous openid-issuance-session event to the issuer organization’s registered webhook URL:\n\n- [Credential Issued](#tag/webhook-events/webhook/post/open-id-issuance-completed)",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueJsonLdCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IssueJsonLdCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/issueJsonLdCredential"
              },
              "examples": {
                "preAuthorized": {
                  "summary": "Pre-authorized code flow",
                  "value": {
                    "credentialTemplateId": "acabc49f-b8e1-4a43-aa55-bba2e262e8ac",
                    "credentialValues": {
                      "fullName": "John Doe",
                      "age": 30,
                      "isVerified": true,
                      "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                      "dateOfBirth": "1995-08-15",
                      "address": {
                        "street": "123 Main Street",
                        "postalCode": 1207
                      },
                      "organization": {
                        "organizationName": "Tech Corp Ltd",
                        "department": {
                          "departmentName": "Engineering",
                          "employeeCount": 45
                        }
                      }
                    },
                    "codeflow": "pre-authorized",
                    "preAuthorizedCodeflowConfig": {
                      "useTransactionCode": true,
                      "transactionCode": {
                        "description": "description about how the transaction code is sent to the holder",
                        "length": 6
                      }
                    }
                  }
                },
                "authorizationCode": {
                  "summary": "Authorization code flow (external authorization server)",
                  "description": "The user signs in with the authorization server before the wallet receives the credential. Template attributes marked `authorization: true`, such as `given_name`, `family_name` or `email`, are filled from the sign-in, so leave them out of `credentialValues`.\n\nIn `authorizationCodeflowConfig`, only `authorizationServerId` is required. `issuerState` must be unique for each offer and is generated when omitted; an empty string is rejected with 400. `signInScopes` and `walletRedirectUris` replace the authorization server's defaults for this offer only, and `openid` is always added to `signInScopes`. `offerScope` defaults to the offered credential's scope. When neither the offer nor the authorization server sets `walletRedirectUris`, any wallet redirect URI is allowed.",
                  "value": {
                    "credentialTemplateId": "acabc49f-b8e1-4a43-aa55-bba2e262e8ac",
                    "credentialValues": {
                      "fullName": "John Doe",
                      "age": 30,
                      "isVerified": true,
                      "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                      "dateOfBirth": "1995-08-15",
                      "address": {
                        "street": "123 Main Street",
                        "postalCode": 1207
                      },
                      "organization": {
                        "organizationName": "Tech Corp Ltd",
                        "department": {
                          "departmentName": "Engineering",
                          "employeeCount": 45
                        }
                      }
                    },
                    "codeflow": "authorization",
                    "authorizationCodeflowConfig": {
                      "authorizationServerId": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
                      "issuerState": "9b2e4f7a-1c3d-4e5f-8a6b-7c8d9e0f1a2b",
                      "signInScopes": [
                        "profile",
                        "email"
                      ],
                      "walletRedirectUris": [
                        "https://wallet.example.com/callback"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "description": "View Credential Issued",
          "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
        },
        "x-hovi-webhook-events": {
          "relationship": "asynchronous-flow-outcome",
          "events": [
            {
              "label": "Credential Issued",
              "recipient": "issuer organization",
              "$ref": "#/webhooks/open-id-issuance-completed",
              "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
            }
          ]
        }
      }
    },
    "/credential/sd-jwt/offer": {
      "post": {
        "tags": [
          "Credentials"
        ],
        "summary": "Offer Credential (SD-JWT)",
        "description": "This route is used to create an offer for a SD-JWT credential based on a credential template. The SD-JWT credential allows for selective disclosure of attributes, meaning that recipients can choose which information to share during the verification process.\n\n### Related webhook events\n\nAfter the holder accepts this offer and issuance completes, Hovi sends an asynchronous openid-issuance-session event to the issuer organization’s registered webhook URL:\n\n- [Credential Issued](#tag/webhook-events/webhook/post/open-id-issuance-completed)",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSdJwtCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IssueSdJwtCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/issueSdJwtCredential"
              },
              "examples": {
                "preAuthorized": {
                  "summary": "Pre-authorized code flow",
                  "value": {
                    "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
                    "credentialValues": {
                      "age": 28,
                      "isVerified": true,
                      "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                      "birthDate": "1996-05-12",
                      "address": {
                        "street": "221B Baker Street",
                        "city": "London"
                      }
                    },
                    "codeflow": "pre-authorized",
                    "preAuthorizedCodeflowConfig": {
                      "useTransactionCode": true,
                      "transactionCode": {
                        "description": "description about how the transaction code is sent to the holder",
                        "length": 6
                      }
                    }
                  }
                },
                "authorizationCode": {
                  "summary": "Authorization code flow (external authorization server)",
                  "description": "The user signs in with the authorization server before the wallet receives the credential. Template attributes marked `authorization: true`, such as `given_name`, `family_name` or `email`, are filled from the sign-in, so leave them out of `credentialValues`.\n\nIn `authorizationCodeflowConfig`, only `authorizationServerId` is required. `issuerState` must be unique for each offer and is generated when omitted; an empty string is rejected with 400. `signInScopes` and `walletRedirectUris` replace the authorization server's defaults for this offer only, and `openid` is always added to `signInScopes`. `offerScope` defaults to the offered credential's scope. When neither the offer nor the authorization server sets `walletRedirectUris`, any wallet redirect URI is allowed.",
                  "value": {
                    "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
                    "credentialValues": {
                      "age": 28,
                      "isVerified": true,
                      "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                      "birthDate": "1996-05-12",
                      "address": {
                        "street": "221B Baker Street",
                        "city": "London"
                      }
                    },
                    "codeflow": "authorization",
                    "authorizationCodeflowConfig": {
                      "authorizationServerId": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
                      "issuerState": "9b2e4f7a-1c3d-4e5f-8a6b-7c8d9e0f1a2b",
                      "signInScopes": [
                        "profile",
                        "email"
                      ],
                      "walletRedirectUris": [
                        "https://wallet.example.com/callback"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "description": "View Credential Issued",
          "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
        },
        "x-hovi-webhook-events": {
          "relationship": "asynchronous-flow-outcome",
          "events": [
            {
              "label": "Credential Issued",
              "recipient": "issuer organization",
              "$ref": "#/webhooks/open-id-issuance-completed",
              "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
            }
          ]
        }
      }
    },
    "/credential/mdoc/offer": {
      "post": {
        "tags": [
          "Credentials"
        ],
        "summary": "Offer Credential (mDoc)",
        "description": "This route is used to create an offer for a mDoc credential based on a credential template.\n\n### Related webhook events\n\nAfter the holder accepts this offer and issuance completes, Hovi sends an asynchronous openid-issuance-session event to the issuer organization’s registered webhook URL:\n\n- [Credential Issued](#tag/webhook-events/webhook/post/open-id-issuance-completed)",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IssueMdocCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/IssueMdocCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential issuance limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Template not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/issueMdocCredential"
              },
              "examples": {
                "preAuthorized": {
                  "summary": "Pre-authorized code flow",
                  "value": {
                    "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
                    "credentialValues": {
                      "org.iso.18013.5.1": {
                        "age": 35,
                        "isVerified": false,
                        "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                        "birthDate": "1989-11-20",
                        "address": {
                          "street": "742 Evergreen Terrace",
                          "city": "Springfield"
                        }
                      }
                    },
                    "codeflow": "pre-authorized",
                    "preAuthorizedCodeflowConfig": {
                      "useTransactionCode": false
                    },
                    "issuanceMetadata": {
                      "validFrom": "2024-01-01T00:00:00.000Z",
                      "validUntil": "2025-01-01T00:00:00.000Z",
                      "expectedUpdate": "2024-06-01T00:00:00.000Z"
                    }
                  }
                },
                "authorizationCode": {
                  "summary": "Authorization code flow (external authorization server)",
                  "description": "The user signs in with the authorization server before the wallet receives the credential. Template attributes marked `authorization: true`, such as `given_name`, `family_name` or `email`, are filled from the sign-in, so leave them out of `credentialValues`.\n\nIn `authorizationCodeflowConfig`, only `authorizationServerId` is required. `issuerState` must be unique for each offer and is generated when omitted; an empty string is rejected with 400. `signInScopes` and `walletRedirectUris` replace the authorization server's defaults for this offer only, and `openid` is always added to `signInScopes`. `offerScope` defaults to the offered credential's scope. When neither the offer nor the authorization server sets `walletRedirectUris`, any wallet redirect URI is allowed.",
                  "value": {
                    "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
                    "credentialValues": {
                      "org.iso.18013.5.1": {
                        "age": 35,
                        "isVerified": false,
                        "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                        "birthDate": "1989-11-20",
                        "address": {
                          "street": "742 Evergreen Terrace",
                          "city": "Springfield"
                        }
                      }
                    },
                    "codeflow": "authorization",
                    "issuanceMetadata": {
                      "validFrom": "2024-01-01T00:00:00.000Z",
                      "validUntil": "2025-01-01T00:00:00.000Z",
                      "expectedUpdate": "2024-06-01T00:00:00.000Z"
                    },
                    "authorizationCodeflowConfig": {
                      "authorizationServerId": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
                      "issuerState": "9b2e4f7a-1c3d-4e5f-8a6b-7c8d9e0f1a2b",
                      "signInScopes": [
                        "profile",
                        "email"
                      ],
                      "walletRedirectUris": [
                        "https://wallet.example.com/callback"
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "externalDocs": {
          "description": "View Credential Issued",
          "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
        },
        "x-hovi-webhook-events": {
          "relationship": "asynchronous-flow-outcome",
          "events": [
            {
              "label": "Credential Issued",
              "recipient": "issuer organization",
              "$ref": "#/webhooks/open-id-issuance-completed",
              "url": "#tag/webhook-events/webhook/post/open-id-issuance-completed"
            }
          ]
        }
      }
    },
    "/credential/revoke": {
      "post": {
        "tags": [
          "Credentials"
        ],
        "summary": "Revoke Credential",
        "description": "This route is used to revoke a credential by its unique credential exchange id.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeCredentialResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RevokeCredentialResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential revocation is not available during the trial period. Please upgrade your plan to revoke credentials."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential revocation is not available during the trial period. Please upgrade your plan to revoke credentials."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/revokeCredential"
              }
            }
          }
        }
      }
    },
    "/webhook/add": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Add Webhook",
        "description": "This route allows a organization to create a webhook URL that will be triggered by Hovi upon the successful issuance of a credential.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddWebhookResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AddWebhookResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Webhook url already exists"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/addWebhook"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/addWebhook"
              }
            }
          }
        }
      }
    },
    "/webhook/": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Get All Webhooks",
        "description": "Retrieves webhooks for a specific organization. By default, all webhooks are returned.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "webhookId",
            "in": "query",
            "description": "Filters the result by a specific webhook id.",
            "required": false,
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetWebhooksResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Remove Webhooks",
        "description": "This route allows a organization to delete a webhook URL that is no longer needed. Deleting a webhook ensures that the tenant will no longer receive event notifications on the specified webhook endpoint.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveWebhookResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RemoveWebhookResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Webhook not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Webhook not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Webhook not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/deleteWebhook"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/deleteWebhook"
              }
            }
          }
        }
      }
    },
    "/webhook/rotate-secret": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Rotate Webhook Secret",
        "description": "This route allows an organization to rotate the signing secret for an existing webhook.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RotateWebhookSecretResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/RotateWebhookSecretResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Webhook not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Webhook not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Webhook not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/rotateWebhookSecret"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/rotateWebhookSecret"
              }
            }
          }
        }
      }
    },
    "/wallet/credential": {
      "get": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Get Stored Credentials",
        "description": "Deprecated: use GET /v2/wallet/credential to list the stored credentials and GET /v2/wallet/credential/{credentialId} to retrieve one. This route retrieves all stored credentials from the wallet.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number for paginated results. Each page returns up to 100 results. Defaults to 1 if not provided.",
            "example": 1,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllStoredCredentialsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetAllStoredCredentialsResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to get stored credentials"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Failed to get stored credentials"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "deprecated": true
      }
    },
    "/wallet/credential/preview-offer": {
      "post": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Preview Credential Offer",
        "description": "This route allows the organization to preview a credential offer before storing it in wallet.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewCredentialOfferResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewCredentialOfferResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/previewCredentialOffer"
              }
            }
          }
        }
      }
    },
    "/wallet/openid/resolve-credential-authorization-request": {
      "post": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Resolve Credential Authorization Request",
        "description": "This route resolves a credential authorization request and returns the credential authorization request details.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResolveCredentialAuthorizationRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ResolveCredentialAuthorizationRequestResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid network for this operation"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid network for this operation"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Invalid parameters"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/resolveCredentialAuthorizationRequest"
              }
            }
          }
        }
      }
    },
    "/wallet/credential/accept-offer": {
      "post": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Accept Credential Offer",
        "description": "This route allows the organization to accept a credential offer. The offer is identified by its unique credential exchange ID.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptCredentialOfferResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptCredentialOfferResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/acceptCredentialOffer"
              }
            }
          }
        }
      }
    },
    "/wallet/credential/delete": {
      "delete": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Delete Stored Credential",
        "description": "This route allows the organization to delete a stored credential by its unique credential ID.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": true
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential deleted successfully"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/deleteCredential"
              }
            }
          }
        }
      }
    },
    "/wallet/verification/preview-request": {
      "post": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Preview Proof Request",
        "description": "This route allows credential holder to preview a proof request before sending presentation to verifier. The preview provides an overview of the attributes and conditions that will be included in the proof request.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewProofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewProofRequestResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/previewProofRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/previewProofRequest"
              }
            }
          }
        }
      }
    },
    "/wallet/verification/submit-presentation": {
      "post": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Submit Proof Presentation",
        "description": "This route allows a organization to submit presentation against a proof request by credential holder. The proof request defines the attributes and conditions that the credential holder must satisfy in its presentation.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitPresentationResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SubmitPresentationResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "success",
                    "message"
                  ],
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "enum": [
                        false
                      ],
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Presentation submission failed"
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/submitPresentation"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/submitPresentation"
              }
            }
          }
        }
      }
    },
    "/v2/wallet/credential": {
      "get": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Get Stored Credentials (v2)",
        "description": "This route retrieves the credentials stored in 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 Stored Credential route to retrieve one credential with its attributes.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page to return, starting at 1. Defaults to 1.",
            "example": 1,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Number of credentials per page. Defaults to 20, and can be at most 100.",
            "example": 20,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "connectionId",
            "in": "query",
            "required": false,
            "description": "Only return credentials received over this DIDComm connection.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "description": "Only return credentials stored on or after this date (YYYY-MM-DD).",
            "example": "2026-01-01",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "description": "Only return credentials stored on or before this date (YYYY-MM-DD).",
            "example": "2026-01-31",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStoredCredentialsV2Response"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetStoredCredentialsV2Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Limit in query parameters must not be greater than 100"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Limit in query parameters must not be greater than 100"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v2/wallet/credential/{credentialId}": {
      "get": {
        "tags": [
          "Organizational Wallet"
        ],
        "summary": "Get Stored Credential (v2)",
        "description": "This route retrieves one credential stored in the wallet, with its attributes and the display labels of its claims.",
        "parameters": [
          {
            "name": "credentialId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Credential ID, as returned by the Get Stored Credentials route."
          },
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetStoredCredentialV2Response"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetStoredCredentialV2Response"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Credential not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/verification/session/document-coverage": {
      "get": {
        "description": "",
        "responses": {
          "default": {
            "description": ""
          }
        },
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ]
      }
    },
    "/verification/session/{sessionId}/redirect-target": {
      "get": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/verification/session/{sessionId}/id-verification/document": {
      "post": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/verification/session/{sessionId}/id-verification/passive-liveness": {
      "post": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/verification/session/{sessionId}/id-verification/face-match": {
      "post": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/verification/session/{sessionId}/id-verification/ip-risk": {
      "post": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "500": {
            "description": "Internal Server Error"
          }
        }
      }
    },
    "/verification/session/{sessionId}/evidence": {
      "get": {
        "description": "",
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "default": {
            "description": ""
          }
        }
      }
    },
    "/verification/send-proof-request": {
      "post": {
        "tags": [
          "Verifications"
        ],
        "summary": "Send Proof Request",
        "description": "Create a proof request for a credential holder using verification template.\n\n### Related webhook events\n\nAfter the holder submits a presentation and verification completes, Hovi sends an asynchronous openid-verification-session event to the verifier organization’s registered webhook URL:\n\n- [Presentation Verified](#tag/webhook-events/webhook/post/open-id-presentation-verified)",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendProofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SendProofRequestResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Verification limit exceeded. Please upgrade your plan or contact to support."
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            },
            "schema": {
              "type": "object",
              "properties": {
                "success": {
                  "type": "boolean",
                  "example": false
                },
                "message": {
                  "type": "string",
                  "example": "Verification template not found"
                }
              },
              "xml": {
                "name": "main"
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/sendProofRequest"
              },
              "examples": {
                "singleTemplate": {
                  "summary": "Single verification template",
                  "value": {
                    "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
                  }
                },
                "defaultAllQueries": {
                  "summary": "Multiple verification templates (all required by default)",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "identity",
                        "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      }
                    ]
                  }
                },
                "explicitAllQueries": {
                  "summary": "Multiple verification templates (explicit all mode)",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "identity",
                        "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "all"
                    }
                  }
                },
                "anyQuery": {
                  "summary": "Accept any verification template",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "identity",
                        "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "any"
                    }
                  }
                },
                "groupedQueries": {
                  "summary": "Grouped verification templates",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "identity",
                        "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      },
                      {
                        "id": "passport",
                        "verificationTemplateId": "e78321b2-32cf-4eb1-9c76-fcb7cc706ea4"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "group",
                      "groups": [
                        {
                          "mode": "all",
                          "queryIds": [
                            "identity"
                          ]
                        },
                        {
                          "mode": "any",
                          "queryIds": [
                            "licence",
                            "passport"
                          ]
                        }
                      ]
                    }
                  }
                },
                "transactionQuery": {
                  "summary": "Verification templates with transaction data",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "payment_approval",
                        "verificationTemplateId": "61a5e3b4-b19a-4223-a8d1-098e92786b31",
                        "transactionData": [
                          {
                            "type": "payment",
                            "payment_data": {
                              "payee": "Merchant Ltd",
                              "amount": 23.58
                            }
                          }
                        ]
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "all"
                    }
                  }
                },
                "multipleTransactionQueries": {
                  "summary": "Multiple transaction-bearing verification templates",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "payment_approval",
                        "verificationTemplateId": "61a5e3b4-b19a-4223-a8d1-098e92786b31",
                        "transactionData": [
                          {
                            "type": "payment",
                            "payment_data": {
                              "payee": "Merchant Ltd",
                              "amount": 23.58,
                              "currency": "EUR"
                            }
                          }
                        ]
                      },
                      {
                        "id": "consent_approval",
                        "verificationTemplateId": "793ebd67-ef19-4921-86e8-96348d8ac26b",
                        "transactionData": [
                          {
                            "type": "consent",
                            "consent_data": {
                              "document_id": "terms-and-conditions",
                              "version": "2026-10"
                            }
                          }
                        ]
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "all"
                    }
                  }
                },
                "groupedTransactionQueries": {
                  "summary": "Grouped verification templates with transaction data",
                  "value": {
                    "credentialQueries": [
                      {
                        "id": "payment_approval",
                        "verificationTemplateId": "61a5e3b4-b19a-4223-a8d1-098e92786b31",
                        "transactionData": [
                          {
                            "type": "payment",
                            "payment_data": {
                              "payee": "Merchant Ltd",
                              "amount": 23.58,
                              "currency": "EUR"
                            }
                          }
                        ]
                      },
                      {
                        "id": "consent_approval",
                        "verificationTemplateId": "793ebd67-ef19-4921-86e8-96348d8ac26b",
                        "transactionData": [
                          {
                            "type": "consent",
                            "consent_data": {
                              "document_id": "terms-and-conditions",
                              "version": "2026-10"
                            }
                          }
                        ]
                      },
                      {
                        "id": "licence",
                        "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
                      },
                      {
                        "id": "passport",
                        "verificationTemplateId": "e78321b2-32cf-4eb1-9c76-fcb7cc706ea4"
                      }
                    ],
                    "credentialRequirement": {
                      "mode": "group",
                      "groups": [
                        {
                          "mode": "all",
                          "queryIds": [
                            "payment_approval",
                            "consent_approval"
                          ]
                        },
                        {
                          "mode": "any",
                          "queryIds": [
                            "licence",
                            "passport"
                          ]
                        }
                      ]
                    }
                  }
                }
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/sendProofRequest"
              }
            }
          }
        },
        "externalDocs": {
          "description": "View Presentation Verified",
          "url": "#tag/webhook-events/webhook/post/open-id-presentation-verified"
        },
        "x-hovi-webhook-events": {
          "relationship": "asynchronous-flow-outcome",
          "events": [
            {
              "label": "Presentation Verified",
              "recipient": "verifier organization",
              "$ref": "#/webhooks/open-id-presentation-verified",
              "url": "#tag/webhook-events/webhook/post/open-id-presentation-verified"
            }
          ]
        }
      }
    },
    "/verification/verify-response": {
      "post": {
        "tags": [
          "Verifications"
        ],
        "summary": "Verify DC API Verification Response",
        "description": "This route is used to verify the DC API verification response returned by the wallet after the holder completes the verification flow. Submit the response payload along with the proof exchange ID and origin to validate the presentation server-side.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyDcApiVerificationResponseResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/VerifyDcApiVerificationResponseResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VerifyDcApiVerificationResponse"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/VerifyDcApiVerificationResponse"
              }
            }
          }
        }
      }
    },
    "/verification/proof-request": {
      "get": {
        "tags": [
          "Verifications"
        ],
        "summary": "Get Proof Requests",
        "description": "This route retrieves all proof requests initiated by a specific organization. Proof requests are used to verify credentials that have been issued to credential holders.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "state",
            "in": "query",
            "required": false,
            "description": "Filter proof requests by state",
            "schema": {
              "type": "string",
              "enum": [
                "pending",
                "done",
                "abandoned"
              ]
            },
            "example": "pending"
          },
          {
            "name": "page",
            "in": "query",
            "required": false,
            "description": "Page number for paginated results. Each page returns up to 100 results. Defaults to 1 if not provided.",
            "example": 1,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProofRequestsResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetProofRequestsResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/verification/proof-request/find": {
      "get": {
        "tags": [
          "Verifications"
        ],
        "summary": "Find Proof Request by Proof Exchange Id",
        "description": "This route retrieves a specific proof request by its proof exchange id. The proof request contains details about the verification process initiated by the tenant.",
        "parameters": [
          {
            "name": "x-organization-id",
            "in": "header",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The unique identifier of the organization (tenant) in UUID format.",
            "example": "123e4567-e89b-12d3-a456-426614174000"
          },
          {
            "name": "proofExchangeId",
            "in": "query",
            "description": "Specifies the proof exchange id used to retrieve a specific proof request.",
            "required": true,
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Authorization",
            "in": "header",
            "description": "Ecosystem API Key. Must be prefixed with \"Bearer \".",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "Bearer YOUR_ECOSYSTEM_API_KEY"
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProofRequestResponse"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/GetProofRequestResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Invalid parameters"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Ecosystem unauthorized for organization"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "404": {
            "description": "Not found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Organization not found"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "success": {
                      "type": "boolean",
                      "example": false
                    },
                    "message": {
                      "type": "string",
                      "example": "Internal server error"
                    }
                  },
                  "xml": {
                    "name": "main"
                  }
                }
              }
            }
          }
        },
        "requestBody": {
          "required": false
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HolderCredentialSelection": {
        "type": "object",
        "required": [
          "id",
          "credentialId"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Query ID returned in the proof request preview."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "ID of a matching credential in the holder wallet."
          }
        }
      },
      "HolderCredentialRequirement": {
        "type": "object",
        "required": [
          "required",
          "mode",
          "queryIds"
        ],
        "properties": {
          "required": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Every returned requirement group must be satisfied."
          },
          "mode": {
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "description": "all requires a matching credential for every query in the group. any requires one matching query. Every required group must be satisfied."
          },
          "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"
          },
          "credentialType": {
            "type": "string"
          },
          "communicationProtocol": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "CredentialAttribute": {
        "type": "object",
        "description": "Represents a core claim or attribute within a Verifiable Credential schema (the individual data fields that make up a digital credential).",
        "example": {
          "name": "university",
          "type": "string",
          "label": "University Name",
          "description": "Official registered name of the issuing university.",
          "required": true
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "university",
            "maxLength": 50,
            "description": "Attribute name used when supplying or requesting credential values."
          },
          "type": {
            "type": "string",
            "example": "string",
            "enum": [
              "string",
              "number",
              "boolean",
              "image",
              "date",
              "object"
            ],
            "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
          },
          "label": {
            "type": "string",
            "example": "University Name",
            "maxLength": 100,
            "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
          },
          "description": {
            "type": "string",
            "example": "Official registered name of the issuing university.",
            "maxLength": 200,
            "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
          },
          "required": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
          },
          "authorization": {
            "type": "boolean",
            "example": false,
            "default": false,
            "description": "OpenID only. When `true`, offers using the authorization code flow fill this attribute from the user's sign-in at the authorization server, so it can be left out of `credentialValues`. The name must match the sign-in claim exactly, for example `given_name` or `email`. Top-level attributes only."
          },
          "namespace": {
            "type": "string",
            "example": "org.iso.18013.5.1",
            "description": "Namespace containing this mdoc data element (for example, `org.iso.18013.5.1`). Specify it only for top-level attributes, not for nested attributes."
          },
          "attributes": {
            "type": "array",
            "description": "Data elements contained in this object claim. Nested attributes inherit the namespace of their top-level attribute and must not specify `namespace`.",
            "items": {
              "$ref": "#/components/schemas/CredentialAttribute"
            }
          }
        }
      },
      "VerificationRequestedAttribute": {
        "type": "object",
        "description": "Requested attribute definition for verification templates. All requested attributes are required for verification.",
        "example": {
          "name": "university",
          "type": "string",
          "label": "University Name",
          "description": "Official registered name of the issuing university."
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "university",
            "maxLength": 50,
            "description": "Attribute name used when requesting credential values."
          },
          "type": {
            "type": "string",
            "example": "string",
            "enum": [
              "string",
              "number",
              "boolean",
              "image",
              "date",
              "object"
            ],
            "description": "Data type of the requested attribute."
          },
          "label": {
            "type": "string",
            "example": "University Name",
            "maxLength": 100,
            "description": "Human-readable label displayed in wallet UIs."
          },
          "description": {
            "type": "string",
            "example": "Official registered name of the issuing university.",
            "maxLength": 200,
            "description": "Semantic description of the requested attribute."
          },
          "attributes": {
            "type": "array",
            "description": "Nested sub-attributes for object-type claims.",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            }
          },
          "namespace": {
            "type": "string",
            "example": "org.iso.18013.5.1",
            "description": "Data-element namespace for this root requested attribute (e.g., org.iso.18013.5.1). Nested attributes must not include `namespace`."
          }
        }
      },
      "CredentialTemplateDataRetentionConsent": {
        "type": "boolean",
        "default": true,
        "description": "Controls whether credential data is stored after issuance completes. When `true` (default), credential data is retained. When `false`, credential data is not stored after issuance completes."
      },
      "VerificationTemplateTransactionData": {
        "type": "array",
        "description": "Transaction details the holder must approve, as defined on this template. Only present when the template was created with them.",
        "items": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "example": "payment",
              "description": "Type of the transaction."
            },
            "attributes": {
              "type": "array",
              "description": "Fields of this transaction type.",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "example": "amount"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "string",
                      "number",
                      "object"
                    ]
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "defaultValue": {
                    "description": "Value used when a proof request leaves the field out."
                  },
                  "attributes": {
                    "type": "array",
                    "description": "Fields of an `object`.",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "example": [
          {
            "type": "payment",
            "attributes": [
              {
                "name": "payment_data",
                "type": "object",
                "required": true,
                "attributes": [
                  {
                    "name": "payee",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "currency",
                    "type": "string",
                    "required": true,
                    "defaultValue": "EUR"
                  },
                  {
                    "name": "amount",
                    "type": "number",
                    "required": true
                  }
                ]
              }
            ]
          }
        ]
      },
      "VerificationTemplateDataRetentionConsent": {
        "type": "boolean",
        "default": true,
        "description": "Controls whether the verified presentation is stored after verification completes. When `true` (default), the verified presentation is retained. When `false`, the verified presentation is not stored and verified data is delivered via webhook instead. Setting this to `false` requires at least one webhook to be registered for the organization."
      },
      "CredentialTheme": {
        "type": "object",
        "description": "Metadata for visual rendering of the Verifiable Credential in a digital wallet. Complies with EUDI ARF display guidelines (controls how the credential card appears in mobile wallet applications).",
        "example": {
          "title": "University Degree Record",
          "description": "Official proof of university graduation and degree attainment.",
          "textColor": "#ffffff",
          "backgroundImageUrl": "https://acme-corp.com/logo.png",
          "backgroundImageAlt": "University seal watermark background",
          "logoUrl": "https://hovi.id/assets/university-logo.png",
          "logoAlt": "University official crest",
          "locale": "en-US"
        },
        "properties": {
          "title": {
            "type": "string",
            "example": "University Degree Record",
            "description": "Display title for the credential card in the wallet. If omitted, the credential-template name is used."
          },
          "description": {
            "type": "string",
            "example": "Official proof of university graduation and degree attainment.",
            "description": "Short descriptive text shown to the holder (additional context displayed on the credential card)."
          },
          "textColor": {
            "type": "string",
            "example": "#ffffff",
            "default": "#000000",
            "description": "Hex color code for the primary text overlay. If omitted, `#000000` is used."
          },
          "backgroundImageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the background image used on the credential card. If omitted, a standard background image may be used."
          },
          "backgroundImageAlt": {
            "type": "string",
            "example": "University seal watermark background",
            "description": "Accessibility alt-text for the background image (text description for screen readers)."
          },
          "logoUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/assets/university-logo.png",
            "description": "URL pointing to the issuing entity's official logo. If both logo fields are omitted, the organization's logo may be used. Required when `logoAlt` is provided."
          },
          "logoAlt": {
            "type": "string",
            "example": "University official crest",
            "description": "Accessibility alt-text for the logo image. If omitted when `logoUrl` is provided, the organization's display name is used."
          },
          "locale": {
            "type": "string",
            "example": "en-US",
            "description": "Language and region identifier for localization (the locale used for displaying text on the credential card)."
          }
        }
      },
      "IssuerMetadata": {
        "type": "object",
        "description": "OpenID4VCI compliant metadata for the Credential Issuer (information about the entity that issues digital credentials).",
        "example": {
          "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/a4c0ec30-0748-49a2-bc88-994ae8a4695e",
          "name": "Hovi Trust Anchor Network",
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Trust Anchor Logo"
          }
        },
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "url",
            "example": "https://core-agent-dev.hovi.id/agent/oid4vci/a4c0ec30-0748-49a2-bc88-994ae8a4695e",
            "description": "OpenID4VCI issuer authorization or token endpoint URL (the URL used by wallets to request credentials)."
          },
          "name": {
            "type": "string",
            "example": "Hovi Trust Anchor Network",
            "description": "Human-readable name of the credential issuer (the name displayed to users during issuance)."
          },
          "logo": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "url",
                "example": "https://loremflickr.com/640/480",
                "description": "Direct URL to the issuer logo (the image shown to users to identify the issuer)."
              },
              "alt": {
                "type": "string",
                "example": "Trust Anchor Logo",
                "description": "Accessibility alt text for the issuer logo (text description for screen readers)."
              }
            }
          }
        }
      },
      "PresentationExchange": {
        "type": "object",
        "description": "Payload for an OpenID4VP transaction. Contains the requested DIF Presentation Definition and the verified submission mapped to verifiable credentials (data exchanged during credential verification).",
        "example": {
          "presentations": [
            {
              "jwt": {
                "serializedJwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ei... (truncated)",
                "payload": {},
                "header": {
                  "typ": "JWT",
                  "alg": "EdDSA",
                  "kid": "did:key:..."
                },
                "signature": {
                  "type": "Buffer",
                  "data": [
                    67,
                    12
                  ]
                }
              },
              "_presentation": {
                "@context": [
                  "https://www.w3.org/2018/credentials/v1"
                ],
                "type": [
                  "VerifiablePresentation"
                ],
                "verifiableCredential": [
                  "eyJ0eX..."
                ],
                "holder": "did:key:..."
              }
            }
          ],
          "request": {
            "id": "816c6b5b-f978-41c5-8394-7965b0439760",
            "purpose": "Required to verify employment status for system access.",
            "input_descriptors": [
              {
                "id": "descriptor-1",
                "constraints": {
                  "fields": [
                    {
                      "path": [
                        "$.vc.type"
                      ]
                    }
                  ]
                }
              }
            ]
          },
          "submission": {
            "id": "mQ7gMxXXq9pzKfw-6hn_X",
            "definition_id": "816c6b5b-f978-41c5-8394-7965b0439760",
            "descriptor_map": [
              {
                "id": "descriptor-1",
                "format": "jwt_vp",
                "path": "$"
              }
            ]
          }
        },
        "properties": {
          "presentations": {
            "type": "array",
            "description": "Array of decoded verifiable presentations from the OpenID4VP response (the actual credential data returned by the wallet).",
            "items": {
              "type": "object",
              "properties": {
                "jwt": {
                  "type": "object",
                  "description": "Raw components of the Verifiable Presentation JWT wrapper (the signed token structure containing the presentation).",
                  "properties": {
                    "serializedJwt": {
                      "type": "string",
                      "description": "Base64-URL encoded JWT string (the complete signed token sent by the wallet)."
                    },
                    "payload": {
                      "type": "object",
                      "description": "Decoded JWT payload containing claims and nested credentials (the data inside the signed token)."
                    },
                    "header": {
                      "type": "object",
                      "description": "Decoded JWT header containing cryptographic typ, alg, and kid (metadata about how the token was signed)."
                    },
                    "signature": {
                      "type": "object",
                      "description": "Extracted digital signature bytes from the token (the cryptographic proof of authenticity)."
                    }
                  }
                },
                "_presentation": {
                  "type": "object",
                  "description": "Unmarshaled and validated W3C Verifiable Presentation object (the structured credential data after verification)."
                }
              }
            }
          },
          "request": {
            "type": "object",
            "description": "Originating DIF Presentation Definition (the original request that defined what credentials and claims were needed).",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the Presentation Definition (the ID of the verification request template)."
              },
              "purpose": {
                "type": "string",
                "description": "Reason for the data request provided to the holder (the message shown to the user explaining why the data is needed)."
              },
              "input_descriptors": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "JSONPath constraints defining which credentials satisfy the request (rules that specify exactly which data fields are required)."
              }
            }
          },
          "submission": {
            "type": "object",
            "description": "DIF Presentation Submission object returned by the wallet (the wallet's response mapping which credentials fulfill the request).",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier of the submission payload (the ID assigned to this specific verification response)."
              },
              "definition_id": {
                "type": "string",
                "format": "uuid",
                "description": "ID of the definition this submission fulfills (links the response back to the original request)."
              },
              "descriptor_map": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Mappings defining payload paths to the resolving credentials (tells the system where to find each required claim in the submitted data)."
              }
            }
          }
        }
      },
      "CreateJsonLdCredentialTemplateResponse": {
        "title": "Create JSON-LD Credential Template",
        "type": "object",
        "description": "Response payload for a newly created W3C JSON-LD Credential Template.",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "6abee076-3ca5-48c8-b331-d2c826fca46b",
            "schemaId": "b9669528-ffd0-443d-bdf4-0d5e60401c3a",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Mango PatientID 0440",
            "version": "1.0.0",
            "description": "Patient ID Card",
            "type": "jsonld",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "fullName",
                "type": "string",
                "label": "Full Name",
                "description": "Full legal name",
                "required": true
              },
              {
                "name": "age",
                "type": "number",
                "label": "Age",
                "description": "Age of the user",
                "required": true
              },
              {
                "name": "isVerified",
                "type": "boolean",
                "label": "Verification Status",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "type": "image",
                "label": "Profile Image",
                "description": "Profile picture of the user",
                "required": false
              },
              {
                "name": "dateOfBirth",
                "type": "date",
                "label": "Date of Birth",
                "description": "Birth date of the user",
                "required": true
              },
              {
                "name": "address",
                "type": "object",
                "label": "Address Information",
                "description": "Primary address details",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "type": "string",
                    "label": "Street",
                    "description": "Street address",
                    "required": true
                  },
                  {
                    "name": "postalCode",
                    "type": "number",
                    "label": "Postal Code",
                    "description": "ZIP or postal code",
                    "required": true
                  }
                ]
              },
              {
                "name": "organization",
                "type": "object",
                "label": "Organization Information",
                "description": "Organization related details",
                "required": true,
                "attributes": [
                  {
                    "name": "organizationName",
                    "type": "string",
                    "label": "Organization Name",
                    "description": "Name of the organization",
                    "required": true
                  },
                  {
                    "name": "department",
                    "type": "object",
                    "label": "Department Information",
                    "description": "Nested department details",
                    "required": true,
                    "attributes": [
                      {
                        "name": "departmentName",
                        "type": "string",
                        "label": "Department Name",
                        "description": "Name of the department",
                        "required": true
                      },
                      {
                        "name": "employeeCount",
                        "type": "number",
                        "label": "Employee Count",
                        "description": "Number of employees in the department",
                        "required": false
                      }
                    ]
                  }
                ]
              }
            ],
            "credentialConfigurationId": "mango_patientid_0440_1.0.0_json_ld",
            "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreich7jbtyeyhrrwfvlqdlyosvtrp7t5fbseusu5nolxj3lfypvaak4",
            "schemaContext": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreichhvkyu26u23porsoorptgyonbbafeyiin5knbqtmjesatrhnmvq",
            "schemaType": "Patient_Record",
            "createdAt": "2026-05-15T11:38:53.030Z",
            "updatedAt": "2026-05-15T11:38:53.030Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "schemaId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the underlying JSON Schema."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "enum": [
                  "9636b597-cbe2-492a-bf92-87641729e6e4",
                  "9636b597-cbe2-492a-bf92-87641726a7b4",
                  "16161b67-58f5-4d29-9d29-a75036dd9862",
                  "2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec",
                  "402e8853-efa4-4233-9fb9-4cf2dd39830d",
                  "4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987",
                  "233cf3c7-5b5b-492e-9723-b35d9022f2ce"
                ],
                "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "jsonld",
                  "sd-jwt",
                  "mdoc"
                ],
                "description": "Credential format type."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Schema attribute definitions for credential claims. Supports nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "description": "Public URL of the JSON Schema document (typically IPFS-hosted)."
              },
              "schemaContext": {
                "type": "string",
                "format": "url",
                "description": "JSON-LD @context URL linking claim terms to ontologies."
              },
              "schemaType": {
                "type": "string",
                "description": "Primary @type value used in issued JSON-LD credentials."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateSdJwtCredentialTemplateResponse": {
        "title": "Create SD-JWT Credential Template",
        "type": "object",
        "description": "Response payload for a newly created IETF SD-JWT Credential Template (a reusable blueprint for issuing SD-JWT credentials that support selective disclosure).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "dfafcd07-888a-477e-ae74-bd1823471ac5",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Patient ID 1234",
            "version": "1.0.1",
            "description": "Patient ID Card",
            "type": "sd-jwt",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "age",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "credentialConfigurationId": "patient_id_1234_1.0.1_sd_jwt",
            "schemaType": "Patient_Record",
            "sdJwtHeader": "dc+sd-jwt",
            "supportRevocation": true,
            "createdAt": "2026-05-18T02:18:10.483Z",
            "updatedAt": "2026-05-18T02:18:10.483Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "sd-jwt"
                ],
                "description": "Credential format type (SD-JWT for selective disclosure)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Schema attribute definitions supporting selective disclosure. Supports nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "schemaType": {
                "type": "string",
                "description": "Primary type classification used in the credential."
              },
              "sdJwtHeader": {
                "type": "string",
                "description": "SD-JWT header type identifier (e.g., dc+sd-jwt for Digital Credentials)."
              },
              "supportRevocation": {
                "type": "boolean",
                "description": "Indicates whether this credential template supports revocation."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateMdocCredentialTemplateResponse": {
        "title": "Create mdoc Credential Template",
        "type": "object",
        "description": "Response payload for a newly created ISO/IEC 18013-5, ISO/IEC 18013-7 compliant mdoc Credential Template (a reusable blueprint for issuing mdoc credentials used in offline proximity verification).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "5825e21f-41c1-4f10-b887-6c2d9375c91f",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Name of the credential",
            "version": "1.0.1",
            "description": "Patient ID Careed",
            "type": "mdoc",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "age",
                "namespace": "org.iso.18013.5.1",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "namespace": "org.iso.18013.5.1",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "namespace": "org.iso.18013.5.1",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "namespace": "org.iso.18013.5.1",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "namespace": "org.iso.18013.5.1",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "credentialConfigurationId": "name_of_the_credential_1.0.1_mdoc",
            "docType": "org.example.UniversityDegree",
            "createdAt": "2026-05-18T02:26:34.032Z",
            "updatedAt": "2026-05-18T02:26:34.032Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Credential format type (mdoc for ISO/IEC 18013-5 mobile documents)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Claims mapped to mdoc data elements. Each top-level attribute specifies its namespace and may contain nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "docType": {
                "type": "string",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              },
              "namespace": {
                "type": "string",
                "description": "Data-element namespace, if present on the template."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "ImportJsonLdCredentialTemplateResponse": {
        "title": "Import JSON-LD Credential Template",
        "type": "object",
        "description": "Response payload for a successfully imported W3C JSON-LD Credential Template (a template created from an externally provided JSON-LD schema).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
            "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "ecosystemId": "c9ba491b-988f-481d-9c33-a5cc5aaff4ed",
            "organizationId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "categoryId": "2e5f483f-8970-4c5e-baf7-991ff24c120d",
            "name": "University Degree",
            "version": "2.0.2",
            "description": "Template based on imported W3C schema models.",
            "type": "jsonld",
            "image": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
            "attributes": [
              {
                "name": "university",
                "type": "string",
                "label": "University Name",
                "description": "Official registered name of the issuing university.",
                "required": true
              }
            ],
            "schemaUrl": "https://hovi.id/schemas/QmRF7nnhYTsWu8sqA2jeLWbWP9LuuARS9RrWsL2akvwD7v",
            "schemaType": "University Degree",
            "createdAt": "2024-08-12T11:21:32.464Z",
            "updatedAt": "2024-08-12T11:21:32.464Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential template was imported without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier generated for the imported credential template (the system-generated ID you will use to issue credentials from this template)."
              },
              "schemaId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the resolved schema object (the ID of the imported schema definition)."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the ecosystem (the network context this template belongs to)."
              },
              "organizationId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the organization (the tenant that owns this template)."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the selected category (used to organize templates in the dashboard)."
              },
              "name": {
                "type": "string",
                "description": "Name of the credential template (the human-readable name displayed in the UI)."
              },
              "version": {
                "type": "string",
                "description": "Assigned version of the imported credential template (follows semantic versioning for tracking changes)."
              },
              "description": {
                "type": "string",
                "description": "Description of the credential template (explains the purpose of this credential type)."
              },
              "type": {
                "type": "string",
                "description": "Type of the credential template (the technical format used when issuing credentials)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the primary template visualization image (the image shown in the dashboard for this template)."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Attributes parsed from the imported schema source definition (the list of data fields that will be part of every credential issued from this template)."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "description": "Source URL of the original schema prior to import (the external URL from which the schema was imported)."
              },
              "schemaType": {
                "type": "string",
                "description": "Schema type classified from the imported definition (the main type value used in the credential)."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp (when this template was first imported)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when this template was last edited)."
              }
            }
          }
        }
      },
      "ImportCertificate": {
        "title": "Import Certificate",
        "type": "object",
        "description": "Request payload for importing a certificate for an organization.",
        "example": {
          "certificate": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----",
          "privateKey": "-----BEGIN PRIVATE KEY-----\nMIIB...sample...\n-----END PRIVATE KEY-----"
        },
        "properties": {
          "certificate": {
            "type": "string",
            "description": "PEM-encoded X.509 signing certificate with an EC P-256 public key, a valid ISO 3166-1 alpha-2 subject country (C), digitalSignature Key Usage without keyCertSign or cRLSign, current validity dates, and no CA:TRUE Basic Constraints (CA certificates are not accepted).",
            "example": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----"
          },
          "isDefault": {
            "type": "boolean",
            "default": false,
            "description": "Set the imported certificate as the default of the organization. If it cannot be set as the default, it is not kept and the request fails."
          },
          "privateKey": {
            "type": "string",
            "description": "Unencrypted PKCS#8 PEM-encoded EC P-256 private key matching the certificate public key.",
            "example": "-----BEGIN PRIVATE KEY-----\nMIIB...sample...\n-----END PRIVATE KEY-----"
          }
        },
        "required": [
          "certificate",
          "privateKey"
        ]
      },
      "ListCertificatesResponse": {
        "title": "List Certificates Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "certificateId": {
                  "type": "string",
                  "format": "uuid",
                  "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
                },
                "isDefault": {
                  "type": "boolean",
                  "example": true
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "certificate": {
                  "type": "string",
                  "description": "PEM-encoded certificate.",
                  "example": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----"
                }
              }
            }
          }
        }
      },
      "CertificateMetadataResponse": {
        "title": "Certificate Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "object",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid",
                "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
              },
              "isDefault": {
                "type": "boolean",
                "example": true
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "GetCertificateResponse": {
        "title": "Get Certificate Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "object",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid"
              },
              "isDefault": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "certificate": {
                "type": "string",
                "description": "PEM-encoded certificate."
              },
              "chain": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "PEM-encoded chain certificates, when present."
              }
            }
          }
        }
      },
      "ImportCertificateResponse": {
        "title": "Import Certificate Response",
        "type": "object",
        "description": "Response for successful certificate import operation.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the certificate was imported successfully.",
            "example": true
          },
          "message": {
            "type": "string",
            "description": "Confirmation message.",
            "example": "Certificate imported successfully."
          },
          "response": {
            "type": "object",
            "description": "The imported certificate.",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the imported certificate.",
                "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
              }
            }
          }
        }
      },
      "GetCredentialTemplatesResponse": {
        "title": "Get Credential Templates",
        "type": "object",
        "description": "Array of configured credential templates available to the organization for OID4VCI issuance.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialTemplateId": "0cddab8e-3313-4726-b0f4-5fdb889cf1f6",
              "schemaId": "4bd7b3e5-26e5-4348-bc26-82fa23948bb3",
              "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
              "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "name": "Patient ID 3",
              "version": "1.0.1",
              "description": "Patient ID Card",
              "type": "jsonld",
              "image": "https://acme-corp.com/patient.png",
              "attributes": [
                {
                  "name": "age",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "name",
                  "label": "Name",
                  "type": "string",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isMarried",
                  "label": "Married",
                  "type": "boolean",
                  "description": "Age of the patient"
                }
              ],
              "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreibs3xrtikbo36xqkxubjtstqopndvgltdfjndd2indap4sef2gctu",
              "schemaContext": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreihs57aj3sdsbhta2cipf4mltv2gjqpncw3gyxb65kyefmvewz3jn4",
              "schemaType": "Patient Record",
              "createdAt": "2026-05-05T12:03:26.733Z",
              "updatedAt": "2026-05-05T12:03:26.733Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all credential templates for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "credentialTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the credential template."
                },
                "schemaId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the underlying JSON Schema."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this template belongs to."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the tenant that owns this template."
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Industry/sector category identifier."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the credential template."
                },
                "version": {
                  "type": "string",
                  "description": "Semantic version string for this template."
                },
                "description": {
                  "type": "string",
                  "description": "Plain-text description of the credential type."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Credential format type."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the credential card image displayed in the holder's wallet."
                },
                "attributes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CredentialAttribute"
                  },
                  "description": "Schema attribute definitions for credential claims. Supports nested object attributes."
                },
                "schemaUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "Public URL of the JSON Schema document (typically IPFS-hosted)."
                },
                "schemaContext": {
                  "type": "string",
                  "format": "url",
                  "description": "JSON-LD @context URL linking claim terms to ontologies."
                },
                "schemaType": {
                  "type": "string",
                  "description": "Primary @type value used in issued credentials."
                },
                "dataRetentionConsent": {
                  "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this template was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "GetVerificationTemplatesResponse": {
        "title": "Get Verification Templates",
        "type": "object",
        "description": "Lists all Verification Templates for initiating OID4VP presentation requests (reusable rules that define exactly what credential data a verifier wants to see).",
        "example": {
          "success": true,
          "response": [
            {
              "verificationTemplateId": "ffabbe77-8667-406e-b4ec-8f5e5c28bdaf",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
              "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
              "name": "Enterprise employee verification template",
              "image": "https://enterprise.example.com/assets/employee-verification.png",
              "version": "1.0.0",
              "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
              "schemaTypeRestriction": "age_name",
              "type": "jsonld",
              "requestedAttributes": [
                {
                  "name": "fullName",
                  "type": "string",
                  "label": "Full Name",
                  "description": "Full legal name",
                  "required": true
                },
                {
                  "name": "age",
                  "type": "number",
                  "label": "Age",
                  "description": "Age of the user",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "type": "boolean",
                  "label": "Verification Status",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "type": "image",
                  "label": "Profile Image",
                  "description": "Profile picture of the user",
                  "required": false
                },
                {
                  "name": "dateOfBirth",
                  "type": "date",
                  "label": "Date of Birth",
                  "description": "Birth date of the user",
                  "required": true
                },
                {
                  "name": "address",
                  "type": "object",
                  "label": "Address Information",
                  "description": "Primary address details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "type": "string",
                      "label": "Street",
                      "description": "Street address",
                      "required": true
                    },
                    {
                      "name": "postalCode",
                      "type": "number",
                      "label": "Postal Code",
                      "description": "ZIP or postal code",
                      "required": true
                    }
                  ]
                },
                {
                  "name": "organization",
                  "type": "object",
                  "label": "Organization Information",
                  "description": "Organization related details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "organizationName",
                      "type": "string",
                      "label": "Organization Name",
                      "description": "Name of the organization",
                      "required": true
                    },
                    {
                      "name": "department",
                      "type": "object",
                      "label": "Department Information",
                      "description": "Nested department details",
                      "required": true,
                      "attributes": [
                        {
                          "name": "departmentName",
                          "type": "string",
                          "label": "Department Name",
                          "description": "Name of the department",
                          "required": true
                        },
                        {
                          "name": "employeeCount",
                          "type": "number",
                          "label": "Employee Count",
                          "description": "Number of employees in the department",
                          "required": false
                        }
                      ]
                    }
                  ]
                }
              ],
              "schemaUrlRestriction": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
              "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "createdAt": "2026-05-18T03:39:39.201Z",
              "updatedAt": "2026-05-18T03:39:39.201Z"
            },
            {
              "verificationTemplateId": "7cf23b3f-0839-48e2-9791-c37f3330a489",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
              "name": "Patient ID",
              "image": "https://acme-corp.com/patient.png",
              "version": "1.0.0",
              "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
              "schemaTypeRestriction": "Patient_Record",
              "type": "sd-jwt",
              "requestedAttributes": [
                {
                  "name": "age",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "label": "Verified Status",
                  "type": "boolean",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "label": "Profile Image",
                  "type": "image",
                  "description": "Profile picture of the user",
                  "required": true
                },
                {
                  "name": "birthDate",
                  "label": "Birth Date",
                  "type": "date",
                  "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                  "required": true
                },
                {
                  "name": "address",
                  "label": "Address",
                  "type": "object",
                  "description": "Structured address information",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "label": "Street",
                      "type": "string",
                      "required": true
                    },
                    {
                      "name": "city",
                      "label": "City",
                      "type": "string",
                      "required": true
                    }
                  ]
                }
              ],
              "limit_disclosure": true,
              "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "createdAt": "2026-05-18T03:46:01.789Z",
              "updatedAt": "2026-05-18T03:46:01.789Z"
            },
            {
              "verificationTemplateId": "43aa1b6d-37a0-46fd-a2c7-032b8b1f1836",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "credentialTemplateId": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
              "name": "patient-verification-template",
              "image": "https://acme-corp.com/patient.png",
              "version": "1.0.0",
              "description": "Verification template for validating patient identity and healthcare registration information.",
              "type": "mdoc",
              "requestedAttributes": [
                {
                  "name": "age",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Verified Status",
                  "type": "boolean",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Profile Image",
                  "type": "image",
                  "description": "Profile picture of the user",
                  "required": true
                },
                {
                  "name": "birthDate",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Birth Date",
                  "type": "date",
                  "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                  "required": true
                },
                {
                  "name": "address",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Address",
                  "type": "object",
                  "description": "Structured address information",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "label": "Street",
                      "type": "string",
                      "required": true
                    },
                    {
                      "name": "city",
                      "label": "City",
                      "type": "string",
                      "required": true
                    }
                  ]
                }
              ],
              "limit_disclosure": true,
              "docType": "org.example.UniversityDegree",
              "createdAt": "2026-05-18T03:55:55.470Z",
              "updatedAt": "2026-05-18T03:55:55.470Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all verification templates for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "verificationTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the verification template."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this template belongs to."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the tenant that owns this template."
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Industry/sector category identifier."
                },
                "credentialTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Optional UUID of a specific credential template to restrict verification to."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the verification template."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the image displayed on the verification request screen."
                },
                "version": {
                  "type": "string",
                  "description": "Semantic version string for this template."
                },
                "description": {
                  "type": "string",
                  "description": "Plain-text description of the verification criteria."
                },
                "schemaTypeRestriction": {
                  "type": "string",
                  "description": "Restricts accepted credentials to those with this exact schema type."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Credential format type this template targets."
                },
                "requestedAttributes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CredentialAttribute"
                  },
                  "description": "Specific claim fields requested from the holder. Supports nested object attributes."
                },
                "schemaUrlRestriction": {
                  "type": "string",
                  "format": "url",
                  "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
                },
                "issuerDidRestriction": {
                  "type": "string",
                  "description": "Restricts accepted credentials to those issued by this specific DID."
                },
                "limit_disclosure": {
                  "type": "boolean",
                  "description": "Enforces omission of unrequested claims (SD-JWT/mdoc only)."
                },
                "dataRetentionConsent": {
                  "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
                },
                "transactionData": {
                  "$ref": "#/components/schemas/VerificationTemplateTransactionData"
                },
                "docType": {
                  "type": "string",
                  "description": "ISO/IEC 18013-5 document type identifier (mdoc only)."
                },
                "namespace": {
                  "type": "string",
                  "description": "Data-element namespace, if present on the template."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this template was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "CreateJsonLdVerificationTemplateResponse": {
        "title": "Create JSON-LD Verification Template",
        "type": "object",
        "description": "Response payload for a saved Verification Template targeting W3C JSON-LD verifiable presentations.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "ffabbe77-8667-406e-b4ec-8f5e5c28bdaf",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
            "name": "Enterprise employee verification template",
            "image": "https://enterprise.example.com/assets/employee-verification.png",
            "version": "1.0.0",
            "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
            "schemaTypeRestriction": "age_name",
            "type": "jsonld",
            "requestedAttributes": [
              {
                "name": "fullName",
                "type": "string",
                "label": "Full Name",
                "description": "Full legal name",
                "required": true
              },
              {
                "name": "age",
                "type": "number",
                "label": "Age",
                "description": "Age of the user",
                "required": true
              },
              {
                "name": "isVerified",
                "type": "boolean",
                "label": "Verification Status",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "type": "image",
                "label": "Profile Image",
                "description": "Profile picture of the user",
                "required": false
              },
              {
                "name": "dateOfBirth",
                "type": "date",
                "label": "Date of Birth",
                "description": "Birth date of the user",
                "required": true
              },
              {
                "name": "address",
                "type": "object",
                "label": "Address Information",
                "description": "Primary address details",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "type": "string",
                    "label": "Street",
                    "description": "Street address",
                    "required": true
                  },
                  {
                    "name": "postalCode",
                    "type": "number",
                    "label": "Postal Code",
                    "description": "ZIP or postal code",
                    "required": true
                  }
                ]
              },
              {
                "name": "organization",
                "type": "object",
                "label": "Organization Information",
                "description": "Organization related details",
                "required": true,
                "attributes": [
                  {
                    "name": "organizationName",
                    "type": "string",
                    "label": "Organization Name",
                    "description": "Name of the organization",
                    "required": true
                  },
                  {
                    "name": "department",
                    "type": "object",
                    "label": "Department Information",
                    "description": "Nested department details",
                    "required": true,
                    "attributes": [
                      {
                        "name": "departmentName",
                        "type": "string",
                        "label": "Department Name",
                        "description": "Name of the department",
                        "required": true
                      },
                      {
                        "name": "employeeCount",
                        "type": "number",
                        "label": "Employee Count",
                        "description": "Number of employees in the department",
                        "required": false
                      }
                    ]
                  }
                ]
              }
            ],
            "schemaUrlRestriction": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
            "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "createdAt": "2026-05-18T03:39:39.201Z",
            "updatedAt": "2026-05-18T03:39:39.201Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "type": {
                "type": "string",
                "enum": [
                  "jsonld"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific claim fields requested from the holder. Supports nested object attributes."
              },
              "schemaUrlRestriction": {
                "type": "string",
                "format": "url",
                "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
              },
              "issuerDidRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaTypeRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those with this exact schema type."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateSdJwtVerificationTemplateResponse": {
        "title": "Create SD-JWT Verification Template",
        "type": "object",
        "description": "Response payload for a Verification Template designed for SD-JWT presentations.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "7cf23b3f-0839-48e2-9791-c37f3330a489",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
            "name": "Patient ID",
            "image": "https://acme-corp.com/patient.png",
            "version": "1.0.0",
            "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
            "schemaTypeRestriction": "Patient_Record",
            "type": "sd-jwt",
            "requestedAttributes": [
              {
                "name": "age",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "limit_disclosure": true,
            "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "createdAt": "2026-05-18T03:46:01.789Z",
            "updatedAt": "2026-05-18T03:46:01.789Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "schemaTypeRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those with this exact schema type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "sd-jwt"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific selectively disclosable claim fields requested from the holder. Supports nested object attributes."
              },
              "limit_disclosure": {
                "type": "boolean",
                "description": "DIF Presentation Exchange setting enforcing omission of unrequested SD-JWT claims."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "transactionData": {
                "$ref": "#/components/schemas/VerificationTemplateTransactionData"
              },
              "issuerDidRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateMdocVerificationTemplateResponse": {
        "title": "Create mdoc Verification Template",
        "type": "object",
        "description": "Response for a Verification Template configured for ISO/IEC 18013-5, ISO/IEC 18013-7 mdoc presentations over OID4VP.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "43aa1b6d-37a0-46fd-a2c7-032b8b1f1836",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "credentialTemplateId": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
            "name": "patient-verification-template",
            "image": "https://acme-corp.com/patient.png",
            "version": "1.0.0",
            "description": "Verification template for validating patient identity and healthcare registration information.",
            "type": "mdoc",
            "requestedAttributes": [
              {
                "name": "age",
                "namespace": "org.iso.18013.5.1",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "namespace": "org.iso.18013.5.1",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "namespace": "org.iso.18013.5.1",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "namespace": "org.iso.18013.5.1",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "namespace": "org.iso.18013.5.1",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "limit_disclosure": true,
            "docType": "org.example.UniversityDegree",
            "createdAt": "2026-05-18T03:55:55.470Z",
            "updatedAt": "2026-05-18T03:55:55.470Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "type": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific namespace/element mapped data fields requested from the mdoc payload. Supports nested object attributes."
              },
              "limit_disclosure": {
                "type": "boolean",
                "description": "Enforces omission of unrequested mdoc attributes."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "docType": {
                "type": "string",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              },
              "namespace": {
                "type": "string",
                "description": "Data-element namespace, if present on the template."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "AddWebhookResponse": {
        "title": "Add Webhook",
        "type": "object",
        "description": "Response payload following successful configuration of a webhook subscription (confirmation that the HTTP callback URL was registered).",
        "example": {
          "success": true,
          "response": {
            "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "webhookUrl": "https://kindi10.requestcatcher.com",
            "webhookSecret": "4FME20TvYrxqTHJmjOvM1OG7_amYukdYbsT8MjQUN-s"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was added without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "webhookId": {
                "type": "string",
                "description": "Cryptographically generated unique identifier for the registered webhook (the ID you can use to manage this subscription later)."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "Target destination URL for Hovi API system callbacks (the HTTP URL that will receive event notifications)."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Secret used to sign webhook payloads. Generated automatically."
              }
            }
          }
        }
      },
      "RemoveWebhookResponse": {
        "title": "Remove Webhook",
        "type": "object",
        "description": "Confirmation that the webhook endpoint has been removed (the subscription is no longer active).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was removed without errors)."
          }
        }
      },
      "GetWebhooksResponse": {
        "title": "Get Webhooks",
        "type": "object",
        "description": "Array of configured webhook notification endpoints linked to the organization (list of all active HTTP callback URLs receiving event notifications).",
        "example": {
          "success": true,
          "response": [
            {
              "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
              "organizationId": "9def09fb-19a1-49b5-bda5-f1954c179b2d",
              "ecosystemId": "e6e31de2-83ad-4af9-8cd9-d9861b6ee5d5",
              "url": "https://kindi10.requestcatcher.com",
              "createdAt": "2024-06-21T06:31:26.415Z",
              "updatedAt": "2024-06-21T06:31:26.415Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the list of webhooks was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "webhookId": {
                  "type": "string",
                  "description": "Unique identifier of the webhook listener record (the ID you can use to manage this subscription later)."
                },
                "organizationId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier denoting the organization owning the subscription (the tenant that registered this webhook)."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the associated ecosystem infrastructure (the network context this webhook belongs to)."
                },
                "url": {
                  "type": "string",
                  "format": "url",
                  "description": "Configured destination callback URL receiving POST actions (the HTTP URL that receives event notifications)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of webhook creation (when this subscription was first registered)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of the webhook's latest modification (when this subscription was last updated)."
                }
              }
            }
          }
        }
      },
      "CreateTenantResponse": {
        "title": "Create Organization",
        "type": "object",
        "description": "Payload for a newly created organization identity (the complete details returned after successfully provisioning a new tenant account).",
        "example": {
          "success": true,
          "response": {
            "organizationId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "tenantId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "setting": {
              "organizationName": "acme-corp",
              "defaultLabel": "acme-corp",
              "imageUrl": "https://acme-corp.com/acme-logo-color.png",
              "id": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c"
            },
            "accessToken": "eyJhbGciOiJIUzI1NiJ9...",
            "dids": [
              {
                "did": "did:key:z6MkoMXChyU15xJkecBmhkbwiKXsUJ1qJR3QJdQDijp8is71",
                "method": "key",
                "privateKey": "KC7anZVWo2CiQDfcFXUvMDdWoerGc9L7"
              }
            ],
            "webhooks": [
              {
                "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
                "webhookUrl": "https://webhook1.com"
              }
            ],
            "x509Certificate": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU+gAwIBAgIRAIRAY0c1OngXGkDGcrB7XNEwCgYIKoZIzj0EAwIwMjEQ\nMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtp\nMB4XDTI2MDQyNDEzNTEyNVoXDTM2MDQyNDEzNTEyNVowMjEQMA4GA1UEAxMHSG92\naSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0C\nAQYIKoZIzj0DAQcDQgAEuXA1bX8uqoMv9pk9USi22mpkMeMoWi3V+Zr2JPEHu2Xi\nsnk7GjWFE4sH7kteoDvc45yczVlrSNP02BYmT+OkNKNGMEQwCwYDVR0PBAQDAgeA\nMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYu\naG92aS5pZDAKBggqhkjOPQQDAgNHADBEAiBxHW7wRnFBlWzBglMnoiEeGKfv3pTv\n0prcCCi4anON2gIgSG5yMU7+nba76md4xbwHHv/tLxrFqsHIbL1FLHC+V2I=\n-----END CERTIFICATE-----"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the organization creation was successful (whether the new tenant account was provisioned without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "organizationId": {
                "type": "string",
                "format": "uuid",
                "description": "Globally unique UUID for the new organization (the ID you will use to authenticate API calls for this tenant)."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the organization that owns this template and published the on-chain schema and credential definition."
              },
              "setting": {
                "type": "object",
                "properties": {
                  "organizationName": {
                    "type": "string",
                    "description": "Organization name."
                  },
                  "defaultLabel": {
                    "type": "string",
                    "description": "Primary UI label for the organization (the name displayed in the user interface)."
                  },
                  "imageUrl": {
                    "type": "string",
                    "format": "url",
                    "description": "URL resolving the organization logo (the image shown for this organization in the dashboard)."
                  },
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Unique identifier for the organization settings."
                  }
                }
              },
              "accessToken": {
                "type": "string",
                "description": "Bearer JWT access token for managing the organization via API endpoints (the authentication token you must include in future requests)."
              },
              "dids": {
                "type": "array",
                "description": "Collection of generated Decentralized Identifiers mapped to the organization (the DIDs created for this tenant to use in credential operations).",
                "items": {
                  "type": "object",
                  "properties": {
                    "did": {
                      "type": "string",
                      "description": "W3C DID string (the unique, verifiable digital identifier for this organization)."
                    },
                    "method": {
                      "type": "string",
                      "description": "DID method (e.g. key, web, jwk) (the method used to create this DID)."
                    },
                    "privateKey": {
                      "type": "string",
                      "description": "Private key for cryptographic operations (returned only on creation) (the secret key needed for signing operations)."
                    }
                  }
                }
              },
              "webhooks": {
                "type": "array",
                "description": "Event propagation subscriptions generated during organization onboarding (any webhooks automatically created for this tenant).",
                "items": {
                  "type": "object",
                  "properties": {
                    "webhookId": {
                      "type": "string",
                      "description": "Unique configuration key for the webhook (the ID you can use to manage this subscription later)."
                    },
                    "webhookUrl": {
                      "type": "string",
                      "format": "url",
                      "description": "Destination URL for the registered callback (the HTTP URL that receives event notifications)."
                    }
                  }
                }
              },
              "x509Certificate": {
                "type": "string",
                "description": "PEM-encoded X.509 certificate created for signing during organization provisioning."
              }
            }
          }
        }
      },
      "CreateDidResponse": {
        "title": "Create Organizataion DID",
        "type": "object",
        "description": "Payload for a newly generated W3C Decentralized Identifier (a unique, verifiable digital identifier that can be used for signing and authentication).",
        "example": {
          "success": true,
          "response": {
            "method": "web",
            "did": "did:web:acme-corp.com",
            "privateKey": "4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d",
            "didDocument": {
              "@context": [
                "https://www.w3.org/ns/did/v1"
              ],
              "id": "did:web:acme-corp.com",
              "verificationMethod": [
                {
                  "id": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                  "type": "JsonWebKey2020",
                  "controller": "did:web:acme-corp.com",
                  "publicKeyJwk": {
                    "kty": "EC",
                    "kid": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                    "crv": "P-256",
                    "x": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                    "y": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ"
                  }
                }
              ],
              "authentication": [
                "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
              ],
              "assertionMethod": [
                "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
              ]
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the DID operation was successful (whether the new DID was created without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "method": {
                "type": "string",
                "description": "DID method used (e.g., did:web) (the standard method used to create this decentralized identifier)."
              },
              "did": {
                "type": "string",
                "description": "Standardized unique URI for the DID (the actual decentralized identifier string you can use in credentials)."
              },
              "privateKey": {
                "type": "string",
                "description": "Private key material for signature generation (write-only) (the secret key needed for signing operations with this DID)."
              },
              "didDocument": {
                "type": "object",
                "description": "The W3C DID Document containing public key material. If provided, this document will be used for the new DID; otherwise, a default document will be generated (currently supports did:web only).",
                "properties": {
                  "@context": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "JSON-LD context definitions (the semantic context that gives meaning to the DID document)."
                  },
                  "id": {
                    "type": "string",
                    "description": "Root DID identifier (the DID this document describes)."
                  },
                  "verificationMethod": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Fragment-based sub-identifier for the verification method (the specific key identifier within the DID)."
                        },
                        "type": {
                          "type": "string",
                          "description": "Cryptographic protocol defining the key structure (the type of key used for verification)."
                        },
                        "controller": {
                          "type": "string",
                          "description": "DID mapped as controlling this verification method (the DID that controls this key)."
                        },
                        "publicKeyJwk": {
                          "type": "object",
                          "properties": {
                            "kty": {
                              "type": "string",
                              "description": "JSON Web Key parameter indicating key type family (the cryptographic key family used)."
                            },
                            "kid": {
                              "type": "string",
                              "description": "The JSON Web Key identifier correlating the key (the unique key identifier)."
                            },
                            "crv": {
                              "type": "string",
                              "description": "The specific cryptographic curve utilized by the key (the curve used for this key)."
                            },
                            "x": {
                              "type": "string",
                              "description": "Derived X coordinate on the cryptographic curve (part of the public key coordinates)."
                            },
                            "y": {
                              "type": "string",
                              "description": "Derived Y coordinate on the cryptographic curve (part of the public key coordinates)."
                            }
                          }
                        }
                      }
                    }
                  },
                  "authentication": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "References to verification methods for authenticating the DID controller (keys that can be used to prove control of the DID)."
                  },
                  "assertionMethod": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "References to verification methods for issuing verifiable credentials (keys that can be used to sign credentials)."
                  }
                }
              }
            }
          }
        }
      },
      "RotateTenantAccessTokenResponse": {
        "title": "Rotate Organization Access Token",
        "type": "object",
        "description": "Payload confirming rotation of the organizational access token (a new JWT token is issued and the old one is invalidated for security).",
        "example": {
          "success": true,
          "response": {
            "accessToken": "eyJhbGciOiJIUzI1NiJ9.ZXlKMFpXNWhiblJKWkNJNklqZGhORFpsT1RneUxUUTVNemt0TkRobVpDMDRabUl6TFRNeVpEaGxaVEV4T1RZMk5TSXNJbWxoZENJNk1UY3lNamcyTkRVMU5uMD0.VUejpKgvZWDHrO1SogCxixRM1S4ykQAHqpIu0XmrTvI"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the token rotation was successful (whether the new token was issued without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "accessToken": {
                "type": "string",
                "description": "Newly minted active organizational JWT Bearer token (the new authentication token you must use for future API calls)."
              }
            }
          }
        }
      },
      "DeleteTenantReponse": {
        "title": "Delete Organization",
        "type": "object",
        "description": "Response confirming deletion of a organization (the tenant account and all associated data have been permanently removed).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Flag confirming successful organization deletion (whether the deletion completed without errors)."
          }
        }
      },
      "GetTenantsResponse": {
        "title": "Get Organizations",
        "type": "object",
        "description": "Array of all organizations (tenant accounts) in the ecosystem, including archived ones. Each item includes a `status` of `active` or `archived`. Optional `organizationId` query filters to a single organization.",
        "example": {
          "success": true,
          "response": [
            {
              "organizationId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
              "dids": [
                {
                  "did": "did:key:zDnaecuqi2gU7kgSkqTuNT976LTbZjoKS1h8fnDk7qomJFbQg",
                  "method": "key"
                }
              ],
              "name": "OpenID Org",
              "label": "openidorg",
              "image": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/openid-org-image-1777038682903.svg%2Bxml",
              "status": "active",
              "createdAt": "2026-04-24T13:51:25.610Z",
              "updatedAt": "2026-05-11T13:44:27.962Z",
              "openIdWellKnownCredentialIssuerUrl": "https://core-agent-dev.hovi.id/agent/oid4vci/534640b3-8eb3-4246-ad64-d2904189abdf/.well-known/openid-credential-issuer",
              "x509Certificate": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU+gAwIBAgIRAIRAY0c1OngXGkDGcrB7XNEwCgYIKoZIzj0EAwIwMjEQ\nMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtp\nMB4XDTI2MDQyNDEzNTEyNVoXDTM2MDQyNDEzNTEyNVowMjEQMA4GA1UEAxMHSG92\naSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0C\nAQYIKoZIzj0DAQcDQgAEuXA1bX8uqoMv9pk9USi22mpkMeMoWi3V+Zr2JPEHu2Xi\nsnk7GjWFE4sH7kteoDvc45yczVlrSNP02BYmT+OkNKNGMEQwCwYDVR0PBAQDAgeA\nMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYu\naG92aS5pZDAKBggqhkjOPQQDAgNHADBEAiBxHW7wRnFBlWzBglMnoiEeGKfv3pTv\n0prcCCi4anON2gIgSG5yMU7+nba76md4xbwHHv/tLxrFqsHIbL1FLHC+V2I=\n-----END CERTIFICATE-----"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all organizations registered within the ecosystem, including archived ones.",
            "items": {
              "type": "object",
              "properties": {
                "organizationId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the organization."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Tenant identifier for the organization (typically matches organizationId)."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this organization belongs to."
                },
                "dids": {
                  "type": "array",
                  "description": "DIDs provisioned for this organization.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "did": {
                        "type": "string",
                        "description": "W3C Decentralized Identifier string (e.g., did:key:z...)."
                      },
                      "method": {
                        "type": "string",
                        "description": "DID method (e.g., key, web, jwk)."
                      }
                    }
                  }
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the organization."
                },
                "label": {
                  "type": "string",
                  "description": "Short identifier label for this organization."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the organization's logo."
                },
                "openIdWellKnownCredentialIssuerUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "OpenID Credential Issuer metadata endpoint (well-known configuration URL)."
                },
                "x509Certificate": {
                  "type": "string",
                  "description": "PEM-encoded X.509 certificate for SD-JWT signing (if configured)."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "archived"
                  ],
                  "description": "Organization lifecycle status. `active` organizations are fully operational. `archived` organizations remain visible in listings but most mutating operations are blocked."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this organization was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "GetTenantDidsResponse": {
        "title": "Get Organization DIDs",
        "type": "object",
        "description": "Payload listing public Decentralized Identifiers linked to the organization (all DIDs that this tenant can use for credential operations).",
        "example": {
          "success": true,
          "response": [
            {
              "did": "did:key:z6Mkw1JK3fA62UNsQ6MwJwqPxTEfHVZuFokpZWGdingDAfRN",
              "method": "key"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Validation confirmation for the operation (whether the list of DIDs was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Iterator of W3C DID strings (the list of decentralized identifiers belonging to this organization).",
            "items": {
              "type": "object",
              "properties": {
                "did": {
                  "type": "string",
                  "description": "W3C format identifier string (the unique, verifiable digital identifier)."
                },
                "method": {
                  "type": "string",
                  "description": "DID method used (the standard method used to create this DID)."
                }
              }
            }
          }
        }
      },
      "SendProofRequestResponse": {
        "title": "Send Proof Request",
        "type": "object",
        "description": "Payload confirming creation of an OID4VP presentation exchange session (the response after initiating a credential verification request).",
        "example": {
          "success": true,
          "response": {
            "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
            "state": "pending",
            "role": "verifier",
            "isVerified": false,
            "createdAt": "2026-05-18T04:03:45.526Z",
            "updatedAt": "2026-05-18T04:03:45.526Z",
            "verificationUrl": "https://studio-dev.hovi.id/verification?data=eyJ1cmkiOiJvcGVuaWQ0dnA6Ly8/Y2xpZW50X2lkPXg1MDlfaGFzaCUzQW90eUFOZ1J1a1BvVGVlWHo2Y21mZXFpY3R3UTRCWjBrVXRoaFVmYVVJbE0mcmVxdWVzdF91cmk9aHR0cHMlM0ElMkYlMkZjb3JlLWFnZW50LWRldi5ob3ZpLmlkJTJGYWdlbnQlMkZvaWQ0dnAlMkYyNjg5NWM4Yi0xZDFjLTQwYjctYjRlYS1mOGExYTRlNTE2YzAlMkZhdXRob3JpemF0aW9uLXJlcXVlc3RzJTJGNWYyYmQxYjctZGE5Yi00NTcxLWEwZGMtN2UyZjdkMTdiY2ZmIiwibmFtZSI6IkV1ZG8gT3JnIiwiaW1hZ2UiOiJodHRwczovL2hvdmlkZXZlbG9wbWVudC5ibG9iLmNvcmUud2luZG93cy5uZXQvc3R1ZGlvLWFzc2V0cy90ZW5hbnRzL2ltYWdlcy9ldWRvLW9yZy1pbWFnZS0xNzc5MDcxNDk3NTg5LnN2ZyUyQnhtbCIsImVjb3N5c3RlbUlkIjoiMDM5OTgzMzEtOTQyNi00MWExLTk5YTctMDlmOWQxYWY2OGRjIn0=",
            "authorizationRequestUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the OID4VP verification session."
              },
              "verificationUri": {
                "type": "string",
                "description": "OID4VP protocol URI for QR code generation and wallet interaction."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the verification exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "verifier",
                  "holder"
                ],
                "description": "Organizational role in this verification exchange."
              },
              "isVerified": {
                "type": "boolean",
                "description": "Indicates whether the submitted proof has been verified."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the verification session was initiated."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "verificationUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link encapsulating the verification session."
              },
              "authorizationRequestUri": {
                "type": "string",
                "description": "OID4VP authorization request URI (same as verificationUri)."
              }
            }
          }
        }
      },
      "GetProofRequestsResponse": {
        "title": "Get Proof Requests",
        "type": "object",
        "description": "Retrieves a paginated list of all OID4VP proof requests initiated by the organization (history of all verification requests you have sent).",
        "example": {
          "success": true,
          "response": [
            {
              "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
              "state": "pending",
              "role": "verifier",
              "isVerified": false,
              "hasTransactionData": true,
              "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
              "message": "Presentation is sent to the verifier.",
              "createdAt": "2026-05-18T04:03:45.560Z",
              "updatedAt": "2026-05-18T04:03:45.560Z",
              "id": "0a6af7f2-02af-41f5-b97d-8e0195519836"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all proof exchange records for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "proofExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the proof exchange session."
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "done",
                    "abandoned"
                  ],
                  "description": "Current lifecycle state of the verification exchange."
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "verifier",
                    "holder"
                  ],
                  "description": "Organizational role in this verification exchange."
                },
                "isVerified": {
                  "type": "boolean",
                  "description": "Indicates whether the submitted proof has been cryptographically verified."
                },
                "hasTransactionData": {
                  "type": "boolean",
                  "description": "Whether this request asked the holder to approve transaction details."
                },
                "verificationUri": {
                  "type": "string",
                  "description": "OID4VP protocol URI used to initiate the wallet interaction."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable status message describing the current state."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the proof request was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent status update."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier (same as proofExchangeId)."
                }
              }
            }
          }
        }
      },
      "GetProofRequestResponse": {
        "title": "Get Proof Request",
        "type": "object",
        "description": "Retrieves the status of a specific OID4VP proof request including the DIF Presentation Exchange submission (detailed information about one verification session).",
        "example": {
          "success": true,
          "response": {
            "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "state": "done",
            "role": "verifier",
            "isVerified": true,
            "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
            "message": "Presentation has been verified successfully.",
            "createdAt": "2026-05-18T04:03:45.560Z",
            "updatedAt": "2026-05-18T04:10:10.294Z",
            "id": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "hasTransactionData": true,
            "transactionData": [
              {
                "index": 0,
                "type": "payment",
                "credentialId": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                "data": {
                  "payment_data": {
                    "payee": "Merchant Ltd",
                    "currency": "EUR",
                    "amount": 23.58
                  }
                },
                "hash": "fOBUSQvo46yQO-wRwXBcGqvnbKIueISEL961_Sjd4do",
                "hashAlg": "sha-256"
              }
            ],
            "presentation": {
              "query": {
                "credentials": [
                  {
                    "id": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                    "require_cryptographic_holder_binding": true,
                    "multiple": false,
                    "format": "mso_mdoc",
                    "claims": [
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "age"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "isVerified"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "profileImage"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "birthDate"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      }
                    ],
                    "meta": {
                      "doctype_value": "org.example.UniversityDegree"
                    }
                  }
                ],
                "credential_sets": [
                  {
                    "options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ],
                    "required": true
                  }
                ]
              },
              "presentations": {
                "cc255d0a-26cb-485e-a408-cc13c6a996c6": [
                  {
                    "base64Url": "uQADZ3ZlcnNpb25jMS4waWRvY3VtZW50c4GjZ2RvY1R5cGV4HG9yZy5leGFtcGxlLlVuaXZlcnNpdHlEZWdyZWVsaXNzdWVyU2lnbmVkuQACam5hbWVTcGFjZXOhcFVuaXZlcnNpdHlEZWdyZWWF2BhYWaRoZGlnZXN0SUQAcWVsZW1lbnRJZGVudGlmaWVyY2FnZWxlbGVtZW50VmFsdWUYI2ZyYW5kb21YIHWjb-XkYInj1lec5S1Ow58ope8VY_sB4XsTyCjaHMsE2BhYX6RoZGlnZXN0SUQBcWVsZW1lbnRJZGVudGlmaWVyamlzVmVyaWZpZWRsZWxlbWVudFZhbHVl9GZyYW5kb21YIGI2YTbTinLAKfW5y_YIwP6KoB55AbXaqDzQejPSrzg52BhY1KRoZGlnZXN0SUQCcWVsZW1lbnRJZGVudGlmaWVybHByb2ZpbGVJbWFnZWxlbGVtZW50VmFsdWV4cmRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQUVBQUFBQkNBUUFBQUMxSEF3Q0FBQUFDMGxFUVZSNDJtUDgveDhBQXdNQ0FPN1prOXNBQUFBQVNVVk9SSzVDWUlJPWZyYW5kb21YIKZDPQ085pyafvkbqsbLhRTOmL7g3SUjgxRz5Gs6c6D62BhYaKRoZGlnZXN0SUQDcWVsZW1lbnRJZGVudGlmaWVyaWJpcnRoRGF0ZWxlbGVtZW50VmFsdWVqMTk4OS0xMS0yMGZyYW5kb21YIHfNE_5l5kuaxCSo3qJjykd9l-6R6O-hRWpB28pU0xmL2BhYjKRoZGlnZXN0SUQEcWVsZW1lbnRJZGVudGlmaWVyZ2FkZHJlc3NsZWxlbWVudFZhbHVluQACZnN0cmVldHU3NDIgRXZlcmdyZWVuIFRlcnJhY2VkY2l0eWtTcHJpbmdmaWVsZGZyYW5kb21YIK9EsFZcsgNbRboiRURZ7clTwGVXSqzMLXH8ar91hgI_amlzc3VlckF1dGiEQ6EBJqIEWCQ0YWVkZmVlMy1jYTA3LTQzY2UtYjA0Yi03OTNmZmQ0ZjZjYzMYIVkBrDCCAagwggFOoAMCAQICEAmfK1-pxJsEIetzdWFkeAswCgYIKoZIzj0EAwIwMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMB4XDTI2MDUxODAyMzEzOVoXDTM2MDUxODAyMzEzOVowMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtpGKGMR0KkI1yI7jPAPHb9h7SpGHm0i3hPk_oDOhax_0PNEA2a_GjYYKp97NnrN_lzD7GZkzuDJ_x7zDXv2dpqNGMEQwCwYDVR0PBAQDAgeAMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYuaG92aS5pZDAKBggqhkjOPQQDAgNIADBFAiEA1MrEifn9bo7aiWpbrrjP9NnDg9TtCYsc32W-Adg301oCIBJ9OA65WsVa6pQKZtBTPVsrE0nRverOW5YphsDziyv-WQIc2BhZAhe5AAZndmVyc2lvbmMxLjBvZGlnZXN0QWxnb3JpdGhtZ1NIQS0yNTZsdmFsdWVEaWdlc3RzoXBVbml2ZXJzaXR5RGVncmVlpQBYIF2Tug_qi3CPICdTV7Z62jVGXkl5ORd_LZm249xppbtpAVgg4sJZR1xF52-FDmTk4rxoOFxbK0U91grpgc4H5GpuwTQCWCAInKYUDTk3lZm42pvRencCONMG-XZpU9AHWjc5m2DVxANYIGTjl22fCgTC8PwMGwZVmsRvi2EmZM0NfDJPkRMxlKnBBFggrl14vo-Ei9AKpRd_Wo-yIWXPvQW5Xeo88FUBqEfm7HltZGV2aWNlS2V5SW5mb7kAAWlkZXZpY2VLZXmlAQICeCQyZWU3Y2YxZi04YmM5LTQyMWMtYTA4Mi05NTUyMTNmODUyMWUgASFYIBiBS7wmpDuRxxM9M691WjAfopc52C7mTBUDzhrIf4okIlggEIsZvKIYmxZAmZqr0S0fXeQmcIAmCAgdbCrLlyCuE9FnZG9jVHlwZXgcb3JnLmV4YW1wbGUuVW5pdmVyc2l0eURlZ3JlZWx2YWxpZGl0eUluZm-5AANmc2lnbmVkwHQyMDI2LTA1LTE4VDA0OjA5OjQxWml2YWxpZEZyb23AdDIwMjYtMDUtMThUMDQ6MDk6NDFaanZhbGlkVW50aWzAdDIwMjctMDUtMThUMDQ6MDk6NDFaWED8kbcEUd-d9WsEwszW5MUdHyX19up-e4_UhJbfGGeSUKgiieW0xTsYCbCNm3NpvkyGeO6xXTuJbWnBrgwIw3EgbGRldmljZVNpZ25lZLkAAmpuYW1lU3BhY2Vz2BhBoGpkZXZpY2VBdXRouQABb2RldmljZVNpZ25hdHVyZYRDoQEmoQRYJDJlZTdjZjFmLThiYzktNDIxYy1hMDgyLTk1NTIxM2Y4NTIxZfZYQOwSe2rgbnNMOXIp1RcMkdcuFVreyG5XBHg1kJFXoiH27CiZOaxpEeiDYVQLPOeNOwCbxI4FMuATGb4rVxJC_mxmc3RhdHVzAA",
                    "documents": [
                      {
                        "issuerSignedDocument": {
                          "docType": "org.example.UniversityDegree",
                          "issuerSigned": {
                            "nameSpaces": {},
                            "issuerAuth": {
                              "unprotectedHeaders": {},
                              "protectedHeaders": {},
                              "_signature": {
                                "type": "Buffer",
                                "data": [
                                  252,
                                  145,
                                  183,
                                  4,
                                  81,
                                  223,
                                  157,
                                  245,
                                  107,
                                  4,
                                  194,
                                  204,
                                  214,
                                  228,
                                  197,
                                  29,
                                  31,
                                  37,
                                  245,
                                  246,
                                  234,
                                  126,
                                  123,
                                  143,
                                  212,
                                  132,
                                  150,
                                  223,
                                  24,
                                  103,
                                  146,
                                  80,
                                  168,
                                  34,
                                  137,
                                  229,
                                  180,
                                  197,
                                  59,
                                  24,
                                  9,
                                  176,
                                  141,
                                  155,
                                  115,
                                  105,
                                  190,
                                  76,
                                  134,
                                  120,
                                  238,
                                  177,
                                  93,
                                  59,
                                  137,
                                  109,
                                  105,
                                  193,
                                  174,
                                  12,
                                  8,
                                  195,
                                  113,
                                  32
                                ]
                              },
                              "payload": {
                                "type": "Buffer",
                                "data": [
                                  216,
                                  24,
                                  89,
                                  2,
                                  23,
                                  185,
                                  0,
                                  6,
                                  103,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  111,
                                  110,
                                  99,
                                  49,
                                  46,
                                  48,
                                  111,
                                  100,
                                  105,
                                  103,
                                  101,
                                  115,
                                  116,
                                  65,
                                  108,
                                  103,
                                  111,
                                  114,
                                  105,
                                  116,
                                  104,
                                  109,
                                  103,
                                  83,
                                  72,
                                  65,
                                  45,
                                  50,
                                  53,
                                  54,
                                  108,
                                  118,
                                  97,
                                  108,
                                  117,
                                  101,
                                  68,
                                  105,
                                  103,
                                  101,
                                  115,
                                  116,
                                  115,
                                  161,
                                  112,
                                  85,
                                  110,
                                  105,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  116,
                                  121,
                                  68,
                                  101,
                                  103,
                                  114,
                                  101,
                                  101,
                                  165,
                                  0,
                                  88,
                                  32,
                                  93,
                                  147,
                                  186,
                                  15,
                                  234,
                                  139,
                                  112,
                                  143,
                                  32,
                                  39,
                                  83,
                                  87,
                                  182,
                                  122,
                                  218,
                                  53,
                                  70,
                                  94,
                                  73,
                                  121,
                                  57,
                                  23,
                                  127,
                                  45,
                                  153,
                                  182,
                                  227,
                                  220,
                                  105,
                                  165,
                                  187,
                                  105,
                                  1,
                                  88,
                                  32,
                                  226,
                                  194,
                                  89,
                                  71,
                                  92,
                                  69,
                                  231,
                                  111,
                                  133,
                                  14,
                                  100,
                                  228,
                                  226,
                                  188,
                                  104,
                                  56,
                                  92,
                                  91,
                                  43,
                                  69,
                                  61,
                                  214,
                                  10,
                                  233,
                                  129,
                                  206,
                                  7,
                                  228,
                                  106,
                                  110,
                                  193,
                                  52,
                                  2,
                                  88,
                                  32,
                                  8,
                                  156,
                                  166,
                                  20,
                                  13,
                                  57,
                                  55,
                                  149,
                                  153,
                                  184,
                                  218,
                                  155,
                                  209,
                                  122,
                                  119,
                                  2,
                                  56,
                                  211,
                                  6,
                                  249,
                                  118,
                                  105,
                                  83,
                                  208,
                                  7,
                                  90,
                                  55,
                                  57,
                                  155,
                                  96,
                                  213,
                                  196,
                                  3,
                                  88,
                                  32,
                                  100,
                                  227,
                                  151,
                                  109,
                                  159,
                                  10,
                                  4,
                                  194,
                                  240,
                                  252,
                                  12,
                                  27,
                                  6,
                                  85,
                                  154,
                                  196,
                                  111,
                                  139,
                                  97,
                                  38,
                                  100,
                                  205,
                                  13,
                                  124,
                                  50,
                                  79,
                                  145,
                                  19,
                                  49,
                                  148,
                                  169,
                                  193,
                                  4,
                                  88,
                                  32,
                                  174,
                                  93,
                                  120,
                                  190,
                                  143,
                                  132,
                                  139,
                                  208,
                                  10,
                                  165,
                                  23,
                                  127,
                                  90,
                                  143,
                                  178,
                                  33,
                                  101,
                                  207,
                                  189,
                                  5,
                                  185,
                                  93,
                                  234,
                                  60,
                                  240,
                                  85,
                                  1,
                                  168,
                                  71,
                                  230,
                                  236,
                                  121,
                                  109,
                                  100,
                                  101,
                                  118,
                                  105,
                                  99,
                                  101,
                                  75,
                                  101,
                                  121,
                                  73,
                                  110,
                                  102,
                                  111,
                                  185,
                                  0,
                                  1,
                                  105,
                                  100,
                                  101,
                                  118,
                                  105,
                                  99,
                                  101,
                                  75,
                                  101,
                                  121,
                                  165,
                                  1,
                                  2,
                                  2,
                                  120,
                                  36,
                                  50,
                                  101,
                                  101,
                                  55,
                                  99,
                                  102,
                                  49,
                                  102,
                                  45,
                                  56,
                                  98,
                                  99,
                                  57,
                                  45,
                                  52,
                                  50,
                                  49,
                                  99,
                                  45,
                                  97,
                                  48,
                                  56,
                                  50,
                                  45,
                                  57,
                                  53,
                                  53,
                                  50,
                                  49,
                                  51,
                                  102,
                                  56,
                                  53,
                                  50,
                                  49,
                                  101,
                                  32,
                                  1,
                                  33,
                                  88,
                                  32,
                                  24,
                                  129,
                                  75,
                                  188,
                                  38,
                                  164,
                                  59,
                                  145,
                                  199,
                                  19,
                                  61,
                                  51,
                                  175,
                                  117,
                                  90,
                                  48,
                                  31,
                                  162,
                                  151,
                                  57,
                                  216,
                                  46,
                                  230,
                                  76,
                                  21,
                                  3,
                                  206,
                                  26,
                                  200,
                                  127,
                                  138,
                                  36,
                                  34,
                                  88,
                                  32,
                                  16,
                                  139,
                                  25,
                                  188,
                                  162,
                                  24,
                                  155,
                                  22,
                                  64,
                                  153,
                                  154,
                                  171,
                                  209,
                                  45,
                                  31,
                                  93,
                                  228,
                                  38,
                                  112,
                                  128,
                                  38,
                                  8,
                                  8,
                                  29,
                                  108,
                                  42,
                                  203,
                                  151,
                                  32,
                                  174,
                                  19,
                                  209,
                                  103,
                                  100,
                                  111,
                                  99,
                                  84,
                                  121,
                                  112,
                                  101,
                                  120,
                                  28,
                                  111,
                                  114,
                                  103,
                                  46,
                                  101,
                                  120,
                                  97,
                                  109,
                                  112,
                                  108,
                                  101,
                                  46,
                                  85,
                                  110,
                                  105,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  116,
                                  121,
                                  68,
                                  101,
                                  103,
                                  114,
                                  101,
                                  101,
                                  108,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  105,
                                  116,
                                  121,
                                  73,
                                  110,
                                  102,
                                  111,
                                  185,
                                  0,
                                  3,
                                  102,
                                  115,
                                  105,
                                  103,
                                  110,
                                  101,
                                  100,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  54,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90,
                                  105,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  70,
                                  114,
                                  111,
                                  109,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  54,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90,
                                  106,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  85,
                                  110,
                                  116,
                                  105,
                                  108,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  55,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90
                                ]
                              }
                            }
                          },
                          "deviceSigned": {
                            "nameSpaces": {},
                            "deviceAuth": {
                              "deviceSignature": {
                                "unprotectedHeaders": {},
                                "protectedHeaders": {},
                                "_signature": {
                                  "type": "Buffer",
                                  "data": [
                                    236,
                                    18,
                                    123,
                                    106,
                                    224,
                                    110,
                                    115,
                                    76,
                                    57,
                                    114,
                                    41,
                                    213,
                                    23,
                                    12,
                                    145,
                                    215,
                                    46,
                                    21,
                                    90,
                                    222,
                                    200,
                                    110,
                                    87,
                                    4,
                                    120,
                                    53,
                                    144,
                                    145,
                                    87,
                                    162,
                                    33,
                                    246,
                                    236,
                                    40,
                                    153,
                                    57,
                                    172,
                                    105,
                                    17,
                                    232,
                                    131,
                                    97,
                                    84,
                                    11,
                                    60,
                                    231,
                                    141,
                                    59,
                                    0,
                                    155,
                                    196,
                                    142,
                                    5,
                                    50,
                                    224,
                                    19,
                                    25,
                                    190,
                                    43,
                                    87,
                                    18,
                                    66,
                                    254,
                                    108
                                  ]
                                },
                                "payload": null
                              }
                            }
                          }
                        },
                        "base64Url": "uQACam5hbWVTcGFjZXOhcFVuaXZlcnNpdHlEZWdyZWWF2BhYWaRoZGlnZXN0SUQAcWVsZW1lbnRJZGVudGlmaWVyY2FnZWxlbGVtZW50VmFsdWUYI2ZyYW5kb21YIHWjb-XkYInj1lec5S1Ow58ope8VY_sB4XsTyCjaHMsE2BhYX6RoZGlnZXN0SUQBcWVsZW1lbnRJZGVudGlmaWVyamlzVmVyaWZpZWRsZWxlbWVudFZhbHVl9GZyYW5kb21YIGI2YTbTinLAKfW5y_YIwP6KoB55AbXaqDzQejPSrzg52BhY1KRoZGlnZXN0SUQCcWVsZW1lbnRJZGVudGlmaWVybHByb2ZpbGVJbWFnZWxlbGVtZW50VmFsdWV4cmRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQUVBQUFBQkNBUUFBQUMxSEF3Q0FBQUFDMGxFUVZSNDJtUDgveDhBQXdNQ0FPN1prOXNBQUFBQVNVVk9SSzVDWUlJPWZyYW5kb21YIKZDPQ085pyafvkbqsbLhRTOmL7g3SUjgxRz5Gs6c6D62BhYaKRoZGlnZXN0SUQDcWVsZW1lbnRJZGVudGlmaWVyaWJpcnRoRGF0ZWxlbGVtZW50VmFsdWVqMTk4OS0xMS0yMGZyYW5kb21YIHfNE_5l5kuaxCSo3qJjykd9l-6R6O-hRWpB28pU0xmL2BhYjKRoZGlnZXN0SUQEcWVsZW1lbnRJZGVudGlmaWVyZ2FkZHJlc3NsZWxlbWVudFZhbHVluQACZnN0cmVldHU3NDIgRXZlcmdyZWVuIFRlcnJhY2VkY2l0eWtTcHJpbmdmaWVsZGZyYW5kb21YIK9EsFZcsgNbRboiRURZ7clTwGVXSqzMLXH8ar91hgI_amlzc3VlckF1dGiEQ6EBJqIEWCQ0YWVkZmVlMy1jYTA3LTQzY2UtYjA0Yi03OTNmZmQ0ZjZjYzMYIVkBrDCCAagwggFOoAMCAQICEAmfK1-pxJsEIetzdWFkeAswCgYIKoZIzj0EAwIwMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMB4XDTI2MDUxODAyMzEzOVoXDTM2MDUxODAyMzEzOVowMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtpGKGMR0KkI1yI7jPAPHb9h7SpGHm0i3hPk_oDOhax_0PNEA2a_GjYYKp97NnrN_lzD7GZkzuDJ_x7zDXv2dpqNGMEQwCwYDVR0PBAQDAgeAMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYuaG92aS5pZDAKBggqhkjOPQQDAgNIADBFAiEA1MrEifn9bo7aiWpbrrjP9NnDg9TtCYsc32W-Adg301oCIBJ9OA65WsVa6pQKZtBTPVsrE0nRverOW5YphsDziyv-WQIc2BhZAhe5AAZndmVyc2lvbmMxLjBvZGlnZXN0QWxnb3JpdGhtZ1NIQS0yNTZsdmFsdWVEaWdlc3RzoXBVbml2ZXJzaXR5RGVncmVlpQBYIF2Tug_qi3CPICdTV7Z62jVGXkl5ORd_LZm249xppbtpAVgg4sJZR1xF52-FDmTk4rxoOFxbK0U91grpgc4H5GpuwTQCWCAInKYUDTk3lZm42pvRencCONMG-XZpU9AHWjc5m2DVxANYIGTjl22fCgTC8PwMGwZVmsRvi2EmZM0NfDJPkRMxlKnBBFggrl14vo-Ei9AKpRd_Wo-yIWXPvQW5Xeo88FUBqEfm7HltZGV2aWNlS2V5SW5mb7kAAWlkZXZpY2VLZXmlAQICeCQyZWU3Y2YxZi04YmM5LTQyMWMtYTA4Mi05NTUyMTNmODUyMWUgASFYIBiBS7wmpDuRxxM9M691WjAfopc52C7mTBUDzhrIf4okIlggEIsZvKIYmxZAmZqr0S0fXeQmcIAmCAgdbCrLlyCuE9FnZG9jVHlwZXgcb3JnLmV4YW1wbGUuVW5pdmVyc2l0eURlZ3JlZWx2YWxpZGl0eUluZm-5AANmc2lnbmVkwHQyMDI2LTA1LTE4VDA0OjA5OjQxWml2YWxpZEZyb23AdDIwMjYtMDUtMThUMDQ6MDk6NDFaanZhbGlkVW50aWzAdDIwMjctMDUtMThUMDQ6MDk6NDFaWED8kbcEUd-d9WsEwszW5MUdHyX19up-e4_UhJbfGGeSUKgiieW0xTsYCbCNm3NpvkyGeO6xXTuJbWnBrgwIw3Eg"
                      }
                    ]
                  }
                ]
              },
              "presentationResult": {
                "can_be_satisfied": true,
                "credential_sets": [
                  {
                    "options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ],
                    "required": true,
                    "matching_options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ]
                  }
                ],
                "credential_matches": {
                  "cc255d0a-26cb-485e-a408-cc13c6a996c6": {
                    "success": true,
                    "credential_query_id": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                    "valid_credentials": [
                      {
                        "success": true,
                        "input_credential_index": 0,
                        "trusted_authorities": {
                          "success": true
                        },
                        "meta": {
                          "success": true,
                          "output": {
                            "credential_format": "mso_mdoc",
                            "doctype": "org.example.UniversityDegree",
                            "cryptographic_holder_binding": true
                          }
                        },
                        "claims": {
                          "success": true,
                          "valid_claim_sets": [
                            {
                              "success": true,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "age": 35,
                                  "isVerified": false,
                                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                                  "birthDate": "1989-11-20",
                                  "address": {}
                                }
                              },
                              "valid_claim_indexes": [
                                0,
                                1,
                                2,
                                3,
                                4,
                                5,
                                6
                              ]
                            }
                          ],
                          "valid_claims": [
                            {
                              "success": true,
                              "claim_index": 0,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "age": 35
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 1,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "isVerified": false
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 2,
                              "output": {
                                "UniversityDegree": {
                                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII="
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 3,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "birthDate": "1989-11-20"
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 4,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 5,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 6,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              }
            },
            "verificationUrl": "https://studio-dev.hovi.id/verification?data=eyJ1cmkiOiJvcGVuaWQ0dnA6Ly8/Y2xpZW50X2lkPXg1MDlfaGFzaCUzQW90eUFOZ1J1a1BvVGVlWHo2Y21mZXFpY3R3UTRCWjBrVXRoaFVmYVVJbE0mcmVxdWVzdF91cmk9aHR0cHMlM0ElMkYlMkZjb3JlLWFnZW50LWRldi5ob3ZpLmlkJTJGYWdlbnQlMkZvaWQ0dnAlMkYyNjg5NWM4Yi0xZDFjLTQwYjctYjRlYS1mOGExYTRlNTE2YzAlMkZhdXRob3JpemF0aW9uLXJlcXVlc3RzJTJGNWYyYmQxYjctZGE5Yi00NTcxLWEwZGMtN2UyZjdkMTdiY2ZmIiwibmFtZSI6IkV1ZG8gT3JnIiwiaW1hZ2UiOiJodHRwczovL2hvdmlkZXZlbG9wbWVudC5ibG9iLmNvcmUud2luZG93cy5uZXQvc3R1ZGlvLWFzc2V0cy90ZW5hbnRzL2ltYWdlcy9ldWRvLW9yZy1pbWFnZS0xNzc5MDcxNDk3NTg5LnN2ZyUyQnhtbCIsImVjb3N5c3RlbUlkIjoiMDM5OTgzMzEtOTQyNi00MWExLTk5YTctMDlmOWQxYWY2OGRjIn0="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the proof exchange session."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the verification exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "verifier",
                  "holder"
                ],
                "description": "Organizational role in this verification exchange."
              },
              "isVerified": {
                "type": "boolean",
                "description": "Indicates whether the submitted proof has been cryptographically verified."
              },
              "verificationUri": {
                "type": "string",
                "description": "OID4VP protocol URI used to initiate the wallet interaction."
              },
              "message": {
                "type": "string",
                "description": "Human-readable status message describing the current state."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the proof request was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier (same as proofExchangeId)."
              },
              "presentation": {
                "type": "object",
                "description": "DIF Presentation Exchange details including query and submitted presentations."
              },
              "hasTransactionData": {
                "type": "boolean",
                "description": "Whether this request asked the holder to approve transaction details."
              },
              "transactionData": {
                "type": "array",
                "description": "Transaction details the holder approved. Empty when the request had none.",
                "items": {
                  "type": "object",
                  "properties": {
                    "index": {
                      "type": "integer",
                      "example": 0,
                      "description": "Position of this item in the request."
                    },
                    "type": {
                      "type": "string",
                      "example": "payment",
                      "description": "Type of the transaction, as sent in the request."
                    },
                    "credentialId": {
                      "type": "string",
                      "example": "7d88c908-3b3f-413d-9dc5-a3a8b7905899",
                      "description": "Identifier of the requested credential used to approve this item."
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": true,
                      "example": {
                        "payment_data": {
                          "payee": "Merchant Ltd",
                          "currency": "EUR",
                          "amount": 23.58
                        }
                      },
                      "description": "The details the holder approved, as sent in the request."
                    },
                    "hash": {
                      "type": "string",
                      "example": "fOBUSQvo46yQO-wRwXBcGqvnbKIueISEL961_Sjd4do",
                      "description": "Proof that the holder approved these exact details."
                    },
                    "hashAlg": {
                      "type": "string",
                      "example": "sha-256",
                      "description": "Method used to create the proof."
                    }
                  }
                }
              },
              "verificationUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link for wallet redirection."
              }
            }
          }
        }
      },
      "GetStoredCredentialsV2Response": {
        "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,
          "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",
          "credentials",
          "pagination"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "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 type of the credential 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."
              }
            }
          }
        }
      },
      "GetStoredCredentialV2Response": {
        "title": "Get Stored Credential (v2)",
        "type": "object",
        "description": "One stored credential with its attributes and the display labels of its claims.",
        "example": {
          "success": true,
          "credential": {
            "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "claimFormat": "dc+sd-jwt",
            "createdAt": "2025-03-18T09:06:17.491Z",
            "updatedAt": "2025-03-18T09:06:17.491Z",
            "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",
          "credential"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "credential": {
            "type": "object",
            "required": [
              "id",
              "attributes",
              "metadata"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Credential ID."
              },
              "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)."
              },
              "updatedAt": {
                "type": "string",
                "description": "When the stored credential was last updated (ISO 8601)."
              },
              "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 type of the credential 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."
                  }
                }
              }
            }
          }
        }
      },
      "GetAllStoredCredentialsResponse": {
        "title": "Get All Stored Credentials",
        "type": "object",
        "description": "Retrieves all credentials stored in the wallet with full metadata and claim details.",
        "example": {
          "success": true,
          "credentials": [
            {
              "id": "050b7ed8-c107-42c3-9040-715cdbaa6bf2",
              "createdAt": "2026-05-18T03:24:12.443Z",
              "updatedAt": "2026-05-18T03:24:12.443Z",
              "communicationProtocol": "openid",
              "credentialType": "dc+sd-jwt",
              "issuer": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "type": "Patient_Record",
              "attributes": {
                "status": {
                  "status_list": {
                    "uri": "https://dev-token-status-list.koyeb.app/statuslist/56b07f6e-d3c8-4738-8169-cec1a4c74a9a/31f9ee62-5e9e-4299-9c7b-fca7c78a3e0f",
                    "idx": 0
                  }
                },
                "age": 28,
                "isVerified": true,
                "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                "birthDate": "1996-05-12",
                "address": {
                  "street": "221B Baker Street",
                  "city": "London"
                }
              },
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                  "name": "eudoorg",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                    "alt": "Eudo Org"
                  }
                },
                "credential": {
                  "name": "University Degree Record",
                  "description": "Official proof of university graduation and degree attainment.",
                  "textColor": "#ffffff",
                  "backgroundImage": {
                    "url": "https://acme-corp.com/logo.png",
                    "alt": "University seal watermark background"
                  },
                  "logo": {
                    "url": "https://hovi.id/assets/university-logo.png",
                    "alt": "University official crest"
                  }
                },
                "claims": {
                  "age": {
                    "path": [
                      "age"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Age"
                    },
                    "originalDisplay": [
                      {
                        "name": "Age"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "age"
                      ],
                      "display": [
                        {
                          "name": "Age"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "isVerified": {
                    "path": [
                      "isVerified"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Verified Status"
                    },
                    "originalDisplay": [
                      {
                        "name": "Verified Status"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "isVerified"
                      ],
                      "display": [
                        {
                          "name": "Verified Status"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "profileImage": {
                    "path": [
                      "profileImage"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Profile Image"
                    },
                    "originalDisplay": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "profileImage"
                      ],
                      "display": [
                        {
                          "name": "Profile Image"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "birthDate": {
                    "path": [
                      "birthDate"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Birth Date"
                    },
                    "originalDisplay": [
                      {
                        "name": "Birth Date"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "birthDate"
                      ],
                      "display": [
                        {
                          "name": "Birth Date"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address": {
                    "path": [
                      "address"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Address"
                    },
                    "originalDisplay": [
                      {
                        "name": "Address"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address"
                      ],
                      "display": [
                        {
                          "name": "Address"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address.street": {
                    "path": [
                      "address",
                      "street"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Street"
                    },
                    "originalDisplay": [
                      {
                        "name": "Street"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address",
                        "street"
                      ],
                      "display": [
                        {
                          "name": "Street"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address.city": {
                    "path": [
                      "address",
                      "city"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "City"
                    },
                    "originalDisplay": [
                      {
                        "name": "City"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address",
                        "city"
                      ],
                      "display": [
                        {
                          "name": "City"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            },
            {
              "id": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
              "createdAt": "2026-05-18T04:09:41.951Z",
              "updatedAt": "2026-05-18T04:09:41.951Z",
              "communicationProtocol": "openid",
              "credentialType": "mso_mdoc",
              "name": "org.example.UniversityDegree",
              "type": "org.example.UniversityDegree",
              "attributes": {
                "org.iso.18013.5.1": {
                  "age": 35,
                  "isVerified": false,
                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                  "birthDate": "1989-11-20",
                  "address": {
                    "street": "742 Evergreen Terrace",
                    "city": "Springfield"
                  }
                }
              },
              "issuanceDate": "2026-05-18T04:09:41.000Z",
              "expirationDate": "2027-05-18T04:09:41.000Z",
              "issuer": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU6gAwIBAgIQCZ8rX6nEmwQh63N1YWR4CzAKBggqhkjOPQQDAjAyMRAw\nDgYDVQQDEwdIb3ZpIElEMQswCQYDVQQGEwJGSTERMA8GA1UECBMISGVsc2lua2kw\nHhcNMjYwNTE4MDIzMTM5WhcNMzYwNTE4MDIzMTM5WjAyMRAwDgYDVQQDEwdIb3Zp\nIElEMQswCQYDVQQGEwJGSTERMA8GA1UECBMISGVsc2lua2kwWTATBgcqhkjOPQIB\nBggqhkjOPQMBBwNCAAS2kYoYxHQqQjXIjuM8A8dv2HtKkYebSLeE+T+gM6FrH/Q8\n0QDZr8aNhgqn3s2es3+XMPsZmTO4Mn/HvMNe/Z2mo0YwRDALBgNVHQ8EBAMCB4Aw\nEgYDVR0lBAswCQYHKIGMXQUBAjAhBgNVHREEGjAYghZjb3JlLWFnZW50LWRldi5o\nb3ZpLmlkMAoGCCqGSM49BAMCA0gAMEUCIQDUysSJ+f1ujtqJaluuuM/02cOD1O0J\nixzfZb4B2DfTWgIgEn04DrlaxVrqlApm0FM9WysTSdG96s5blimGwPOLK/4=\n-----END CERTIFICATE-----\n",
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                  "name": "eudoorg",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                    "alt": "Eudo Org"
                  }
                },
                "credential": {
                  "name": "University Degree Record",
                  "description": "Official proof of university graduation and degree attainment.",
                  "textColor": "#ffffff",
                  "backgroundImage": {
                    "url": "https://acme-corp.com/logo.png",
                    "alt": "University seal watermark background"
                  },
                  "logo": {
                    "url": "https://hovi.id/assets/university-logo.png",
                    "alt": "University official crest"
                  }
                },
                "claims": {
                  "org.iso.18013.5.1.age": {
                    "path": [
                      "org.iso.18013.5.1",
                      "age"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Age"
                    },
                    "originalDisplay": [
                      {
                        "name": "Age"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "age"
                      ],
                      "display": [
                        {
                          "name": "Age"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.isVerified": {
                    "path": [
                      "org.iso.18013.5.1",
                      "isVerified"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Verified Status"
                    },
                    "originalDisplay": [
                      {
                        "name": "Verified Status"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "isVerified"
                      ],
                      "display": [
                        {
                          "name": "Verified Status"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.profileImage": {
                    "path": [
                      "org.iso.18013.5.1",
                      "profileImage"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Profile Image"
                    },
                    "originalDisplay": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "profileImage"
                      ],
                      "display": [
                        {
                          "name": "Profile Image"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.birthDate": {
                    "path": [
                      "org.iso.18013.5.1",
                      "birthDate"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Birth Date"
                    },
                    "originalDisplay": [
                      {
                        "name": "Birth Date"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "birthDate"
                      ],
                      "display": [
                        {
                          "name": "Birth Date"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Address"
                    },
                    "originalDisplay": [
                      {
                        "name": "Address"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address"
                      ],
                      "display": [
                        {
                          "name": "Address"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address.street": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address",
                      "street"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Street"
                    },
                    "originalDisplay": [
                      {
                        "name": "Street"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "street"
                      ],
                      "display": [
                        {
                          "name": "Street"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address.city": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address",
                      "city"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "City"
                    },
                    "originalDisplay": [
                      {
                        "name": "City"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "city"
                      ],
                      "display": [
                        {
                          "name": "City"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "credentials": {
            "type": "array",
            "description": "Array of all credentials stored in the wallet.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the stored credential."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential was stored."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid"
                  ],
                  "description": "Protocol used for credential issuance."
                },
                "credentialType": {
                  "type": "string",
                  "enum": [
                    "mso_mdoc",
                    "dc+sd-jwt",
                    "vc+sd-jwt",
                    "jwt_vc"
                  ],
                  "description": "Technical format type of the credential."
                },
                "issuer": {
                  "type": "string",
                  "description": "DID or X.509 certificate of the credential issuer."
                },
                "type": {
                  "type": "string",
                  "description": "Schema type identifier of the credential."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the credential (mdoc only)."
                },
                "attributes": {
                  "type": "object",
                  "description": "Credential claim data with nested structure support."
                },
                "issuanceDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential was issued (mdoc only)."
                },
                "expirationDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential expires (mdoc only)."
                },
                "metadata": {
                  "type": "object",
                  "description": "Display metadata including issuer info, credential styling, and claim definitions.",
                  "properties": {
                    "issuer": {
                      "type": "object",
                      "description": "Issuer display information.",
                      "properties": {
                        "endpoint": {
                          "type": "string",
                          "format": "url",
                          "description": "OID4VCI issuer endpoint URL."
                        },
                        "name": {
                          "type": "string",
                          "description": "Display name of the issuer."
                        },
                        "logo": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the issuer logo."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the logo."
                            }
                          }
                        }
                      }
                    },
                    "credential": {
                      "type": "object",
                      "description": "Credential card display styling.",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Display name of the credential."
                        },
                        "description": {
                          "type": "string",
                          "description": "Description of the credential purpose."
                        },
                        "textColor": {
                          "type": "string",
                          "description": "Hex color code for credential text."
                        },
                        "backgroundImage": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the background image."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the background."
                            }
                          }
                        },
                        "logo": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the credential logo."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the logo."
                            }
                          }
                        }
                      }
                    },
                    "claims": {
                      "type": "object",
                      "description": "Map of claim paths to their display metadata.",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "JSON path array to the claim value."
                          },
                          "mandatory": {
                            "type": "boolean",
                            "description": "Whether the claim is mandatory."
                          },
                          "labels": {
                            "type": "object",
                            "description": "Localized display labels.",
                            "properties": {
                              "default": {
                                "type": "string",
                                "description": "Default display label."
                              }
                            }
                          },
                          "originalDisplay": {
                            "type": "array",
                            "description": "Original display configuration from issuer."
                          },
                          "originalClaim": {
                            "type": "object",
                            "description": "Original claim definition from issuer."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "PreviewCredentialOfferResponse": {
        "title": "Preview Credential Offer",
        "type": "object",
        "description": "Preview metadata for a credential offer before acceptance, including display styling and claim structure.",
        "example": {
          "success": true,
          "response": {
            "credentialType": "jwt_vc_json-ld",
            "communicationProtocol": "openid",
            "attributes": {
              "fullName": "",
              "age": "",
              "isVerified": "",
              "profileImage": "",
              "dateOfBirth": "",
              "address": {
                "street": "",
                "postalCode": ""
              },
              "organization": {
                "organizationName": "",
                "department": {
                  "departmentName": "",
                  "employeeCount": ""
                }
              }
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                "name": "eudoorg",
                "logo": {
                  "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                  "alt": "Eudo Org"
                }
              },
              "credential": {
                "name": "Mango PatientID 046640",
                "description": "Patient ID Card",
                "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/eudo-org-image-1779071497589.svg%2Bxml",
                  "alt": "Eudo Org"
                }
              },
              "claims": {
                "fullName": {
                  "path": [
                    "fullName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Full Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Full Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "fullName"
                    ],
                    "display": [
                      {
                        "name": "Full Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "isVerified": {
                  "path": [
                    "isVerified"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Verification Status"
                  },
                  "originalDisplay": [
                    {
                      "name": "Verification Status"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "isVerified"
                    ],
                    "display": [
                      {
                        "name": "Verification Status"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "profileImage": {
                  "path": [
                    "profileImage"
                  ],
                  "mandatory": false,
                  "labels": {
                    "default": "Profile Image"
                  },
                  "originalDisplay": [
                    {
                      "name": "Profile Image"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "profileImage"
                    ],
                    "display": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "mandatory": false
                  }
                },
                "dateOfBirth": {
                  "path": [
                    "dateOfBirth"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Date of Birth"
                  },
                  "originalDisplay": [
                    {
                      "name": "Date of Birth"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "dateOfBirth"
                    ],
                    "display": [
                      {
                        "name": "Date of Birth"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address": {
                  "path": [
                    "address"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Address Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Address Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address"
                    ],
                    "display": [
                      {
                        "name": "Address Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address.street": {
                  "path": [
                    "address",
                    "street"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Street"
                  },
                  "originalDisplay": [
                    {
                      "name": "Street"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address",
                      "street"
                    ],
                    "display": [
                      {
                        "name": "Street"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address.postalCode": {
                  "path": [
                    "address",
                    "postalCode"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Postal Code"
                  },
                  "originalDisplay": [
                    {
                      "name": "Postal Code"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address",
                      "postalCode"
                    ],
                    "display": [
                      {
                        "name": "Postal Code"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization": {
                  "path": [
                    "organization"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Organization Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Organization Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization"
                    ],
                    "display": [
                      {
                        "name": "Organization Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.organizationName": {
                  "path": [
                    "organization",
                    "organizationName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Organization Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Organization Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "organizationName"
                    ],
                    "display": [
                      {
                        "name": "Organization Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department": {
                  "path": [
                    "organization",
                    "department"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Department Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Department Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department"
                    ],
                    "display": [
                      {
                        "name": "Department Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department.departmentName": {
                  "path": [
                    "organization",
                    "department",
                    "departmentName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Department Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Department Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department",
                      "departmentName"
                    ],
                    "display": [
                      {
                        "name": "Department Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department.employeeCount": {
                  "path": [
                    "organization",
                    "department",
                    "employeeCount"
                  ],
                  "mandatory": false,
                  "labels": {
                    "default": "Employee Count"
                  },
                  "originalDisplay": [
                    {
                      "name": "Employee Count"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department",
                      "employeeCount"
                    ],
                    "display": [
                      {
                        "name": "Employee Count"
                      }
                    ],
                    "mandatory": false
                  }
                }
              }
            },
            "codeflow": "pre-authorized",
            "transactionCodeInfo": {
              "codeRequired": true,
              "length": 6,
              "description": "description about how the transaction code is sent to the holder"
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialType": {
                "type": "string",
                "enum": [
                  "jwt_vc_json-ld",
                  "dc+sd-jwt",
                  "mso_mdoc",
                  "vc+sd-jwt"
                ],
                "description": "Technical format type of the offered credential."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid"
                ],
                "description": "Protocol used for credential issuance."
              },
              "attributes": {
                "type": "object",
                "description": "Empty template structure showing expected claim fields with nested object support."
              },
              "metadata": {
                "type": "object",
                "description": "Display metadata including issuer info, credential styling, and claim definitions.",
                "properties": {
                  "issuer": {
                    "type": "object",
                    "description": "Issuer display information.",
                    "properties": {
                      "endpoint": {
                        "type": "string",
                        "format": "url",
                        "description": "OID4VCI issuer endpoint URL."
                      },
                      "name": {
                        "type": "string",
                        "description": "Display name of the issuer."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the issuer logo."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the logo."
                          }
                        }
                      }
                    }
                  },
                  "credential": {
                    "type": "object",
                    "description": "Credential card display styling.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the credential."
                      },
                      "description": {
                        "type": "string",
                        "description": "Description of the credential purpose."
                      },
                      "textColor": {
                        "type": "string",
                        "description": "Hex color code for credential text."
                      },
                      "backgroundImage": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the background image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the background."
                          }
                        }
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the credential logo."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the logo."
                          }
                        }
                      }
                    }
                  },
                  "claims": {
                    "type": "object",
                    "description": "Map of claim paths to their display metadata.",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "path": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "JSON path array to the claim value."
                        },
                        "mandatory": {
                          "type": "boolean",
                          "description": "Whether the claim is mandatory."
                        },
                        "labels": {
                          "type": "object",
                          "description": "Localized display labels.",
                          "properties": {
                            "default": {
                              "type": "string",
                              "description": "Default display label."
                            }
                          }
                        },
                        "originalDisplay": {
                          "type": "array",
                          "description": "Original display configuration from issuer."
                        },
                        "originalClaim": {
                          "type": "object",
                          "description": "Original claim definition from issuer."
                        }
                      }
                    }
                  }
                }
              },
              "codeflow": {
                "type": "string",
                "enum": [
                  "pre-authorized",
                  "authorization_code"
                ],
                "description": "OID4VCI flow type for credential issuance."
              },
              "transactionCodeInfo": {
                "type": "object",
                "description": "Transaction code requirements for pre-authorized flow.",
                "properties": {
                  "codeRequired": {
                    "type": "boolean",
                    "description": "Whether a transaction code is required."
                  },
                  "length": {
                    "type": "integer",
                    "description": "Length of the transaction code."
                  },
                  "description": {
                    "type": "string",
                    "description": "Instructions on how the holder receives the transaction code."
                  }
                }
              }
            }
          }
        }
      },
      "AcceptCredentialOfferResponse": {
        "title": "Accept Credential Offer",
        "type": "object",
        "description": "",
        "example": {
          "success": true,
          "message": "Credential offer accepted successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "message": {
            "type": "string",
            "description": "Successful confirmation upon success."
          }
        }
      },
      "PreviewProofRequestResponse": {
        "title": "Preview Proof Request",
        "type": "object",
        "description": "Preview matching credentials, requested claims and selection requirements. Multiple mandatory groups are supported; each group must require all its queries or any one query. Alternative bundles within a group are not supported. Optional credential sets are excluded from selection; optional-only requests remain valid. Unsupported combinations and transaction data referencing optional queries return HTTP 400.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "credentialType": "mso_mdoc",
                "communicationProtocol": "openid",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                "type": "org.example.UniversityDegree",
                "attributes": {
                  "org.iso.18013.5.1": {
                    "family_name": "Doe"
                  },
                  "org.iso.18013.5.1.aamva": {
                    "domestic_driving_privileges": "C"
                  }
                },
                "issuanceDate": "2026-05-18T04:09:41.951Z"
              }
            ],
            "credentialsByQueryId": {
              "7d88c908-3b3f-413d-9dc5-a3a8b7905899": [
                {
                  "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                  "credentialType": "mso_mdoc",
                  "attributes": {
                    "org.iso.18013.5.1": {
                      "family_name": "Doe"
                    }
                  }
                }
              ]
            },
            "credentialRequirements": [
              {
                "required": true,
                "mode": "all",
                "queryIds": [
                  "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                ]
              }
            ],
            "dcql": {
              "credential_sets": [
                {
                  "required": true,
                  "options": [
                    [
                      "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                    ]
                  ]
                }
              ],
              "credentials": [
                {
                  "id": "7d88c908-3b3f-413d-9dc5-a3a8b7905899",
                  "format": "mso_mdoc",
                  "meta": {
                    "doctype_value": "org.example.UniversityDegree"
                  },
                  "claims": [
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "age"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "isVerified"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "profileImage"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "birthDate"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "street"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "city"
                      ],
                      "intent_to_retain": false
                    }
                  ]
                }
              ]
            },
            "transactionData": [
              {
                "entry": {
                  "transactionData": {
                    "type": "payment",
                    "payment_data": {
                      "payee": "Merchant Ltd",
                      "currency": "EUR",
                      "amount": 23.58
                    },
                    "credential_ids": [
                      "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                    ],
                    "transaction_data_hashes_alg": [
                      "sha-256"
                    ]
                  },
                  "encoded": "eyJ0eXBlIjoicGF5bWVudCIsInBheW1lbnRfZGF0YSI6ey4uLn19",
                  "transactionDataIndex": 0
                },
                "matchedCredentialIds": [
                  "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                ]
              }
            ],
            "metadata": {
              "verifier": {
                "name": "eudoorg",
                "logo": {
                  "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml"
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentials": {
                "type": "array",
                "description": "Array of matching credentials from the wallet that satisfy the proof request.",
                "items": {
                  "type": "object",
                  "properties": {
                    "credentialType": {
                      "type": "string",
                      "enum": [
                        "mso_mdoc",
                        "dc+sd-jwt",
                        "vc+sd-jwt",
                        "jwt_vc"
                      ],
                      "description": "Technical format type of the credential."
                    },
                    "communicationProtocol": {
                      "type": "string",
                      "enum": [
                        "openid"
                      ],
                      "description": "Protocol used for credential exchange."
                    },
                    "credentialId": {
                      "type": "string",
                      "format": "uuid",
                      "description": "Unique identifier of the stored credential."
                    },
                    "type": {
                      "type": "string",
                      "description": "Schema type identifier of the credential."
                    },
                    "attributes": {
                      "type": "object",
                      "description": "Credential claim data with nested structure support."
                    },
                    "issuanceDate": {
                      "type": "string",
                      "format": "date-time",
                      "description": "ISO 8601 timestamp when the credential was issued."
                    }
                  }
                }
              },
              "credentialsByQueryId": {
                "type": "object",
                "description": "Matching credential previews grouped by query ID. Queries with no matching credentials have an empty array. Optional credential sets are excluded.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HolderPreviewCredential"
                  }
                }
              },
              "credentialRequirements": {
                "type": "array",
                "description": "Credential selection requirements for this request. Satisfy every returned group: all requires every query in the group, and any requires one query. Requests without credential sets require all queries. Optional credential sets are not listed; a request containing only optional sets returns an empty array. Alternative bundles within a group and transaction data referencing optional queries are not supported and return HTTP 400.",
                "items": {
                  "$ref": "#/components/schemas/HolderCredentialRequirement"
                }
              },
              "dcql": {
                "type": "object",
                "description": "DCQL (Digital Credentials Query Language) structure defining the proof request requirements.",
                "properties": {
                  "credential_sets": {
                    "type": "array",
                    "description": "Sets of credential options that can satisfy the request.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "required": {
                          "type": "boolean",
                          "description": "Whether this credential set is mandatory."
                        },
                        "options": {
                          "type": "array",
                          "description": "Array of credential ID combinations that satisfy this set.",
                          "items": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "description": "Credential query ID reference."
                            }
                          }
                        }
                      }
                    }
                  },
                  "credentials": {
                    "type": "array",
                    "description": "Detailed credential queries with format and claim requirements.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "description": "Unique identifier for this credential query."
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "mso_mdoc",
                            "dc+sd-jwt",
                            "vc+sd-jwt",
                            "jwt_vc"
                          ],
                          "description": "Required credential format."
                        },
                        "meta": {
                          "type": "object",
                          "description": "Format-specific metadata constraints.",
                          "properties": {
                            "doctype_value": {
                              "type": "string",
                              "description": "Required mdoc docType value."
                            }
                          }
                        },
                        "claims": {
                          "type": "array",
                          "description": "List of requested claims with disclosure settings.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "path": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "JSON path array to the claim value."
                              },
                              "intent_to_retain": {
                                "type": "boolean",
                                "description": "Whether the verifier intends to retain this claim data."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "transactionData": {
                "type": "array",
                "description": "Transaction details the holder is asked to approve, for example a payment. Only present when the request includes them. Show them to the holder before submitting.",
                "items": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "transactionData": {
                          "type": "object",
                          "additionalProperties": true,
                          "description": "The transaction details to show the holder."
                        },
                        "encoded": {
                          "type": "string",
                          "description": "The same details in the form received from the verifier."
                        },
                        "transactionDataIndex": {
                          "type": "integer",
                          "example": 0,
                          "description": "Position of this item in the request."
                        }
                      }
                    },
                    "matchedCredentialIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Identifiers of the requested credentials used to approve this item."
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "description": "Display metadata about the verifier.",
                "properties": {
                  "verifier": {
                    "type": "object",
                    "description": "Verifier display information.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the verifier."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the verifier logo."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "GetAllCredentialsResponse": {
        "title": "Get All Credentials",
        "type": "object",
        "description": "Retrieves a list of all historical credential exchange records associated with the organization.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "22f8b749-ac18-446c-816d-b13fad91dad9",
              "state": "done",
              "credentialType": "jsonld",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F56f676c9-5636-43e8-801e-124861d07aba",
              "isRevoked": false,
              "createdAt": "2026-05-11T13:44:27.941Z",
              "updatedAt": "2026-05-11T13:44:54.825Z"
            },
            {
              "credentialExchangeId": "9efe3b8e-6efe-4b7a-8e0d-4569690dc853",
              "state": "done",
              "credentialType": "sd-jwt",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F6fc8ca1b-2df8-4635-9872-17fe4ce9b68b",
              "isRevoked": false,
              "createdAt": "2026-04-27T09:42:31.984Z",
              "updatedAt": "2026-04-27T09:42:52.739Z"
            },
            {
              "credentialExchangeId": "4c0ac093-62c6-4714-867f-3f5a3ef6665a",
              "state": "pending",
              "credentialType": "sd-jwt",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2Fa211f8f3-f195-405a-8ad1-e317a5f85abf",
              "isRevoked": false,
              "createdAt": "2026-04-27T09:42:22.926Z",
              "updatedAt": "2026-04-27T09:42:22.926Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all credential exchange records for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for this credential exchange transaction."
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "done",
                    "abandoned"
                  ],
                  "description": "Current lifecycle state of the credential exchange."
                },
                "credentialType": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Format type of the issued credential."
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "issuer",
                    "holder"
                  ],
                  "description": "Organizational role in this credential exchange."
                },
                "credentialOfferUri": {
                  "type": "string",
                  "description": "OpenID4VCI credential offer URI provided to the wallet holder."
                },
                "isRevoked": {
                  "type": "boolean",
                  "description": "Indicates whether this credential has been revoked."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential exchange was initiated."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent status update."
                },
                "message": {
                  "type": "string",
                  "description": "Optional human-readable status message."
                }
              }
            }
          }
        }
      },
      "GetCredentialResponse": {
        "title": "Get Credential",
        "type": "object",
        "description": "Retrieves the detailed status and payload of a specific credential issuance transaction (full details about one credential exchange).",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "22f8b749-ac18-446c-816d-b13fad91dad9",
              "state": "done",
              "credentialType": "jsonld",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F56f676c9-5636-43e8-801e-124861d07aba",
              "isRevoked": false,
              "createdAt": "2026-05-11T13:44:27.941Z",
              "updatedAt": "2026-05-11T13:44:54.825Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the retrieval operation was successful (whether the credential details were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the credential issuance transaction (the ID of this specific credential exchange)."
                },
                "credentialOfferUri": {
                  "type": "string",
                  "description": "The OpenID4VCI credential offer URI (the URI the holder used to accept the credential)."
                },
                "state": {
                  "type": "string",
                  "description": "Current processing state of the credential exchange (the lifecycle state of this credential)."
                },
                "role": {
                  "type": "string",
                  "description": "The organizational role in the exchange (whether this organization acted as issuer or holder)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "The format type of the credential (e.g., jsonld, sd-jwt, mdoc) (the technical format of the credential)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Creation timestamp (when this credential exchange started)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Last update timestamp (when the status of this credential last changed)."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable status message (a status message about this credential)."
                },
                "isRevoked": {
                  "type": "boolean",
                  "description": "Indicates whether this credential has been revoked."
                }
              }
            }
          }
        }
      },
      "IssueJsonLdCredentialResponse": {
        "title": "Issue JSON-LD Credential",
        "type": "object",
        "description": "Response payload returned upon initiating a W3C JSON-LD credential issuance via OID4VCI (the details after starting the credential issuance flow).",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2026-05-18T03:05:51.815Z",
            "updatedAt": "2026-05-18T03:05:51.816Z",
            "credentialExchangeId": "46236fbd-0709-471c-8365-a65e449ad1e4",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F6e2816ee-fd0f-4323-a9b3-e30daaadfa52%2Foffers%2F232d93b1-8387-466f-b006-d55cc603eee5",
            "isRevoked": false,
            "state": "pending",
            "role": "issuer",
            "credentialType": "jsonld",
            "transactionCode": "9086",
            "credentialOfferUrl": "https://studio-dev.hovi.id/credential?data=eyJ1cmkiOiJvcGVuaWQtY3JlZGVudGlhbC1vZmZlcjovLz9jcmVkZW50aWFsX29mZmVyX3VyaT1odHRwcyUzQSUyRiUyRmNvcmUtYWdlbnQtZGV2LmhvdmkuaWQlMkZhZ2VudCUyRm9pZDR2Y2klMkY2ZTI4MTZlZS1mZDBmLTQzMjMtYTliMy1lMzBkYWFhZGZhNTIlMkZvZmZlcnMlMkYyMzJkOTNiMS04Mzg3LTQ2NmYtYjAwNi1kNTVjYzYwM2VlZTUiLCJuYW1lIjoiRXVkbyBPcmciLCJpbWFnZSI6Imh0dHBzOi8vaG92aWRldmVsb3BtZW50LmJsb2IuY29yZS53aW5kb3dzLm5ldC9zdHVkaW8tYXNzZXRzL3RlbmFudHMvaW1hZ2VzL2V1ZG8tb3JnLWltYWdlLTE3NzkwNzE0OTc1ODkuc3ZnJTJCeG1sIiwiZWNvc3lzdGVtSWQiOiIwMzk5ODMzMS05NDI2LTQxYTEtOTlhNy0wOWY5ZDFhZjY4ZGMifQ=="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful (whether the credential issuance was started without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp of the issuance record (when this credential issuance started)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when the status of this issuance last changed)."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique transaction identifier for this issuance session (the ID you can use to track this credential)."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "The OID4VCI standard URI used to generate a QR code for the wallet (the URI the holder scans to receive the credential)."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether the issued credential has been subsequently revoked (whether this credential is still valid)."
              },
              "state": {
                "type": "string",
                "description": "Current status of the issuance transaction (the lifecycle state of this credential)."
              },
              "role": {
                "type": "string",
                "description": "The organizational role in the exchange (whether this organization is acting as issuer)."
              },
              "transactionCode": {
                "type": "string",
                "description": "The OIDC Pre-Authorized Code Flow transaction PIN provided to the user (the PIN the holder must enter to accept the credential)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format of the credential being issued (the technical format of the credential)."
              },
              "credentialOfferUrl": {
                "type": "string",
                "description": "Universal link wrapping the credential offer URI for better mobile handling (a deep link that can open the wallet directly)."
              }
            }
          }
        }
      },
      "IssueSdJwtCredentialResponse": {
        "title": "Issue SD-JWT Credential",
        "type": "object",
        "description": "Response payload returned upon initiating an IETF SD-JWT credential issuance via OID4VCI (the details after starting the credential issuance flow for an SD-JWT).",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2024-07-08T09:28:43.781Z",
            "updatedAt": "2024-07-08T09:28:43.782Z",
            "credentialExchangeId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
            "isRevoked": false,
            "state": "pending",
            "transactionCode": "1470",
            "role": "issuer",
            "credentialType": "sd-jwt",
            "credentialOfferUrl": "https://hovi.id/credential?data=eyJ1cm..."
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful (whether the credential issuance was started without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp of the issuance record (when this credential issuance started)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when the status of this issuance last changed)."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique transaction identifier for this issuance session (the ID you can use to track this credential)."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "The OID4VCI standard URI used to generate a QR code for the wallet (the URI the holder scans to receive the credential)."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether the issued credential has been revoked (whether this credential is still valid)."
              },
              "state": {
                "type": "string",
                "description": "Current status of the issuance transaction (the lifecycle state of this credential)."
              },
              "transactionCode": {
                "type": "string",
                "description": "The OIDC Pre-Authorized Code Flow transaction PIN provided to the user (the PIN the holder must enter to accept the credential)."
              },
              "role": {
                "type": "string",
                "description": "The organizational role in the exchange (whether this organization is acting as issuer)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format of the credential being issued (the technical format of the credential)."
              },
              "credentialOfferUrl": {
                "type": "string",
                "description": "Universal link wrapping the credential offer URI (a deep link that can open the wallet directly)."
              }
            }
          }
        }
      },
      "IssueMdocCredentialResponse": {
        "title": "Issue mdoc Credential",
        "type": "object",
        "description": "Response payload returned upon initiating an ISO/IEC 18013-5, ISO/IEC 18013-7 mdoc credential issuance via OID4VCI.",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2026-05-18T03:19:00.509Z",
            "updatedAt": "2026-05-18T03:19:00.509Z",
            "credentialExchangeId": "c4d80763-2a1b-4a68-940f-1ab4b1d68173",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F6e2816ee-fd0f-4323-a9b3-e30daaadfa52%2Foffers%2Fcb938333-2581-4f28-ac37-925c6e74e190",
            "isRevoked": false,
            "state": "pending",
            "role": "issuer",
            "credentialType": "mdoc",
            "credentialOfferUrl": "https://studio-dev.hovi.id/credential?data=eyJ1cmkiOiJvcGVuaWQtY3JlZGVudGlhbC1vZmZlcjovLz9jcmVkZW50aWFsX29mZmVyX3VyaT1odHRwcyUzQSUyRiUyRmNvcmUtYWdlbnQtZGV2LmhvdmkuaWQlMkZhZ2VudCUyRm9pZDR2Y2klMkY2ZTI4MTZlZS1mZDBmLTQzMjMtYTliMy1lMzBkYWFhZGZhNTIlMkZvZmZlcnMlMkZjYjkzODMzMy0yNTgxLTRmMjgtYWMzNy05MjVjNmU3NGUxOTAiLCJuYW1lIjoiRXVkbyBPcmciLCJpbWFnZSI6Imh0dHBzOi8vaG92aWRldmVsb3BtZW50LmJsb2IuY29yZS53aW5kb3dzLm5ldC9zdHVkaW8tYXNzZXRzL3RlbmFudHMvaW1hZ2VzL2V1ZG8tb3JnLWltYWdlLTE3NzkwNzE0OTc1ODkuc3ZnJTJCeG1sIiwiZWNvc3lzdGVtSWQiOiIwMzk5ODMzMS05NDI2LTQxYTEtOTlhNy0wOWY5ZDFhZjY4ZGMifQ=="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the credential issuance was initiated."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for this credential exchange transaction."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "OID4VCI credential offer URI for QR code generation."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether this credential has been revoked."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the credential exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "issuer",
                  "holder"
                ],
                "description": "Organizational role in this credential exchange."
              },
              "credentialType": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Format type of the credential being issued."
              },
              "credentialOfferUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link wrapping the credential offer URI."
              }
            }
          }
        }
      },
      "RevokeCredentialResponse": {
        "title": "Revoke Credential",
        "type": "object",
        "description": "\nResponse indicating successful revocation of a verifiable credential \n(confirmation that the credential can no longer be used).\n\nRevocation Mechanism:\nThis system uses the IETF Token Status List mechanism to manage credential revocation.\nInstead of deleting credentials, their status is updated in a status list which can be \nchecked by verifiers during presentation.\n\nCurrent Support:\n- Supported: SD-JWT VC credentials\n\n\nImportant:\nRevocation does not invalidate the credential structurally. Instead, verifiers must check \nthe credential status using the referenced status list to determine if it has been revoked.\n",
        "example": {
          "success": true,
          "message": "Credential revoked successfully."
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the revocation was successful (whether the credential was revoked without errors)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation message (a message explaining the outcome of the revocation)."
          }
        }
      },
      "UpdateTemplateByVerificationTemplateId": {
        "title": "Update Verification Template Payload",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Payload for modifying an existing verification template (the data you send to update a verification rule set).",
        "example": {
          "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "name",
          "description": "description",
          "image": "https://hovi.id/image.png",
          "dataRetentionConsent": false
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
            "description": "Unique identifier of the verification template to update (the ID of the template you want to change)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "name",
            "description": "Updated display name for the verification template (the new human-readable name)."
          },
          "description": {
            "type": "string",
            "example": "description",
            "description": "Updated description defining the verification criteria (the new explanation of why this verification is needed)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/image.png",
            "description": "Updated URL for the visual mapping thumbnail (the new image shown in the dashboard for this template). \n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "UpdateCredentialTemplate": {
        "title": "Update Credential Template Payload",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Payload for updating an existing credential template configuration (the data you send to update a credential blueprint).",
        "example": {
          "credentialTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "image": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
          "dataRetentionConsent": false,
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the credential template to update (the ID of the template you want to change)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
            "description": "Updated URL for the visual mapping thumbnail (the new image shown in the dashboard for this template). \n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          }
        }
      },
      "DeleteCredentialTemplate": {
        "title": "Delete Credential Template",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Request payload to delete a specific credential template (the data you send to permanently remove a credential blueprint).",
        "example": {
          "credentialTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4"
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the credential template to remove (the ID of the template you want to delete)."
          }
        }
      },
      "UpdateTenantResponse": {
        "title": "Update Organization",
        "type": "object",
        "description": "Response indicating successful modification of organization details (confirmation that the tenant account settings were updated).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the update operation was successful (whether the organization was updated without errors)."
          }
        }
      },
      "deleteConnection": {
        "title": "Delete Connection",
        "type": "object",
        "required": [
          "connectionId"
        ],
        "description": "Request payload to terminate an established DIDComm or OID4VP session connection (the data you send to close a peer-to-peer connection).",
        "example": {
          "connectionId": "123e4567-e89b-12d3-a456-426614174000"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "description": "Unique identifier of the connection to delete (the ID of the connection you want to terminate)."
          }
        }
      },
      "AuthorizationServerConfig": {
        "type": "object",
        "required": [
          "issuer",
          "clientAuthentication"
        ],
        "description": "An external OAuth 2.0 / OpenID Connect authorization server that users sign in with during the authorization code flow. Wallets authorize with the organization, which sends the user on to this server to sign in. In the client you create at the server for the organization, register the `callbackUrl` returned by this endpoint as a redirect URI. The server must publish discovery metadata whose `issuer` exactly matches `issuer`.",
        "properties": {
          "issuer": {
            "type": "string",
            "format": "url",
            "example": "https://login.example.com",
            "description": "Issuer identifier of the authorization server, exactly as the `issuer` value in its `/.well-known/openid-configuration` (not the discovery, authorize or token URL). Must use https. Surrounding spaces are removed and the scheme and host are saved in lowercase; the path is kept as sent. Each issuer can be added to an organization only once, ignoring case and a trailing slash, and it cannot be the organization's own credential issuer URL."
          },
          "clientAuthentication": {
            "type": "object",
            "required": [
              "clientId",
              "clientSecret"
            ],
            "description": "Client credentials of the organization at the authorization server. The client secret is never returned.",
            "properties": {
              "clientId": {
                "type": "string",
                "minLength": 1,
                "example": "<client-id>",
                "description": "Client ID."
              },
              "clientSecret": {
                "type": "string",
                "minLength": 1,
                "example": "<client-secret>",
                "description": "Client secret."
              }
            }
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile",
              "email"
            ],
            "description": "Optional. Default scopes requested from the authorization server when the user signs in. They decide which user claims the server returns, in its ID token or from its userinfo endpoint, for example `profile` for `given_name` and `family_name`, or `email` for `email`. `openid` is always added. Values must not contain spaces, double quotes or backslashes. A credential offer can override them with `signInScopes`."
          },
          "walletRedirectUris": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Optional. Default wallet redirect URIs allowed for the sign-in; a wallet's `redirect_uri` must match one exactly. When omitted, any wallet redirect URI is allowed. A credential offer can override them."
          }
        }
      },
      "UpdateAuthorizationServer": {
        "type": "object",
        "description": "Set at least one field. A field that is sent replaces the current value.",
        "example": {
          "scopes": [
            "profile",
            "email"
          ]
        },
        "properties": {
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile",
              "email"
            ],
            "description": "Default scopes requested from the authorization server when the user signs in. They decide which user claims the server returns, in its ID token or from its userinfo endpoint. `openid` is always added."
          },
          "walletRedirectUris": {
            "type": "array",
            "nullable": true,
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Default wallet redirect URIs allowed for the sign-in. Send `null` to allow any wallet redirect URI."
          }
        }
      },
      "AuthorizationServer": {
        "type": "object",
        "properties": {
          "authorizationServerId": {
            "type": "string",
            "format": "uuid",
            "example": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
            "description": "Use this as `authorizationCodeflowConfig.authorizationServerId` when creating a credential offer."
          },
          "issuer": {
            "type": "string",
            "format": "url",
            "example": "https://login.example.com"
          },
          "clientId": {
            "type": "string",
            "example": "<client-id>"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid",
              "profile",
              "email"
            ],
            "description": "Default scopes requested at sign-in."
          },
          "walletRedirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Default wallet redirect URIs. Present when set."
          },
          "callbackUrl": {
            "type": "string",
            "format": "url",
            "example": "https://agent.example.com/oid4vci/<issuer-id>/redirect",
            "description": "Register this URL as a redirect URI in the client you created at the authorization server. Sign-in fails if it is not registered."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Present after an update."
          }
        }
      },
      "AuthorizationServerResponse": {
        "title": "Authorization Server Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "$ref": "#/components/schemas/AuthorizationServer"
          }
        }
      },
      "ListAuthorizationServersResponse": {
        "title": "List Authorization Servers Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthorizationServer"
            }
          }
        }
      },
      "AuthorizationCodeflowConfig": {
        "type": "object",
        "required": [
          "authorizationServerId"
        ],
        "description": "Required when `codeflow` is `authorization`. The user signs in with the selected authorization server before the wallet receives the credential. Template attributes marked `authorization: true` are filled from the user's sign-in (ID token, then userinfo); their names must match the claim names exactly, for example `given_name` or `email`, and the matching scopes must be requested. A required attribute that the sign-in does not return makes issuance fail after the user signs in.",
        "properties": {
          "authorizationServerId": {
            "type": "string",
            "format": "uuid",
            "example": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
            "description": "ID of one of the organization's authorization servers, from the add or list authorization server endpoints."
          },
          "issuerState": {
            "type": "string",
            "example": "<unique-value>",
            "description": "Optional. Your own value linking the sign-in to this offer. Must be unique for each offer. Generated when omitted."
          },
          "signInScopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile"
            ],
            "description": "Optional. Scopes requested from the authorization server when the user signs in, for this offer only, instead of the server's defaults. They decide which user claims the server returns, in its ID token or from its userinfo endpoint. `openid` is always added. Values must not contain spaces, double quotes or backslashes."
          },
          "offerScope": {
            "type": "string",
            "minLength": 1,
            "example": "<credential-scope>",
            "description": "Optional. Scopes put in the offer's `authorization_code` grant. Defaults to the offered credential's scope."
          },
          "walletRedirectUris": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Optional. Wallet redirect URIs allowed for this offer only, instead of the server's defaults."
          }
        }
      },
      "createTenant": {
        "title": "Create Organization",
        "type": "object",
        "required": [
          "name",
          "label",
          "secret",
          "imageUrl"
        ],
        "description": "Request payload to provision a new organization within the ecosystem (the data you send to create a new tenant account).",
        "example": {
          "name": "Acme Corp",
          "label": "acme-corp",
          "secret": "sk_test_51J9Z",
          "imageUrl": "https://acme-corp.com/logo.png",
          "webhooks": [
            "https://acme-corp.com/webhook1"
          ],
          "certificateSubject": {
            "commonName": "Acme Corp",
            "countryCode": "DE"
          },
          "dids": [
            {
              "did": "did:key:z6MkmVQoHFeAxy7BbtZkNbB1pucywFCGQJEHCnbLQ8FpJUa7",
              "privateKey": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd"
            }
          ]
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Acme Corp",
            "description": "The name of the organization (main display name for the tenant)."
          },
          "label": {
            "type": "string",
            "example": "acme-corp",
            "description": "A short, URL-friendly label for the organization."
          },
          "secret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "Administrative secret key used for initial organization setup and security boundary mapping (the secret used for administrative operations)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the organization logo (the image shown for this organization in the dashboard)."
          },
          "webhooks": {
            "type": "array",
            "example": [
              "https://acme-corp.com/webhook1"
            ],
            "items": {
              "type": "string",
              "format": "url",
              "example": "https://acme-corp.com/webhook1"
            },
            "description": "Initial array of webhook destination URLs to register for the organization (HTTP callback URLs that will receive event notifications)."
          },
          "dids": {
            "type": "array",
            "description": "Array of DIDs and their corresponding private keys to initialize the organization with (pre-existing DIDs you want to associate with this tenant).",
            "items": {
              "type": "object",
              "properties": {
                "did": {
                  "type": "string",
                  "example": "did:key:z6MkmVQoHFeAxy7BbtZkNbB1pucywFCGQJEHCnbLQ8FpJUa7",
                  "description": "Existing Decentralized Identifier to map to the organization (the DID you want to link to this tenant)."
                },
                "privateKey": {
                  "type": "string",
                  "example": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
                  "description": "Private cryptographic key associated with the DID for signing operations (the secret key for this DID)."
                }
              }
            }
          },
          "certificateSubject": {
            "type": "object",
            "additionalProperties": false,
            "description": "Optional. Subject of the signing certificate created for the organization, shown to wallets that check who issued or requested a credential. Invalid values are rejected with 400 before the organization is created.",
            "properties": {
              "commonName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Acme Corp",
                "description": "Name in the certificate, 1 to 64 characters without control characters."
              },
              "countryCode": {
                "type": "string",
                "minLength": 2,
                "maxLength": 2,
                "example": "DE",
                "description": "ISO 3166-1 alpha-2 country code, for example `DE` or `FI`. Lowercase is accepted and converted to uppercase. Country names are not accepted. Defaults to `FI` when omitted."
              },
              "organizationName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Acme Corporation GmbH",
                "description": "Legal name of the organization (X.509 `O`), 1 to 64 characters without control characters."
              },
              "organizationIdentifier": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "NTRDE-HRB123456",
                "description": "Registration identifier of the organization (X.509 `organizationIdentifier`), 1 to 64 characters without control characters, in the format your trust framework requires, for example `VATDE-123456789` or `NTRDE-HRB123456`."
              },
              "organizationalUnit": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Digital Identity",
                "description": "Department or unit within the organization (X.509 `OU`), 1 to 64 characters without control characters."
              }
            }
          }
        }
      },
      "createDid": {
        "title": "Create Organization DID",
        "type": "object",
        "required": [
          "method",
          "domain"
        ],
        "description": "Request payload to generate and register a new W3C Decentralized Identifier (the data you send to create a new DID for your organization).",
        "example": {
          "method": "web",
          "domain": "https://acme-corp.com",
          "privateKey": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
          "encoding": "hex",
          "did": "did:web:acme-corp.com",
          "didDocument": {
            "@context": [
              "https://www.w3.org/ns/did/v1"
            ],
            "id": "did:web:acme-corp.com",
            "verificationMethod": [
              {
                "id": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                "type": "JsonWebKey2020",
                "controller": "did:web:acme-corp.com",
                "publicKeyJwk": {
                  "kty": "EC",
                  "kid": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                  "crv": "P-256",
                  "x": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                  "y": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ"
                }
              }
            ],
            "authentication": [
              "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
            ],
            "assertionMethod": [
              "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
            ]
          }
        },
        "properties": {
          "method": {
            "type": "string",
            "example": "web",
            "description": "The standard DID method to invoke (the method used to create this decentralized identifier)."
          },
          "domain": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com",
            "description": "The web domain required to resolve the identity when using the did:web method (the domain that will host the DID document)."
          },
          "privateKey": {
            "type": "string",
            "example": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
            "description": "Optional private key to inject. If omitted, the system generates a new key pair (the secret key you want to use for this DID)."
          },
          "encoding": {
            "type": "string",
            "example": "hex",
            "description": "Encoding format for the provided private key (e.g., hex, base58) (the format of the private key you supplied)."
          },
          "did": {
            "type": "string",
            "example": "did:web:acme-corp.com",
            "description": "The precise DID string to register, overriding automatic derivation if applicable (the exact DID you want to create)."
          },
          "didDocument": {
            "type": "object",
            "description": "Custom W3C DID Document to associate with the created identity (the full public document containing verification keys).",
            "properties": {
              "@context": {
                "type": "array",
                "example": [
                  "https://www.w3.org/ns/did/v1"
                ],
                "items": {
                  "type": "string",
                  "example": "https://www.w3.org/ns/did/v1"
                },
                "description": "JSON-LD context array defining the schema data models (the semantic context for the DID document)."
              },
              "id": {
                "type": "string",
                "example": "did:web:acme-corp.com",
                "description": "The identifier ID correlating the document to the subject DID (the DID this document describes)."
              },
              "verificationMethod": {
                "type": "array",
                "description": "Array mapping the public keys available for verification operations (the public keys that can be used to verify signatures from this DID).",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                      "description": "Fragment-based sub-identifier for the specific cryptographic key (the key identifier)."
                    },
                    "type": {
                      "type": "string",
                      "example": "JsonWebKey2020",
                      "description": "The cryptographic protocol standard of the embedded key (the type of key)."
                    },
                    "controller": {
                      "type": "string",
                      "example": "did:web:acme-corp.com",
                      "description": "The DID authority that controls this verification method (the DID that owns this key)."
                    },
                    "publicKeyJwk": {
                      "type": "object",
                      "properties": {
                        "kty": {
                          "type": "string",
                          "example": "EC",
                          "description": "JSON Web Key parameter indicating key type family (the cryptographic key family)."
                        },
                        "kid": {
                          "type": "string",
                          "example": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                          "description": "The JSON Web Key identifier correlating the key (the unique key identifier)."
                        },
                        "crv": {
                          "type": "string",
                          "example": "P-256",
                          "description": "The specific cryptographic curve utilized by the key (the curve used)."
                        },
                        "x": {
                          "type": "string",
                          "example": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                          "description": "Derived X coordinate on the cryptographic curve (part of the public key)."
                        },
                        "y": {
                          "type": "string",
                          "example": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ",
                          "description": "Derived Y coordinate on the cryptographic curve (part of the public key)."
                        }
                      }
                    }
                  }
                }
              },
              "authentication": {
                "type": "array",
                "example": [
                  "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                ],
                "items": {
                  "type": "string",
                  "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                },
                "description": "References to verification methods valid for authenticating the DID controller (keys that prove control of the DID)."
              },
              "assertionMethod": {
                "type": "array",
                "example": [
                  "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                ],
                "items": {
                  "type": "string",
                  "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                },
                "description": "References to verification methods valid for issuing verifiable credentials (keys that can sign credentials)."
              }
            }
          }
        }
      },
      "updateTenant": {
        "title": "Update Organization",
        "type": "object",
        "description": "Request payload to modify properties of an existing organization. Send only the fields you want to change.",
        "example": {
          "label": "new label",
          "imageUrl": "https://new-acme-corp.com/new-logo.png",
          "issuerInfo": [
            {
              "format": "registration_cert",
              "data": "<signed registration certificate JWT>"
            }
          ]
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "new label",
            "description": "Updated display label for the organization."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the organization logo (the image shown for this organization in the dashboard)."
          },
          "issuerInfo": {
            "type": "array",
            "description": "Optional. Attestations about the organization as a credential issuer, for example a registration certificate, shown to wallets as `issuer_info` (ETSI TS 119 472-3). Replaces any issuer info sent before; send `[]` to remove it.",
            "items": {
              "type": "object",
              "required": [
                "format",
                "data"
              ],
              "additionalProperties": false,
              "properties": {
                "format": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Attestation format agreed with the wallet ecosystem, for example `registration_cert`."
                },
                "data": {
                  "description": "The attestation itself: a non-empty string, such as a signed JWT, or a JSON object.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object"
                    }
                  ]
                },
                "credentialTemplateIds": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "description": "Optional. IDs of this organization's credential templates that the attestation applies to. Omit it to apply the attestation to every credential the organization issues; you do not need to list them."
                }
              }
            },
            "example": [
              {
                "format": "registration_cert",
                "data": "<signed registration certificate JWT>"
              }
            ]
          }
        }
      },
      "deleteTenant": {
        "title": "Delete Organization",
        "type": "object",
        "required": [
          "organizationSecret"
        ],
        "description": "Request payload to permanently remove a organization and its data from the ecosystem (the data you send to delete a tenant account).",
        "example": {
          "organizationSecret": "sk_test_51J9Z"
        },
        "properties": {
          "organizationSecret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "The administrative secret key required to authorize the deletion of the organization (the secret needed to confirm deletion)."
          }
        }
      },
      "rotateKey": {
        "title": "Rotate Organization Key​",
        "type": "object",
        "required": [
          "accessToken",
          "organizationSecret"
        ],
        "description": "Request payload to invalidate current API tokens and issue a newly rotated access token (the data you send to refresh the authentication token for security).",
        "example": {
          "accessToken": "eyJhbGciOiJIUzI1NiJ9...",
          "organizationSecret": "sk_test_51J9Z"
        },
        "properties": {
          "accessToken": {
            "type": "string",
            "example": "eyJhbGciOiJIUzI1NiJ9...",
            "description": "The current active organizational Bearer JWT token to be revoked (the old token you want to invalidate)."
          },
          "organizationSecret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "The administrative secret key required to authorize the security rotation (the secret needed to perform the rotation)."
          }
        }
      },
      "getWebhook": {
        "title": "Get Webhook",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to retrieve the details of a specific webhook subscription (the data you send to fetch information about one webhook).",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the configured webhook to fetch (the ID of the webhook you want to retrieve)."
          }
        }
      },
      "addWebhook": {
        "title": "Add 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/api-guide/business-wallet-api/webhooks)",
        "example": {
          "webhookUrl": "https://acme-corp.com/webhook1"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/webhook1",
            "description": "Publicly accessible HTTP(S) endpoint URL that will receive Hovi event notification POST requests. Must respond with a 2xx status code within the timeout window."
          }
        }
      },
      "ResolveCredentialAuthorizationRequestResponse": {
        "title": "Resolve Credential Authorization Response",
        "type": "object",
        "description": "Returned after resolving a credential authorization request. Open `authorizationRequestUrl` to complete the OAuth authorization code flow.",
        "example": {
          "success": true,
          "response": {
            "authorizationRequestUrl": "https://auth.example.com/authorize?client_id=did%3Aweb%3Aclient.example.com&redirect_uri=https%3A%2F%2Fclient.example.com%2Fcb&request_uri=https%3A%2F%2Fissuer.example.com%2Foid4vci%2Fpar%2Fabc123"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the authorization request was resolved successfully."
          },
          "response": {
            "type": "object",
            "properties": {
              "authorizationRequestUrl": {
                "type": "string",
                "format": "url",
                "example": "https://auth.example.com/authorize?client_id=did%3Aweb%3Aclient.example.com&redirect_uri=https%3A%2F%2Fclient.example.com%2Fcb&request_uri=https%3A%2F%2Fissuer.example.com%2Foid4vci%2Fpar%2Fabc123",
                "description": "Authorization URL the wallet should open to complete the OAuth authorization code flow."
              }
            }
          }
        }
      },
      "deleteWebhook": {
        "title": "Delete Webhook",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to remove an existing webhook listener (the data you send to delete a webhook subscription).",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the webhook subscription to delete (the ID of the webhook you want to remove)."
          }
        }
      },
      "rotateWebhookSecret": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to rotate the signing secret for an existing webhook. A signing secret is generated automatically.",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the webhook whose secret should be rotated."
          }
        }
      },
      "RotateWebhookSecretResponse": {
        "title": "Rotate Webhook Secret Response",
        "type": "object",
        "description": "Returned after successfully rotating a webhook signing secret.",
        "example": {
          "success": true,
          "response": {
            "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "webhookSecret": "your-new-webhook-secret"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "webhookId": {
                "type": "string",
                "description": "Unique identifier of the webhook."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Newly generated webhook signing secret."
              }
            }
          }
        }
      },
      "createAnoncredCredentialTemplate": {
        "title": "Create Anoncred Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "tag"
        ],
        "description": "Request payload to create a new Hyperledger AnonCreds credential template (the data you send to create a credential blueprint using the AnonCreds format).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "attributes": [
            {
              "name": "fullName",
              "label": "Full Name",
              "type": "string",
              "description": "Full name of the credential holder",
              "required": true
            },
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isActive",
              "label": "Is Active",
              "type": "boolean",
              "description": "Status of the credential",
              "required": true
            },
            {
              "name": "dateOfBirth",
              "label": "Date of Birth",
              "type": "date",
              "description": "Date of birth of the credential holder",
              "required": true
            },
            {
              "name": "displayProfile",
              "label": "Display Profile",
              "type": "image",
              "description": "Display Profile of the credential",
              "required": true
            },
            {
              "name": "randomObject",
              "label": "Random Object",
              "type": "object",
              "description": "description of the attribute",
              "required": true,
              "attributes": [
                {
                  "name": "name",
                  "label": "Name",
                  "type": "string",
                  "required": true
                }
              ]
            }
          ],
          "tag": "default"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "enum": [
              "9636b597-cbe2-492a-bf92-87641729e6e4",
              "9636b597-cbe2-492a-bf92-87641726a7b4",
              "16161b67-58f5-4d29-9d29-a75036dd9862",
              "2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec",
              "402e8853-efa4-4233-9fb9-4cf2dd39830d",
              "4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987",
              "233cf3c7-5b5b-492e-9723-b35d9022f2ce"
            ],
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "The unique identifier specifying the industry or sector this credential template belongs to. Assigning a category helps organize, filter, and discover credentials across the ecosystem based on their primary use-case (e.g., categorizing a medical license under Health).\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "Visual icon or image URL associated with the template definition (the image shown in the dashboard for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CredentialAttribute"
            },
            "description": "List of credential attribute claims to include in the AnonCred schema (the data fields that will be part of credentials issued from this template)."
          },
          "tag": {
            "type": "string",
            "example": "default",
            "description": "Tag identifying the AnonCreds credential definition."
          }
        }
      },
      "createJsonLdCredentialTemplate": {
        "title": "Create JSON-LD Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "schemaType"
        ],
        "description": "Request payload to create a new W3C JSON-LD credential template for OID4VCI issuance (the data you send to create a credential blueprint using the JSON-LD format).",
        "example": {
          "name": "Patient ID",
          "version": "1.0.0",
          "description": "Patient ID Card",
          "attributes": [
            {
              "name": "fullName",
              "type": "string",
              "label": "Full Name",
              "description": "Full legal name"
            },
            {
              "name": "age",
              "type": "number",
              "label": "Age",
              "description": "Age of the user"
            },
            {
              "name": "isVerified",
              "type": "boolean",
              "label": "Verification Status",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "type": "image",
              "label": "Profile Image",
              "description": "Profile picture of the user"
            },
            {
              "name": "dateOfBirth",
              "type": "date",
              "label": "Date of Birth",
              "description": "Birth date of the user"
            },
            {
              "name": "address",
              "type": "object",
              "label": "Address Information",
              "description": "Primary address details",
              "attributes": [
                {
                  "name": "street",
                  "type": "string",
                  "label": "Street",
                  "description": "Street address"
                },
                {
                  "name": "postalCode",
                  "type": "number",
                  "label": "Postal Code",
                  "description": "ZIP or postal code"
                }
              ]
            },
            {
              "name": "organization",
              "type": "object",
              "label": "Organization Information",
              "description": "Organization related details",
              "attributes": [
                {
                  "name": "organizationName",
                  "type": "string",
                  "label": "Organization Name",
                  "description": "Name of the organization"
                },
                {
                  "name": "department",
                  "type": "object",
                  "label": "Department Information",
                  "description": "Nested department details",
                  "attributes": [
                    {
                      "name": "departmentName",
                      "type": "string",
                      "label": "Department Name",
                      "description": "Name of the department"
                    },
                    {
                      "name": "employeeCount",
                      "type": "number",
                      "label": "Employee Count",
                      "description": "Number of employees in the department"
                    }
                  ]
                }
              ]
            }
          ],
          "schemaType": "Patient_Record",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "image": "https://acme-corp.com/patient.png",
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "example": "university",
                  "maxLength": 50,
                  "description": "Attribute name used when supplying or requesting credential values."
                },
                "type": {
                  "type": "string",
                  "example": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "image",
                    "date",
                    "object"
                  ],
                  "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
                },
                "label": {
                  "type": "string",
                  "example": "University Name",
                  "maxLength": 100,
                  "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
                },
                "description": {
                  "type": "string",
                  "example": "Official registered name of the issuing university.",
                  "maxLength": 200,
                  "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
                },
                "required": {
                  "type": "boolean",
                  "example": true,
                  "enum": [
                    true,
                    false
                  ],
                  "default": false,
                  "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
                }
              }
            },
            "description": "List of credential attribute claims mapped to the JSON-LD schema (the data fields that will be part of credentials issued from this template)."
          },
          "schemaType": {
            "type": "string",
            "example": "Patient Record",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          }
        }
      },
      "createSdJwtCredentialTemplate": {
        "title": "Create SD-JWT Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "schemaType"
        ],
        "description": "Request payload to create a new IETF SD-JWT credential template enabling selective disclosure (the data you send to create a credential blueprint using the SD-JWT format that supports selective disclosure).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "credentialTheme": {
            "title": "credential title",
            "description": "credential description",
            "textColor": "hex color code",
            "backgroundImageUrl": "credential background image url",
            "backgroundImageAlt": "credential background image alt text",
            "logoUrl": "credential logo url",
            "logoAlt": "credential logo alt text",
            "locale": "en"
          },
          "attributes": [
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient"
            },
            {
              "name": "isVerified",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "schemaType": "Patient Record",
          "supportRevocation": true,
          "sdJwtHeader": "dc+sd-jwt"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "credentialTheme": {
            "$ref": "#/components/schemas/CredentialTheme"
          },
          "attributes": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                {
                  "type": "object",
                  "properties": {
                    "disclosurable": {
                      "type": "boolean",
                      "example": true,
                      "enum": [
                        true,
                        false
                      ],
                      "default": false,
                      "description": "Indicates if this attribute supports selective disclosure (whether the holder can choose to reveal only this field)."
                    }
                  }
                }
              ]
            },
            "description": "List of credential attribute claims outlining which properties support SD-JWT disclosure masking (the data fields that support selective disclosure)."
          },
          "schemaType": {
            "type": "string",
            "example": "Patient Record",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "supportRevocation": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Flag indicating if the issued credentials require cryptographic revocation status tracking (whether revocation is enabled for credentials from this template)."
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          },
          "sdJwtHeader": {
            "type": "string",
            "example": "dc+sd-jwt",
            "enum": [
              "dc+sd-jwt",
              "vc+sd-jwt"
            ],
            "default": "dc+sd-jwt",
            "description": "The media type (`typ`) header used inside the Selective Disclosure JWT (SD-JWT). You must use `dc+sd-jwt` IETF based or `vc+sd-jwt` W3c based. This tells the system how to read the credential and its hidden claims."
          }
        }
      },
      "revokeCredential": {
        "title": "Revoke Credential",
        "type": "object",
        "required": [
          "credentialExchangeId"
        ],
        "description": "Request payload to invalidate a previously issued verifiable credential (the data you send to revoke a credential so it can no longer be used).",
        "example": {
          "credentialExchangeId": "ee9ae693-c2c8-4f4c-aeb1-0c63d2d83179"
        },
        "properties": {
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "ee9ae693-c2c8-4f4c-aeb1-0c63d2d83179",
            "description": "Unique identifier of the credential issuance transaction target for revocation (the ID of the credential you want to revoke)."
          }
        }
      },
      "createMdocCredentialTemplate": {
        "title": "Create mdoc Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "docType"
        ],
        "description": "Defines an ISO/IEC 18013-5 or ISO/IEC 18013-7 mdoc credential template. Every top-level attribute must specify `namespace`. Nested attributes must not specify `namespace`.",
        "example": {
          "name": "Name of the credential",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          },
          "attributes": [
            {
              "name": "age",
              "namespace": "org.iso.18013.5.1",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isVerified",
              "namespace": "org.iso.18013.5.1",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "namespace": "org.iso.18013.5.1",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "namespace": "org.iso.18013.5.1",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "namespace": "org.iso.18013.5.1",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "docType": "org.example.UniversityDegree"
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Name of the credential",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "type",
                "namespace"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "example": "university",
                  "maxLength": 50,
                  "description": "Attribute name used when supplying or requesting credential values."
                },
                "type": {
                  "type": "string",
                  "example": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "image",
                    "date",
                    "object"
                  ],
                  "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
                },
                "label": {
                  "type": "string",
                  "example": "University Name",
                  "maxLength": 100,
                  "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
                },
                "description": {
                  "type": "string",
                  "example": "Official registered name of the issuing university.",
                  "maxLength": 200,
                  "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
                },
                "required": {
                  "type": "boolean",
                  "example": true,
                  "enum": [
                    true,
                    false
                  ],
                  "default": false,
                  "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
                },
                "namespace": {
                  "type": "string",
                  "example": "org.iso.18013.5.1",
                  "description": "Namespace containing this mdoc data element (for example, `org.iso.18013.5.1`). Specify it only for top-level attributes, not for nested attributes."
                }
              }
            },
            "description": "Credential claims included in the mdoc. Every top-level attribute must specify `namespace`. Nested attributes must not specify `namespace`."
          },
          "docType": {
            "type": "string",
            "example": "org.example.UniversityDegree",
            "description": "The standardized document type identifier defined by ISO/IEC 18013-5, ISO/IEC 18013-7 (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          }
        }
      },
      "importAnoncredCredentialTemplate": {
        "title": "Import Anoncred Template",
        "type": "object",
        "required": [
          "schemaId",
          "description",
          "tag"
        ],
        "description": "Request payload to generate a new template based on an externally referenced AnonCreds schema definition (the data you send to import an existing AnonCreds schema as a template).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "tag": "default"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Grouping category identifier for the imported template (the category used to organize this template)."
          },
          "schemaId": {
            "type": "string",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "The immutable identifier of the remote AnonCreds schema artifact to resolve (the ID of the external schema you want to import)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "Visual icon or image URL associated with the template definition (the image shown in the dashboard for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the imported template usage (explains the purpose of this credential type)."
          },
          "tag": {
            "type": "string",
            "example": "default",
            "description": "Tag identifying the imported AnonCreds credential definition."
          }
        }
      },
      "importJsonLdCredentialTemplate": {
        "title": "Import JSON-LD Template",
        "type": "object",
        "required": [
          "schemaUrl"
        ],
        "description": "Request payload to generate a new template based on an external W3C JSON-LD schema URL (the data you send to import an existing JSON-LD schema as a template).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaUrl": "https://hovi.id/schemas/QmfDe5Xr8ur73L6NU8xJXZkwxkEDb6f1YZh8e4KrJo96TA",
          "image": "https://acme-corp.com/patient.png"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "schemaUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/schemas/QmfDe5Xr8ur73L6NU8xJXZkwxkEDb6f1YZh8e4KrJo96TA",
            "description": "The external resolution URL pointing to the JSON Schema or JSON-LD context file (the URL of the schema you want to import)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          }
        }
      },
      "getTemplateByCredentialTemplateId": {
        "title": "Get Credential Template",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Request payload to retrieve the detailed metadata configuration of a specific credential template (the data you send to fetch one credential blueprint).",
        "example": {
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049"
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the credential template to fetch (the ID of the template you want to retrieve)."
          }
        }
      },
      "getConnectionById": {
        "title": "Get Connection",
        "type": "object",
        "required": [
          "connectionId"
        ],
        "description": "Request payload to retrieve the status and context of a specific DIDComm or OID4VP connection (the data you send to fetch details about one peer-to-peer connection).",
        "example": {
          "connectionId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the active connection session (the ID of the connection you want to retrieve)."
          }
        }
      },
      "getConnectionsByInvitationId": {
        "title": "Get Connections By Invitation Request",
        "type": "object",
        "required": [
          "inviationId"
        ],
        "description": "Request payload to fetch all connection sessions established from a specific invitation record (the data you send to get all connections created from one invitation).",
        "example": {
          "inviationId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59"
        },
        "properties": {
          "inviationId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the outbound connection invitation (the ID of the invitation whose connections you want to list)."
          }
        }
      },
      "createConnectionInvitation": {
        "title": "Create Connection Invitation Request",
        "type": "object",
        "required": [
          "label"
        ],
        "description": "Request payload to generate a new OOB out-of-band invitation mapped for DID connection requests (the data you send to create an invitation for establishing a new peer-to-peer connection).",
        "example": {
          "label": "label",
          "alias": "name",
          "autoAcceptConnection": true,
          "multiUseInvitation": false,
          "domain": "xyz-domain.com",
          "imageUrl": "https://acme-corp.com/connection.png"
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "label",
            "description": "Display label assigned to the connection request (the name shown to the other party)."
          },
          "alias": {
            "type": "string",
            "example": "name",
            "description": "Alternative alias mapping representing the initiating party (an optional friendly name for the connection)."
          },
          "autoAcceptConnection": {
            "type": "boolean",
            "example": true,
            "description": "Flag indicating whether to automatically approve inbound connection responses (whether the system should auto-accept responses)."
          },
          "multiUseInvitation": {
            "type": "boolean",
            "example": false,
            "description": "Flag indicating if the generated invitation link supports multiple unique connection sessions (whether the invitation can be used more than once)."
          },
          "domain": {
            "type": "string",
            "example": "xyz-domain.com",
            "description": "Associated domain constraint utilized for verifying DID control (the domain used to verify ownership of the DID)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/connection.png",
            "description": "URL pointing to the visual icon linked to the connection request (the image shown with the invitation)."
          }
        }
      },
      "getCredentialById": {
        "title": "Get Credential By ID",
        "type": "object",
        "required": [
          "credentialExchangeId"
        ],
        "description": "Request payload to retrieve the execution status and payload of a single credential exchange transaction (the data you send to fetch details about one specific credential).",
        "example": {
          "credentialExchangeId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
        },
        "properties": {
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
            "description": "Unique identifier of the credential exchange record (the ID of the credential you want to retrieve)."
          }
        }
      },
      "issueAnoncredCredential": {
        "title": "Issue Anoncred Credential Request",
        "type": "object",
        "required": [
          "connectionId",
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to issue a new Hyperledger AnonCreds verifiable credential over an established DIDComm connection (the data you send to issue a credential using the AnonCreds format over a peer-to-peer connection).",
        "example": {
          "connectionId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
          "credentialValues": {
            "name": "John Doe",
            "age": "30"
          },
          "comment": "This is a comment"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the target recipient connection session (the ID of the connection to the holder)."
          },
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the AnonCreds template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to inject into the credential payload (the actual data values for the credential)."
          },
          "comment": {
            "type": "string",
            "example": "Please provide your driver's license to verify your age.",
            "description": "An optional, custom message intended for the credential holder (DID). Provides additional context, instructions, or a specific reason for the proof request. This message may be displayed directly within the user's wallet application when they receive the request."
          }
        }
      },
      "issueJsonLdCredential": {
        "title": "Issue JSON-LD Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing a W3C JSON-LD credential (the data you send to start the issuance of a JSON-LD credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "acabc49f-b8e1-4a43-aa55-bba2e262e8ac",
          "credentialValues": {
            "fullName": "John Doe",
            "age": 30,
            "isVerified": true,
            "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
            "dateOfBirth": "1995-08-15",
            "address": {
              "street": "123 Main Street",
              "postalCode": 1207
            },
            "organization": {
              "organizationName": "Tech Corp Ltd",
              "department": {
                "departmentName": "Engineering",
                "employeeCount": 45
              }
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the JSON-LD template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to map against the JSON-LD context (the actual data values for the credential).",
            "example": {
              "fullName": "John Doe",
              "age": 30,
              "isVerified": true,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "dateOfBirth": "1995-08-15",
              "address": {
                "street": "123 Main Street",
                "postalCode": 1207
              },
              "organization": {
                "organizationName": "Tech Corp Ltd",
                "department": {
                  "departmentName": "Engineering",
                  "employeeCount": 45
                }
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt displayed to the holder defining how the code will be delivered (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueJwtVcCredential": {
        "title": "Issue JWT-VC Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing a W3C standard JWT-VC credential (the data you send to start the issuance of a JWT-VC credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "credentialValues": {
            "name": "John Doe",
            "age": "30"
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "Unique identifier of the JWT-VC template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to encode into the JWT payload (the actual data values for the credential).",
            "example": {
              "name": "John Doe",
              "age": "30"
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt defining how the holder should access their PIN (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueSdJwtCredential": {
        "title": "Issue SD-JWT Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing an IETF SD-JWT verifiable credential (the data you send to start the issuance of an SD-JWT credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
          "credentialValues": {
            "age": 28,
            "isVerified": true,
            "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
            "birthDate": "1996-05-12",
            "address": {
              "street": "221B Baker Street",
              "city": "London"
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the SD-JWT template defining the credential schema and masking logic (the template that defines the structure and selective disclosure rules)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the data claims to map into the SD-JWT disclosures arrays (the actual data values for the credential).",
            "example": {
              "age": 28,
              "isVerified": true,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "birthDate": "1996-05-12",
              "address": {
                "street": "221B Baker Street",
                "city": "London"
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt defining how the holder should access their PIN (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueMdocCredential": {
        "title": "Issue mdoc Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Issues an ISO/IEC 18013-5 or ISO/IEC 18013-7 mdoc credential. Group `credentialValues` under the namespaces defined by the credential template.",
        "example": {
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
          "credentialValues": {
            "org.iso.18013.5.1": {
              "age": 35,
              "isVerified": false,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "birthDate": "1989-11-20",
              "address": {
                "street": "742 Evergreen Terrace",
                "city": "Springfield"
              }
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": false
          },
          "issuanceMetadata": {
            "validFrom": "2024-01-01T00:00:00.000Z",
            "validUntil": "2025-01-01T00:00:00.000Z",
            "expectedUpdate": "2024-06-01T00:00:00.000Z"
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the mdoc template defining the CBOR mapping constraints (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Claim values grouped under their corresponding namespaces from the credential template.",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": true
            },
            "example": {
              "org.example.identity": {
                "fullName": "John Doe",
                "age": 35
              },
              "org.example.status": {
                "isVerified": false
              }
            }
          },
          "issuanceMetadata": {
            "type": "object",
            "description": "Optional mdoc validity settings. Omitted fields use the default values. If either validFrom or validUntil is provided, both must be provided.",
            "properties": {
              "validFrom": {
                "type": "string",
                "format": "date-time",
                "example": "2024-01-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime when the credential becomes valid. Required when validUntil is provided."
              },
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime when the credential expires. Required when validFrom is provided."
              },
              "expectedUpdate": {
                "type": "string",
                "format": "date-time",
                "example": "2024-06-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime indicating when the credential is expected to be updated."
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": false,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential). If false `transactionCode` is not needed."
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "getTemplateByVerificationTemplateId": {
        "title": "Get Verification Template",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Request payload to retrieve the structural parameters of an existing DIF Presentation Exchange verification template (the data you send to fetch one verification rule set).",
        "example": {
          "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
            "description": "Unique identifier of the verification template to fetch (the ID of the template you want to retrieve)."
          }
        }
      },
      "createJsonLdVerificationTemplate": {
        "title": "Create JSON-LD Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "requestedAttributes"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template specifying mandatory JSON-LD credential claims.",
        "example": {
          "name": "Enterprise employee verification template",
          "version": "1.0.0",
          "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
          "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
          "image": "https://enterprise.example.com/assets/employee-verification.png",
          "requestedAttributes": [
            {
              "name": "fullName",
              "type": "string",
              "label": "Full Name",
              "description": "Full legal name",
              "required": true
            },
            {
              "name": "age",
              "type": "number",
              "label": "Age",
              "description": "Age of the user",
              "required": true
            },
            {
              "name": "isVerified",
              "type": "boolean",
              "label": "Verification Status",
              "description": "Indicates whether the user is verified",
              "required": true
            },
            {
              "name": "profileImage",
              "type": "image",
              "label": "Profile Image",
              "description": "Profile picture of the user",
              "required": false
            },
            {
              "name": "dateOfBirth",
              "type": "date",
              "label": "Date of Birth",
              "description": "Birth date of the user",
              "required": true
            },
            {
              "name": "address",
              "type": "object",
              "label": "Address Information",
              "description": "Primary address details",
              "required": true,
              "attributes": [
                {
                  "name": "street",
                  "type": "string",
                  "label": "Street",
                  "description": "Street address",
                  "required": true
                },
                {
                  "name": "postalCode",
                  "type": "number",
                  "label": "Postal Code",
                  "description": "ZIP or postal code",
                  "required": true
                }
              ]
            },
            {
              "name": "organization",
              "type": "object",
              "label": "Organization Information",
              "description": "Organization related details",
              "required": true,
              "attributes": [
                {
                  "name": "organizationName",
                  "type": "string",
                  "label": "Organization Name",
                  "description": "Name of the organization",
                  "required": true
                },
                {
                  "name": "department",
                  "type": "object",
                  "label": "Department Information",
                  "description": "Nested department details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "departmentName",
                      "type": "string",
                      "label": "Department Name",
                      "description": "Name of the department",
                      "required": true
                    },
                    {
                      "name": "employeeCount",
                      "type": "number",
                      "label": "Employee Count",
                      "description": "Number of employees in the department",
                      "required": false
                    }
                  ]
                }
              ]
            }
          ],
          "restrictions": {
            "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
            "issuerDid": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "schemaType": "age_name",
            "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Enterprise employee verification template",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Verification template for confirming employee identity",
            "description": "Plain-text description of the verification criteria."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "Array of specific claim fields requested from the holder. Supports nested object attributes. All requested attributes are required for verification."
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "4a3e9374-3738-4922-981d-8ada221e0b47",
                "description": "Restricts accepted credentials to those from this specific template. Each requested attribute must exist on that template."
              },
              "issuerDid": {
                "type": "string",
                "example": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaType": {
                "type": "string",
                "example": "age_name",
                "description": "Restricts accepted credentials to those with this schema type."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "example": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
                "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
              }
            }
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "createJwtVcVerificationTemplate": {
        "title": "Create JWT-VC Verification Template",
        "type": "object",
        "required": [
          "schemaId",
          "schemaType",
          "name",
          "description"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template mapped to consume W3C JWT-VC presentations (the data you send to create a verification rule set for JWT-VC credentials).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "schemaType": "schema type",
          "name": "Patient ID",
          "description": "Patient ID Card",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "university",
              "type": "string",
              "label": "University Name",
              "description": "Official registered name of the issuing university.",
              "required": true
            }
          ]
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "schemaId": {
            "type": "string",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "Unique schema identifier constraining the acceptable inbound credential payloads (the schema that accepted credentials must match)."
          },
          "schemaType": {
            "type": "string",
            "example": "schema type",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the verification request logic (the human-readable name for this verification template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Detailed statement defining the requested data bounds to the holder (explains why this verification is needed)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the verification template logo (the image shown for this verification template).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "List of specific fields requested from the holder traversing the JWT proof. All requested attributes are required for verification."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "createSdJwtVerificationTemplate": {
        "title": "Create SD-JWT Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description"
        ],
        "description": "Request payload to create a new OpenID4VP verification template designed for extracting selectively disclosed claims from SD-JWT credentials.",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.0",
          "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isVerified",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified",
              "required": true
            },
            {
              "name": "profileImage",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user",
              "required": true
            },
            {
              "name": "birthDate",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
              "required": true
            },
            {
              "name": "address",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "required": true,
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string",
                  "required": true
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "limit_disclosure": true,
          "restrictions": {
            "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
            "issuerDid": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "schemaType": "Patient_Record"
          }
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Digital patient identity verification template",
            "description": "Plain-text description of the verification criteria."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "Array of specific selectively disclosable claim fields requested from the holder. Supports nested object attributes. All requested attributes are required for verification."
          },
          "transactionData": {
            "type": "array",
            "description": "Optional. Transaction details the holder must approve when sharing their credential, for example a payment. Define each type once with its fields; each proof request from this template then only sends the values. Fields can be `string`, `number` or `object`. Field names may only contain letters, numbers and underscores. `defaultValue` is used when a request leaves the field out.",
            "items": {
              "type": "object",
              "required": [
                "type",
                "attributes"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "example": "payment",
                  "description": "Type of the transaction, for example `payment`. The holder's wallet must support this type."
                },
                "attributes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "name",
                      "type"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "example": "amount"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "string",
                          "number",
                          "object"
                        ]
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "defaultValue": {
                        "description": "Only for `string` and `number` fields."
                      },
                      "attributes": {
                        "type": "array",
                        "description": "Fields of an `object`.",
                        "items": {
                          "type": "object"
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": [
              {
                "type": "payment",
                "attributes": [
                  {
                    "name": "payment_data",
                    "type": "object",
                    "required": true,
                    "attributes": [
                      {
                        "name": "payee",
                        "type": "string",
                        "required": true
                      },
                      {
                        "name": "currency",
                        "type": "string",
                        "required": true,
                        "defaultValue": "EUR"
                      },
                      {
                        "name": "amount",
                        "type": "number",
                        "required": true
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "limit_disclosure": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "DIF Presentation Exchange setting enforcing omission of unrequested SD-JWT claims."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
                "description": "Restricts accepted credentials to those from this specific template. Each requested attribute must exist on that template."
              },
              "issuerDid": {
                "type": "string",
                "example": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaType": {
                "type": "string",
                "example": "Patient_Record",
                "description": "Restricts accepted credentials to those with this schema type."
              }
            }
          }
        }
      },
      "createMdocVerificationTemplate": {
        "title": "Create mdoc Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template for ISO/IEC 18013-5 mdoc credentials.",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "patient-verification-template",
          "version": "1.0.0",
          "description": "Verification template for validating patient identity and healthcare registration information.",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "age",
              "namespace": "org.iso.18013.5.1",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient"
            },
            {
              "name": "isVerified",
              "namespace": "org.iso.18013.5.1",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "namespace": "org.iso.18013.5.1",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "namespace": "org.iso.18013.5.1",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "namespace": "org.iso.18013.5.1",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "restrictions": {
            "docType": "org.hospital.PatientRecord"
          }
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "patient-verification-template",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Verification template for validating patient identity",
            "description": "Plain-text description of the verification criteria."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "CBOR data elements requested from the mdoc. Each top-level attribute specifies its namespace; nested attributes inherit that namespace and must not specify `namespace`. All listed attributes are required for verification."
          },
          "limit_disclosure": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Enforces omission of unrequested mdoc attributes."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable mdoc credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
                "description": "Restricts accepted credentials to those issued from this credential template."
              },
              "docType": {
                "type": "string",
                "example": "org.hospital.PatientRecord",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              }
            }
          }
        }
      },
      "getProofRequestById": {
        "title": "Get Proof Request By ID",
        "type": "object",
        "required": [
          "proofExchangeId"
        ],
        "description": "Request payload to query the current execution status of a specified OID4VP proof session (the data you send to check the status of one verification request).",
        "example": {
          "proofExchangeId": "6e180746-5bd2-4b46-b891-d3b2007430e3"
        },
        "properties": {
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "6e180746-5bd2-4b46-b891-d3b2007430e3",
            "description": "Unique identifier of the proof exchange session resolving the presentation payload (the ID of the verification you want to check)."
          }
        }
      },
      "getProofResponseById": {
        "title": "Get Proof Response By ID",
        "type": "object",
        "required": [
          "presentationId"
        ],
        "description": "Request payload to retrieve the explicit validation parameters of a completed verifiable presentation submission (the data you send to fetch the final result of a verification).",
        "example": {
          "presentationId": "e325b8a3-945b-47af-af5d-a3259224446b"
        },
        "properties": {
          "presentationId": {
            "type": "string",
            "format": "uuid",
            "example": "e325b8a3-945b-47af-af5d-a3259224446b",
            "description": "Unique identifier mapped to the successfully validated presentation object (the ID of the completed verification)."
          }
        }
      },
      "sendProofRequest": {
        "title": "Send Proof Request",
        "type": "object",
        "description": "Create a proof request using exactly one of the following request forms.\n\n### Single verification template\n\n- `verificationTemplateId` is required.\n- `credentialQueries` and `credentialRequirement` are not allowed.\n- Provide template transaction values through the root `transactionData` property.\n\n### Multiple verification templates (`credentialQueries`)\n\n- `credentialQueries` is required and must contain between one and twenty queries with unique IDs.\n- Root `verificationTemplateId` and root `transactionData` are not allowed.\n- Provide transaction values inside each credential query.\n- Omitting `credentialRequirement` requires all queries.\n- With `credentialRequirement.mode: all`, all queries are required and `groups` is not allowed.\n- With `credentialRequirement.mode: any`, any one query is accepted and `groups` is not allowed.\n- With `credentialRequirement.mode: group`, `groups` is required and every group must be satisfied.\n\nCredential queries are available only in OpenID ecosystems for `dc+sd-jwt` and `mso_mdoc`, including mixed formats.\n\nEither form can include `verifierInfo` to send verifier attestations, such as a registration certificate, to the wallet, and `certificateId` to sign the request with a certificate other than the default.",
        "example": {
          "credentialQueries": [
            {
              "id": "identity",
              "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
            },
            {
              "id": "licence",
              "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
            }
          ]
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "description": "Verification template to use for a single-template request. Cannot be combined with credentialQueries or credentialRequirement."
          },
          "credentialQueries": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "description": "One to twenty credential queries with unique IDs. OpenID only; supports dc+sd-jwt and mso_mdoc templates. Use templates from the current ecosystem that your API key can access.",
            "items": {
              "type": "object",
              "required": [
                "id",
                "verificationTemplateId"
              ],
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Unique, case-sensitive identifier for this credential query within the request."
                },
                "verificationTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Verification template defining the requested claims and restrictions for this query."
                },
                "transactionData": {
                  "type": "array",
                  "minItems": 1,
                  "description": "Required when the verification template defines transactions, and not allowed otherwise. Provide one entry for every configured transaction type. Omitted fields use the template defaults. Supported only for dc+sd-jwt. With credentialQueries, transaction-bearing queries must belong to an all requirement group; separate groups may use any.",
                  "items": {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": true
                  },
                  "example": [
                    {
                      "type": "payment",
                      "payment_data": {
                        "payee": "Merchant Ltd",
                        "amount": 23.58
                      }
                    }
                  ]
                }
              }
            }
          },
          "credentialRequirement": {
            "type": "object",
            "required": [
              "mode"
            ],
            "additionalProperties": false,
            "description": "Optional with credentialQueries. Omitting this object requires all queries. Use group to mix mandatory all and any groups. Alternative bundles and nested groups may be supported in a future release.",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "all",
                  "any",
                  "group"
                ],
                "description": "all requires every query. any accepts one query. group requires every group to be satisfied by its own all or any rule. When this object is supplied, mode is required."
              },
              "groups": {
                "type": "array",
                "minItems": 1,
                "maxItems": 20,
                "description": "Required only with mode: group. Every query must belong to exactly one group, and every group must be satisfied.",
                "items": {
                  "type": "object",
                  "required": [
                    "mode",
                    "queryIds"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "all",
                        "any"
                      ],
                      "description": "all requires every query in the group; any accepts one. Queries in any groups cannot supply transaction data or reference templates that define it, including singleton groups."
                    },
                    "queryIds": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 20,
                      "uniqueItems": true,
                      "description": "Existing case-sensitive credential query IDs. IDs cannot repeat within or across groups, and every query must be included.",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      }
                    }
                  }
                }
              }
            }
          },
          "transactionData": {
            "type": "array",
            "minItems": 1,
            "description": "Required when the verification template defines transactions, and not allowed otherwise. Provide one entry for every configured transaction type. Omitted fields use the template defaults. Supported only for dc+sd-jwt. With credentialQueries, transaction-bearing queries must belong to an all requirement group; separate groups may use any. When using verificationTemplateId, provide transaction values here. With credentialQueries, provide transactionData inside each query item.",
            "items": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            },
            "example": [
              {
                "type": "payment",
                "payment_data": {
                  "payee": "Merchant Ltd",
                  "amount": 23.58
                }
              }
            ]
          },
          "verifierInfo": {
            "type": "array",
            "minItems": 1,
            "description": "Optional. Attestations about you as the verifier, for example a registration certificate, sent to the wallet with the request. The wallet decides how to use them, for example to show who is asking or to check that you may request the credentials. Each item applies to the whole request and contains only `format` and `data`. Available for both OpenID request forms when every requested credential is `dc+sd-jwt` or `mso_mdoc`; requests using other credential types are rejected.",
            "items": {
              "type": "object",
              "required": [
                "format",
                "data"
              ],
              "additionalProperties": false,
              "properties": {
                "format": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Attestation format agreed with the wallet ecosystem, for example `registration_cert`."
                },
                "data": {
                  "description": "The attestation itself: a non-empty string, such as a signed JWT, or a JSON object.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "example": [
              {
                "format": "registration_cert",
                "data": "<signed registration certificate JWT>"
              }
            ]
          },
          "certificateId": {
            "type": "string",
            "format": "uuid",
            "example": "b7e2c4a1-5d3f-4e8a-9c6b-2f1d0a7e4c93",
            "description": "Optional. ID of the organization certificate that signs this proof request, as returned by List Certificates or Import Certificate. The wallet sees this certificate as the verifier. When omitted, the default certificate of the organization signs the request. Selecting a certificate does not change the default. Must be a UUID, otherwise the request is rejected with 400. The certificate must belong to the organization and be within its validity dates, and the organization must also have a valid default certificate; otherwise the request is rejected with 400 `Failed to send proof request`. Available for both OpenID request forms."
          },
          "dcApiEnabled": {
            "type": "boolean",
            "description": "Enable Digital Credentials API mode. Requires non-empty dcApiExpectedOrigins. Available for both OpenID request forms."
          },
          "dcApiExpectedOrigins": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "format": "uri",
              "pattern": "^https://"
            },
            "description": "HTTPS origins allowed to deliver the DC API verification response. Required when dcApiEnabled is true."
          }
        }
      },
      "VerifyDcApiVerificationResponse": {
        "title": "Verify DC API Verification Response",
        "type": "object",
        "required": [
          "verificationResponse",
          "proofExchangeId",
          "origin"
        ],
        "description": "Request payload to verify the DC API verification response for an active proof exchange. Submit the wallet response after the holder completes the verification flow, along with the proof exchange ID and origin, to validate the presentation server-side. **OpenID network only.**",
        "example": {
          "proofExchangeId": "2b8b84fe-a639-44b5-8360-a70b753c03ed",
          "origin": "https://wallet.example.com",
          "verificationResponse": {
            "response": "eyJraWQiOiJiY2U3OTVkYi03Nzg4LTQ4..."
          }
        },
        "properties": {
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "description": "Identifier of the proof exchange session returned when the proof request was created (same as `proofExchangeId` from send proof request)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "HTTPS origin of the caller delivering the response (must start with `https://`); used to validate the DC API / browser context."
          },
          "verificationResponse": {
            "description": "Verification response payload from the wallet (format depends on the flow; typically a JWT string or serialized response object as produced by the holder client). ",
            "type": "object",
            "properties": {
              "response": {
                "type": "string",
                "description": "Verification response payload from the wallet (format depends on the flow; typically a JWT string or serialized response object as produced by the holder client)."
              }
            }
          }
        }
      },
      "VerifyDcApiVerificationResponseResponse": {
        "title": "Verify DC API Verification Response Result",
        "type": "object",
        "description": "Result of verifying a Digital Credentials API response. A successful response includes a summary of the disclosed claims, the presentation, and validation results. The presentation and validation result fields vary by credential format.",
        "example": {
          "success": true,
          "response": {
            "parsedPresentation": {
              "credentialFormat": "dc+sd-jwt",
              "claims": {
                "family_name": "Korhonen"
              }
            },
            "presentation": {
              "7f7a3176-69a0-40e9-994c-575a00f41e2e": [
                {
                  "compact": "eyJ0eXAiOiJkYytzZC1qd3QiLCJhbGc...",
                  "claimFormat": "dc+sd-jwt",
                  "header": {
                    "typ": "dc+sd-jwt",
                    "alg": "ES256",
                    "kid": "#zDnaemoK8Ui4BpvYCNBXDCtCM7UvUiDDup7oeNctxrJ2WS8fn"
                  },
                  "prettyClaims": {
                    "vct": "urn:eudi:pid:1",
                    "family_name": "Korhonen"
                  }
                }
              ]
            },
            "presentationResult": {
              "can_be_satisfied": true,
              "credential_matches": {
                "7f7a3176-69a0-40e9-994c-575a00f41e2e": {
                  "success": true,
                  "credential_query_id": "7f7a3176-69a0-40e9-994c-575a00f41e2e",
                  "valid_credentials": [
                    {
                      "success": true,
                      "input_credential_index": 0,
                      "claims": {
                        "success": true,
                        "valid_claim_sets": [
                          {
                            "success": true,
                            "output": {
                              "family_name": "Korhonen"
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the DC API verification response was accepted and verified."
          },
          "message": {
            "type": "string",
            "description": "Human-readable detail, especially when `success` is false."
          },
          "response": {
            "type": "object",
            "description": "Verification details. parsedPresentation summarizes the credential format and disclosed claims. presentation and presentationResult vary by credential format.",
            "properties": {
              "parsedPresentation": {
                "type": "object",
                "description": "Summary of the credential format and disclosed claims. Claim names depend on the requested attributes and the credential.",
                "properties": {
                  "credentialFormat": {
                    "type": "string",
                    "example": "dc+sd-jwt",
                    "description": "Credential format label (e.g. `dc+sd-jwt`, `mso_mdoc`, `jwt_vc_json`, `ldp_vc`; exact values depend on the wallet and template)."
                  },
                  "claims": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Verified disclosed claims as key–value pairs."
                  }
                }
              },
              "presentation": {
                "type": "object",
                "description": "Wallet presentation material keyed by credential query id (DCQL id or equivalent). Each value is an array of parsed credentials; array items differ by format (SD-JWT may include `compact`, `header`, `payload`, `kbJwt`, etc.).",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "presentationResult": {
                "type": "object",
                "description": "Validation results for the presented credentials and requested claims. Fields vary by credential format and request type.",
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          }
        }
      },
      "DeleteTemplateByVerificationTemplateId": {
        "title": "Delete Verification Template",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Request payload to permanently remove an existing verification template definition (the data you send to delete a verification rule set).",
        "example": {
          "verificationTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4"
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the verification template targeted for deletion (the ID of the template you want to delete)."
          }
        }
      },
      "acceptCredentialOffer": {
        "title": "Accept Credential Offer",
        "type": "object",
        "required": [
          "codeflow",
          "credentialOfferUri"
        ],
        "description": "Request payload executed by an organizational wallet to process and accept an inbound OID4VCI credential offer (the data you send from the wallet side to accept a credential offer).",
        "example": {
          "codeflow": "pre-authorized",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
          "preAuthorizedFlowOptions": {
            "transactionCode": "1234"
          },
          "authorizationFlowOptions": {
            "code": "SplxlOBeZQQYbYS6WxSbIA"
          }
        },
        "properties": {
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "default": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "description": "The selected OIDC flow, such as 'pre-authorized' or 'authorization' (the authentication flow used to accept the credential)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string received containing the offer configuration (the offer URI you received from the issuer)."
          },
          "preAuthorizedFlowOptions": {
            "type": "object",
            "properties": {
              "transactionCode": {
                "type": "string",
                "example": "1234",
                "description": "The numeric transaction PIN optionally mapped for pre-authorized redemptions (the PIN needed to accept the credential in pre-authorized flow)."
              }
            }
          },
          "authorizationFlowOptions": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "example": "SplxlOBeZQQYbYS6WxSbIA",
                "description": "The generated authorization code appended matching the OIDC specification criteria (the authorization code received in the flow)."
              }
            }
          }
        }
      },
      "declineCredentialOffer": {
        "title": "Decline Credential Offer",
        "type": "object",
        "required": [
          "credentialOfferUri"
        ],
        "description": "Request payload to explicitly reject an inbound OpenID4VCI credential issuance offer (the data you send from the wallet side to decline a credential offer).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string corresponding to the rejected offer (the offer URI you want to decline)."
          }
        }
      },
      "deleteCredential": {
        "title": "Delete Credential",
        "type": "object",
        "required": [
          "credentialId"
        ],
        "description": "Request payload to logically delete a verifiable credential record housed within the organizational wallet (the data you send to remove a stored credential from the wallet).",
        "example": {
          "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
        },
        "properties": {
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
            "description": "Unique identifier of the localized credential record designated for purge processing (the ID of the credential you want to delete)."
          }
        }
      },
      "previewCredentialOffer": {
        "title": "Preview Credential Offer",
        "type": "object",
        "required": [
          "credentialOfferUri"
        ],
        "description": "Request payload to parse and preview the metadata arrays inherent inside an unaccepted credential offer URI (the data you send to see what a credential offer contains before accepting it).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string parsing the credential metadata context array (the offer URI you want to preview)."
          }
        }
      },
      "resolveCredentialAuthorizationRequest": {
        "title": "Resolve Credential Authorization",
        "type": "object",
        "required": [
          "credentialOfferUri",
          "clientId",
          "redirectUri"
        ],
        "description": "Payload to resolve an authorization request for a credential offer in the OID4VCI flow (the data you send to handle the authorization step in the credential issuance flow).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
          "clientId": "did:web:client.example.com",
          "redirectUri": "https://client.example.com/cb",
          "scope": [
            "openid4vc:credential"
          ],
          "walletAttestationJwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "OpenID4VCI credential offer URI (the offer URI you are resolving)."
          },
          "clientId": {
            "type": "string",
            "example": "did:web:client.example.com",
            "description": "Client identifier for the authorization server (your DID used as the client)."
          },
          "redirectUri": {
            "type": "string",
            "format": "url",
            "example": "https://client.example.com/cb",
            "description": "Redirect URI for the OAuth2 authorization callback (the callback URL for the authorization flow)."
          },
          "scope": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid4vc:credential"
            ],
            "description": "Optional OAuth scopes for the authorization request. When omitted, scopes are taken from the credential offer."
          },
          "walletAttestationJwt": {
            "type": "string",
            "example": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...",
            "description": "Optional wallet attestation JWT presented during the authorization request."
          }
        }
      },
      "submitPresentation": {
        "title": "Submit Presentation",
        "type": "object",
        "required": [
          "proofRequestUri"
        ],
        "not": {
          "required": [
            "credentialId",
            "selectedCredentials"
          ]
        },
        "description": "Submit a presentation using credentialId for a single query, selectedCredentials for explicit query selections, or automatic credential selection when neither is provided. Use only one selection form. Multiple mandatory groups are supported; each group must require all its queries or any one query. Alternative bundles within a group are not supported. Optional credential sets are excluded; optional-only requests remain valid. Transaction data referencing an optional query and unsupported combinations return HTTP 400. Preview transaction details before submitting; transaction values come from the proof request.",
        "example": {
          "proofRequestUri": "openid4vp://?request_uri=https...",
          "selectedCredentials": [
            {
              "id": "identity",
              "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
            },
            {
              "id": "licence",
              "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
            }
          ]
        },
        "examples": [
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
          },
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
              },
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "selectedCredentials": [
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          }
        ],
        "properties": {
          "proofRequestUri": {
            "type": "string",
            "description": "OpenID4VP proof request URI."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "Wallet credential ID for a DCQL request containing exactly one query, or for a Presentation Exchange request. Optional queries count toward the query total."
          },
          "selectedCredentials": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/HolderCredentialSelection"
            },
            "description": "Choose at most one matching wallet credential for each query ID. Include every query required by an all group and one query for each any group. Your selection must satisfy every required group. Available only for OpenID requests using DCQL."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "HTTPS wallet/browser origin for Digital Credentials API requests."
          }
        }
      },
      "SubmitPresentationResponse": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "description": "Response confirming successful submission of a verifiable presentation to the verifier.",
        "example": {
          "success": true,
          "message": "Presentation submitted successfully",
          "response": {
            "authorizationResponse": {
              "response": "eyJraWQiOiIzZjQzM2VlNS1jYTgxLTQ5MzAtYTkxZi05YTgxYWE3MDEwMjgiLCJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiRUNESC1FUyJ9..."
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the presentation was submitted successfully."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation of the presentation outcome."
          },
          "response": {
            "type": "object",
            "description": "Present for OpenID4VP holder submit. Contains the authorization response produced for the verifier.",
            "properties": {
              "authorizationResponse": {
                "type": "object",
                "description": "OpenID4VP authorization response to return to the verifier. Shape depends on response mode (for example `{ response: \"<jwt>\" }` for encrypted JARM, or a `vp_token` payload for unencrypted flows)."
              }
            }
          }
        }
      },
      "previewProofRequest": {
        "title": "Preview Proof Request",
        "type": "object",
        "required": [
          "proofRequestUri"
        ],
        "description": "Request payload to preview an OpenID4VP proof request without submitting a response (the data you send to see what a verification request contains before responding).",
        "example": {
          "proofRequestUri": "openid4vp://?request_uri=https...",
          "origin": "https://wallet.example.com"
        },
        "properties": {
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://?request_uri=https...",
            "description": "The raw OpenID4VP URI string that contains the presentation request payload (the verification request URI you want to preview)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "example": "https://wallet.example.com",
            "description": "Optional HTTPS origin of the wallet/browser context for **Digital Credentials API** (`dc_api` / `dc_api.jwt`) proof requests. Must start with `https://`."
          }
        }
      },
      "OpenIdIssuanceCompletedWebhook": {
        "title": "Credential Issued Webhook",
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "openid-issuance-session",
            "description": "Identifies an EU Digital Identity credential issuance session event."
          },
          "payload": {
            "type": "object",
            "required": [
              "tenantId",
              "credentialExchangeId",
              "agentState",
              "state",
              "message",
              "createdAt",
              "updatedAt"
            ],
            "properties": {
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "Issuer organization that receives this webhook."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Credential issuance exchange identifier."
              },
              "agentState": {
                "type": "string",
                "example": "Completed",
                "description": "Final issuance state reported by the agent."
              },
              "state": {
                "type": "string",
                "example": "done",
                "description": "Normalized issuance exchange state."
              },
              "message": {
                "type": "string",
                "example": "Credential has been successfully issued."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "OpenIdVerificationCompletedWebhook": {
        "title": "Presentation Verified Webhook",
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "openid-verification-session",
            "description": "Identifies an EU Digital Identity presentation verification session event."
          },
          "payload": {
            "type": "object",
            "required": [
              "tenantId",
              "proofExchangeId",
              "agentState",
              "state",
              "message",
              "isVerified",
              "createdAt",
              "updatedAt",
              "verifiedData"
            ],
            "properties": {
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "Verifier organization that receives this webhook."
              },
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Proof verification exchange identifier."
              },
              "agentState": {
                "type": "string",
                "example": "ResponseVerified"
              },
              "state": {
                "type": "string",
                "example": "done"
              },
              "message": {
                "type": "string",
                "example": "Presentation has been verified successfully."
              },
              "isVerified": {
                "type": "boolean",
                "example": true
              },
              "hasTransactionData": {
                "type": "boolean",
                "example": false,
                "description": "Whether this request asked the holder to approve transaction details."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "verifiedData": {
                "type": "object",
                "required": [
                  "credentialFormat",
                  "claims"
                ],
                "description": "Verified credential data. Claims and issuer evidence vary by credential format; see the named examples.",
                "properties": {
                  "credentialFormat": {
                    "type": "string",
                    "enum": [
                      "jwt_vc_json",
                      "dc+sd-jwt",
                      "vc+sd-jwt",
                      "mso_mdoc"
                    ],
                    "description": "credentialFormat identifies the verified credential format in the webhook payload. Values map to user-facing formats as: jwt_vc_json = JSON-LD, dc+sd-jwt = SD-JWT (DC), vc+sd-jwt = SD-JWT (VC), mso_mdoc = mDoc."
                  },
                  "claims": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "issuer": {
                    "type": "string"
                  },
                  "x5c": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": true
              }
            }
          }
        }
      }
    },
    "@schemas": {
      "HolderCredentialSelection": {
        "type": "object",
        "required": [
          "id",
          "credentialId"
        ],
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "description": "Query ID returned in the proof request preview."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "ID of a matching credential in the holder wallet."
          }
        }
      },
      "HolderCredentialRequirement": {
        "type": "object",
        "required": [
          "required",
          "mode",
          "queryIds"
        ],
        "properties": {
          "required": {
            "type": "boolean",
            "enum": [
              true
            ],
            "description": "Every returned requirement group must be satisfied."
          },
          "mode": {
            "type": "string",
            "enum": [
              "all",
              "any"
            ],
            "description": "all requires a matching credential for every query in the group. any requires one matching query. Every required group must be satisfied."
          },
          "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"
          },
          "credentialType": {
            "type": "string"
          },
          "communicationProtocol": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "attributes": {
            "type": "object",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "CredentialAttribute": {
        "type": "object",
        "description": "Represents a core claim or attribute within a Verifiable Credential schema (the individual data fields that make up a digital credential).",
        "example": {
          "name": "university",
          "type": "string",
          "label": "University Name",
          "description": "Official registered name of the issuing university.",
          "required": true
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "university",
            "maxLength": 50,
            "description": "Attribute name used when supplying or requesting credential values."
          },
          "type": {
            "type": "string",
            "example": "string",
            "enum": [
              "string",
              "number",
              "boolean",
              "image",
              "date",
              "object"
            ],
            "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
          },
          "label": {
            "type": "string",
            "example": "University Name",
            "maxLength": 100,
            "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
          },
          "description": {
            "type": "string",
            "example": "Official registered name of the issuing university.",
            "maxLength": 200,
            "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
          },
          "required": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
          },
          "authorization": {
            "type": "boolean",
            "example": false,
            "default": false,
            "description": "OpenID only. When `true`, offers using the authorization code flow fill this attribute from the user's sign-in at the authorization server, so it can be left out of `credentialValues`. The name must match the sign-in claim exactly, for example `given_name` or `email`. Top-level attributes only."
          },
          "namespace": {
            "type": "string",
            "example": "org.iso.18013.5.1",
            "description": "Namespace containing this mdoc data element (for example, `org.iso.18013.5.1`). Specify it only for top-level attributes, not for nested attributes."
          },
          "attributes": {
            "type": "array",
            "description": "Data elements contained in this object claim. Nested attributes inherit the namespace of their top-level attribute and must not specify `namespace`.",
            "items": {
              "$ref": "#/components/schemas/CredentialAttribute"
            }
          }
        }
      },
      "VerificationRequestedAttribute": {
        "type": "object",
        "description": "Requested attribute definition for verification templates. All requested attributes are required for verification.",
        "example": {
          "name": "university",
          "type": "string",
          "label": "University Name",
          "description": "Official registered name of the issuing university."
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "university",
            "maxLength": 50,
            "description": "Attribute name used when requesting credential values."
          },
          "type": {
            "type": "string",
            "example": "string",
            "enum": [
              "string",
              "number",
              "boolean",
              "image",
              "date",
              "object"
            ],
            "description": "Data type of the requested attribute."
          },
          "label": {
            "type": "string",
            "example": "University Name",
            "maxLength": 100,
            "description": "Human-readable label displayed in wallet UIs."
          },
          "description": {
            "type": "string",
            "example": "Official registered name of the issuing university.",
            "maxLength": 200,
            "description": "Semantic description of the requested attribute."
          },
          "attributes": {
            "type": "array",
            "description": "Nested sub-attributes for object-type claims.",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            }
          },
          "namespace": {
            "type": "string",
            "example": "org.iso.18013.5.1",
            "description": "Data-element namespace for this root requested attribute (e.g., org.iso.18013.5.1). Nested attributes must not include `namespace`."
          }
        }
      },
      "CredentialTemplateDataRetentionConsent": {
        "type": "boolean",
        "default": true,
        "description": "Controls whether credential data is stored after issuance completes. When `true` (default), credential data is retained. When `false`, credential data is not stored after issuance completes."
      },
      "VerificationTemplateTransactionData": {
        "type": "array",
        "description": "Transaction details the holder must approve, as defined on this template. Only present when the template was created with them.",
        "items": {
          "type": "object",
          "properties": {
            "type": {
              "type": "string",
              "example": "payment",
              "description": "Type of the transaction."
            },
            "attributes": {
              "type": "array",
              "description": "Fields of this transaction type.",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "example": "amount"
                  },
                  "type": {
                    "type": "string",
                    "enum": [
                      "string",
                      "number",
                      "object"
                    ]
                  },
                  "required": {
                    "type": "boolean"
                  },
                  "defaultValue": {
                    "description": "Value used when a proof request leaves the field out."
                  },
                  "attributes": {
                    "type": "array",
                    "description": "Fields of an `object`.",
                    "items": {
                      "type": "object"
                    }
                  }
                }
              }
            }
          }
        },
        "example": [
          {
            "type": "payment",
            "attributes": [
              {
                "name": "payment_data",
                "type": "object",
                "required": true,
                "attributes": [
                  {
                    "name": "payee",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "currency",
                    "type": "string",
                    "required": true,
                    "defaultValue": "EUR"
                  },
                  {
                    "name": "amount",
                    "type": "number",
                    "required": true
                  }
                ]
              }
            ]
          }
        ]
      },
      "VerificationTemplateDataRetentionConsent": {
        "type": "boolean",
        "default": true,
        "description": "Controls whether the verified presentation is stored after verification completes. When `true` (default), the verified presentation is retained. When `false`, the verified presentation is not stored and verified data is delivered via webhook instead. Setting this to `false` requires at least one webhook to be registered for the organization."
      },
      "CredentialTheme": {
        "type": "object",
        "description": "Metadata for visual rendering of the Verifiable Credential in a digital wallet. Complies with EUDI ARF display guidelines (controls how the credential card appears in mobile wallet applications).",
        "example": {
          "title": "University Degree Record",
          "description": "Official proof of university graduation and degree attainment.",
          "textColor": "#ffffff",
          "backgroundImageUrl": "https://acme-corp.com/logo.png",
          "backgroundImageAlt": "University seal watermark background",
          "logoUrl": "https://hovi.id/assets/university-logo.png",
          "logoAlt": "University official crest",
          "locale": "en-US"
        },
        "properties": {
          "title": {
            "type": "string",
            "example": "University Degree Record",
            "description": "Display title for the credential card in the wallet. If omitted, the credential-template name is used."
          },
          "description": {
            "type": "string",
            "example": "Official proof of university graduation and degree attainment.",
            "description": "Short descriptive text shown to the holder (additional context displayed on the credential card)."
          },
          "textColor": {
            "type": "string",
            "example": "#ffffff",
            "default": "#000000",
            "description": "Hex color code for the primary text overlay. If omitted, `#000000` is used."
          },
          "backgroundImageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the background image used on the credential card. If omitted, a standard background image may be used."
          },
          "backgroundImageAlt": {
            "type": "string",
            "example": "University seal watermark background",
            "description": "Accessibility alt-text for the background image (text description for screen readers)."
          },
          "logoUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/assets/university-logo.png",
            "description": "URL pointing to the issuing entity's official logo. If both logo fields are omitted, the organization's logo may be used. Required when `logoAlt` is provided."
          },
          "logoAlt": {
            "type": "string",
            "example": "University official crest",
            "description": "Accessibility alt-text for the logo image. If omitted when `logoUrl` is provided, the organization's display name is used."
          },
          "locale": {
            "type": "string",
            "example": "en-US",
            "description": "Language and region identifier for localization (the locale used for displaying text on the credential card)."
          }
        }
      },
      "IssuerMetadata": {
        "type": "object",
        "description": "OpenID4VCI compliant metadata for the Credential Issuer (information about the entity that issues digital credentials).",
        "example": {
          "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/a4c0ec30-0748-49a2-bc88-994ae8a4695e",
          "name": "Hovi Trust Anchor Network",
          "logo": {
            "url": "https://loremflickr.com/640/480",
            "alt": "Trust Anchor Logo"
          }
        },
        "properties": {
          "endpoint": {
            "type": "string",
            "format": "url",
            "example": "https://core-agent-dev.hovi.id/agent/oid4vci/a4c0ec30-0748-49a2-bc88-994ae8a4695e",
            "description": "OpenID4VCI issuer authorization or token endpoint URL (the URL used by wallets to request credentials)."
          },
          "name": {
            "type": "string",
            "example": "Hovi Trust Anchor Network",
            "description": "Human-readable name of the credential issuer (the name displayed to users during issuance)."
          },
          "logo": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "format": "url",
                "example": "https://loremflickr.com/640/480",
                "description": "Direct URL to the issuer logo (the image shown to users to identify the issuer)."
              },
              "alt": {
                "type": "string",
                "example": "Trust Anchor Logo",
                "description": "Accessibility alt text for the issuer logo (text description for screen readers)."
              }
            }
          }
        }
      },
      "PresentationExchange": {
        "type": "object",
        "description": "Payload for an OpenID4VP transaction. Contains the requested DIF Presentation Definition and the verified submission mapped to verifiable credentials (data exchanged during credential verification).",
        "example": {
          "presentations": [
            {
              "jwt": {
                "serializedJwt": "eyJ0eXAiOiJKV1QiLCJhbGciOiJFZERTQSIsImtpZCI6ImRpZDprZXk6ei... (truncated)",
                "payload": {},
                "header": {
                  "typ": "JWT",
                  "alg": "EdDSA",
                  "kid": "did:key:..."
                },
                "signature": {
                  "type": "Buffer",
                  "data": [
                    67,
                    12
                  ]
                }
              },
              "_presentation": {
                "@context": [
                  "https://www.w3.org/2018/credentials/v1"
                ],
                "type": [
                  "VerifiablePresentation"
                ],
                "verifiableCredential": [
                  "eyJ0eX..."
                ],
                "holder": "did:key:..."
              }
            }
          ],
          "request": {
            "id": "816c6b5b-f978-41c5-8394-7965b0439760",
            "purpose": "Required to verify employment status for system access.",
            "input_descriptors": [
              {
                "id": "descriptor-1",
                "constraints": {
                  "fields": [
                    {
                      "path": [
                        "$.vc.type"
                      ]
                    }
                  ]
                }
              }
            ]
          },
          "submission": {
            "id": "mQ7gMxXXq9pzKfw-6hn_X",
            "definition_id": "816c6b5b-f978-41c5-8394-7965b0439760",
            "descriptor_map": [
              {
                "id": "descriptor-1",
                "format": "jwt_vp",
                "path": "$"
              }
            ]
          }
        },
        "properties": {
          "presentations": {
            "type": "array",
            "description": "Array of decoded verifiable presentations from the OpenID4VP response (the actual credential data returned by the wallet).",
            "items": {
              "type": "object",
              "properties": {
                "jwt": {
                  "type": "object",
                  "description": "Raw components of the Verifiable Presentation JWT wrapper (the signed token structure containing the presentation).",
                  "properties": {
                    "serializedJwt": {
                      "type": "string",
                      "description": "Base64-URL encoded JWT string (the complete signed token sent by the wallet)."
                    },
                    "payload": {
                      "type": "object",
                      "description": "Decoded JWT payload containing claims and nested credentials (the data inside the signed token)."
                    },
                    "header": {
                      "type": "object",
                      "description": "Decoded JWT header containing cryptographic typ, alg, and kid (metadata about how the token was signed)."
                    },
                    "signature": {
                      "type": "object",
                      "description": "Extracted digital signature bytes from the token (the cryptographic proof of authenticity)."
                    }
                  }
                },
                "_presentation": {
                  "type": "object",
                  "description": "Unmarshaled and validated W3C Verifiable Presentation object (the structured credential data after verification)."
                }
              }
            }
          },
          "request": {
            "type": "object",
            "description": "Originating DIF Presentation Definition (the original request that defined what credentials and claims were needed).",
            "properties": {
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier of the Presentation Definition (the ID of the verification request template)."
              },
              "purpose": {
                "type": "string",
                "description": "Reason for the data request provided to the holder (the message shown to the user explaining why the data is needed)."
              },
              "input_descriptors": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "JSONPath constraints defining which credentials satisfy the request (rules that specify exactly which data fields are required)."
              }
            }
          },
          "submission": {
            "type": "object",
            "description": "DIF Presentation Submission object returned by the wallet (the wallet's response mapping which credentials fulfill the request).",
            "properties": {
              "id": {
                "type": "string",
                "description": "Unique identifier of the submission payload (the ID assigned to this specific verification response)."
              },
              "definition_id": {
                "type": "string",
                "format": "uuid",
                "description": "ID of the definition this submission fulfills (links the response back to the original request)."
              },
              "descriptor_map": {
                "type": "array",
                "items": {
                  "type": "object"
                },
                "description": "Mappings defining payload paths to the resolving credentials (tells the system where to find each required claim in the submitted data)."
              }
            }
          }
        }
      },
      "CreateJsonLdCredentialTemplateResponse": {
        "title": "Create JSON-LD Credential Template",
        "type": "object",
        "description": "Response payload for a newly created W3C JSON-LD Credential Template.",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "6abee076-3ca5-48c8-b331-d2c826fca46b",
            "schemaId": "b9669528-ffd0-443d-bdf4-0d5e60401c3a",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Mango PatientID 0440",
            "version": "1.0.0",
            "description": "Patient ID Card",
            "type": "jsonld",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "fullName",
                "type": "string",
                "label": "Full Name",
                "description": "Full legal name",
                "required": true
              },
              {
                "name": "age",
                "type": "number",
                "label": "Age",
                "description": "Age of the user",
                "required": true
              },
              {
                "name": "isVerified",
                "type": "boolean",
                "label": "Verification Status",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "type": "image",
                "label": "Profile Image",
                "description": "Profile picture of the user",
                "required": false
              },
              {
                "name": "dateOfBirth",
                "type": "date",
                "label": "Date of Birth",
                "description": "Birth date of the user",
                "required": true
              },
              {
                "name": "address",
                "type": "object",
                "label": "Address Information",
                "description": "Primary address details",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "type": "string",
                    "label": "Street",
                    "description": "Street address",
                    "required": true
                  },
                  {
                    "name": "postalCode",
                    "type": "number",
                    "label": "Postal Code",
                    "description": "ZIP or postal code",
                    "required": true
                  }
                ]
              },
              {
                "name": "organization",
                "type": "object",
                "label": "Organization Information",
                "description": "Organization related details",
                "required": true,
                "attributes": [
                  {
                    "name": "organizationName",
                    "type": "string",
                    "label": "Organization Name",
                    "description": "Name of the organization",
                    "required": true
                  },
                  {
                    "name": "department",
                    "type": "object",
                    "label": "Department Information",
                    "description": "Nested department details",
                    "required": true,
                    "attributes": [
                      {
                        "name": "departmentName",
                        "type": "string",
                        "label": "Department Name",
                        "description": "Name of the department",
                        "required": true
                      },
                      {
                        "name": "employeeCount",
                        "type": "number",
                        "label": "Employee Count",
                        "description": "Number of employees in the department",
                        "required": false
                      }
                    ]
                  }
                ]
              }
            ],
            "credentialConfigurationId": "mango_patientid_0440_1.0.0_json_ld",
            "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreich7jbtyeyhrrwfvlqdlyosvtrp7t5fbseusu5nolxj3lfypvaak4",
            "schemaContext": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreichhvkyu26u23porsoorptgyonbbafeyiin5knbqtmjesatrhnmvq",
            "schemaType": "Patient_Record",
            "createdAt": "2026-05-15T11:38:53.030Z",
            "updatedAt": "2026-05-15T11:38:53.030Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "schemaId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the underlying JSON Schema."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "enum": [
                  "9636b597-cbe2-492a-bf92-87641729e6e4",
                  "9636b597-cbe2-492a-bf92-87641726a7b4",
                  "16161b67-58f5-4d29-9d29-a75036dd9862",
                  "2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec",
                  "402e8853-efa4-4233-9fb9-4cf2dd39830d",
                  "4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987",
                  "233cf3c7-5b5b-492e-9723-b35d9022f2ce"
                ],
                "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "jsonld",
                  "sd-jwt",
                  "mdoc"
                ],
                "description": "Credential format type."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Schema attribute definitions for credential claims. Supports nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "description": "Public URL of the JSON Schema document (typically IPFS-hosted)."
              },
              "schemaContext": {
                "type": "string",
                "format": "url",
                "description": "JSON-LD @context URL linking claim terms to ontologies."
              },
              "schemaType": {
                "type": "string",
                "description": "Primary @type value used in issued JSON-LD credentials."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateSdJwtCredentialTemplateResponse": {
        "title": "Create SD-JWT Credential Template",
        "type": "object",
        "description": "Response payload for a newly created IETF SD-JWT Credential Template (a reusable blueprint for issuing SD-JWT credentials that support selective disclosure).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "dfafcd07-888a-477e-ae74-bd1823471ac5",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Patient ID 1234",
            "version": "1.0.1",
            "description": "Patient ID Card",
            "type": "sd-jwt",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "age",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "credentialConfigurationId": "patient_id_1234_1.0.1_sd_jwt",
            "schemaType": "Patient_Record",
            "sdJwtHeader": "dc+sd-jwt",
            "supportRevocation": true,
            "createdAt": "2026-05-18T02:18:10.483Z",
            "updatedAt": "2026-05-18T02:18:10.483Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "sd-jwt"
                ],
                "description": "Credential format type (SD-JWT for selective disclosure)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Schema attribute definitions supporting selective disclosure. Supports nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "schemaType": {
                "type": "string",
                "description": "Primary type classification used in the credential."
              },
              "sdJwtHeader": {
                "type": "string",
                "description": "SD-JWT header type identifier (e.g., dc+sd-jwt for Digital Credentials)."
              },
              "supportRevocation": {
                "type": "boolean",
                "description": "Indicates whether this credential template supports revocation."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateMdocCredentialTemplateResponse": {
        "title": "Create mdoc Credential Template",
        "type": "object",
        "description": "Response payload for a newly created ISO/IEC 18013-5, ISO/IEC 18013-7 compliant mdoc Credential Template (a reusable blueprint for issuing mdoc credentials used in offline proximity verification).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "5825e21f-41c1-4f10-b887-6c2d9375c91f",
            "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
            "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "name": "Name of the credential",
            "version": "1.0.1",
            "description": "Patient ID Careed",
            "type": "mdoc",
            "image": "https://acme-corp.com/patient.png",
            "attributes": [
              {
                "name": "age",
                "namespace": "org.iso.18013.5.1",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "namespace": "org.iso.18013.5.1",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "namespace": "org.iso.18013.5.1",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "namespace": "org.iso.18013.5.1",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "namespace": "org.iso.18013.5.1",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "credentialConfigurationId": "name_of_the_credential_1.0.1_mdoc",
            "docType": "org.example.UniversityDegree",
            "createdAt": "2026-05-18T02:26:34.032Z",
            "updatedAt": "2026-05-18T02:26:34.032Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the credential template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the credential template."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the credential type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Credential format type (mdoc for ISO/IEC 18013-5 mobile documents)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the credential card image displayed in the holder's wallet."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Claims mapped to mdoc data elements. Each top-level attribute specifies its namespace and may contain nested object attributes."
              },
              "credentialConfigurationId": {
                "type": "string",
                "description": "OpenID Credential Configuration identifier derived from template name, version, and type."
              },
              "docType": {
                "type": "string",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              },
              "namespace": {
                "type": "string",
                "description": "Data-element namespace, if present on the template."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "ImportJsonLdCredentialTemplateResponse": {
        "title": "Import JSON-LD Credential Template",
        "type": "object",
        "description": "Response payload for a successfully imported W3C JSON-LD Credential Template (a template created from an externally provided JSON-LD schema).",
        "example": {
          "success": true,
          "response": {
            "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
            "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "ecosystemId": "c9ba491b-988f-481d-9c33-a5cc5aaff4ed",
            "organizationId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "categoryId": "2e5f483f-8970-4c5e-baf7-991ff24c120d",
            "name": "University Degree",
            "version": "2.0.2",
            "description": "Template based on imported W3C schema models.",
            "type": "jsonld",
            "image": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
            "attributes": [
              {
                "name": "university",
                "type": "string",
                "label": "University Name",
                "description": "Official registered name of the issuing university.",
                "required": true
              }
            ],
            "schemaUrl": "https://hovi.id/schemas/QmRF7nnhYTsWu8sqA2jeLWbWP9LuuARS9RrWsL2akvwD7v",
            "schemaType": "University Degree",
            "createdAt": "2024-08-12T11:21:32.464Z",
            "updatedAt": "2024-08-12T11:21:32.464Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the credential template was imported without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier generated for the imported credential template (the system-generated ID you will use to issue credentials from this template)."
              },
              "schemaId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the resolved schema object (the ID of the imported schema definition)."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the ecosystem (the network context this template belongs to)."
              },
              "organizationId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the organization (the tenant that owns this template)."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the selected category (used to organize templates in the dashboard)."
              },
              "name": {
                "type": "string",
                "description": "Name of the credential template (the human-readable name displayed in the UI)."
              },
              "version": {
                "type": "string",
                "description": "Assigned version of the imported credential template (follows semantic versioning for tracking changes)."
              },
              "description": {
                "type": "string",
                "description": "Description of the credential template (explains the purpose of this credential type)."
              },
              "type": {
                "type": "string",
                "description": "Type of the credential template (the technical format used when issuing credentials)."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the primary template visualization image (the image shown in the dashboard for this template)."
              },
              "attributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Attributes parsed from the imported schema source definition (the list of data fields that will be part of every credential issued from this template)."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "description": "Source URL of the original schema prior to import (the external URL from which the schema was imported)."
              },
              "schemaType": {
                "type": "string",
                "description": "Schema type classified from the imported definition (the main type value used in the credential)."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp (when this template was first imported)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when this template was last edited)."
              }
            }
          }
        }
      },
      "ImportCertificate": {
        "title": "Import Certificate",
        "type": "object",
        "description": "Request payload for importing a certificate for an organization.",
        "example": {
          "certificate": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----",
          "privateKey": "-----BEGIN PRIVATE KEY-----\nMIIB...sample...\n-----END PRIVATE KEY-----"
        },
        "properties": {
          "certificate": {
            "type": "string",
            "description": "PEM-encoded X.509 signing certificate with an EC P-256 public key, a valid ISO 3166-1 alpha-2 subject country (C), digitalSignature Key Usage without keyCertSign or cRLSign, current validity dates, and no CA:TRUE Basic Constraints (CA certificates are not accepted).",
            "example": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----"
          },
          "isDefault": {
            "type": "boolean",
            "default": false,
            "description": "Set the imported certificate as the default of the organization. If it cannot be set as the default, it is not kept and the request fails."
          },
          "privateKey": {
            "type": "string",
            "description": "Unencrypted PKCS#8 PEM-encoded EC P-256 private key matching the certificate public key.",
            "example": "-----BEGIN PRIVATE KEY-----\nMIIB...sample...\n-----END PRIVATE KEY-----"
          }
        },
        "required": [
          "certificate",
          "privateKey"
        ]
      },
      "ListCertificatesResponse": {
        "title": "List Certificates Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "certificateId": {
                  "type": "string",
                  "format": "uuid",
                  "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
                },
                "isDefault": {
                  "type": "boolean",
                  "example": true
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time"
                },
                "certificate": {
                  "type": "string",
                  "description": "PEM-encoded certificate.",
                  "example": "-----BEGIN CERTIFICATE-----\nMIIB...sample...\n-----END CERTIFICATE-----"
                }
              }
            }
          }
        }
      },
      "CertificateMetadataResponse": {
        "title": "Certificate Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "object",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid",
                "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
              },
              "isDefault": {
                "type": "boolean",
                "example": true
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "GetCertificateResponse": {
        "title": "Get Certificate Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "object",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid"
              },
              "isDefault": {
                "type": "boolean"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "certificate": {
                "type": "string",
                "description": "PEM-encoded certificate."
              },
              "chain": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "PEM-encoded chain certificates, when present."
              }
            }
          }
        }
      },
      "ImportCertificateResponse": {
        "title": "Import Certificate Response",
        "type": "object",
        "description": "Response for successful certificate import operation.",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the certificate was imported successfully.",
            "example": true
          },
          "message": {
            "type": "string",
            "description": "Confirmation message.",
            "example": "Certificate imported successfully."
          },
          "response": {
            "type": "object",
            "description": "The imported certificate.",
            "properties": {
              "certificateId": {
                "type": "string",
                "format": "uuid",
                "description": "Identifier of the imported certificate.",
                "example": "be35ff15-5a2e-4070-8944-4f0c11f51f88"
              }
            }
          }
        }
      },
      "GetCredentialTemplatesResponse": {
        "title": "Get Credential Templates",
        "type": "object",
        "description": "Array of configured credential templates available to the organization for OID4VCI issuance.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialTemplateId": "0cddab8e-3313-4726-b0f4-5fdb889cf1f6",
              "schemaId": "4bd7b3e5-26e5-4348-bc26-82fa23948bb3",
              "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
              "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "name": "Patient ID 3",
              "version": "1.0.1",
              "description": "Patient ID Card",
              "type": "jsonld",
              "image": "https://acme-corp.com/patient.png",
              "attributes": [
                {
                  "name": "age",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "name",
                  "label": "Name",
                  "type": "string",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isMarried",
                  "label": "Married",
                  "type": "boolean",
                  "description": "Age of the patient"
                }
              ],
              "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreibs3xrtikbo36xqkxubjtstqopndvgltdfjndd2indap4sef2gctu",
              "schemaContext": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreihs57aj3sdsbhta2cipf4mltv2gjqpncw3gyxb65kyefmvewz3jn4",
              "schemaType": "Patient Record",
              "createdAt": "2026-05-05T12:03:26.733Z",
              "updatedAt": "2026-05-05T12:03:26.733Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all credential templates for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "credentialTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the credential template."
                },
                "schemaId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the underlying JSON Schema."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this template belongs to."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the tenant that owns this template."
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Industry/sector category identifier."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the credential template."
                },
                "version": {
                  "type": "string",
                  "description": "Semantic version string for this template."
                },
                "description": {
                  "type": "string",
                  "description": "Plain-text description of the credential type."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Credential format type."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the credential card image displayed in the holder's wallet."
                },
                "attributes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CredentialAttribute"
                  },
                  "description": "Schema attribute definitions for credential claims. Supports nested object attributes."
                },
                "schemaUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "Public URL of the JSON Schema document (typically IPFS-hosted)."
                },
                "schemaContext": {
                  "type": "string",
                  "format": "url",
                  "description": "JSON-LD @context URL linking claim terms to ontologies."
                },
                "schemaType": {
                  "type": "string",
                  "description": "Primary @type value used in issued credentials."
                },
                "dataRetentionConsent": {
                  "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this template was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "GetVerificationTemplatesResponse": {
        "title": "Get Verification Templates",
        "type": "object",
        "description": "Lists all Verification Templates for initiating OID4VP presentation requests (reusable rules that define exactly what credential data a verifier wants to see).",
        "example": {
          "success": true,
          "response": [
            {
              "verificationTemplateId": "ffabbe77-8667-406e-b4ec-8f5e5c28bdaf",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
              "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
              "name": "Enterprise employee verification template",
              "image": "https://enterprise.example.com/assets/employee-verification.png",
              "version": "1.0.0",
              "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
              "schemaTypeRestriction": "age_name",
              "type": "jsonld",
              "requestedAttributes": [
                {
                  "name": "fullName",
                  "type": "string",
                  "label": "Full Name",
                  "description": "Full legal name",
                  "required": true
                },
                {
                  "name": "age",
                  "type": "number",
                  "label": "Age",
                  "description": "Age of the user",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "type": "boolean",
                  "label": "Verification Status",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "type": "image",
                  "label": "Profile Image",
                  "description": "Profile picture of the user",
                  "required": false
                },
                {
                  "name": "dateOfBirth",
                  "type": "date",
                  "label": "Date of Birth",
                  "description": "Birth date of the user",
                  "required": true
                },
                {
                  "name": "address",
                  "type": "object",
                  "label": "Address Information",
                  "description": "Primary address details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "type": "string",
                      "label": "Street",
                      "description": "Street address",
                      "required": true
                    },
                    {
                      "name": "postalCode",
                      "type": "number",
                      "label": "Postal Code",
                      "description": "ZIP or postal code",
                      "required": true
                    }
                  ]
                },
                {
                  "name": "organization",
                  "type": "object",
                  "label": "Organization Information",
                  "description": "Organization related details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "organizationName",
                      "type": "string",
                      "label": "Organization Name",
                      "description": "Name of the organization",
                      "required": true
                    },
                    {
                      "name": "department",
                      "type": "object",
                      "label": "Department Information",
                      "description": "Nested department details",
                      "required": true,
                      "attributes": [
                        {
                          "name": "departmentName",
                          "type": "string",
                          "label": "Department Name",
                          "description": "Name of the department",
                          "required": true
                        },
                        {
                          "name": "employeeCount",
                          "type": "number",
                          "label": "Employee Count",
                          "description": "Number of employees in the department",
                          "required": false
                        }
                      ]
                    }
                  ]
                }
              ],
              "schemaUrlRestriction": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
              "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "createdAt": "2026-05-18T03:39:39.201Z",
              "updatedAt": "2026-05-18T03:39:39.201Z"
            },
            {
              "verificationTemplateId": "7cf23b3f-0839-48e2-9791-c37f3330a489",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
              "name": "Patient ID",
              "image": "https://acme-corp.com/patient.png",
              "version": "1.0.0",
              "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
              "schemaTypeRestriction": "Patient_Record",
              "type": "sd-jwt",
              "requestedAttributes": [
                {
                  "name": "age",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "label": "Verified Status",
                  "type": "boolean",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "label": "Profile Image",
                  "type": "image",
                  "description": "Profile picture of the user",
                  "required": true
                },
                {
                  "name": "birthDate",
                  "label": "Birth Date",
                  "type": "date",
                  "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                  "required": true
                },
                {
                  "name": "address",
                  "label": "Address",
                  "type": "object",
                  "description": "Structured address information",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "label": "Street",
                      "type": "string",
                      "required": true
                    },
                    {
                      "name": "city",
                      "label": "City",
                      "type": "string",
                      "required": true
                    }
                  ]
                }
              ],
              "limit_disclosure": true,
              "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "createdAt": "2026-05-18T03:46:01.789Z",
              "updatedAt": "2026-05-18T03:46:01.789Z"
            },
            {
              "verificationTemplateId": "43aa1b6d-37a0-46fd-a2c7-032b8b1f1836",
              "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
              "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
              "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
              "credentialTemplateId": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
              "name": "patient-verification-template",
              "image": "https://acme-corp.com/patient.png",
              "version": "1.0.0",
              "description": "Verification template for validating patient identity and healthcare registration information.",
              "type": "mdoc",
              "requestedAttributes": [
                {
                  "name": "age",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Age",
                  "type": "number",
                  "description": "Age of the patient",
                  "required": true
                },
                {
                  "name": "isVerified",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Verified Status",
                  "type": "boolean",
                  "description": "Indicates whether the user is verified",
                  "required": true
                },
                {
                  "name": "profileImage",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Profile Image",
                  "type": "image",
                  "description": "Profile picture of the user",
                  "required": true
                },
                {
                  "name": "birthDate",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Birth Date",
                  "type": "date",
                  "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                  "required": true
                },
                {
                  "name": "address",
                  "namespace": "org.iso.18013.5.1",
                  "label": "Address",
                  "type": "object",
                  "description": "Structured address information",
                  "required": true,
                  "attributes": [
                    {
                      "name": "street",
                      "label": "Street",
                      "type": "string",
                      "required": true
                    },
                    {
                      "name": "city",
                      "label": "City",
                      "type": "string",
                      "required": true
                    }
                  ]
                }
              ],
              "limit_disclosure": true,
              "docType": "org.example.UniversityDegree",
              "createdAt": "2026-05-18T03:55:55.470Z",
              "updatedAt": "2026-05-18T03:55:55.470Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all verification templates for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "verificationTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the verification template."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this template belongs to."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the tenant that owns this template."
                },
                "categoryId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Industry/sector category identifier."
                },
                "credentialTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Optional UUID of a specific credential template to restrict verification to."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the verification template."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the image displayed on the verification request screen."
                },
                "version": {
                  "type": "string",
                  "description": "Semantic version string for this template."
                },
                "description": {
                  "type": "string",
                  "description": "Plain-text description of the verification criteria."
                },
                "schemaTypeRestriction": {
                  "type": "string",
                  "description": "Restricts accepted credentials to those with this exact schema type."
                },
                "type": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Credential format type this template targets."
                },
                "requestedAttributes": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CredentialAttribute"
                  },
                  "description": "Specific claim fields requested from the holder. Supports nested object attributes."
                },
                "schemaUrlRestriction": {
                  "type": "string",
                  "format": "url",
                  "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
                },
                "issuerDidRestriction": {
                  "type": "string",
                  "description": "Restricts accepted credentials to those issued by this specific DID."
                },
                "limit_disclosure": {
                  "type": "boolean",
                  "description": "Enforces omission of unrequested claims (SD-JWT/mdoc only)."
                },
                "dataRetentionConsent": {
                  "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
                },
                "transactionData": {
                  "$ref": "#/components/schemas/VerificationTemplateTransactionData"
                },
                "docType": {
                  "type": "string",
                  "description": "ISO/IEC 18013-5 document type identifier (mdoc only)."
                },
                "namespace": {
                  "type": "string",
                  "description": "Data-element namespace, if present on the template."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this template was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "CreateJsonLdVerificationTemplateResponse": {
        "title": "Create JSON-LD Verification Template",
        "type": "object",
        "description": "Response payload for a saved Verification Template targeting W3C JSON-LD verifiable presentations.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "ffabbe77-8667-406e-b4ec-8f5e5c28bdaf",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
            "name": "Enterprise employee verification template",
            "image": "https://enterprise.example.com/assets/employee-verification.png",
            "version": "1.0.0",
            "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
            "schemaTypeRestriction": "age_name",
            "type": "jsonld",
            "requestedAttributes": [
              {
                "name": "fullName",
                "type": "string",
                "label": "Full Name",
                "description": "Full legal name",
                "required": true
              },
              {
                "name": "age",
                "type": "number",
                "label": "Age",
                "description": "Age of the user",
                "required": true
              },
              {
                "name": "isVerified",
                "type": "boolean",
                "label": "Verification Status",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "type": "image",
                "label": "Profile Image",
                "description": "Profile picture of the user",
                "required": false
              },
              {
                "name": "dateOfBirth",
                "type": "date",
                "label": "Date of Birth",
                "description": "Birth date of the user",
                "required": true
              },
              {
                "name": "address",
                "type": "object",
                "label": "Address Information",
                "description": "Primary address details",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "type": "string",
                    "label": "Street",
                    "description": "Street address",
                    "required": true
                  },
                  {
                    "name": "postalCode",
                    "type": "number",
                    "label": "Postal Code",
                    "description": "ZIP or postal code",
                    "required": true
                  }
                ]
              },
              {
                "name": "organization",
                "type": "object",
                "label": "Organization Information",
                "description": "Organization related details",
                "required": true,
                "attributes": [
                  {
                    "name": "organizationName",
                    "type": "string",
                    "label": "Organization Name",
                    "description": "Name of the organization",
                    "required": true
                  },
                  {
                    "name": "department",
                    "type": "object",
                    "label": "Department Information",
                    "description": "Nested department details",
                    "required": true,
                    "attributes": [
                      {
                        "name": "departmentName",
                        "type": "string",
                        "label": "Department Name",
                        "description": "Name of the department",
                        "required": true
                      },
                      {
                        "name": "employeeCount",
                        "type": "number",
                        "label": "Employee Count",
                        "description": "Number of employees in the department",
                        "required": false
                      }
                    ]
                  }
                ]
              }
            ],
            "schemaUrlRestriction": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
            "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "createdAt": "2026-05-18T03:39:39.201Z",
            "updatedAt": "2026-05-18T03:39:39.201Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "type": {
                "type": "string",
                "enum": [
                  "jsonld"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific claim fields requested from the holder. Supports nested object attributes."
              },
              "schemaUrlRestriction": {
                "type": "string",
                "format": "url",
                "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
              },
              "issuerDidRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaTypeRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those with this exact schema type."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateSdJwtVerificationTemplateResponse": {
        "title": "Create SD-JWT Verification Template",
        "type": "object",
        "description": "Response payload for a Verification Template designed for SD-JWT presentations.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "7cf23b3f-0839-48e2-9791-c37f3330a489",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
            "name": "Patient ID",
            "image": "https://acme-corp.com/patient.png",
            "version": "1.0.0",
            "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
            "schemaTypeRestriction": "Patient_Record",
            "type": "sd-jwt",
            "requestedAttributes": [
              {
                "name": "age",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "limit_disclosure": true,
            "issuerDidRestriction": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "createdAt": "2026-05-18T03:46:01.789Z",
            "updatedAt": "2026-05-18T03:46:01.789Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "schemaTypeRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those with this exact schema type."
              },
              "type": {
                "type": "string",
                "enum": [
                  "sd-jwt"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific selectively disclosable claim fields requested from the holder. Supports nested object attributes."
              },
              "limit_disclosure": {
                "type": "boolean",
                "description": "DIF Presentation Exchange setting enforcing omission of unrequested SD-JWT claims."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "transactionData": {
                "$ref": "#/components/schemas/VerificationTemplateTransactionData"
              },
              "issuerDidRestriction": {
                "type": "string",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "CreateMdocVerificationTemplateResponse": {
        "title": "Create mdoc Verification Template",
        "type": "object",
        "description": "Response for a Verification Template configured for ISO/IEC 18013-5, ISO/IEC 18013-7 mdoc presentations over OID4VP.",
        "example": {
          "success": true,
          "response": {
            "verificationTemplateId": "43aa1b6d-37a0-46fd-a2c7-032b8b1f1836",
            "ecosystemId": "03998331-9426-41a1-99a7-09f9d1af68dc",
            "tenantId": "56b07f6e-d3c8-4738-8169-cec1a4c74a9a",
            "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "credentialTemplateId": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
            "name": "patient-verification-template",
            "image": "https://acme-corp.com/patient.png",
            "version": "1.0.0",
            "description": "Verification template for validating patient identity and healthcare registration information.",
            "type": "mdoc",
            "requestedAttributes": [
              {
                "name": "age",
                "namespace": "org.iso.18013.5.1",
                "label": "Age",
                "type": "number",
                "description": "Age of the patient",
                "required": true
              },
              {
                "name": "isVerified",
                "namespace": "org.iso.18013.5.1",
                "label": "Verified Status",
                "type": "boolean",
                "description": "Indicates whether the user is verified",
                "required": true
              },
              {
                "name": "profileImage",
                "namespace": "org.iso.18013.5.1",
                "label": "Profile Image",
                "type": "image",
                "description": "Profile picture of the user",
                "required": true
              },
              {
                "name": "birthDate",
                "namespace": "org.iso.18013.5.1",
                "label": "Birth Date",
                "type": "date",
                "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
                "required": true
              },
              {
                "name": "address",
                "namespace": "org.iso.18013.5.1",
                "label": "Address",
                "type": "object",
                "description": "Structured address information",
                "required": true,
                "attributes": [
                  {
                    "name": "street",
                    "label": "Street",
                    "type": "string",
                    "required": true
                  },
                  {
                    "name": "city",
                    "label": "City",
                    "type": "string",
                    "required": true
                  }
                ]
              }
            ],
            "limit_disclosure": true,
            "docType": "org.example.UniversityDegree",
            "createdAt": "2026-05-18T03:55:55.470Z",
            "updatedAt": "2026-05-18T03:55:55.470Z"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "verificationTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the verification template."
              },
              "ecosystemId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the ecosystem this template belongs to."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the tenant that owns this template."
              },
              "categoryId": {
                "type": "string",
                "format": "uuid",
                "description": "Industry/sector category identifier."
              },
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "description": "Optional UUID of a specific credential template to restrict verification to."
              },
              "name": {
                "type": "string",
                "description": "Human-readable name of the verification template."
              },
              "image": {
                "type": "string",
                "format": "url",
                "description": "URL of the image displayed on the verification request screen."
              },
              "version": {
                "type": "string",
                "description": "Semantic version string for this template."
              },
              "description": {
                "type": "string",
                "description": "Plain-text description of the verification criteria."
              },
              "type": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Credential format type this template targets."
              },
              "requestedAttributes": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                "description": "Specific namespace/element mapped data fields requested from the mdoc payload. Supports nested object attributes."
              },
              "limit_disclosure": {
                "type": "boolean",
                "description": "Enforces omission of unrequested mdoc attributes."
              },
              "dataRetentionConsent": {
                "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
              },
              "docType": {
                "type": "string",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              },
              "namespace": {
                "type": "string",
                "description": "Data-element namespace, if present on the template."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when this template was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent update."
              }
            }
          }
        }
      },
      "AddWebhookResponse": {
        "title": "Add Webhook",
        "type": "object",
        "description": "Response payload following successful configuration of a webhook subscription (confirmation that the HTTP callback URL was registered).",
        "example": {
          "success": true,
          "response": {
            "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "webhookUrl": "https://kindi10.requestcatcher.com",
            "webhookSecret": "4FME20TvYrxqTHJmjOvM1OG7_amYukdYbsT8MjQUN-s"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was added without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "webhookId": {
                "type": "string",
                "description": "Cryptographically generated unique identifier for the registered webhook (the ID you can use to manage this subscription later)."
              },
              "webhookUrl": {
                "type": "string",
                "format": "url",
                "description": "Target destination URL for Hovi API system callbacks (the HTTP URL that will receive event notifications)."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Secret used to sign webhook payloads. Generated automatically."
              }
            }
          }
        }
      },
      "RemoveWebhookResponse": {
        "title": "Remove Webhook",
        "type": "object",
        "description": "Confirmation that the webhook endpoint has been removed (the subscription is no longer active).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the webhook was removed without errors)."
          }
        }
      },
      "GetWebhooksResponse": {
        "title": "Get Webhooks",
        "type": "object",
        "description": "Array of configured webhook notification endpoints linked to the organization (list of all active HTTP callback URLs receiving event notifications).",
        "example": {
          "success": true,
          "response": [
            {
              "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
              "organizationId": "9def09fb-19a1-49b5-bda5-f1954c179b2d",
              "ecosystemId": "e6e31de2-83ad-4af9-8cd9-d9861b6ee5d5",
              "url": "https://kindi10.requestcatcher.com",
              "createdAt": "2024-06-21T06:31:26.415Z",
              "updatedAt": "2024-06-21T06:31:26.415Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful (whether the list of webhooks was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "webhookId": {
                  "type": "string",
                  "description": "Unique identifier of the webhook listener record (the ID you can use to manage this subscription later)."
                },
                "organizationId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier denoting the organization owning the subscription (the tenant that registered this webhook)."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier of the associated ecosystem infrastructure (the network context this webhook belongs to)."
                },
                "url": {
                  "type": "string",
                  "format": "url",
                  "description": "Configured destination callback URL receiving POST actions (the HTTP URL that receives event notifications)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of webhook creation (when this subscription was first registered)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Timestamp of the webhook's latest modification (when this subscription was last updated)."
                }
              }
            }
          }
        }
      },
      "CreateTenantResponse": {
        "title": "Create Organization",
        "type": "object",
        "description": "Payload for a newly created organization identity (the complete details returned after successfully provisioning a new tenant account).",
        "example": {
          "success": true,
          "response": {
            "organizationId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "tenantId": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c",
            "setting": {
              "organizationName": "acme-corp",
              "defaultLabel": "acme-corp",
              "imageUrl": "https://acme-corp.com/acme-logo-color.png",
              "id": "99f009f6-aefa-4c13-bbe9-e5e314a64b1c"
            },
            "accessToken": "eyJhbGciOiJIUzI1NiJ9...",
            "dids": [
              {
                "did": "did:key:z6MkoMXChyU15xJkecBmhkbwiKXsUJ1qJR3QJdQDijp8is71",
                "method": "key",
                "privateKey": "KC7anZVWo2CiQDfcFXUvMDdWoerGc9L7"
              }
            ],
            "webhooks": [
              {
                "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
                "webhookUrl": "https://webhook1.com"
              }
            ],
            "x509Certificate": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU+gAwIBAgIRAIRAY0c1OngXGkDGcrB7XNEwCgYIKoZIzj0EAwIwMjEQ\nMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtp\nMB4XDTI2MDQyNDEzNTEyNVoXDTM2MDQyNDEzNTEyNVowMjEQMA4GA1UEAxMHSG92\naSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0C\nAQYIKoZIzj0DAQcDQgAEuXA1bX8uqoMv9pk9USi22mpkMeMoWi3V+Zr2JPEHu2Xi\nsnk7GjWFE4sH7kteoDvc45yczVlrSNP02BYmT+OkNKNGMEQwCwYDVR0PBAQDAgeA\nMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYu\naG92aS5pZDAKBggqhkjOPQQDAgNHADBEAiBxHW7wRnFBlWzBglMnoiEeGKfv3pTv\n0prcCCi4anON2gIgSG5yMU7+nba76md4xbwHHv/tLxrFqsHIbL1FLHC+V2I=\n-----END CERTIFICATE-----"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the organization creation was successful (whether the new tenant account was provisioned without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "organizationId": {
                "type": "string",
                "format": "uuid",
                "description": "Globally unique UUID for the new organization (the ID you will use to authenticate API calls for this tenant)."
              },
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "UUID of the organization that owns this template and published the on-chain schema and credential definition."
              },
              "setting": {
                "type": "object",
                "properties": {
                  "organizationName": {
                    "type": "string",
                    "description": "Organization name."
                  },
                  "defaultLabel": {
                    "type": "string",
                    "description": "Primary UI label for the organization (the name displayed in the user interface)."
                  },
                  "imageUrl": {
                    "type": "string",
                    "format": "url",
                    "description": "URL resolving the organization logo (the image shown for this organization in the dashboard)."
                  },
                  "id": {
                    "type": "string",
                    "format": "uuid",
                    "description": "Unique identifier for the organization settings."
                  }
                }
              },
              "accessToken": {
                "type": "string",
                "description": "Bearer JWT access token for managing the organization via API endpoints (the authentication token you must include in future requests)."
              },
              "dids": {
                "type": "array",
                "description": "Collection of generated Decentralized Identifiers mapped to the organization (the DIDs created for this tenant to use in credential operations).",
                "items": {
                  "type": "object",
                  "properties": {
                    "did": {
                      "type": "string",
                      "description": "W3C DID string (the unique, verifiable digital identifier for this organization)."
                    },
                    "method": {
                      "type": "string",
                      "description": "DID method (e.g. key, web, jwk) (the method used to create this DID)."
                    },
                    "privateKey": {
                      "type": "string",
                      "description": "Private key for cryptographic operations (returned only on creation) (the secret key needed for signing operations)."
                    }
                  }
                }
              },
              "webhooks": {
                "type": "array",
                "description": "Event propagation subscriptions generated during organization onboarding (any webhooks automatically created for this tenant).",
                "items": {
                  "type": "object",
                  "properties": {
                    "webhookId": {
                      "type": "string",
                      "description": "Unique configuration key for the webhook (the ID you can use to manage this subscription later)."
                    },
                    "webhookUrl": {
                      "type": "string",
                      "format": "url",
                      "description": "Destination URL for the registered callback (the HTTP URL that receives event notifications)."
                    }
                  }
                }
              },
              "x509Certificate": {
                "type": "string",
                "description": "PEM-encoded X.509 certificate created for signing during organization provisioning."
              }
            }
          }
        }
      },
      "CreateDidResponse": {
        "title": "Create Organizataion DID",
        "type": "object",
        "description": "Payload for a newly generated W3C Decentralized Identifier (a unique, verifiable digital identifier that can be used for signing and authentication).",
        "example": {
          "success": true,
          "response": {
            "method": "web",
            "did": "did:web:acme-corp.com",
            "privateKey": "4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d",
            "didDocument": {
              "@context": [
                "https://www.w3.org/ns/did/v1"
              ],
              "id": "did:web:acme-corp.com",
              "verificationMethod": [
                {
                  "id": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                  "type": "JsonWebKey2020",
                  "controller": "did:web:acme-corp.com",
                  "publicKeyJwk": {
                    "kty": "EC",
                    "kid": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                    "crv": "P-256",
                    "x": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                    "y": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ"
                  }
                }
              ],
              "authentication": [
                "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
              ],
              "assertionMethod": [
                "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
              ]
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the DID operation was successful (whether the new DID was created without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "method": {
                "type": "string",
                "description": "DID method used (e.g., did:web) (the standard method used to create this decentralized identifier)."
              },
              "did": {
                "type": "string",
                "description": "Standardized unique URI for the DID (the actual decentralized identifier string you can use in credentials)."
              },
              "privateKey": {
                "type": "string",
                "description": "Private key material for signature generation (write-only) (the secret key needed for signing operations with this DID)."
              },
              "didDocument": {
                "type": "object",
                "description": "The W3C DID Document containing public key material. If provided, this document will be used for the new DID; otherwise, a default document will be generated (currently supports did:web only).",
                "properties": {
                  "@context": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "JSON-LD context definitions (the semantic context that gives meaning to the DID document)."
                  },
                  "id": {
                    "type": "string",
                    "description": "Root DID identifier (the DID this document describes)."
                  },
                  "verificationMethod": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "description": "Fragment-based sub-identifier for the verification method (the specific key identifier within the DID)."
                        },
                        "type": {
                          "type": "string",
                          "description": "Cryptographic protocol defining the key structure (the type of key used for verification)."
                        },
                        "controller": {
                          "type": "string",
                          "description": "DID mapped as controlling this verification method (the DID that controls this key)."
                        },
                        "publicKeyJwk": {
                          "type": "object",
                          "properties": {
                            "kty": {
                              "type": "string",
                              "description": "JSON Web Key parameter indicating key type family (the cryptographic key family used)."
                            },
                            "kid": {
                              "type": "string",
                              "description": "The JSON Web Key identifier correlating the key (the unique key identifier)."
                            },
                            "crv": {
                              "type": "string",
                              "description": "The specific cryptographic curve utilized by the key (the curve used for this key)."
                            },
                            "x": {
                              "type": "string",
                              "description": "Derived X coordinate on the cryptographic curve (part of the public key coordinates)."
                            },
                            "y": {
                              "type": "string",
                              "description": "Derived Y coordinate on the cryptographic curve (part of the public key coordinates)."
                            }
                          }
                        }
                      }
                    }
                  },
                  "authentication": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "References to verification methods for authenticating the DID controller (keys that can be used to prove control of the DID)."
                  },
                  "assertionMethod": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "References to verification methods for issuing verifiable credentials (keys that can be used to sign credentials)."
                  }
                }
              }
            }
          }
        }
      },
      "RotateTenantAccessTokenResponse": {
        "title": "Rotate Organization Access Token",
        "type": "object",
        "description": "Payload confirming rotation of the organizational access token (a new JWT token is issued and the old one is invalidated for security).",
        "example": {
          "success": true,
          "response": {
            "accessToken": "eyJhbGciOiJIUzI1NiJ9.ZXlKMFpXNWhiblJKWkNJNklqZGhORFpsT1RneUxUUTVNemt0TkRobVpDMDRabUl6TFRNeVpEaGxaVEV4T1RZMk5TSXNJbWxoZENJNk1UY3lNamcyTkRVMU5uMD0.VUejpKgvZWDHrO1SogCxixRM1S4ykQAHqpIu0XmrTvI"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the token rotation was successful (whether the new token was issued without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "accessToken": {
                "type": "string",
                "description": "Newly minted active organizational JWT Bearer token (the new authentication token you must use for future API calls)."
              }
            }
          }
        }
      },
      "DeleteTenantReponse": {
        "title": "Delete Organization",
        "type": "object",
        "description": "Response confirming deletion of a organization (the tenant account and all associated data have been permanently removed).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Flag confirming successful organization deletion (whether the deletion completed without errors)."
          }
        }
      },
      "GetTenantsResponse": {
        "title": "Get Organizations",
        "type": "object",
        "description": "Array of all organizations (tenant accounts) in the ecosystem, including archived ones. Each item includes a `status` of `active` or `archived`. Optional `organizationId` query filters to a single organization.",
        "example": {
          "success": true,
          "response": [
            {
              "organizationId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "tenantId": "125c82e6-c89c-4936-b88b-a7120e6605ec",
              "ecosystemId": "3373e16a-1200-4358-b19d-6f7d2391fff4",
              "dids": [
                {
                  "did": "did:key:zDnaecuqi2gU7kgSkqTuNT976LTbZjoKS1h8fnDk7qomJFbQg",
                  "method": "key"
                }
              ],
              "name": "OpenID Org",
              "label": "openidorg",
              "image": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/openid-org-image-1777038682903.svg%2Bxml",
              "status": "active",
              "createdAt": "2026-04-24T13:51:25.610Z",
              "updatedAt": "2026-05-11T13:44:27.962Z",
              "openIdWellKnownCredentialIssuerUrl": "https://core-agent-dev.hovi.id/agent/oid4vci/534640b3-8eb3-4246-ad64-d2904189abdf/.well-known/openid-credential-issuer",
              "x509Certificate": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU+gAwIBAgIRAIRAY0c1OngXGkDGcrB7XNEwCgYIKoZIzj0EAwIwMjEQ\nMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtp\nMB4XDTI2MDQyNDEzNTEyNVoXDTM2MDQyNDEzNTEyNVowMjEQMA4GA1UEAxMHSG92\naSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0C\nAQYIKoZIzj0DAQcDQgAEuXA1bX8uqoMv9pk9USi22mpkMeMoWi3V+Zr2JPEHu2Xi\nsnk7GjWFE4sH7kteoDvc45yczVlrSNP02BYmT+OkNKNGMEQwCwYDVR0PBAQDAgeA\nMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYu\naG92aS5pZDAKBggqhkjOPQQDAgNHADBEAiBxHW7wRnFBlWzBglMnoiEeGKfv3pTv\n0prcCCi4anON2gIgSG5yMU7+nba76md4xbwHHv/tLxrFqsHIbL1FLHC+V2I=\n-----END CERTIFICATE-----"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all organizations registered within the ecosystem, including archived ones.",
            "items": {
              "type": "object",
              "properties": {
                "organizationId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the organization."
                },
                "tenantId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Tenant identifier for the organization (typically matches organizationId)."
                },
                "ecosystemId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "UUID of the ecosystem this organization belongs to."
                },
                "dids": {
                  "type": "array",
                  "description": "DIDs provisioned for this organization.",
                  "items": {
                    "type": "object",
                    "properties": {
                      "did": {
                        "type": "string",
                        "description": "W3C Decentralized Identifier string (e.g., did:key:z...)."
                      },
                      "method": {
                        "type": "string",
                        "description": "DID method (e.g., key, web, jwk)."
                      }
                    }
                  }
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the organization."
                },
                "label": {
                  "type": "string",
                  "description": "Short identifier label for this organization."
                },
                "image": {
                  "type": "string",
                  "format": "url",
                  "description": "URL of the organization's logo."
                },
                "openIdWellKnownCredentialIssuerUrl": {
                  "type": "string",
                  "format": "url",
                  "description": "OpenID Credential Issuer metadata endpoint (well-known configuration URL)."
                },
                "x509Certificate": {
                  "type": "string",
                  "description": "PEM-encoded X.509 certificate for SD-JWT signing (if configured)."
                },
                "status": {
                  "type": "string",
                  "enum": [
                    "active",
                    "archived"
                  ],
                  "description": "Organization lifecycle status. `active` organizations are fully operational. `archived` organizations remain visible in listings but most mutating operations are blocked."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when this organization was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                }
              }
            }
          }
        }
      },
      "GetTenantDidsResponse": {
        "title": "Get Organization DIDs",
        "type": "object",
        "description": "Payload listing public Decentralized Identifiers linked to the organization (all DIDs that this tenant can use for credential operations).",
        "example": {
          "success": true,
          "response": [
            {
              "did": "did:key:z6Mkw1JK3fA62UNsQ6MwJwqPxTEfHVZuFokpZWGdingDAfRN",
              "method": "key"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Validation confirmation for the operation (whether the list of DIDs was retrieved without errors)."
          },
          "response": {
            "type": "array",
            "description": "Iterator of W3C DID strings (the list of decentralized identifiers belonging to this organization).",
            "items": {
              "type": "object",
              "properties": {
                "did": {
                  "type": "string",
                  "description": "W3C format identifier string (the unique, verifiable digital identifier)."
                },
                "method": {
                  "type": "string",
                  "description": "DID method used (the standard method used to create this DID)."
                }
              }
            }
          }
        }
      },
      "SendProofRequestResponse": {
        "title": "Send Proof Request",
        "type": "object",
        "description": "Payload confirming creation of an OID4VP presentation exchange session (the response after initiating a credential verification request).",
        "example": {
          "success": true,
          "response": {
            "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
            "state": "pending",
            "role": "verifier",
            "isVerified": false,
            "createdAt": "2026-05-18T04:03:45.526Z",
            "updatedAt": "2026-05-18T04:03:45.526Z",
            "verificationUrl": "https://studio-dev.hovi.id/verification?data=eyJ1cmkiOiJvcGVuaWQ0dnA6Ly8/Y2xpZW50X2lkPXg1MDlfaGFzaCUzQW90eUFOZ1J1a1BvVGVlWHo2Y21mZXFpY3R3UTRCWjBrVXRoaFVmYVVJbE0mcmVxdWVzdF91cmk9aHR0cHMlM0ElMkYlMkZjb3JlLWFnZW50LWRldi5ob3ZpLmlkJTJGYWdlbnQlMkZvaWQ0dnAlMkYyNjg5NWM4Yi0xZDFjLTQwYjctYjRlYS1mOGExYTRlNTE2YzAlMkZhdXRob3JpemF0aW9uLXJlcXVlc3RzJTJGNWYyYmQxYjctZGE5Yi00NTcxLWEwZGMtN2UyZjdkMTdiY2ZmIiwibmFtZSI6IkV1ZG8gT3JnIiwiaW1hZ2UiOiJodHRwczovL2hvdmlkZXZlbG9wbWVudC5ibG9iLmNvcmUud2luZG93cy5uZXQvc3R1ZGlvLWFzc2V0cy90ZW5hbnRzL2ltYWdlcy9ldWRvLW9yZy1pbWFnZS0xNzc5MDcxNDk3NTg5LnN2ZyUyQnhtbCIsImVjb3N5c3RlbUlkIjoiMDM5OTgzMzEtOTQyNi00MWExLTk5YTctMDlmOWQxYWY2OGRjIn0=",
            "authorizationRequestUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the OID4VP verification session."
              },
              "verificationUri": {
                "type": "string",
                "description": "OID4VP protocol URI for QR code generation and wallet interaction."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the verification exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "verifier",
                  "holder"
                ],
                "description": "Organizational role in this verification exchange."
              },
              "isVerified": {
                "type": "boolean",
                "description": "Indicates whether the submitted proof has been verified."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the verification session was initiated."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "verificationUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link encapsulating the verification session."
              },
              "authorizationRequestUri": {
                "type": "string",
                "description": "OID4VP authorization request URI (same as verificationUri)."
              }
            }
          }
        }
      },
      "GetProofRequestsResponse": {
        "title": "Get Proof Requests",
        "type": "object",
        "description": "Retrieves a paginated list of all OID4VP proof requests initiated by the organization (history of all verification requests you have sent).",
        "example": {
          "success": true,
          "response": [
            {
              "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
              "state": "pending",
              "role": "verifier",
              "isVerified": false,
              "hasTransactionData": true,
              "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
              "message": "Presentation is sent to the verifier.",
              "createdAt": "2026-05-18T04:03:45.560Z",
              "updatedAt": "2026-05-18T04:03:45.560Z",
              "id": "0a6af7f2-02af-41f5-b97d-8e0195519836"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all proof exchange records for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "proofExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the proof exchange session."
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "done",
                    "abandoned"
                  ],
                  "description": "Current lifecycle state of the verification exchange."
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "verifier",
                    "holder"
                  ],
                  "description": "Organizational role in this verification exchange."
                },
                "isVerified": {
                  "type": "boolean",
                  "description": "Indicates whether the submitted proof has been cryptographically verified."
                },
                "hasTransactionData": {
                  "type": "boolean",
                  "description": "Whether this request asked the holder to approve transaction details."
                },
                "verificationUri": {
                  "type": "string",
                  "description": "OID4VP protocol URI used to initiate the wallet interaction."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable status message describing the current state."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the proof request was created."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent status update."
                },
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier (same as proofExchangeId)."
                }
              }
            }
          }
        }
      },
      "GetProofRequestResponse": {
        "title": "Get Proof Request",
        "type": "object",
        "description": "Retrieves the status of a specific OID4VP proof request including the DIF Presentation Exchange submission (detailed information about one verification session).",
        "example": {
          "success": true,
          "response": {
            "proofExchangeId": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "state": "done",
            "role": "verifier",
            "isVerified": true,
            "verificationUri": "openid4vp://?client_id=x509_hash%3AotyANgRukPoTeeXz6cmfeqictwQ4BZ0kUthhUfaUIlM&request_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vp%2F26895c8b-1d1c-40b7-b4ea-f8a1a4e516c0%2Fauthorization-requests%2F5f2bd1b7-da9b-4571-a0dc-7e2f7d17bcff",
            "message": "Presentation has been verified successfully.",
            "createdAt": "2026-05-18T04:03:45.560Z",
            "updatedAt": "2026-05-18T04:10:10.294Z",
            "id": "0a6af7f2-02af-41f5-b97d-8e0195519836",
            "hasTransactionData": true,
            "transactionData": [
              {
                "index": 0,
                "type": "payment",
                "credentialId": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                "data": {
                  "payment_data": {
                    "payee": "Merchant Ltd",
                    "currency": "EUR",
                    "amount": 23.58
                  }
                },
                "hash": "fOBUSQvo46yQO-wRwXBcGqvnbKIueISEL961_Sjd4do",
                "hashAlg": "sha-256"
              }
            ],
            "presentation": {
              "query": {
                "credentials": [
                  {
                    "id": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                    "require_cryptographic_holder_binding": true,
                    "multiple": false,
                    "format": "mso_mdoc",
                    "claims": [
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "age"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "isVerified"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "profileImage"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "birthDate"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      },
                      {
                        "intent_to_retain": false,
                        "path": [
                          "org.iso.18013.5.1",
                          "address"
                        ]
                      }
                    ],
                    "meta": {
                      "doctype_value": "org.example.UniversityDegree"
                    }
                  }
                ],
                "credential_sets": [
                  {
                    "options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ],
                    "required": true
                  }
                ]
              },
              "presentations": {
                "cc255d0a-26cb-485e-a408-cc13c6a996c6": [
                  {
                    "base64Url": "uQADZ3ZlcnNpb25jMS4waWRvY3VtZW50c4GjZ2RvY1R5cGV4HG9yZy5leGFtcGxlLlVuaXZlcnNpdHlEZWdyZWVsaXNzdWVyU2lnbmVkuQACam5hbWVTcGFjZXOhcFVuaXZlcnNpdHlEZWdyZWWF2BhYWaRoZGlnZXN0SUQAcWVsZW1lbnRJZGVudGlmaWVyY2FnZWxlbGVtZW50VmFsdWUYI2ZyYW5kb21YIHWjb-XkYInj1lec5S1Ow58ope8VY_sB4XsTyCjaHMsE2BhYX6RoZGlnZXN0SUQBcWVsZW1lbnRJZGVudGlmaWVyamlzVmVyaWZpZWRsZWxlbWVudFZhbHVl9GZyYW5kb21YIGI2YTbTinLAKfW5y_YIwP6KoB55AbXaqDzQejPSrzg52BhY1KRoZGlnZXN0SUQCcWVsZW1lbnRJZGVudGlmaWVybHByb2ZpbGVJbWFnZWxlbGVtZW50VmFsdWV4cmRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQUVBQUFBQkNBUUFBQUMxSEF3Q0FBQUFDMGxFUVZSNDJtUDgveDhBQXdNQ0FPN1prOXNBQUFBQVNVVk9SSzVDWUlJPWZyYW5kb21YIKZDPQ085pyafvkbqsbLhRTOmL7g3SUjgxRz5Gs6c6D62BhYaKRoZGlnZXN0SUQDcWVsZW1lbnRJZGVudGlmaWVyaWJpcnRoRGF0ZWxlbGVtZW50VmFsdWVqMTk4OS0xMS0yMGZyYW5kb21YIHfNE_5l5kuaxCSo3qJjykd9l-6R6O-hRWpB28pU0xmL2BhYjKRoZGlnZXN0SUQEcWVsZW1lbnRJZGVudGlmaWVyZ2FkZHJlc3NsZWxlbWVudFZhbHVluQACZnN0cmVldHU3NDIgRXZlcmdyZWVuIFRlcnJhY2VkY2l0eWtTcHJpbmdmaWVsZGZyYW5kb21YIK9EsFZcsgNbRboiRURZ7clTwGVXSqzMLXH8ar91hgI_amlzc3VlckF1dGiEQ6EBJqIEWCQ0YWVkZmVlMy1jYTA3LTQzY2UtYjA0Yi03OTNmZmQ0ZjZjYzMYIVkBrDCCAagwggFOoAMCAQICEAmfK1-pxJsEIetzdWFkeAswCgYIKoZIzj0EAwIwMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMB4XDTI2MDUxODAyMzEzOVoXDTM2MDUxODAyMzEzOVowMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtpGKGMR0KkI1yI7jPAPHb9h7SpGHm0i3hPk_oDOhax_0PNEA2a_GjYYKp97NnrN_lzD7GZkzuDJ_x7zDXv2dpqNGMEQwCwYDVR0PBAQDAgeAMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYuaG92aS5pZDAKBggqhkjOPQQDAgNIADBFAiEA1MrEifn9bo7aiWpbrrjP9NnDg9TtCYsc32W-Adg301oCIBJ9OA65WsVa6pQKZtBTPVsrE0nRverOW5YphsDziyv-WQIc2BhZAhe5AAZndmVyc2lvbmMxLjBvZGlnZXN0QWxnb3JpdGhtZ1NIQS0yNTZsdmFsdWVEaWdlc3RzoXBVbml2ZXJzaXR5RGVncmVlpQBYIF2Tug_qi3CPICdTV7Z62jVGXkl5ORd_LZm249xppbtpAVgg4sJZR1xF52-FDmTk4rxoOFxbK0U91grpgc4H5GpuwTQCWCAInKYUDTk3lZm42pvRencCONMG-XZpU9AHWjc5m2DVxANYIGTjl22fCgTC8PwMGwZVmsRvi2EmZM0NfDJPkRMxlKnBBFggrl14vo-Ei9AKpRd_Wo-yIWXPvQW5Xeo88FUBqEfm7HltZGV2aWNlS2V5SW5mb7kAAWlkZXZpY2VLZXmlAQICeCQyZWU3Y2YxZi04YmM5LTQyMWMtYTA4Mi05NTUyMTNmODUyMWUgASFYIBiBS7wmpDuRxxM9M691WjAfopc52C7mTBUDzhrIf4okIlggEIsZvKIYmxZAmZqr0S0fXeQmcIAmCAgdbCrLlyCuE9FnZG9jVHlwZXgcb3JnLmV4YW1wbGUuVW5pdmVyc2l0eURlZ3JlZWx2YWxpZGl0eUluZm-5AANmc2lnbmVkwHQyMDI2LTA1LTE4VDA0OjA5OjQxWml2YWxpZEZyb23AdDIwMjYtMDUtMThUMDQ6MDk6NDFaanZhbGlkVW50aWzAdDIwMjctMDUtMThUMDQ6MDk6NDFaWED8kbcEUd-d9WsEwszW5MUdHyX19up-e4_UhJbfGGeSUKgiieW0xTsYCbCNm3NpvkyGeO6xXTuJbWnBrgwIw3EgbGRldmljZVNpZ25lZLkAAmpuYW1lU3BhY2Vz2BhBoGpkZXZpY2VBdXRouQABb2RldmljZVNpZ25hdHVyZYRDoQEmoQRYJDJlZTdjZjFmLThiYzktNDIxYy1hMDgyLTk1NTIxM2Y4NTIxZfZYQOwSe2rgbnNMOXIp1RcMkdcuFVreyG5XBHg1kJFXoiH27CiZOaxpEeiDYVQLPOeNOwCbxI4FMuATGb4rVxJC_mxmc3RhdHVzAA",
                    "documents": [
                      {
                        "issuerSignedDocument": {
                          "docType": "org.example.UniversityDegree",
                          "issuerSigned": {
                            "nameSpaces": {},
                            "issuerAuth": {
                              "unprotectedHeaders": {},
                              "protectedHeaders": {},
                              "_signature": {
                                "type": "Buffer",
                                "data": [
                                  252,
                                  145,
                                  183,
                                  4,
                                  81,
                                  223,
                                  157,
                                  245,
                                  107,
                                  4,
                                  194,
                                  204,
                                  214,
                                  228,
                                  197,
                                  29,
                                  31,
                                  37,
                                  245,
                                  246,
                                  234,
                                  126,
                                  123,
                                  143,
                                  212,
                                  132,
                                  150,
                                  223,
                                  24,
                                  103,
                                  146,
                                  80,
                                  168,
                                  34,
                                  137,
                                  229,
                                  180,
                                  197,
                                  59,
                                  24,
                                  9,
                                  176,
                                  141,
                                  155,
                                  115,
                                  105,
                                  190,
                                  76,
                                  134,
                                  120,
                                  238,
                                  177,
                                  93,
                                  59,
                                  137,
                                  109,
                                  105,
                                  193,
                                  174,
                                  12,
                                  8,
                                  195,
                                  113,
                                  32
                                ]
                              },
                              "payload": {
                                "type": "Buffer",
                                "data": [
                                  216,
                                  24,
                                  89,
                                  2,
                                  23,
                                  185,
                                  0,
                                  6,
                                  103,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  111,
                                  110,
                                  99,
                                  49,
                                  46,
                                  48,
                                  111,
                                  100,
                                  105,
                                  103,
                                  101,
                                  115,
                                  116,
                                  65,
                                  108,
                                  103,
                                  111,
                                  114,
                                  105,
                                  116,
                                  104,
                                  109,
                                  103,
                                  83,
                                  72,
                                  65,
                                  45,
                                  50,
                                  53,
                                  54,
                                  108,
                                  118,
                                  97,
                                  108,
                                  117,
                                  101,
                                  68,
                                  105,
                                  103,
                                  101,
                                  115,
                                  116,
                                  115,
                                  161,
                                  112,
                                  85,
                                  110,
                                  105,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  116,
                                  121,
                                  68,
                                  101,
                                  103,
                                  114,
                                  101,
                                  101,
                                  165,
                                  0,
                                  88,
                                  32,
                                  93,
                                  147,
                                  186,
                                  15,
                                  234,
                                  139,
                                  112,
                                  143,
                                  32,
                                  39,
                                  83,
                                  87,
                                  182,
                                  122,
                                  218,
                                  53,
                                  70,
                                  94,
                                  73,
                                  121,
                                  57,
                                  23,
                                  127,
                                  45,
                                  153,
                                  182,
                                  227,
                                  220,
                                  105,
                                  165,
                                  187,
                                  105,
                                  1,
                                  88,
                                  32,
                                  226,
                                  194,
                                  89,
                                  71,
                                  92,
                                  69,
                                  231,
                                  111,
                                  133,
                                  14,
                                  100,
                                  228,
                                  226,
                                  188,
                                  104,
                                  56,
                                  92,
                                  91,
                                  43,
                                  69,
                                  61,
                                  214,
                                  10,
                                  233,
                                  129,
                                  206,
                                  7,
                                  228,
                                  106,
                                  110,
                                  193,
                                  52,
                                  2,
                                  88,
                                  32,
                                  8,
                                  156,
                                  166,
                                  20,
                                  13,
                                  57,
                                  55,
                                  149,
                                  153,
                                  184,
                                  218,
                                  155,
                                  209,
                                  122,
                                  119,
                                  2,
                                  56,
                                  211,
                                  6,
                                  249,
                                  118,
                                  105,
                                  83,
                                  208,
                                  7,
                                  90,
                                  55,
                                  57,
                                  155,
                                  96,
                                  213,
                                  196,
                                  3,
                                  88,
                                  32,
                                  100,
                                  227,
                                  151,
                                  109,
                                  159,
                                  10,
                                  4,
                                  194,
                                  240,
                                  252,
                                  12,
                                  27,
                                  6,
                                  85,
                                  154,
                                  196,
                                  111,
                                  139,
                                  97,
                                  38,
                                  100,
                                  205,
                                  13,
                                  124,
                                  50,
                                  79,
                                  145,
                                  19,
                                  49,
                                  148,
                                  169,
                                  193,
                                  4,
                                  88,
                                  32,
                                  174,
                                  93,
                                  120,
                                  190,
                                  143,
                                  132,
                                  139,
                                  208,
                                  10,
                                  165,
                                  23,
                                  127,
                                  90,
                                  143,
                                  178,
                                  33,
                                  101,
                                  207,
                                  189,
                                  5,
                                  185,
                                  93,
                                  234,
                                  60,
                                  240,
                                  85,
                                  1,
                                  168,
                                  71,
                                  230,
                                  236,
                                  121,
                                  109,
                                  100,
                                  101,
                                  118,
                                  105,
                                  99,
                                  101,
                                  75,
                                  101,
                                  121,
                                  73,
                                  110,
                                  102,
                                  111,
                                  185,
                                  0,
                                  1,
                                  105,
                                  100,
                                  101,
                                  118,
                                  105,
                                  99,
                                  101,
                                  75,
                                  101,
                                  121,
                                  165,
                                  1,
                                  2,
                                  2,
                                  120,
                                  36,
                                  50,
                                  101,
                                  101,
                                  55,
                                  99,
                                  102,
                                  49,
                                  102,
                                  45,
                                  56,
                                  98,
                                  99,
                                  57,
                                  45,
                                  52,
                                  50,
                                  49,
                                  99,
                                  45,
                                  97,
                                  48,
                                  56,
                                  50,
                                  45,
                                  57,
                                  53,
                                  53,
                                  50,
                                  49,
                                  51,
                                  102,
                                  56,
                                  53,
                                  50,
                                  49,
                                  101,
                                  32,
                                  1,
                                  33,
                                  88,
                                  32,
                                  24,
                                  129,
                                  75,
                                  188,
                                  38,
                                  164,
                                  59,
                                  145,
                                  199,
                                  19,
                                  61,
                                  51,
                                  175,
                                  117,
                                  90,
                                  48,
                                  31,
                                  162,
                                  151,
                                  57,
                                  216,
                                  46,
                                  230,
                                  76,
                                  21,
                                  3,
                                  206,
                                  26,
                                  200,
                                  127,
                                  138,
                                  36,
                                  34,
                                  88,
                                  32,
                                  16,
                                  139,
                                  25,
                                  188,
                                  162,
                                  24,
                                  155,
                                  22,
                                  64,
                                  153,
                                  154,
                                  171,
                                  209,
                                  45,
                                  31,
                                  93,
                                  228,
                                  38,
                                  112,
                                  128,
                                  38,
                                  8,
                                  8,
                                  29,
                                  108,
                                  42,
                                  203,
                                  151,
                                  32,
                                  174,
                                  19,
                                  209,
                                  103,
                                  100,
                                  111,
                                  99,
                                  84,
                                  121,
                                  112,
                                  101,
                                  120,
                                  28,
                                  111,
                                  114,
                                  103,
                                  46,
                                  101,
                                  120,
                                  97,
                                  109,
                                  112,
                                  108,
                                  101,
                                  46,
                                  85,
                                  110,
                                  105,
                                  118,
                                  101,
                                  114,
                                  115,
                                  105,
                                  116,
                                  121,
                                  68,
                                  101,
                                  103,
                                  114,
                                  101,
                                  101,
                                  108,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  105,
                                  116,
                                  121,
                                  73,
                                  110,
                                  102,
                                  111,
                                  185,
                                  0,
                                  3,
                                  102,
                                  115,
                                  105,
                                  103,
                                  110,
                                  101,
                                  100,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  54,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90,
                                  105,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  70,
                                  114,
                                  111,
                                  109,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  54,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90,
                                  106,
                                  118,
                                  97,
                                  108,
                                  105,
                                  100,
                                  85,
                                  110,
                                  116,
                                  105,
                                  108,
                                  192,
                                  116,
                                  50,
                                  48,
                                  50,
                                  55,
                                  45,
                                  48,
                                  53,
                                  45,
                                  49,
                                  56,
                                  84,
                                  48,
                                  52,
                                  58,
                                  48,
                                  57,
                                  58,
                                  52,
                                  49,
                                  90
                                ]
                              }
                            }
                          },
                          "deviceSigned": {
                            "nameSpaces": {},
                            "deviceAuth": {
                              "deviceSignature": {
                                "unprotectedHeaders": {},
                                "protectedHeaders": {},
                                "_signature": {
                                  "type": "Buffer",
                                  "data": [
                                    236,
                                    18,
                                    123,
                                    106,
                                    224,
                                    110,
                                    115,
                                    76,
                                    57,
                                    114,
                                    41,
                                    213,
                                    23,
                                    12,
                                    145,
                                    215,
                                    46,
                                    21,
                                    90,
                                    222,
                                    200,
                                    110,
                                    87,
                                    4,
                                    120,
                                    53,
                                    144,
                                    145,
                                    87,
                                    162,
                                    33,
                                    246,
                                    236,
                                    40,
                                    153,
                                    57,
                                    172,
                                    105,
                                    17,
                                    232,
                                    131,
                                    97,
                                    84,
                                    11,
                                    60,
                                    231,
                                    141,
                                    59,
                                    0,
                                    155,
                                    196,
                                    142,
                                    5,
                                    50,
                                    224,
                                    19,
                                    25,
                                    190,
                                    43,
                                    87,
                                    18,
                                    66,
                                    254,
                                    108
                                  ]
                                },
                                "payload": null
                              }
                            }
                          }
                        },
                        "base64Url": "uQACam5hbWVTcGFjZXOhcFVuaXZlcnNpdHlEZWdyZWWF2BhYWaRoZGlnZXN0SUQAcWVsZW1lbnRJZGVudGlmaWVyY2FnZWxlbGVtZW50VmFsdWUYI2ZyYW5kb21YIHWjb-XkYInj1lec5S1Ow58ope8VY_sB4XsTyCjaHMsE2BhYX6RoZGlnZXN0SUQBcWVsZW1lbnRJZGVudGlmaWVyamlzVmVyaWZpZWRsZWxlbWVudFZhbHVl9GZyYW5kb21YIGI2YTbTinLAKfW5y_YIwP6KoB55AbXaqDzQejPSrzg52BhY1KRoZGlnZXN0SUQCcWVsZW1lbnRJZGVudGlmaWVybHByb2ZpbGVJbWFnZWxlbGVtZW50VmFsdWV4cmRhdGE6aW1hZ2UvcG5nO2Jhc2U2NCxpVkJPUncwS0dnb0FBQUFOU1VoRVVnQUFBQUVBQUFBQkNBUUFBQUMxSEF3Q0FBQUFDMGxFUVZSNDJtUDgveDhBQXdNQ0FPN1prOXNBQUFBQVNVVk9SSzVDWUlJPWZyYW5kb21YIKZDPQ085pyafvkbqsbLhRTOmL7g3SUjgxRz5Gs6c6D62BhYaKRoZGlnZXN0SUQDcWVsZW1lbnRJZGVudGlmaWVyaWJpcnRoRGF0ZWxlbGVtZW50VmFsdWVqMTk4OS0xMS0yMGZyYW5kb21YIHfNE_5l5kuaxCSo3qJjykd9l-6R6O-hRWpB28pU0xmL2BhYjKRoZGlnZXN0SUQEcWVsZW1lbnRJZGVudGlmaWVyZ2FkZHJlc3NsZWxlbWVudFZhbHVluQACZnN0cmVldHU3NDIgRXZlcmdyZWVuIFRlcnJhY2VkY2l0eWtTcHJpbmdmaWVsZGZyYW5kb21YIK9EsFZcsgNbRboiRURZ7clTwGVXSqzMLXH8ar91hgI_amlzc3VlckF1dGiEQ6EBJqIEWCQ0YWVkZmVlMy1jYTA3LTQzY2UtYjA0Yi03OTNmZmQ0ZjZjYzMYIVkBrDCCAagwggFOoAMCAQICEAmfK1-pxJsEIetzdWFkeAswCgYIKoZIzj0EAwIwMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMB4XDTI2MDUxODAyMzEzOVoXDTM2MDUxODAyMzEzOVowMjEQMA4GA1UEAxMHSG92aSBJRDELMAkGA1UEBhMCRkkxETAPBgNVBAgTCEhlbHNpbmtpMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEtpGKGMR0KkI1yI7jPAPHb9h7SpGHm0i3hPk_oDOhax_0PNEA2a_GjYYKp97NnrN_lzD7GZkzuDJ_x7zDXv2dpqNGMEQwCwYDVR0PBAQDAgeAMBIGA1UdJQQLMAkGByiBjF0FAQIwIQYDVR0RBBowGIIWY29yZS1hZ2VudC1kZXYuaG92aS5pZDAKBggqhkjOPQQDAgNIADBFAiEA1MrEifn9bo7aiWpbrrjP9NnDg9TtCYsc32W-Adg301oCIBJ9OA65WsVa6pQKZtBTPVsrE0nRverOW5YphsDziyv-WQIc2BhZAhe5AAZndmVyc2lvbmMxLjBvZGlnZXN0QWxnb3JpdGhtZ1NIQS0yNTZsdmFsdWVEaWdlc3RzoXBVbml2ZXJzaXR5RGVncmVlpQBYIF2Tug_qi3CPICdTV7Z62jVGXkl5ORd_LZm249xppbtpAVgg4sJZR1xF52-FDmTk4rxoOFxbK0U91grpgc4H5GpuwTQCWCAInKYUDTk3lZm42pvRencCONMG-XZpU9AHWjc5m2DVxANYIGTjl22fCgTC8PwMGwZVmsRvi2EmZM0NfDJPkRMxlKnBBFggrl14vo-Ei9AKpRd_Wo-yIWXPvQW5Xeo88FUBqEfm7HltZGV2aWNlS2V5SW5mb7kAAWlkZXZpY2VLZXmlAQICeCQyZWU3Y2YxZi04YmM5LTQyMWMtYTA4Mi05NTUyMTNmODUyMWUgASFYIBiBS7wmpDuRxxM9M691WjAfopc52C7mTBUDzhrIf4okIlggEIsZvKIYmxZAmZqr0S0fXeQmcIAmCAgdbCrLlyCuE9FnZG9jVHlwZXgcb3JnLmV4YW1wbGUuVW5pdmVyc2l0eURlZ3JlZWx2YWxpZGl0eUluZm-5AANmc2lnbmVkwHQyMDI2LTA1LTE4VDA0OjA5OjQxWml2YWxpZEZyb23AdDIwMjYtMDUtMThUMDQ6MDk6NDFaanZhbGlkVW50aWzAdDIwMjctMDUtMThUMDQ6MDk6NDFaWED8kbcEUd-d9WsEwszW5MUdHyX19up-e4_UhJbfGGeSUKgiieW0xTsYCbCNm3NpvkyGeO6xXTuJbWnBrgwIw3Eg"
                      }
                    ]
                  }
                ]
              },
              "presentationResult": {
                "can_be_satisfied": true,
                "credential_sets": [
                  {
                    "options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ],
                    "required": true,
                    "matching_options": [
                      [
                        "cc255d0a-26cb-485e-a408-cc13c6a996c6"
                      ]
                    ]
                  }
                ],
                "credential_matches": {
                  "cc255d0a-26cb-485e-a408-cc13c6a996c6": {
                    "success": true,
                    "credential_query_id": "cc255d0a-26cb-485e-a408-cc13c6a996c6",
                    "valid_credentials": [
                      {
                        "success": true,
                        "input_credential_index": 0,
                        "trusted_authorities": {
                          "success": true
                        },
                        "meta": {
                          "success": true,
                          "output": {
                            "credential_format": "mso_mdoc",
                            "doctype": "org.example.UniversityDegree",
                            "cryptographic_holder_binding": true
                          }
                        },
                        "claims": {
                          "success": true,
                          "valid_claim_sets": [
                            {
                              "success": true,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "age": 35,
                                  "isVerified": false,
                                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                                  "birthDate": "1989-11-20",
                                  "address": {}
                                }
                              },
                              "valid_claim_indexes": [
                                0,
                                1,
                                2,
                                3,
                                4,
                                5,
                                6
                              ]
                            }
                          ],
                          "valid_claims": [
                            {
                              "success": true,
                              "claim_index": 0,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "age": 35
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 1,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "isVerified": false
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 2,
                              "output": {
                                "UniversityDegree": {
                                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII="
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 3,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "birthDate": "1989-11-20"
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 4,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 5,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            },
                            {
                              "success": true,
                              "claim_index": 6,
                              "output": {
                                "org.iso.18013.5.1": {
                                  "address": {}
                                }
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              }
            },
            "verificationUrl": "https://studio-dev.hovi.id/verification?data=eyJ1cmkiOiJvcGVuaWQ0dnA6Ly8/Y2xpZW50X2lkPXg1MDlfaGFzaCUzQW90eUFOZ1J1a1BvVGVlWHo2Y21mZXFpY3R3UTRCWjBrVXRoaFVmYVVJbE0mcmVxdWVzdF91cmk9aHR0cHMlM0ElMkYlMkZjb3JlLWFnZW50LWRldi5ob3ZpLmlkJTJGYWdlbnQlMkZvaWQ0dnAlMkYyNjg5NWM4Yi0xZDFjLTQwYjctYjRlYS1mOGExYTRlNTE2YzAlMkZhdXRob3JpemF0aW9uLXJlcXVlc3RzJTJGNWYyYmQxYjctZGE5Yi00NTcxLWEwZGMtN2UyZjdkMTdiY2ZmIiwibmFtZSI6IkV1ZG8gT3JnIiwiaW1hZ2UiOiJodHRwczovL2hvdmlkZXZlbG9wbWVudC5ibG9iLmNvcmUud2luZG93cy5uZXQvc3R1ZGlvLWFzc2V0cy90ZW5hbnRzL2ltYWdlcy9ldWRvLW9yZy1pbWFnZS0xNzc5MDcxNDk3NTg5LnN2ZyUyQnhtbCIsImVjb3N5c3RlbUlkIjoiMDM5OTgzMzEtOTQyNi00MWExLTk5YTctMDlmOWQxYWY2OGRjIn0="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for the proof exchange session."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the verification exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "verifier",
                  "holder"
                ],
                "description": "Organizational role in this verification exchange."
              },
              "isVerified": {
                "type": "boolean",
                "description": "Indicates whether the submitted proof has been cryptographically verified."
              },
              "verificationUri": {
                "type": "string",
                "description": "OID4VP protocol URI used to initiate the wallet interaction."
              },
              "message": {
                "type": "string",
                "description": "Human-readable status message describing the current state."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the proof request was created."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "id": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier (same as proofExchangeId)."
              },
              "presentation": {
                "type": "object",
                "description": "DIF Presentation Exchange details including query and submitted presentations."
              },
              "hasTransactionData": {
                "type": "boolean",
                "description": "Whether this request asked the holder to approve transaction details."
              },
              "transactionData": {
                "type": "array",
                "description": "Transaction details the holder approved. Empty when the request had none.",
                "items": {
                  "type": "object",
                  "properties": {
                    "index": {
                      "type": "integer",
                      "example": 0,
                      "description": "Position of this item in the request."
                    },
                    "type": {
                      "type": "string",
                      "example": "payment",
                      "description": "Type of the transaction, as sent in the request."
                    },
                    "credentialId": {
                      "type": "string",
                      "example": "7d88c908-3b3f-413d-9dc5-a3a8b7905899",
                      "description": "Identifier of the requested credential used to approve this item."
                    },
                    "data": {
                      "type": "object",
                      "additionalProperties": true,
                      "example": {
                        "payment_data": {
                          "payee": "Merchant Ltd",
                          "currency": "EUR",
                          "amount": 23.58
                        }
                      },
                      "description": "The details the holder approved, as sent in the request."
                    },
                    "hash": {
                      "type": "string",
                      "example": "fOBUSQvo46yQO-wRwXBcGqvnbKIueISEL961_Sjd4do",
                      "description": "Proof that the holder approved these exact details."
                    },
                    "hashAlg": {
                      "type": "string",
                      "example": "sha-256",
                      "description": "Method used to create the proof."
                    }
                  }
                }
              },
              "verificationUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link for wallet redirection."
              }
            }
          }
        }
      },
      "GetStoredCredentialsV2Response": {
        "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,
          "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",
          "credentials",
          "pagination"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "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 type of the credential 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."
              }
            }
          }
        }
      },
      "GetStoredCredentialV2Response": {
        "title": "Get Stored Credential (v2)",
        "type": "object",
        "description": "One stored credential with its attributes and the display labels of its claims.",
        "example": {
          "success": true,
          "credential": {
            "id": "252e8f87-f5f3-450b-a772-5a51f87c9dd7",
            "claimFormat": "dc+sd-jwt",
            "createdAt": "2025-03-18T09:06:17.491Z",
            "updatedAt": "2025-03-18T09:06:17.491Z",
            "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",
          "credential"
        ],
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "credential": {
            "type": "object",
            "required": [
              "id",
              "attributes",
              "metadata"
            ],
            "properties": {
              "id": {
                "type": "string",
                "description": "Credential ID."
              },
              "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)."
              },
              "updatedAt": {
                "type": "string",
                "description": "When the stored credential was last updated (ISO 8601)."
              },
              "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 type of the credential 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."
                  }
                }
              }
            }
          }
        }
      },
      "GetAllStoredCredentialsResponse": {
        "title": "Get All Stored Credentials",
        "type": "object",
        "description": "Retrieves all credentials stored in the wallet with full metadata and claim details.",
        "example": {
          "success": true,
          "credentials": [
            {
              "id": "050b7ed8-c107-42c3-9040-715cdbaa6bf2",
              "createdAt": "2026-05-18T03:24:12.443Z",
              "updatedAt": "2026-05-18T03:24:12.443Z",
              "communicationProtocol": "openid",
              "credentialType": "dc+sd-jwt",
              "issuer": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
              "type": "Patient_Record",
              "attributes": {
                "status": {
                  "status_list": {
                    "uri": "https://dev-token-status-list.koyeb.app/statuslist/56b07f6e-d3c8-4738-8169-cec1a4c74a9a/31f9ee62-5e9e-4299-9c7b-fca7c78a3e0f",
                    "idx": 0
                  }
                },
                "age": 28,
                "isVerified": true,
                "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                "birthDate": "1996-05-12",
                "address": {
                  "street": "221B Baker Street",
                  "city": "London"
                }
              },
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                  "name": "eudoorg",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                    "alt": "Eudo Org"
                  }
                },
                "credential": {
                  "name": "University Degree Record",
                  "description": "Official proof of university graduation and degree attainment.",
                  "textColor": "#ffffff",
                  "backgroundImage": {
                    "url": "https://acme-corp.com/logo.png",
                    "alt": "University seal watermark background"
                  },
                  "logo": {
                    "url": "https://hovi.id/assets/university-logo.png",
                    "alt": "University official crest"
                  }
                },
                "claims": {
                  "age": {
                    "path": [
                      "age"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Age"
                    },
                    "originalDisplay": [
                      {
                        "name": "Age"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "age"
                      ],
                      "display": [
                        {
                          "name": "Age"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "isVerified": {
                    "path": [
                      "isVerified"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Verified Status"
                    },
                    "originalDisplay": [
                      {
                        "name": "Verified Status"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "isVerified"
                      ],
                      "display": [
                        {
                          "name": "Verified Status"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "profileImage": {
                    "path": [
                      "profileImage"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Profile Image"
                    },
                    "originalDisplay": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "profileImage"
                      ],
                      "display": [
                        {
                          "name": "Profile Image"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "birthDate": {
                    "path": [
                      "birthDate"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Birth Date"
                    },
                    "originalDisplay": [
                      {
                        "name": "Birth Date"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "birthDate"
                      ],
                      "display": [
                        {
                          "name": "Birth Date"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address": {
                    "path": [
                      "address"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Address"
                    },
                    "originalDisplay": [
                      {
                        "name": "Address"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address"
                      ],
                      "display": [
                        {
                          "name": "Address"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address.street": {
                    "path": [
                      "address",
                      "street"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Street"
                    },
                    "originalDisplay": [
                      {
                        "name": "Street"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address",
                        "street"
                      ],
                      "display": [
                        {
                          "name": "Street"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "address.city": {
                    "path": [
                      "address",
                      "city"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "City"
                    },
                    "originalDisplay": [
                      {
                        "name": "City"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "address",
                        "city"
                      ],
                      "display": [
                        {
                          "name": "City"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            },
            {
              "id": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
              "createdAt": "2026-05-18T04:09:41.951Z",
              "updatedAt": "2026-05-18T04:09:41.951Z",
              "communicationProtocol": "openid",
              "credentialType": "mso_mdoc",
              "name": "org.example.UniversityDegree",
              "type": "org.example.UniversityDegree",
              "attributes": {
                "org.iso.18013.5.1": {
                  "age": 35,
                  "isVerified": false,
                  "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
                  "birthDate": "1989-11-20",
                  "address": {
                    "street": "742 Evergreen Terrace",
                    "city": "Springfield"
                  }
                }
              },
              "issuanceDate": "2026-05-18T04:09:41.000Z",
              "expirationDate": "2027-05-18T04:09:41.000Z",
              "issuer": "-----BEGIN CERTIFICATE-----\nMIIBqDCCAU6gAwIBAgIQCZ8rX6nEmwQh63N1YWR4CzAKBggqhkjOPQQDAjAyMRAw\nDgYDVQQDEwdIb3ZpIElEMQswCQYDVQQGEwJGSTERMA8GA1UECBMISGVsc2lua2kw\nHhcNMjYwNTE4MDIzMTM5WhcNMzYwNTE4MDIzMTM5WjAyMRAwDgYDVQQDEwdIb3Zp\nIElEMQswCQYDVQQGEwJGSTERMA8GA1UECBMISGVsc2lua2kwWTATBgcqhkjOPQIB\nBggqhkjOPQMBBwNCAAS2kYoYxHQqQjXIjuM8A8dv2HtKkYebSLeE+T+gM6FrH/Q8\n0QDZr8aNhgqn3s2es3+XMPsZmTO4Mn/HvMNe/Z2mo0YwRDALBgNVHQ8EBAMCB4Aw\nEgYDVR0lBAswCQYHKIGMXQUBAjAhBgNVHREEGjAYghZjb3JlLWFnZW50LWRldi5o\nb3ZpLmlkMAoGCCqGSM49BAMCA0gAMEUCIQDUysSJ+f1ujtqJaluuuM/02cOD1O0J\nixzfZb4B2DfTWgIgEn04DrlaxVrqlApm0FM9WysTSdG96s5blimGwPOLK/4=\n-----END CERTIFICATE-----\n",
              "metadata": {
                "issuer": {
                  "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                  "name": "eudoorg",
                  "logo": {
                    "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                    "alt": "Eudo Org"
                  }
                },
                "credential": {
                  "name": "University Degree Record",
                  "description": "Official proof of university graduation and degree attainment.",
                  "textColor": "#ffffff",
                  "backgroundImage": {
                    "url": "https://acme-corp.com/logo.png",
                    "alt": "University seal watermark background"
                  },
                  "logo": {
                    "url": "https://hovi.id/assets/university-logo.png",
                    "alt": "University official crest"
                  }
                },
                "claims": {
                  "org.iso.18013.5.1.age": {
                    "path": [
                      "org.iso.18013.5.1",
                      "age"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Age"
                    },
                    "originalDisplay": [
                      {
                        "name": "Age"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "age"
                      ],
                      "display": [
                        {
                          "name": "Age"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.isVerified": {
                    "path": [
                      "org.iso.18013.5.1",
                      "isVerified"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Verified Status"
                    },
                    "originalDisplay": [
                      {
                        "name": "Verified Status"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "isVerified"
                      ],
                      "display": [
                        {
                          "name": "Verified Status"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.profileImage": {
                    "path": [
                      "org.iso.18013.5.1",
                      "profileImage"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Profile Image"
                    },
                    "originalDisplay": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "profileImage"
                      ],
                      "display": [
                        {
                          "name": "Profile Image"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.birthDate": {
                    "path": [
                      "org.iso.18013.5.1",
                      "birthDate"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Birth Date"
                    },
                    "originalDisplay": [
                      {
                        "name": "Birth Date"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "birthDate"
                      ],
                      "display": [
                        {
                          "name": "Birth Date"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Address"
                    },
                    "originalDisplay": [
                      {
                        "name": "Address"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address"
                      ],
                      "display": [
                        {
                          "name": "Address"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address.street": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address",
                      "street"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "Street"
                    },
                    "originalDisplay": [
                      {
                        "name": "Street"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "street"
                      ],
                      "display": [
                        {
                          "name": "Street"
                        }
                      ],
                      "mandatory": true
                    }
                  },
                  "org.iso.18013.5.1.address.city": {
                    "path": [
                      "org.iso.18013.5.1",
                      "address",
                      "city"
                    ],
                    "mandatory": true,
                    "labels": {
                      "default": "City"
                    },
                    "originalDisplay": [
                      {
                        "name": "City"
                      }
                    ],
                    "originalClaim": {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "city"
                      ],
                      "display": [
                        {
                          "name": "City"
                        }
                      ],
                      "mandatory": true
                    }
                  }
                }
              }
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "credentials": {
            "type": "array",
            "description": "Array of all credentials stored in the wallet.",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the stored credential."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential was stored."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent update."
                },
                "communicationProtocol": {
                  "type": "string",
                  "enum": [
                    "openid"
                  ],
                  "description": "Protocol used for credential issuance."
                },
                "credentialType": {
                  "type": "string",
                  "enum": [
                    "mso_mdoc",
                    "dc+sd-jwt",
                    "vc+sd-jwt",
                    "jwt_vc"
                  ],
                  "description": "Technical format type of the credential."
                },
                "issuer": {
                  "type": "string",
                  "description": "DID or X.509 certificate of the credential issuer."
                },
                "type": {
                  "type": "string",
                  "description": "Schema type identifier of the credential."
                },
                "name": {
                  "type": "string",
                  "description": "Human-readable name of the credential (mdoc only)."
                },
                "attributes": {
                  "type": "object",
                  "description": "Credential claim data with nested structure support."
                },
                "issuanceDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential was issued (mdoc only)."
                },
                "expirationDate": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential expires (mdoc only)."
                },
                "metadata": {
                  "type": "object",
                  "description": "Display metadata including issuer info, credential styling, and claim definitions.",
                  "properties": {
                    "issuer": {
                      "type": "object",
                      "description": "Issuer display information.",
                      "properties": {
                        "endpoint": {
                          "type": "string",
                          "format": "url",
                          "description": "OID4VCI issuer endpoint URL."
                        },
                        "name": {
                          "type": "string",
                          "description": "Display name of the issuer."
                        },
                        "logo": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the issuer logo."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the logo."
                            }
                          }
                        }
                      }
                    },
                    "credential": {
                      "type": "object",
                      "description": "Credential card display styling.",
                      "properties": {
                        "name": {
                          "type": "string",
                          "description": "Display name of the credential."
                        },
                        "description": {
                          "type": "string",
                          "description": "Description of the credential purpose."
                        },
                        "textColor": {
                          "type": "string",
                          "description": "Hex color code for credential text."
                        },
                        "backgroundImage": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the background image."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the background."
                            }
                          }
                        },
                        "logo": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string",
                              "format": "url",
                              "description": "URL of the credential logo."
                            },
                            "alt": {
                              "type": "string",
                              "description": "Alt text for the logo."
                            }
                          }
                        }
                      }
                    },
                    "claims": {
                      "type": "object",
                      "description": "Map of claim paths to their display metadata.",
                      "additionalProperties": {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "JSON path array to the claim value."
                          },
                          "mandatory": {
                            "type": "boolean",
                            "description": "Whether the claim is mandatory."
                          },
                          "labels": {
                            "type": "object",
                            "description": "Localized display labels.",
                            "properties": {
                              "default": {
                                "type": "string",
                                "description": "Default display label."
                              }
                            }
                          },
                          "originalDisplay": {
                            "type": "array",
                            "description": "Original display configuration from issuer."
                          },
                          "originalClaim": {
                            "type": "object",
                            "description": "Original claim definition from issuer."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "PreviewCredentialOfferResponse": {
        "title": "Preview Credential Offer",
        "type": "object",
        "description": "Preview metadata for a credential offer before acceptance, including display styling and claim structure.",
        "example": {
          "success": true,
          "response": {
            "credentialType": "jwt_vc_json-ld",
            "communicationProtocol": "openid",
            "attributes": {
              "fullName": "",
              "age": "",
              "isVerified": "",
              "profileImage": "",
              "dateOfBirth": "",
              "address": {
                "street": "",
                "postalCode": ""
              },
              "organization": {
                "organizationName": "",
                "department": {
                  "departmentName": "",
                  "employeeCount": ""
                }
              }
            },
            "metadata": {
              "issuer": {
                "endpoint": "https://core-agent-dev.hovi.id/agent/oid4vci/6e2816ee-fd0f-4323-a9b3-e30daaadfa52",
                "name": "eudoorg",
                "logo": {
                  "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml",
                  "alt": "Eudo Org"
                }
              },
              "credential": {
                "name": "Mango PatientID 046640",
                "description": "Patient ID Card",
                "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/eudo-org-image-1779071497589.svg%2Bxml",
                  "alt": "Eudo Org"
                }
              },
              "claims": {
                "fullName": {
                  "path": [
                    "fullName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Full Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Full Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "fullName"
                    ],
                    "display": [
                      {
                        "name": "Full Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "age": {
                  "path": [
                    "age"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Age"
                  },
                  "originalDisplay": [
                    {
                      "name": "Age"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "age"
                    ],
                    "display": [
                      {
                        "name": "Age"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "isVerified": {
                  "path": [
                    "isVerified"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Verification Status"
                  },
                  "originalDisplay": [
                    {
                      "name": "Verification Status"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "isVerified"
                    ],
                    "display": [
                      {
                        "name": "Verification Status"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "profileImage": {
                  "path": [
                    "profileImage"
                  ],
                  "mandatory": false,
                  "labels": {
                    "default": "Profile Image"
                  },
                  "originalDisplay": [
                    {
                      "name": "Profile Image"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "profileImage"
                    ],
                    "display": [
                      {
                        "name": "Profile Image"
                      }
                    ],
                    "mandatory": false
                  }
                },
                "dateOfBirth": {
                  "path": [
                    "dateOfBirth"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Date of Birth"
                  },
                  "originalDisplay": [
                    {
                      "name": "Date of Birth"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "dateOfBirth"
                    ],
                    "display": [
                      {
                        "name": "Date of Birth"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address": {
                  "path": [
                    "address"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Address Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Address Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address"
                    ],
                    "display": [
                      {
                        "name": "Address Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address.street": {
                  "path": [
                    "address",
                    "street"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Street"
                  },
                  "originalDisplay": [
                    {
                      "name": "Street"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address",
                      "street"
                    ],
                    "display": [
                      {
                        "name": "Street"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "address.postalCode": {
                  "path": [
                    "address",
                    "postalCode"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Postal Code"
                  },
                  "originalDisplay": [
                    {
                      "name": "Postal Code"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "address",
                      "postalCode"
                    ],
                    "display": [
                      {
                        "name": "Postal Code"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization": {
                  "path": [
                    "organization"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Organization Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Organization Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization"
                    ],
                    "display": [
                      {
                        "name": "Organization Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.organizationName": {
                  "path": [
                    "organization",
                    "organizationName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Organization Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Organization Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "organizationName"
                    ],
                    "display": [
                      {
                        "name": "Organization Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department": {
                  "path": [
                    "organization",
                    "department"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Department Information"
                  },
                  "originalDisplay": [
                    {
                      "name": "Department Information"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department"
                    ],
                    "display": [
                      {
                        "name": "Department Information"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department.departmentName": {
                  "path": [
                    "organization",
                    "department",
                    "departmentName"
                  ],
                  "mandatory": true,
                  "labels": {
                    "default": "Department Name"
                  },
                  "originalDisplay": [
                    {
                      "name": "Department Name"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department",
                      "departmentName"
                    ],
                    "display": [
                      {
                        "name": "Department Name"
                      }
                    ],
                    "mandatory": true
                  }
                },
                "organization.department.employeeCount": {
                  "path": [
                    "organization",
                    "department",
                    "employeeCount"
                  ],
                  "mandatory": false,
                  "labels": {
                    "default": "Employee Count"
                  },
                  "originalDisplay": [
                    {
                      "name": "Employee Count"
                    }
                  ],
                  "originalClaim": {
                    "path": [
                      "credentialSubject",
                      "organization",
                      "department",
                      "employeeCount"
                    ],
                    "display": [
                      {
                        "name": "Employee Count"
                      }
                    ],
                    "mandatory": false
                  }
                }
              }
            },
            "codeflow": "pre-authorized",
            "transactionCodeInfo": {
              "codeRequired": true,
              "length": 6,
              "description": "description about how the transaction code is sent to the holder"
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentialType": {
                "type": "string",
                "enum": [
                  "jwt_vc_json-ld",
                  "dc+sd-jwt",
                  "mso_mdoc",
                  "vc+sd-jwt"
                ],
                "description": "Technical format type of the offered credential."
              },
              "communicationProtocol": {
                "type": "string",
                "enum": [
                  "openid"
                ],
                "description": "Protocol used for credential issuance."
              },
              "attributes": {
                "type": "object",
                "description": "Empty template structure showing expected claim fields with nested object support."
              },
              "metadata": {
                "type": "object",
                "description": "Display metadata including issuer info, credential styling, and claim definitions.",
                "properties": {
                  "issuer": {
                    "type": "object",
                    "description": "Issuer display information.",
                    "properties": {
                      "endpoint": {
                        "type": "string",
                        "format": "url",
                        "description": "OID4VCI issuer endpoint URL."
                      },
                      "name": {
                        "type": "string",
                        "description": "Display name of the issuer."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the issuer logo."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the logo."
                          }
                        }
                      }
                    }
                  },
                  "credential": {
                    "type": "object",
                    "description": "Credential card display styling.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the credential."
                      },
                      "description": {
                        "type": "string",
                        "description": "Description of the credential purpose."
                      },
                      "textColor": {
                        "type": "string",
                        "description": "Hex color code for credential text."
                      },
                      "backgroundImage": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the background image."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the background."
                          }
                        }
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the credential logo."
                          },
                          "alt": {
                            "type": "string",
                            "description": "Alt text for the logo."
                          }
                        }
                      }
                    }
                  },
                  "claims": {
                    "type": "object",
                    "description": "Map of claim paths to their display metadata.",
                    "additionalProperties": {
                      "type": "object",
                      "properties": {
                        "path": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "JSON path array to the claim value."
                        },
                        "mandatory": {
                          "type": "boolean",
                          "description": "Whether the claim is mandatory."
                        },
                        "labels": {
                          "type": "object",
                          "description": "Localized display labels.",
                          "properties": {
                            "default": {
                              "type": "string",
                              "description": "Default display label."
                            }
                          }
                        },
                        "originalDisplay": {
                          "type": "array",
                          "description": "Original display configuration from issuer."
                        },
                        "originalClaim": {
                          "type": "object",
                          "description": "Original claim definition from issuer."
                        }
                      }
                    }
                  }
                }
              },
              "codeflow": {
                "type": "string",
                "enum": [
                  "pre-authorized",
                  "authorization_code"
                ],
                "description": "OID4VCI flow type for credential issuance."
              },
              "transactionCodeInfo": {
                "type": "object",
                "description": "Transaction code requirements for pre-authorized flow.",
                "properties": {
                  "codeRequired": {
                    "type": "boolean",
                    "description": "Whether a transaction code is required."
                  },
                  "length": {
                    "type": "integer",
                    "description": "Length of the transaction code."
                  },
                  "description": {
                    "type": "string",
                    "description": "Instructions on how the holder receives the transaction code."
                  }
                }
              }
            }
          }
        }
      },
      "AcceptCredentialOfferResponse": {
        "title": "Accept Credential Offer",
        "type": "object",
        "description": "",
        "example": {
          "success": true,
          "message": "Credential offer accepted successfully"
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "message": {
            "type": "string",
            "description": "Successful confirmation upon success."
          }
        }
      },
      "PreviewProofRequestResponse": {
        "title": "Preview Proof Request",
        "type": "object",
        "description": "Preview matching credentials, requested claims and selection requirements. Multiple mandatory groups are supported; each group must require all its queries or any one query. Alternative bundles within a group are not supported. Optional credential sets are excluded from selection; optional-only requests remain valid. Unsupported combinations and transaction data referencing optional queries return HTTP 400.",
        "example": {
          "success": true,
          "response": {
            "credentials": [
              {
                "credentialType": "mso_mdoc",
                "communicationProtocol": "openid",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                "type": "org.example.UniversityDegree",
                "attributes": {
                  "org.iso.18013.5.1": {
                    "family_name": "Doe"
                  },
                  "org.iso.18013.5.1.aamva": {
                    "domestic_driving_privileges": "C"
                  }
                },
                "issuanceDate": "2026-05-18T04:09:41.951Z"
              }
            ],
            "credentialsByQueryId": {
              "7d88c908-3b3f-413d-9dc5-a3a8b7905899": [
                {
                  "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01",
                  "credentialType": "mso_mdoc",
                  "attributes": {
                    "org.iso.18013.5.1": {
                      "family_name": "Doe"
                    }
                  }
                }
              ]
            },
            "credentialRequirements": [
              {
                "required": true,
                "mode": "all",
                "queryIds": [
                  "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                ]
              }
            ],
            "dcql": {
              "credential_sets": [
                {
                  "required": true,
                  "options": [
                    [
                      "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                    ]
                  ]
                }
              ],
              "credentials": [
                {
                  "id": "7d88c908-3b3f-413d-9dc5-a3a8b7905899",
                  "format": "mso_mdoc",
                  "meta": {
                    "doctype_value": "org.example.UniversityDegree"
                  },
                  "claims": [
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "age"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "isVerified"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "profileImage"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "birthDate"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "street"
                      ],
                      "intent_to_retain": false
                    },
                    {
                      "path": [
                        "org.iso.18013.5.1",
                        "address",
                        "city"
                      ],
                      "intent_to_retain": false
                    }
                  ]
                }
              ]
            },
            "transactionData": [
              {
                "entry": {
                  "transactionData": {
                    "type": "payment",
                    "payment_data": {
                      "payee": "Merchant Ltd",
                      "currency": "EUR",
                      "amount": 23.58
                    },
                    "credential_ids": [
                      "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                    ],
                    "transaction_data_hashes_alg": [
                      "sha-256"
                    ]
                  },
                  "encoded": "eyJ0eXBlIjoicGF5bWVudCIsInBheW1lbnRfZGF0YSI6ey4uLn19",
                  "transactionDataIndex": 0
                },
                "matchedCredentialIds": [
                  "7d88c908-3b3f-413d-9dc5-a3a8b7905899"
                ]
              }
            ],
            "metadata": {
              "verifier": {
                "name": "eudoorg",
                "logo": {
                  "url": "https://hovidevelopment.blob.core.windows.net/studio-assets/tenants/images/eudo-org-image-1779071497589.svg%2Bxml"
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "credentials": {
                "type": "array",
                "description": "Array of matching credentials from the wallet that satisfy the proof request.",
                "items": {
                  "type": "object",
                  "properties": {
                    "credentialType": {
                      "type": "string",
                      "enum": [
                        "mso_mdoc",
                        "dc+sd-jwt",
                        "vc+sd-jwt",
                        "jwt_vc"
                      ],
                      "description": "Technical format type of the credential."
                    },
                    "communicationProtocol": {
                      "type": "string",
                      "enum": [
                        "openid"
                      ],
                      "description": "Protocol used for credential exchange."
                    },
                    "credentialId": {
                      "type": "string",
                      "format": "uuid",
                      "description": "Unique identifier of the stored credential."
                    },
                    "type": {
                      "type": "string",
                      "description": "Schema type identifier of the credential."
                    },
                    "attributes": {
                      "type": "object",
                      "description": "Credential claim data with nested structure support."
                    },
                    "issuanceDate": {
                      "type": "string",
                      "format": "date-time",
                      "description": "ISO 8601 timestamp when the credential was issued."
                    }
                  }
                }
              },
              "credentialsByQueryId": {
                "type": "object",
                "description": "Matching credential previews grouped by query ID. Queries with no matching credentials have an empty array. Optional credential sets are excluded.",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/HolderPreviewCredential"
                  }
                }
              },
              "credentialRequirements": {
                "type": "array",
                "description": "Credential selection requirements for this request. Satisfy every returned group: all requires every query in the group, and any requires one query. Requests without credential sets require all queries. Optional credential sets are not listed; a request containing only optional sets returns an empty array. Alternative bundles within a group and transaction data referencing optional queries are not supported and return HTTP 400.",
                "items": {
                  "$ref": "#/components/schemas/HolderCredentialRequirement"
                }
              },
              "dcql": {
                "type": "object",
                "description": "DCQL (Digital Credentials Query Language) structure defining the proof request requirements.",
                "properties": {
                  "credential_sets": {
                    "type": "array",
                    "description": "Sets of credential options that can satisfy the request.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "required": {
                          "type": "boolean",
                          "description": "Whether this credential set is mandatory."
                        },
                        "options": {
                          "type": "array",
                          "description": "Array of credential ID combinations that satisfy this set.",
                          "items": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "description": "Credential query ID reference."
                            }
                          }
                        }
                      }
                    }
                  },
                  "credentials": {
                    "type": "array",
                    "description": "Detailed credential queries with format and claim requirements.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "description": "Unique identifier for this credential query."
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "mso_mdoc",
                            "dc+sd-jwt",
                            "vc+sd-jwt",
                            "jwt_vc"
                          ],
                          "description": "Required credential format."
                        },
                        "meta": {
                          "type": "object",
                          "description": "Format-specific metadata constraints.",
                          "properties": {
                            "doctype_value": {
                              "type": "string",
                              "description": "Required mdoc docType value."
                            }
                          }
                        },
                        "claims": {
                          "type": "array",
                          "description": "List of requested claims with disclosure settings.",
                          "items": {
                            "type": "object",
                            "properties": {
                              "path": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "JSON path array to the claim value."
                              },
                              "intent_to_retain": {
                                "type": "boolean",
                                "description": "Whether the verifier intends to retain this claim data."
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              },
              "transactionData": {
                "type": "array",
                "description": "Transaction details the holder is asked to approve, for example a payment. Only present when the request includes them. Show them to the holder before submitting.",
                "items": {
                  "type": "object",
                  "properties": {
                    "entry": {
                      "type": "object",
                      "properties": {
                        "transactionData": {
                          "type": "object",
                          "additionalProperties": true,
                          "description": "The transaction details to show the holder."
                        },
                        "encoded": {
                          "type": "string",
                          "description": "The same details in the form received from the verifier."
                        },
                        "transactionDataIndex": {
                          "type": "integer",
                          "example": 0,
                          "description": "Position of this item in the request."
                        }
                      }
                    },
                    "matchedCredentialIds": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Identifiers of the requested credentials used to approve this item."
                    }
                  }
                }
              },
              "metadata": {
                "type": "object",
                "description": "Display metadata about the verifier.",
                "properties": {
                  "verifier": {
                    "type": "object",
                    "description": "Verifier display information.",
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Display name of the verifier."
                      },
                      "logo": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "format": "url",
                            "description": "URL of the verifier logo."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      },
      "GetAllCredentialsResponse": {
        "title": "Get All Credentials",
        "type": "object",
        "description": "Retrieves a list of all historical credential exchange records associated with the organization.",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "22f8b749-ac18-446c-816d-b13fad91dad9",
              "state": "done",
              "credentialType": "jsonld",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F56f676c9-5636-43e8-801e-124861d07aba",
              "isRevoked": false,
              "createdAt": "2026-05-11T13:44:27.941Z",
              "updatedAt": "2026-05-11T13:44:54.825Z"
            },
            {
              "credentialExchangeId": "9efe3b8e-6efe-4b7a-8e0d-4569690dc853",
              "state": "done",
              "credentialType": "sd-jwt",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F6fc8ca1b-2df8-4635-9872-17fe4ce9b68b",
              "isRevoked": false,
              "createdAt": "2026-04-27T09:42:31.984Z",
              "updatedAt": "2026-04-27T09:42:52.739Z"
            },
            {
              "credentialExchangeId": "4c0ac093-62c6-4714-867f-3f5a3ef6665a",
              "state": "pending",
              "credentialType": "sd-jwt",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2Fa211f8f3-f195-405a-8ad1-e317a5f85abf",
              "isRevoked": false,
              "createdAt": "2026-04-27T09:42:22.926Z",
              "updatedAt": "2026-04-27T09:42:22.926Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "array",
            "description": "Array of all credential exchange records for this organization.",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for this credential exchange transaction."
                },
                "state": {
                  "type": "string",
                  "enum": [
                    "pending",
                    "done",
                    "abandoned"
                  ],
                  "description": "Current lifecycle state of the credential exchange."
                },
                "credentialType": {
                  "type": "string",
                  "enum": [
                    "jsonld",
                    "sd-jwt",
                    "mdoc"
                  ],
                  "description": "Format type of the issued credential."
                },
                "role": {
                  "type": "string",
                  "enum": [
                    "issuer",
                    "holder"
                  ],
                  "description": "Organizational role in this credential exchange."
                },
                "credentialOfferUri": {
                  "type": "string",
                  "description": "OpenID4VCI credential offer URI provided to the wallet holder."
                },
                "isRevoked": {
                  "type": "boolean",
                  "description": "Indicates whether this credential has been revoked."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp when the credential exchange was initiated."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "ISO 8601 timestamp of the most recent status update."
                },
                "message": {
                  "type": "string",
                  "description": "Optional human-readable status message."
                }
              }
            }
          }
        }
      },
      "GetCredentialResponse": {
        "title": "Get Credential",
        "type": "object",
        "description": "Retrieves the detailed status and payload of a specific credential issuance transaction (full details about one credential exchange).",
        "example": {
          "success": true,
          "response": [
            {
              "credentialExchangeId": "22f8b749-ac18-446c-816d-b13fad91dad9",
              "state": "done",
              "credentialType": "jsonld",
              "role": "issuer",
              "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F534640b3-8eb3-4246-ad64-d2904189abdf%2Foffers%2F56f676c9-5636-43e8-801e-124861d07aba",
              "isRevoked": false,
              "createdAt": "2026-05-11T13:44:27.941Z",
              "updatedAt": "2026-05-11T13:44:54.825Z"
            }
          ]
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the retrieval operation was successful (whether the credential details were retrieved without errors)."
          },
          "response": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "credentialExchangeId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Unique identifier for the credential issuance transaction (the ID of this specific credential exchange)."
                },
                "credentialOfferUri": {
                  "type": "string",
                  "description": "The OpenID4VCI credential offer URI (the URI the holder used to accept the credential)."
                },
                "state": {
                  "type": "string",
                  "description": "Current processing state of the credential exchange (the lifecycle state of this credential)."
                },
                "role": {
                  "type": "string",
                  "description": "The organizational role in the exchange (whether this organization acted as issuer or holder)."
                },
                "credentialType": {
                  "type": "string",
                  "description": "The format type of the credential (e.g., jsonld, sd-jwt, mdoc) (the technical format of the credential)."
                },
                "createdAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Creation timestamp (when this credential exchange started)."
                },
                "updatedAt": {
                  "type": "string",
                  "format": "date-time",
                  "description": "Last update timestamp (when the status of this credential last changed)."
                },
                "message": {
                  "type": "string",
                  "description": "Human-readable status message (a status message about this credential)."
                },
                "isRevoked": {
                  "type": "boolean",
                  "description": "Indicates whether this credential has been revoked."
                }
              }
            }
          }
        }
      },
      "IssueJsonLdCredentialResponse": {
        "title": "Issue JSON-LD Credential",
        "type": "object",
        "description": "Response payload returned upon initiating a W3C JSON-LD credential issuance via OID4VCI (the details after starting the credential issuance flow).",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2026-05-18T03:05:51.815Z",
            "updatedAt": "2026-05-18T03:05:51.816Z",
            "credentialExchangeId": "46236fbd-0709-471c-8365-a65e449ad1e4",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F6e2816ee-fd0f-4323-a9b3-e30daaadfa52%2Foffers%2F232d93b1-8387-466f-b006-d55cc603eee5",
            "isRevoked": false,
            "state": "pending",
            "role": "issuer",
            "credentialType": "jsonld",
            "transactionCode": "9086",
            "credentialOfferUrl": "https://studio-dev.hovi.id/credential?data=eyJ1cmkiOiJvcGVuaWQtY3JlZGVudGlhbC1vZmZlcjovLz9jcmVkZW50aWFsX29mZmVyX3VyaT1odHRwcyUzQSUyRiUyRmNvcmUtYWdlbnQtZGV2LmhvdmkuaWQlMkZhZ2VudCUyRm9pZDR2Y2klMkY2ZTI4MTZlZS1mZDBmLTQzMjMtYTliMy1lMzBkYWFhZGZhNTIlMkZvZmZlcnMlMkYyMzJkOTNiMS04Mzg3LTQ2NmYtYjAwNi1kNTVjYzYwM2VlZTUiLCJuYW1lIjoiRXVkbyBPcmciLCJpbWFnZSI6Imh0dHBzOi8vaG92aWRldmVsb3BtZW50LmJsb2IuY29yZS53aW5kb3dzLm5ldC9zdHVkaW8tYXNzZXRzL3RlbmFudHMvaW1hZ2VzL2V1ZG8tb3JnLWltYWdlLTE3NzkwNzE0OTc1ODkuc3ZnJTJCeG1sIiwiZWNvc3lzdGVtSWQiOiIwMzk5ODMzMS05NDI2LTQxYTEtOTlhNy0wOWY5ZDFhZjY4ZGMifQ=="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful (whether the credential issuance was started without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp of the issuance record (when this credential issuance started)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when the status of this issuance last changed)."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique transaction identifier for this issuance session (the ID you can use to track this credential)."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "The OID4VCI standard URI used to generate a QR code for the wallet (the URI the holder scans to receive the credential)."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether the issued credential has been subsequently revoked (whether this credential is still valid)."
              },
              "state": {
                "type": "string",
                "description": "Current status of the issuance transaction (the lifecycle state of this credential)."
              },
              "role": {
                "type": "string",
                "description": "The organizational role in the exchange (whether this organization is acting as issuer)."
              },
              "transactionCode": {
                "type": "string",
                "description": "The OIDC Pre-Authorized Code Flow transaction PIN provided to the user (the PIN the holder must enter to accept the credential)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format of the credential being issued (the technical format of the credential)."
              },
              "credentialOfferUrl": {
                "type": "string",
                "description": "Universal link wrapping the credential offer URI for better mobile handling (a deep link that can open the wallet directly)."
              }
            }
          }
        }
      },
      "IssueSdJwtCredentialResponse": {
        "title": "Issue SD-JWT Credential",
        "type": "object",
        "description": "Response payload returned upon initiating an IETF SD-JWT credential issuance via OID4VCI (the details after starting the credential issuance flow for an SD-JWT).",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2024-07-08T09:28:43.781Z",
            "updatedAt": "2024-07-08T09:28:43.782Z",
            "credentialExchangeId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
            "isRevoked": false,
            "state": "pending",
            "transactionCode": "1470",
            "role": "issuer",
            "credentialType": "sd-jwt",
            "credentialOfferUrl": "https://hovi.id/credential?data=eyJ1cm..."
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful (whether the credential issuance was started without errors)."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "Creation timestamp of the issuance record (when this credential issuance started)."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "Last update timestamp (when the status of this issuance last changed)."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique transaction identifier for this issuance session (the ID you can use to track this credential)."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "The OID4VCI standard URI used to generate a QR code for the wallet (the URI the holder scans to receive the credential)."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether the issued credential has been revoked (whether this credential is still valid)."
              },
              "state": {
                "type": "string",
                "description": "Current status of the issuance transaction (the lifecycle state of this credential)."
              },
              "transactionCode": {
                "type": "string",
                "description": "The OIDC Pre-Authorized Code Flow transaction PIN provided to the user (the PIN the holder must enter to accept the credential)."
              },
              "role": {
                "type": "string",
                "description": "The organizational role in the exchange (whether this organization is acting as issuer)."
              },
              "credentialType": {
                "type": "string",
                "description": "Format of the credential being issued (the technical format of the credential)."
              },
              "credentialOfferUrl": {
                "type": "string",
                "description": "Universal link wrapping the credential offer URI (a deep link that can open the wallet directly)."
              }
            }
          }
        }
      },
      "IssueMdocCredentialResponse": {
        "title": "Issue mdoc Credential",
        "type": "object",
        "description": "Response payload returned upon initiating an ISO/IEC 18013-5, ISO/IEC 18013-7 mdoc credential issuance via OID4VCI.",
        "example": {
          "success": true,
          "response": {
            "createdAt": "2026-05-18T03:19:00.509Z",
            "updatedAt": "2026-05-18T03:19:00.509Z",
            "credentialExchangeId": "c4d80763-2a1b-4a68-940f-1ab4b1d68173",
            "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https%3A%2F%2Fcore-agent-dev.hovi.id%2Fagent%2Foid4vci%2F6e2816ee-fd0f-4323-a9b3-e30daaadfa52%2Foffers%2Fcb938333-2581-4f28-ac37-925c6e74e190",
            "isRevoked": false,
            "state": "pending",
            "role": "issuer",
            "credentialType": "mdoc",
            "credentialOfferUrl": "https://studio-dev.hovi.id/credential?data=eyJ1cmkiOiJvcGVuaWQtY3JlZGVudGlhbC1vZmZlcjovLz9jcmVkZW50aWFsX29mZmVyX3VyaT1odHRwcyUzQSUyRiUyRmNvcmUtYWdlbnQtZGV2LmhvdmkuaWQlMkZhZ2VudCUyRm9pZDR2Y2klMkY2ZTI4MTZlZS1mZDBmLTQzMjMtYTliMy1lMzBkYWFhZGZhNTIlMkZvZmZlcnMlMkZjYjkzODMzMy0yNTgxLTRmMjgtYWMzNy05MjVjNmU3NGUxOTAiLCJuYW1lIjoiRXVkbyBPcmciLCJpbWFnZSI6Imh0dHBzOi8vaG92aWRldmVsb3BtZW50LmJsb2IuY29yZS53aW5kb3dzLm5ldC9zdHVkaW8tYXNzZXRzL3RlbmFudHMvaW1hZ2VzL2V1ZG8tb3JnLWltYWdlLTE3NzkwNzE0OTc1ODkuc3ZnJTJCeG1sIiwiZWNvc3lzdGVtSWQiOiIwMzk5ODMzMS05NDI2LTQxYTEtOTlhNy0wOWY5ZDFhZjY4ZGMifQ=="
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the issuance initiation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "createdAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp when the credential issuance was initiated."
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time",
                "description": "ISO 8601 timestamp of the most recent status update."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Unique identifier for this credential exchange transaction."
              },
              "credentialOfferUri": {
                "type": "string",
                "description": "OID4VCI credential offer URI for QR code generation."
              },
              "isRevoked": {
                "type": "boolean",
                "description": "Indicates whether this credential has been revoked."
              },
              "state": {
                "type": "string",
                "enum": [
                  "pending",
                  "done",
                  "abandoned"
                ],
                "description": "Current lifecycle state of the credential exchange."
              },
              "role": {
                "type": "string",
                "enum": [
                  "issuer",
                  "holder"
                ],
                "description": "Organizational role in this credential exchange."
              },
              "credentialType": {
                "type": "string",
                "enum": [
                  "mdoc"
                ],
                "description": "Format type of the credential being issued."
              },
              "credentialOfferUrl": {
                "type": "string",
                "format": "url",
                "description": "Universal deep link wrapping the credential offer URI."
              }
            }
          }
        }
      },
      "RevokeCredentialResponse": {
        "title": "Revoke Credential",
        "type": "object",
        "description": "\nResponse indicating successful revocation of a verifiable credential \n(confirmation that the credential can no longer be used).\n\nRevocation Mechanism:\nThis system uses the IETF Token Status List mechanism to manage credential revocation.\nInstead of deleting credentials, their status is updated in a status list which can be \nchecked by verifiers during presentation.\n\nCurrent Support:\n- Supported: SD-JWT VC credentials\n\n\nImportant:\nRevocation does not invalidate the credential structurally. Instead, verifiers must check \nthe credential status using the referenced status list to determine if it has been revoked.\n",
        "example": {
          "success": true,
          "message": "Credential revoked successfully."
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the revocation was successful (whether the credential was revoked without errors)."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation message (a message explaining the outcome of the revocation)."
          }
        }
      },
      "UpdateTemplateByVerificationTemplateId": {
        "title": "Update Verification Template Payload",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Payload for modifying an existing verification template (the data you send to update a verification rule set).",
        "example": {
          "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "name",
          "description": "description",
          "image": "https://hovi.id/image.png",
          "dataRetentionConsent": false
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
            "description": "Unique identifier of the verification template to update (the ID of the template you want to change)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "name",
            "description": "Updated display name for the verification template (the new human-readable name)."
          },
          "description": {
            "type": "string",
            "example": "description",
            "description": "Updated description defining the verification criteria (the new explanation of why this verification is needed)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/image.png",
            "description": "Updated URL for the visual mapping thumbnail (the new image shown in the dashboard for this template). \n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "UpdateCredentialTemplate": {
        "title": "Update Credential Template Payload",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Payload for updating an existing credential template configuration (the data you send to update a credential blueprint).",
        "example": {
          "credentialTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "image": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
          "dataRetentionConsent": false,
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the credential template to update (the ID of the template you want to change)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://brandslogos.com/wp-content/uploads/images/large/acme-logo.png",
            "description": "Updated URL for the visual mapping thumbnail (the new image shown in the dashboard for this template). \n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          }
        }
      },
      "DeleteCredentialTemplate": {
        "title": "Delete Credential Template",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Request payload to delete a specific credential template (the data you send to permanently remove a credential blueprint).",
        "example": {
          "credentialTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4"
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the credential template to remove (the ID of the template you want to delete)."
          }
        }
      },
      "UpdateTenantResponse": {
        "title": "Update Organization",
        "type": "object",
        "description": "Response indicating successful modification of organization details (confirmation that the tenant account settings were updated).",
        "example": {
          "success": true
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the update operation was successful (whether the organization was updated without errors)."
          }
        }
      },
      "deleteConnection": {
        "title": "Delete Connection",
        "type": "object",
        "required": [
          "connectionId"
        ],
        "description": "Request payload to terminate an established DIDComm or OID4VP session connection (the data you send to close a peer-to-peer connection).",
        "example": {
          "connectionId": "123e4567-e89b-12d3-a456-426614174000"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "123e4567-e89b-12d3-a456-426614174000",
            "description": "Unique identifier of the connection to delete (the ID of the connection you want to terminate)."
          }
        }
      },
      "AuthorizationServerConfig": {
        "type": "object",
        "required": [
          "issuer",
          "clientAuthentication"
        ],
        "description": "An external OAuth 2.0 / OpenID Connect authorization server that users sign in with during the authorization code flow. Wallets authorize with the organization, which sends the user on to this server to sign in. In the client you create at the server for the organization, register the `callbackUrl` returned by this endpoint as a redirect URI. The server must publish discovery metadata whose `issuer` exactly matches `issuer`.",
        "properties": {
          "issuer": {
            "type": "string",
            "format": "url",
            "example": "https://login.example.com",
            "description": "Issuer identifier of the authorization server, exactly as the `issuer` value in its `/.well-known/openid-configuration` (not the discovery, authorize or token URL). Must use https. Surrounding spaces are removed and the scheme and host are saved in lowercase; the path is kept as sent. Each issuer can be added to an organization only once, ignoring case and a trailing slash, and it cannot be the organization's own credential issuer URL."
          },
          "clientAuthentication": {
            "type": "object",
            "required": [
              "clientId",
              "clientSecret"
            ],
            "description": "Client credentials of the organization at the authorization server. The client secret is never returned.",
            "properties": {
              "clientId": {
                "type": "string",
                "minLength": 1,
                "example": "<client-id>",
                "description": "Client ID."
              },
              "clientSecret": {
                "type": "string",
                "minLength": 1,
                "example": "<client-secret>",
                "description": "Client secret."
              }
            }
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile",
              "email"
            ],
            "description": "Optional. Default scopes requested from the authorization server when the user signs in. They decide which user claims the server returns, in its ID token or from its userinfo endpoint, for example `profile` for `given_name` and `family_name`, or `email` for `email`. `openid` is always added. Values must not contain spaces, double quotes or backslashes. A credential offer can override them with `signInScopes`."
          },
          "walletRedirectUris": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Optional. Default wallet redirect URIs allowed for the sign-in; a wallet's `redirect_uri` must match one exactly. When omitted, any wallet redirect URI is allowed. A credential offer can override them."
          }
        }
      },
      "UpdateAuthorizationServer": {
        "type": "object",
        "description": "Set at least one field. A field that is sent replaces the current value.",
        "example": {
          "scopes": [
            "profile",
            "email"
          ]
        },
        "properties": {
          "scopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile",
              "email"
            ],
            "description": "Default scopes requested from the authorization server when the user signs in. They decide which user claims the server returns, in its ID token or from its userinfo endpoint. `openid` is always added."
          },
          "walletRedirectUris": {
            "type": "array",
            "nullable": true,
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Default wallet redirect URIs allowed for the sign-in. Send `null` to allow any wallet redirect URI."
          }
        }
      },
      "AuthorizationServer": {
        "type": "object",
        "properties": {
          "authorizationServerId": {
            "type": "string",
            "format": "uuid",
            "example": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
            "description": "Use this as `authorizationCodeflowConfig.authorizationServerId` when creating a credential offer."
          },
          "issuer": {
            "type": "string",
            "format": "url",
            "example": "https://login.example.com"
          },
          "clientId": {
            "type": "string",
            "example": "<client-id>"
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid",
              "profile",
              "email"
            ],
            "description": "Default scopes requested at sign-in."
          },
          "walletRedirectUris": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Default wallet redirect URIs. Present when set."
          },
          "callbackUrl": {
            "type": "string",
            "format": "url",
            "example": "https://agent.example.com/oid4vci/<issuer-id>/redirect",
            "description": "Register this URL as a redirect URI in the client you created at the authorization server. Sign-in fails if it is not registered."
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "description": "Present after an update."
          }
        }
      },
      "AuthorizationServerResponse": {
        "title": "Authorization Server Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "$ref": "#/components/schemas/AuthorizationServer"
          }
        }
      },
      "ListAuthorizationServersResponse": {
        "title": "List Authorization Servers Response",
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "example": true
          },
          "response": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthorizationServer"
            }
          }
        }
      },
      "AuthorizationCodeflowConfig": {
        "type": "object",
        "required": [
          "authorizationServerId"
        ],
        "description": "Required when `codeflow` is `authorization`. The user signs in with the selected authorization server before the wallet receives the credential. Template attributes marked `authorization: true` are filled from the user's sign-in (ID token, then userinfo); their names must match the claim names exactly, for example `given_name` or `email`, and the matching scopes must be requested. A required attribute that the sign-in does not return makes issuance fail after the user signs in.",
        "properties": {
          "authorizationServerId": {
            "type": "string",
            "format": "uuid",
            "example": "3f1c2a9e-7b4d-4e8a-9c1f-2d6e8b0a4c57",
            "description": "ID of one of the organization's authorization servers, from the add or list authorization server endpoints."
          },
          "issuerState": {
            "type": "string",
            "example": "<unique-value>",
            "description": "Optional. Your own value linking the sign-in to this offer. Must be unique for each offer. Generated when omitted."
          },
          "signInScopes": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "profile"
            ],
            "description": "Optional. Scopes requested from the authorization server when the user signs in, for this offer only, instead of the server's defaults. They decide which user claims the server returns, in its ID token or from its userinfo endpoint. `openid` is always added. Values must not contain spaces, double quotes or backslashes."
          },
          "offerScope": {
            "type": "string",
            "minLength": 1,
            "example": "<credential-scope>",
            "description": "Optional. Scopes put in the offer's `authorization_code` grant. Defaults to the offered credential's scope."
          },
          "walletRedirectUris": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "minLength": 1
            },
            "example": [
              "https://wallet.example.com/callback"
            ],
            "description": "Optional. Wallet redirect URIs allowed for this offer only, instead of the server's defaults."
          }
        }
      },
      "createTenant": {
        "title": "Create Organization",
        "type": "object",
        "required": [
          "name",
          "label",
          "secret",
          "imageUrl"
        ],
        "description": "Request payload to provision a new organization within the ecosystem (the data you send to create a new tenant account).",
        "example": {
          "name": "Acme Corp",
          "label": "acme-corp",
          "secret": "sk_test_51J9Z",
          "imageUrl": "https://acme-corp.com/logo.png",
          "webhooks": [
            "https://acme-corp.com/webhook1"
          ],
          "certificateSubject": {
            "commonName": "Acme Corp",
            "countryCode": "DE"
          },
          "dids": [
            {
              "did": "did:key:z6MkmVQoHFeAxy7BbtZkNbB1pucywFCGQJEHCnbLQ8FpJUa7",
              "privateKey": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd"
            }
          ]
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Acme Corp",
            "description": "The name of the organization (main display name for the tenant)."
          },
          "label": {
            "type": "string",
            "example": "acme-corp",
            "description": "A short, URL-friendly label for the organization."
          },
          "secret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "Administrative secret key used for initial organization setup and security boundary mapping (the secret used for administrative operations)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the organization logo (the image shown for this organization in the dashboard)."
          },
          "webhooks": {
            "type": "array",
            "example": [
              "https://acme-corp.com/webhook1"
            ],
            "items": {
              "type": "string",
              "format": "url",
              "example": "https://acme-corp.com/webhook1"
            },
            "description": "Initial array of webhook destination URLs to register for the organization (HTTP callback URLs that will receive event notifications)."
          },
          "dids": {
            "type": "array",
            "description": "Array of DIDs and their corresponding private keys to initialize the organization with (pre-existing DIDs you want to associate with this tenant).",
            "items": {
              "type": "object",
              "properties": {
                "did": {
                  "type": "string",
                  "example": "did:key:z6MkmVQoHFeAxy7BbtZkNbB1pucywFCGQJEHCnbLQ8FpJUa7",
                  "description": "Existing Decentralized Identifier to map to the organization (the DID you want to link to this tenant)."
                },
                "privateKey": {
                  "type": "string",
                  "example": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
                  "description": "Private cryptographic key associated with the DID for signing operations (the secret key for this DID)."
                }
              }
            }
          },
          "certificateSubject": {
            "type": "object",
            "additionalProperties": false,
            "description": "Optional. Subject of the signing certificate created for the organization, shown to wallets that check who issued or requested a credential. Invalid values are rejected with 400 before the organization is created.",
            "properties": {
              "commonName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Acme Corp",
                "description": "Name in the certificate, 1 to 64 characters without control characters."
              },
              "countryCode": {
                "type": "string",
                "minLength": 2,
                "maxLength": 2,
                "example": "DE",
                "description": "ISO 3166-1 alpha-2 country code, for example `DE` or `FI`. Lowercase is accepted and converted to uppercase. Country names are not accepted. Defaults to `FI` when omitted."
              },
              "organizationName": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Acme Corporation GmbH",
                "description": "Legal name of the organization (X.509 `O`), 1 to 64 characters without control characters."
              },
              "organizationIdentifier": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "NTRDE-HRB123456",
                "description": "Registration identifier of the organization (X.509 `organizationIdentifier`), 1 to 64 characters without control characters, in the format your trust framework requires, for example `VATDE-123456789` or `NTRDE-HRB123456`."
              },
              "organizationalUnit": {
                "type": "string",
                "minLength": 1,
                "maxLength": 64,
                "example": "Digital Identity",
                "description": "Department or unit within the organization (X.509 `OU`), 1 to 64 characters without control characters."
              }
            }
          }
        }
      },
      "createDid": {
        "title": "Create Organization DID",
        "type": "object",
        "required": [
          "method",
          "domain"
        ],
        "description": "Request payload to generate and register a new W3C Decentralized Identifier (the data you send to create a new DID for your organization).",
        "example": {
          "method": "web",
          "domain": "https://acme-corp.com",
          "privateKey": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
          "encoding": "hex",
          "did": "did:web:acme-corp.com",
          "didDocument": {
            "@context": [
              "https://www.w3.org/ns/did/v1"
            ],
            "id": "did:web:acme-corp.com",
            "verificationMethod": [
              {
                "id": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                "type": "JsonWebKey2020",
                "controller": "did:web:acme-corp.com",
                "publicKeyJwk": {
                  "kty": "EC",
                  "kid": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                  "crv": "P-256",
                  "x": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                  "y": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ"
                }
              }
            ],
            "authentication": [
              "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
            ],
            "assertionMethod": [
              "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
            ]
          }
        },
        "properties": {
          "method": {
            "type": "string",
            "example": "web",
            "description": "The standard DID method to invoke (the method used to create this decentralized identifier)."
          },
          "domain": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com",
            "description": "The web domain required to resolve the identity when using the did:web method (the domain that will host the DID document)."
          },
          "privateKey": {
            "type": "string",
            "example": "fb8a68dc8b163e903f90558b8d80f839fe1cd3919e8fc5ec7d6a59bba68dcecd",
            "description": "Optional private key to inject. If omitted, the system generates a new key pair (the secret key you want to use for this DID)."
          },
          "encoding": {
            "type": "string",
            "example": "hex",
            "description": "Encoding format for the provided private key (e.g., hex, base58) (the format of the private key you supplied)."
          },
          "did": {
            "type": "string",
            "example": "did:web:acme-corp.com",
            "description": "The precise DID string to register, overriding automatic derivation if applicable (the exact DID you want to create)."
          },
          "didDocument": {
            "type": "object",
            "description": "Custom W3C DID Document to associate with the created identity (the full public document containing verification keys).",
            "properties": {
              "@context": {
                "type": "array",
                "example": [
                  "https://www.w3.org/ns/did/v1"
                ],
                "items": {
                  "type": "string",
                  "example": "https://www.w3.org/ns/did/v1"
                },
                "description": "JSON-LD context array defining the schema data models (the semantic context for the DID document)."
              },
              "id": {
                "type": "string",
                "example": "did:web:acme-corp.com",
                "description": "The identifier ID correlating the document to the subject DID (the DID this document describes)."
              },
              "verificationMethod": {
                "type": "array",
                "description": "Array mapping the public keys available for verification operations (the public keys that can be used to verify signatures from this DID).",
                "items": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61",
                      "description": "Fragment-based sub-identifier for the specific cryptographic key (the key identifier)."
                    },
                    "type": {
                      "type": "string",
                      "example": "JsonWebKey2020",
                      "description": "The cryptographic protocol standard of the embedded key (the type of key)."
                    },
                    "controller": {
                      "type": "string",
                      "example": "did:web:acme-corp.com",
                      "description": "The DID authority that controls this verification method (the DID that owns this key)."
                    },
                    "publicKeyJwk": {
                      "type": "object",
                      "properties": {
                        "kty": {
                          "type": "string",
                          "example": "EC",
                          "description": "JSON Web Key parameter indicating key type family (the cryptographic key family)."
                        },
                        "kid": {
                          "type": "string",
                          "example": "8b1fa8ae-7db4-4a37-95db-a8642b1cf70b",
                          "description": "The JSON Web Key identifier correlating the key (the unique key identifier)."
                        },
                        "crv": {
                          "type": "string",
                          "example": "P-256",
                          "description": "The specific cryptographic curve utilized by the key (the curve used)."
                        },
                        "x": {
                          "type": "string",
                          "example": "JuccU4i7U6Gp6W3Y8FBHEbxhvsX1kcX0yuGocQxIRCI",
                          "description": "Derived X coordinate on the cryptographic curve (part of the public key)."
                        },
                        "y": {
                          "type": "string",
                          "example": "xdC77HuK3l1p85RuekMH0K7wrot2k-PEJg0JdIW9-lQ",
                          "description": "Derived Y coordinate on the cryptographic curve (part of the public key)."
                        }
                      }
                    }
                  }
                }
              },
              "authentication": {
                "type": "array",
                "example": [
                  "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                ],
                "items": {
                  "type": "string",
                  "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                },
                "description": "References to verification methods valid for authenticating the DID controller (keys that prove control of the DID)."
              },
              "assertionMethod": {
                "type": "array",
                "example": [
                  "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                ],
                "items": {
                  "type": "string",
                  "example": "did:web:acme-corp.com#zDnaeT3pw8f4Sj5iAG4A7ZdXak6oMidQm7v8C88zA5eNE5m61"
                },
                "description": "References to verification methods valid for issuing verifiable credentials (keys that can sign credentials)."
              }
            }
          }
        }
      },
      "updateTenant": {
        "title": "Update Organization",
        "type": "object",
        "description": "Request payload to modify properties of an existing organization. Send only the fields you want to change.",
        "example": {
          "label": "new label",
          "imageUrl": "https://new-acme-corp.com/new-logo.png",
          "issuerInfo": [
            {
              "format": "registration_cert",
              "data": "<signed registration certificate JWT>"
            }
          ]
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "new label",
            "description": "Updated display label for the organization."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/logo.png",
            "description": "URL pointing to the organization logo (the image shown for this organization in the dashboard)."
          },
          "issuerInfo": {
            "type": "array",
            "description": "Optional. Attestations about the organization as a credential issuer, for example a registration certificate, shown to wallets as `issuer_info` (ETSI TS 119 472-3). Replaces any issuer info sent before; send `[]` to remove it.",
            "items": {
              "type": "object",
              "required": [
                "format",
                "data"
              ],
              "additionalProperties": false,
              "properties": {
                "format": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Attestation format agreed with the wallet ecosystem, for example `registration_cert`."
                },
                "data": {
                  "description": "The attestation itself: a non-empty string, such as a signed JWT, or a JSON object.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object"
                    }
                  ]
                },
                "credentialTemplateIds": {
                  "type": "array",
                  "minItems": 1,
                  "items": {
                    "type": "string",
                    "format": "uuid"
                  },
                  "description": "Optional. IDs of this organization's credential templates that the attestation applies to. Omit it to apply the attestation to every credential the organization issues; you do not need to list them."
                }
              }
            },
            "example": [
              {
                "format": "registration_cert",
                "data": "<signed registration certificate JWT>"
              }
            ]
          }
        }
      },
      "deleteTenant": {
        "title": "Delete Organization",
        "type": "object",
        "required": [
          "organizationSecret"
        ],
        "description": "Request payload to permanently remove a organization and its data from the ecosystem (the data you send to delete a tenant account).",
        "example": {
          "organizationSecret": "sk_test_51J9Z"
        },
        "properties": {
          "organizationSecret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "The administrative secret key required to authorize the deletion of the organization (the secret needed to confirm deletion)."
          }
        }
      },
      "rotateKey": {
        "title": "Rotate Organization Key​",
        "type": "object",
        "required": [
          "accessToken",
          "organizationSecret"
        ],
        "description": "Request payload to invalidate current API tokens and issue a newly rotated access token (the data you send to refresh the authentication token for security).",
        "example": {
          "accessToken": "eyJhbGciOiJIUzI1NiJ9...",
          "organizationSecret": "sk_test_51J9Z"
        },
        "properties": {
          "accessToken": {
            "type": "string",
            "example": "eyJhbGciOiJIUzI1NiJ9...",
            "description": "The current active organizational Bearer JWT token to be revoked (the old token you want to invalidate)."
          },
          "organizationSecret": {
            "type": "string",
            "example": "sk_test_51J9Z",
            "description": "The administrative secret key required to authorize the security rotation (the secret needed to perform the rotation)."
          }
        }
      },
      "getWebhook": {
        "title": "Get Webhook",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to retrieve the details of a specific webhook subscription (the data you send to fetch information about one webhook).",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the configured webhook to fetch (the ID of the webhook you want to retrieve)."
          }
        }
      },
      "addWebhook": {
        "title": "Add 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/api-guide/business-wallet-api/webhooks)",
        "example": {
          "webhookUrl": "https://acme-corp.com/webhook1"
        },
        "properties": {
          "webhookUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/webhook1",
            "description": "Publicly accessible HTTP(S) endpoint URL that will receive Hovi event notification POST requests. Must respond with a 2xx status code within the timeout window."
          }
        }
      },
      "ResolveCredentialAuthorizationRequestResponse": {
        "title": "Resolve Credential Authorization Response",
        "type": "object",
        "description": "Returned after resolving a credential authorization request. Open `authorizationRequestUrl` to complete the OAuth authorization code flow.",
        "example": {
          "success": true,
          "response": {
            "authorizationRequestUrl": "https://auth.example.com/authorize?client_id=did%3Aweb%3Aclient.example.com&redirect_uri=https%3A%2F%2Fclient.example.com%2Fcb&request_uri=https%3A%2F%2Fissuer.example.com%2Foid4vci%2Fpar%2Fabc123"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the authorization request was resolved successfully."
          },
          "response": {
            "type": "object",
            "properties": {
              "authorizationRequestUrl": {
                "type": "string",
                "format": "url",
                "example": "https://auth.example.com/authorize?client_id=did%3Aweb%3Aclient.example.com&redirect_uri=https%3A%2F%2Fclient.example.com%2Fcb&request_uri=https%3A%2F%2Fissuer.example.com%2Foid4vci%2Fpar%2Fabc123",
                "description": "Authorization URL the wallet should open to complete the OAuth authorization code flow."
              }
            }
          }
        }
      },
      "deleteWebhook": {
        "title": "Delete Webhook",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to remove an existing webhook listener (the data you send to delete a webhook subscription).",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the webhook subscription to delete (the ID of the webhook you want to remove)."
          }
        }
      },
      "rotateWebhookSecret": {
        "title": "Rotate Webhook Secret",
        "type": "object",
        "required": [
          "webhookId"
        ],
        "description": "Request payload to rotate the signing secret for an existing webhook. A signing secret is generated automatically.",
        "example": {
          "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6"
        },
        "properties": {
          "webhookId": {
            "type": "string",
            "example": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "description": "Unique identifier of the webhook whose secret should be rotated."
          }
        }
      },
      "RotateWebhookSecretResponse": {
        "title": "Rotate Webhook Secret Response",
        "type": "object",
        "description": "Returned after successfully rotating a webhook signing secret.",
        "example": {
          "success": true,
          "response": {
            "webhookId": "b1b8b362-7937-4f97-bc91-708472a9ddd6",
            "webhookSecret": "your-new-webhook-secret"
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the operation was successful."
          },
          "response": {
            "type": "object",
            "properties": {
              "webhookId": {
                "type": "string",
                "description": "Unique identifier of the webhook."
              },
              "webhookSecret": {
                "type": "string",
                "description": "Newly generated webhook signing secret."
              }
            }
          }
        }
      },
      "createAnoncredCredentialTemplate": {
        "title": "Create Anoncred Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "tag"
        ],
        "description": "Request payload to create a new Hyperledger AnonCreds credential template (the data you send to create a credential blueprint using the AnonCreds format).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "attributes": [
            {
              "name": "fullName",
              "label": "Full Name",
              "type": "string",
              "description": "Full name of the credential holder",
              "required": true
            },
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isActive",
              "label": "Is Active",
              "type": "boolean",
              "description": "Status of the credential",
              "required": true
            },
            {
              "name": "dateOfBirth",
              "label": "Date of Birth",
              "type": "date",
              "description": "Date of birth of the credential holder",
              "required": true
            },
            {
              "name": "displayProfile",
              "label": "Display Profile",
              "type": "image",
              "description": "Display Profile of the credential",
              "required": true
            },
            {
              "name": "randomObject",
              "label": "Random Object",
              "type": "object",
              "description": "description of the attribute",
              "required": true,
              "attributes": [
                {
                  "name": "name",
                  "label": "Name",
                  "type": "string",
                  "required": true
                }
              ]
            }
          ],
          "tag": "default"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "enum": [
              "9636b597-cbe2-492a-bf92-87641729e6e4",
              "9636b597-cbe2-492a-bf92-87641726a7b4",
              "16161b67-58f5-4d29-9d29-a75036dd9862",
              "2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec",
              "402e8853-efa4-4233-9fb9-4cf2dd39830d",
              "4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987",
              "233cf3c7-5b5b-492e-9723-b35d9022f2ce"
            ],
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "The unique identifier specifying the industry or sector this credential template belongs to. Assigning a category helps organize, filter, and discover credentials across the ecosystem based on their primary use-case (e.g., categorizing a medical license under Health).\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "Visual icon or image URL associated with the template definition (the image shown in the dashboard for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CredentialAttribute"
            },
            "description": "List of credential attribute claims to include in the AnonCred schema (the data fields that will be part of credentials issued from this template)."
          },
          "tag": {
            "type": "string",
            "example": "default",
            "description": "Tag identifying the AnonCreds credential definition."
          }
        }
      },
      "createJsonLdCredentialTemplate": {
        "title": "Create JSON-LD Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "schemaType"
        ],
        "description": "Request payload to create a new W3C JSON-LD credential template for OID4VCI issuance (the data you send to create a credential blueprint using the JSON-LD format).",
        "example": {
          "name": "Patient ID",
          "version": "1.0.0",
          "description": "Patient ID Card",
          "attributes": [
            {
              "name": "fullName",
              "type": "string",
              "label": "Full Name",
              "description": "Full legal name"
            },
            {
              "name": "age",
              "type": "number",
              "label": "Age",
              "description": "Age of the user"
            },
            {
              "name": "isVerified",
              "type": "boolean",
              "label": "Verification Status",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "type": "image",
              "label": "Profile Image",
              "description": "Profile picture of the user"
            },
            {
              "name": "dateOfBirth",
              "type": "date",
              "label": "Date of Birth",
              "description": "Birth date of the user"
            },
            {
              "name": "address",
              "type": "object",
              "label": "Address Information",
              "description": "Primary address details",
              "attributes": [
                {
                  "name": "street",
                  "type": "string",
                  "label": "Street",
                  "description": "Street address"
                },
                {
                  "name": "postalCode",
                  "type": "number",
                  "label": "Postal Code",
                  "description": "ZIP or postal code"
                }
              ]
            },
            {
              "name": "organization",
              "type": "object",
              "label": "Organization Information",
              "description": "Organization related details",
              "attributes": [
                {
                  "name": "organizationName",
                  "type": "string",
                  "label": "Organization Name",
                  "description": "Name of the organization"
                },
                {
                  "name": "department",
                  "type": "object",
                  "label": "Department Information",
                  "description": "Nested department details",
                  "attributes": [
                    {
                      "name": "departmentName",
                      "type": "string",
                      "label": "Department Name",
                      "description": "Name of the department"
                    },
                    {
                      "name": "employeeCount",
                      "type": "number",
                      "label": "Employee Count",
                      "description": "Number of employees in the department"
                    }
                  ]
                }
              ]
            }
          ],
          "schemaType": "Patient_Record",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "image": "https://acme-corp.com/patient.png",
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": {
                  "type": "string",
                  "example": "university",
                  "maxLength": 50,
                  "description": "Attribute name used when supplying or requesting credential values."
                },
                "type": {
                  "type": "string",
                  "example": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "image",
                    "date",
                    "object"
                  ],
                  "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
                },
                "label": {
                  "type": "string",
                  "example": "University Name",
                  "maxLength": 100,
                  "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
                },
                "description": {
                  "type": "string",
                  "example": "Official registered name of the issuing university.",
                  "maxLength": 200,
                  "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
                },
                "required": {
                  "type": "boolean",
                  "example": true,
                  "enum": [
                    true,
                    false
                  ],
                  "default": false,
                  "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
                }
              }
            },
            "description": "List of credential attribute claims mapped to the JSON-LD schema (the data fields that will be part of credentials issued from this template)."
          },
          "schemaType": {
            "type": "string",
            "example": "Patient Record",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          }
        }
      },
      "createSdJwtCredentialTemplate": {
        "title": "Create SD-JWT Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "schemaType"
        ],
        "description": "Request payload to create a new IETF SD-JWT credential template enabling selective disclosure (the data you send to create a credential blueprint using the SD-JWT format that supports selective disclosure).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "credentialTheme": {
            "title": "credential title",
            "description": "credential description",
            "textColor": "hex color code",
            "backgroundImageUrl": "credential background image url",
            "backgroundImageAlt": "credential background image alt text",
            "logoUrl": "credential logo url",
            "logoAlt": "credential logo alt text",
            "locale": "en"
          },
          "attributes": [
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient"
            },
            {
              "name": "isVerified",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "schemaType": "Patient Record",
          "supportRevocation": true,
          "sdJwtHeader": "dc+sd-jwt"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "credentialTheme": {
            "$ref": "#/components/schemas/CredentialTheme"
          },
          "attributes": {
            "type": "array",
            "items": {
              "allOf": [
                {
                  "$ref": "#/components/schemas/CredentialAttribute"
                },
                {
                  "type": "object",
                  "properties": {
                    "disclosurable": {
                      "type": "boolean",
                      "example": true,
                      "enum": [
                        true,
                        false
                      ],
                      "default": false,
                      "description": "Indicates if this attribute supports selective disclosure (whether the holder can choose to reveal only this field)."
                    }
                  }
                }
              ]
            },
            "description": "List of credential attribute claims outlining which properties support SD-JWT disclosure masking (the data fields that support selective disclosure)."
          },
          "schemaType": {
            "type": "string",
            "example": "Patient Record",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "supportRevocation": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Flag indicating if the issued credentials require cryptographic revocation status tracking (whether revocation is enabled for credentials from this template)."
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          },
          "sdJwtHeader": {
            "type": "string",
            "example": "dc+sd-jwt",
            "enum": [
              "dc+sd-jwt",
              "vc+sd-jwt"
            ],
            "default": "dc+sd-jwt",
            "description": "The media type (`typ`) header used inside the Selective Disclosure JWT (SD-JWT). You must use `dc+sd-jwt` IETF based or `vc+sd-jwt` W3c based. This tells the system how to read the credential and its hidden claims."
          }
        }
      },
      "revokeCredential": {
        "title": "Revoke Credential",
        "type": "object",
        "required": [
          "credentialExchangeId"
        ],
        "description": "Request payload to invalidate a previously issued verifiable credential (the data you send to revoke a credential so it can no longer be used).",
        "example": {
          "credentialExchangeId": "ee9ae693-c2c8-4f4c-aeb1-0c63d2d83179"
        },
        "properties": {
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "ee9ae693-c2c8-4f4c-aeb1-0c63d2d83179",
            "description": "Unique identifier of the credential issuance transaction target for revocation (the ID of the credential you want to revoke)."
          }
        }
      },
      "createMdocCredentialTemplate": {
        "title": "Create mdoc Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "attributes",
          "docType"
        ],
        "description": "Defines an ISO/IEC 18013-5 or ISO/IEC 18013-7 mdoc credential template. Every top-level attribute must specify `namespace`. Nested attributes must not specify `namespace`.",
        "example": {
          "name": "Name of the credential",
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "version": "1.0.1",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "credentialTheme": {
            "title": "University Degree Record",
            "description": "Official proof of university graduation and degree attainment.",
            "textColor": "#ffffff",
            "backgroundColor": "#1a365d",
            "backgroundImageUrl": "https://acme-corp.com/logo.png",
            "backgroundImageAlt": "University seal watermark background",
            "logoUrl": "https://hovi.id/assets/university-logo.png",
            "logoAlt": "University official crest",
            "locale": "en-US"
          },
          "attributes": [
            {
              "name": "age",
              "namespace": "org.iso.18013.5.1",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isVerified",
              "namespace": "org.iso.18013.5.1",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "namespace": "org.iso.18013.5.1",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "namespace": "org.iso.18013.5.1",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "namespace": "org.iso.18013.5.1",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "docType": "org.example.UniversityDegree"
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Name of the credential",
            "description": "Display name identifying the credential template (the human-readable name for this template)."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "version": {
            "type": "string",
            "example": "1.0.1",
            "description": "Semantic version tag denoting the schema configuration state (the version number for this template)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the template usage (explains the purpose of this credential type)."
          },
          "credentialTheme": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CredentialTheme"
              },
              {
                "type": "object",
                "properties": {
                  "backgroundColor": {
                    "type": "string",
                    "example": "#1a365d",
                    "description": "Hex color code for the credential card background (the background color used on the credential card in wallets)."
                  }
                }
              }
            ]
          },
          "attributes": {
            "type": "array",
            "items": {
              "type": "object",
              "required": [
                "name",
                "type",
                "namespace"
              ],
              "properties": {
                "name": {
                  "type": "string",
                  "example": "university",
                  "maxLength": 50,
                  "description": "Attribute name used when supplying or requesting credential values."
                },
                "type": {
                  "type": "string",
                  "example": "string",
                  "enum": [
                    "string",
                    "number",
                    "boolean",
                    "image",
                    "date",
                    "object"
                  ],
                  "description": "Data type of the attribute (the expected format for the claim value).\n\n**Type Constraints:**\n| Type | Description |\n| :--- | :--- |\n| `string` | Plain text value |\n| `number` | Numeric value (integer or float) |\n| `boolean` | True or false value |\n| `date` | ISO 8601 date string (YYYY-MM-DD) |\n| `object` | Nested object with sub-attributes |\n| `image` | Base64-encoded image. **Supported formats:** `data:image/png;base64,<payload>`, `data:image/jpeg;base64,<payload>`. **Maximum size:** 20 KB |"
                },
                "label": {
                  "type": "string",
                  "example": "University Name",
                  "maxLength": 100,
                  "description": "Human-readable label for display in wallet UIs (the friendly name shown to end users)."
                },
                "description": {
                  "type": "string",
                  "example": "Official registered name of the issuing university.",
                  "maxLength": 200,
                  "description": "Semantic description of the attribute claim (explains the meaning and purpose of this data field)."
                },
                "required": {
                  "type": "boolean",
                  "example": true,
                  "enum": [
                    true,
                    false
                  ],
                  "default": false,
                  "description": "Indicates if this attribute is mandatory (whether the claim must be provided during issuance or verification)."
                },
                "namespace": {
                  "type": "string",
                  "example": "org.iso.18013.5.1",
                  "description": "Namespace containing this mdoc data element (for example, `org.iso.18013.5.1`). Specify it only for top-level attributes, not for nested attributes."
                }
              }
            },
            "description": "Credential claims included in the mdoc. Every top-level attribute must specify `namespace`. Nested attributes must not specify `namespace`."
          },
          "docType": {
            "type": "string",
            "example": "org.example.UniversityDegree",
            "description": "The standardized document type identifier defined by ISO/IEC 18013-5, ISO/IEC 18013-7 (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
          },
          "credentialScope": {
            "type": "string",
            "example": "eu.europa.ec.eudi.pid.1",
            "description": "Optional. Scope wallets use to request this credential, for ecosystems that define their own scope values. If omitted, one is generated from the credential type. Must not contain spaces, double quotes or backslashes, and cannot be changed after the template is created."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/CredentialTemplateDataRetentionConsent"
          }
        }
      },
      "importAnoncredCredentialTemplate": {
        "title": "Import Anoncred Template",
        "type": "object",
        "required": [
          "schemaId",
          "description",
          "tag"
        ],
        "description": "Request payload to generate a new template based on an externally referenced AnonCreds schema definition (the data you send to import an existing AnonCreds schema as a template).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "image": "https://acme-corp.com/patient.png",
          "description": "Patient ID Card",
          "tag": "default"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Grouping category identifier for the imported template (the category used to organize this template)."
          },
          "schemaId": {
            "type": "string",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "The immutable identifier of the remote AnonCreds schema artifact to resolve (the ID of the external schema you want to import)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "Visual icon or image URL associated with the template definition (the image shown in the dashboard for this template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Functional description defining the imported template usage (explains the purpose of this credential type)."
          },
          "tag": {
            "type": "string",
            "example": "default",
            "description": "Tag identifying the imported AnonCreds credential definition."
          }
        }
      },
      "importJsonLdCredentialTemplate": {
        "title": "Import JSON-LD Template",
        "type": "object",
        "required": [
          "schemaUrl"
        ],
        "description": "Request payload to generate a new template based on an external W3C JSON-LD schema URL (the data you send to import an existing JSON-LD schema as a template).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaUrl": "https://hovi.id/schemas/QmfDe5Xr8ur73L6NU8xJXZkwxkEDb6f1YZh8e4KrJo96TA",
          "image": "https://acme-corp.com/patient.png"
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "schemaUrl": {
            "type": "string",
            "format": "url",
            "example": "https://hovi.id/schemas/QmfDe5Xr8ur73L6NU8xJXZkwxkEDb6f1YZh8e4KrJo96TA",
            "description": "The external resolution URL pointing to the JSON Schema or JSON-LD context file (the URL of the schema you want to import)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the credential logo (the image shown for this credential).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          }
        }
      },
      "getTemplateByCredentialTemplateId": {
        "title": "Get Credential Template",
        "type": "object",
        "required": [
          "credentialTemplateId"
        ],
        "description": "Request payload to retrieve the detailed metadata configuration of a specific credential template (the data you send to fetch one credential blueprint).",
        "example": {
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049"
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the credential template to fetch (the ID of the template you want to retrieve)."
          }
        }
      },
      "getConnectionById": {
        "title": "Get Connection",
        "type": "object",
        "required": [
          "connectionId"
        ],
        "description": "Request payload to retrieve the status and context of a specific DIDComm or OID4VP connection (the data you send to fetch details about one peer-to-peer connection).",
        "example": {
          "connectionId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the active connection session (the ID of the connection you want to retrieve)."
          }
        }
      },
      "getConnectionsByInvitationId": {
        "title": "Get Connections By Invitation Request",
        "type": "object",
        "required": [
          "inviationId"
        ],
        "description": "Request payload to fetch all connection sessions established from a specific invitation record (the data you send to get all connections created from one invitation).",
        "example": {
          "inviationId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59"
        },
        "properties": {
          "inviationId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the outbound connection invitation (the ID of the invitation whose connections you want to list)."
          }
        }
      },
      "createConnectionInvitation": {
        "title": "Create Connection Invitation Request",
        "type": "object",
        "required": [
          "label"
        ],
        "description": "Request payload to generate a new OOB out-of-band invitation mapped for DID connection requests (the data you send to create an invitation for establishing a new peer-to-peer connection).",
        "example": {
          "label": "label",
          "alias": "name",
          "autoAcceptConnection": true,
          "multiUseInvitation": false,
          "domain": "xyz-domain.com",
          "imageUrl": "https://acme-corp.com/connection.png"
        },
        "properties": {
          "label": {
            "type": "string",
            "example": "label",
            "description": "Display label assigned to the connection request (the name shown to the other party)."
          },
          "alias": {
            "type": "string",
            "example": "name",
            "description": "Alternative alias mapping representing the initiating party (an optional friendly name for the connection)."
          },
          "autoAcceptConnection": {
            "type": "boolean",
            "example": true,
            "description": "Flag indicating whether to automatically approve inbound connection responses (whether the system should auto-accept responses)."
          },
          "multiUseInvitation": {
            "type": "boolean",
            "example": false,
            "description": "Flag indicating if the generated invitation link supports multiple unique connection sessions (whether the invitation can be used more than once)."
          },
          "domain": {
            "type": "string",
            "example": "xyz-domain.com",
            "description": "Associated domain constraint utilized for verifying DID control (the domain used to verify ownership of the DID)."
          },
          "imageUrl": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/connection.png",
            "description": "URL pointing to the visual icon linked to the connection request (the image shown with the invitation)."
          }
        }
      },
      "getCredentialById": {
        "title": "Get Credential By ID",
        "type": "object",
        "required": [
          "credentialExchangeId"
        ],
        "description": "Request payload to retrieve the execution status and payload of a single credential exchange transaction (the data you send to fetch details about one specific credential).",
        "example": {
          "credentialExchangeId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
        },
        "properties": {
          "credentialExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
            "description": "Unique identifier of the credential exchange record (the ID of the credential you want to retrieve)."
          }
        }
      },
      "issueAnoncredCredential": {
        "title": "Issue Anoncred Credential Request",
        "type": "object",
        "required": [
          "connectionId",
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to issue a new Hyperledger AnonCreds verifiable credential over an established DIDComm connection (the data you send to issue a credential using the AnonCreds format over a peer-to-peer connection).",
        "example": {
          "connectionId": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
          "credentialValues": {
            "name": "John Doe",
            "age": "30"
          },
          "comment": "This is a comment"
        },
        "properties": {
          "connectionId": {
            "type": "string",
            "format": "uuid",
            "example": "b3ec12dd-e04e-47ff-b14d-87e7ec4d5a59",
            "description": "Unique identifier of the target recipient connection session (the ID of the connection to the holder)."
          },
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the AnonCreds template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to inject into the credential payload (the actual data values for the credential)."
          },
          "comment": {
            "type": "string",
            "example": "Please provide your driver's license to verify your age.",
            "description": "An optional, custom message intended for the credential holder (DID). Provides additional context, instructions, or a specific reason for the proof request. This message may be displayed directly within the user's wallet application when they receive the request."
          }
        }
      },
      "issueJsonLdCredential": {
        "title": "Issue JSON-LD Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing a W3C JSON-LD credential (the data you send to start the issuance of a JSON-LD credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "acabc49f-b8e1-4a43-aa55-bba2e262e8ac",
          "credentialValues": {
            "fullName": "John Doe",
            "age": 30,
            "isVerified": true,
            "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
            "dateOfBirth": "1995-08-15",
            "address": {
              "street": "123 Main Street",
              "postalCode": 1207
            },
            "organization": {
              "organizationName": "Tech Corp Ltd",
              "department": {
                "departmentName": "Engineering",
                "employeeCount": 45
              }
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the JSON-LD template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to map against the JSON-LD context (the actual data values for the credential).",
            "example": {
              "fullName": "John Doe",
              "age": 30,
              "isVerified": true,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "dateOfBirth": "1995-08-15",
              "address": {
                "street": "123 Main Street",
                "postalCode": 1207
              },
              "organization": {
                "organizationName": "Tech Corp Ltd",
                "department": {
                  "departmentName": "Engineering",
                  "employeeCount": 45
                }
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt displayed to the holder defining how the code will be delivered (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueJwtVcCredential": {
        "title": "Issue JWT-VC Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing a W3C standard JWT-VC credential (the data you send to start the issuance of a JWT-VC credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "credentialValues": {
            "name": "John Doe",
            "age": "30"
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "Unique identifier of the JWT-VC template defining the credential schema (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the specific data claims to encode into the JWT payload (the actual data values for the credential).",
            "example": {
              "name": "John Doe",
              "age": "30"
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt defining how the holder should access their PIN (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueSdJwtCredential": {
        "title": "Issue SD-JWT Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Request payload to initialize the OpenID4VCI exchange sequence for issuing an IETF SD-JWT verifiable credential (the data you send to start the issuance of an SD-JWT credential using the OID4VCI protocol).",
        "example": {
          "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
          "credentialValues": {
            "age": 28,
            "isVerified": true,
            "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
            "birthDate": "1996-05-12",
            "address": {
              "street": "221B Baker Street",
              "city": "London"
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": true,
            "transactionCode": {
              "description": "description about how the transaction code is sent to the holder",
              "length": 6
            }
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the SD-JWT template defining the credential schema and masking logic (the template that defines the structure and selective disclosure rules)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Key-value pairs representing the data claims to map into the SD-JWT disclosures arrays (the actual data values for the credential).",
            "example": {
              "age": 28,
              "isVerified": true,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "birthDate": "1996-05-12",
              "address": {
                "street": "221B Baker Street",
                "city": "London"
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": true,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential)."
              },
              "transactionCode": {
                "type": "object",
                "properties": {
                  "description": {
                    "type": "string",
                    "example": "description about how the transaction code is sent to the holder",
                    "description": "Contextual prompt defining how the holder should access their PIN (the message shown to the holder about the PIN)."
                  },
                  "length": {
                    "type": "integer",
                    "example": 6,
                    "minimum": 6,
                    "maximum": 10,
                    "default": 6,
                    "description": "Numeric character length of the transaction PIN. Defaults to 6 when omitted. Must be between 6 and 10."
                  }
                }
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "issueMdocCredential": {
        "title": "Issue mdoc Credential",
        "type": "object",
        "required": [
          "credentialTemplateId",
          "credentialValues"
        ],
        "description": "Issues an ISO/IEC 18013-5 or ISO/IEC 18013-7 mdoc credential. Group `credentialValues` under the namespaces defined by the credential template.",
        "example": {
          "credentialTemplateId": "7471bb29-e875-4462-996a-69b2379a5049",
          "credentialValues": {
            "org.iso.18013.5.1": {
              "age": 35,
              "isVerified": false,
              "profileImage": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO7Zk9sAAAAASUVORK5CYII=",
              "birthDate": "1989-11-20",
              "address": {
                "street": "742 Evergreen Terrace",
                "city": "Springfield"
              }
            }
          },
          "codeflow": "pre-authorized",
          "preAuthorizedCodeflowConfig": {
            "useTransactionCode": false
          },
          "issuanceMetadata": {
            "validFrom": "2024-01-01T00:00:00.000Z",
            "validUntil": "2025-01-01T00:00:00.000Z",
            "expectedUpdate": "2024-06-01T00:00:00.000Z"
          }
        },
        "properties": {
          "credentialTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "7471bb29-e875-4462-996a-69b2379a5049",
            "description": "Unique identifier of the mdoc template defining the CBOR mapping constraints (the template that defines the structure of the credential)."
          },
          "credentialValues": {
            "type": "object",
            "description": "Claim values grouped under their corresponding namespaces from the credential template.",
            "additionalProperties": {
              "type": "object",
              "additionalProperties": true
            },
            "example": {
              "org.example.identity": {
                "fullName": "John Doe",
                "age": 35
              },
              "org.example.status": {
                "isVerified": false
              }
            }
          },
          "issuanceMetadata": {
            "type": "object",
            "description": "Optional mdoc validity settings. Omitted fields use the default values. If either validFrom or validUntil is provided, both must be provided.",
            "properties": {
              "validFrom": {
                "type": "string",
                "format": "date-time",
                "example": "2024-01-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime when the credential becomes valid. Required when validUntil is provided."
              },
              "validUntil": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime when the credential expires. Required when validFrom is provided."
              },
              "expectedUpdate": {
                "type": "string",
                "format": "date-time",
                "example": "2024-06-01T00:00:00.000Z",
                "description": "Optional ISO 8601 date or datetime indicating when the credential is expected to be updated."
              }
            }
          },
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "default": "pre-authorized",
            "description": "How the wallet gets the credential. `pre-authorized`: the wallet redeems the offer directly, optionally with a transaction code (`preAuthorizedCodeflowConfig`). `authorization`: the user first signs in with one of the organization's authorization servers. Send `authorizationCodeflowConfig.authorizationServerId` with an ID from `POST` or `GET /organization/authorization-server`; the offer is rejected with 400 when it is missing."
          },
          "preAuthorizedCodeflowConfig": {
            "type": "object",
            "properties": {
              "useTransactionCode": {
                "type": "boolean",
                "example": false,
                "enum": [
                  true,
                  false
                ],
                "default": false,
                "description": "Flag enabling an out-of-band transaction PIN requirement during wallet redemption (whether a PIN is required to accept the credential). If false `transactionCode` is not needed."
              }
            }
          },
          "authorizationCodeflowConfig": {
            "$ref": "#/components/schemas/AuthorizationCodeflowConfig"
          }
        }
      },
      "getTemplateByVerificationTemplateId": {
        "title": "Get Verification Template",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Request payload to retrieve the structural parameters of an existing DIF Presentation Exchange verification template (the data you send to fetch one verification rule set).",
        "example": {
          "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "419333f3-7f4f-419c-b8a5-0ff3941c95d5",
            "description": "Unique identifier of the verification template to fetch (the ID of the template you want to retrieve)."
          }
        }
      },
      "createJsonLdVerificationTemplate": {
        "title": "Create JSON-LD Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description",
          "requestedAttributes"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template specifying mandatory JSON-LD credential claims.",
        "example": {
          "name": "Enterprise employee verification template",
          "version": "1.0.0",
          "description": "Verification template for confirming employee identity, address, and organizational information within an enterprise system.",
          "categoryId": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
          "image": "https://enterprise.example.com/assets/employee-verification.png",
          "requestedAttributes": [
            {
              "name": "fullName",
              "type": "string",
              "label": "Full Name",
              "description": "Full legal name",
              "required": true
            },
            {
              "name": "age",
              "type": "number",
              "label": "Age",
              "description": "Age of the user",
              "required": true
            },
            {
              "name": "isVerified",
              "type": "boolean",
              "label": "Verification Status",
              "description": "Indicates whether the user is verified",
              "required": true
            },
            {
              "name": "profileImage",
              "type": "image",
              "label": "Profile Image",
              "description": "Profile picture of the user",
              "required": false
            },
            {
              "name": "dateOfBirth",
              "type": "date",
              "label": "Date of Birth",
              "description": "Birth date of the user",
              "required": true
            },
            {
              "name": "address",
              "type": "object",
              "label": "Address Information",
              "description": "Primary address details",
              "required": true,
              "attributes": [
                {
                  "name": "street",
                  "type": "string",
                  "label": "Street",
                  "description": "Street address",
                  "required": true
                },
                {
                  "name": "postalCode",
                  "type": "number",
                  "label": "Postal Code",
                  "description": "ZIP or postal code",
                  "required": true
                }
              ]
            },
            {
              "name": "organization",
              "type": "object",
              "label": "Organization Information",
              "description": "Organization related details",
              "required": true,
              "attributes": [
                {
                  "name": "organizationName",
                  "type": "string",
                  "label": "Organization Name",
                  "description": "Name of the organization",
                  "required": true
                },
                {
                  "name": "department",
                  "type": "object",
                  "label": "Department Information",
                  "description": "Nested department details",
                  "required": true,
                  "attributes": [
                    {
                      "name": "departmentName",
                      "type": "string",
                      "label": "Department Name",
                      "description": "Name of the department",
                      "required": true
                    },
                    {
                      "name": "employeeCount",
                      "type": "number",
                      "label": "Employee Count",
                      "description": "Number of employees in the department",
                      "required": false
                    }
                  ]
                }
              ]
            }
          ],
          "restrictions": {
            "credentialTemplateId": "4a3e9374-3738-4922-981d-8ada221e0b47",
            "issuerDid": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "schemaType": "age_name",
            "schemaUrl": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64"
          }
        },
        "properties": {
          "name": {
            "type": "string",
            "example": "Enterprise employee verification template",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Verification template for confirming employee identity",
            "description": "Plain-text description of the verification criteria."
          },
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "Array of specific claim fields requested from the holder. Supports nested object attributes. All requested attributes are required for verification."
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "4a3e9374-3738-4922-981d-8ada221e0b47",
                "description": "Restricts accepted credentials to those from this specific template. Each requested attribute must exist on that template."
              },
              "issuerDid": {
                "type": "string",
                "example": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaType": {
                "type": "string",
                "example": "age_name",
                "description": "Restricts accepted credentials to those with this schema type."
              },
              "schemaUrl": {
                "type": "string",
                "format": "url",
                "example": "https://maroon-additional-grouse-745.mypinata.cloud/ipfs/bafkreiejh6hozztuwgqxmd2rwfcpnsucdbae5slhpwn735nh43n7qc3j64",
                "description": "DIF Presentation Exchange constraint requiring credentials to match this schema URL."
              }
            }
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "createJwtVcVerificationTemplate": {
        "title": "Create JWT-VC Verification Template",
        "type": "object",
        "required": [
          "schemaId",
          "schemaType",
          "name",
          "description"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template mapped to consume W3C JWT-VC presentations (the data you send to create a verification rule set for JWT-VC credentials).",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "schemaId": "ceff35e7-8625-40f3-a0f3-316784593e29",
          "schemaType": "schema type",
          "name": "Patient ID",
          "description": "Patient ID Card",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "university",
              "type": "string",
              "label": "University Name",
              "description": "Official registered name of the issuing university.",
              "required": true
            }
          ]
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Grouping category identifier for the template.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "schemaId": {
            "type": "string",
            "example": "ceff35e7-8625-40f3-a0f3-316784593e29",
            "description": "Unique schema identifier constraining the acceptable inbound credential payloads (the schema that accepted credentials must match)."
          },
          "schemaType": {
            "type": "string",
            "example": "schema type",
            "description": "Logical type identifier of the credential. This value defines the semantic classification of the credential and is mapped to the appropriate type field depending on the credential format (e.g., `type` in W3C JSON-LD credentials or `vct` in SD-JWT credentials)."
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Display name identifying the verification request logic (the human-readable name for this verification template)."
          },
          "description": {
            "type": "string",
            "example": "Patient ID Card",
            "description": "Detailed statement defining the requested data bounds to the holder (explains why this verification is needed)."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL pointing to the verification template logo (the image shown for this verification template).\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "List of specific fields requested from the holder traversing the JWT proof. All requested attributes are required for verification."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          }
        }
      },
      "createSdJwtVerificationTemplate": {
        "title": "Create SD-JWT Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description"
        ],
        "description": "Request payload to create a new OpenID4VP verification template designed for extracting selectively disclosed claims from SD-JWT credentials.",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "Patient ID",
          "version": "1.0.0",
          "description": "Digital patient identity verification template used by hospitals and healthcare providers.",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "age",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient",
              "required": true
            },
            {
              "name": "isVerified",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified",
              "required": true
            },
            {
              "name": "profileImage",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user",
              "required": true
            },
            {
              "name": "birthDate",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)",
              "required": true
            },
            {
              "name": "address",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "required": true,
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string",
                  "required": true
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "limit_disclosure": true,
          "restrictions": {
            "credentialTemplateId": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
            "issuerDid": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
            "schemaType": "Patient_Record"
          }
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "Patient ID",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Digital patient identity verification template",
            "description": "Plain-text description of the verification criteria."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "Array of specific selectively disclosable claim fields requested from the holder. Supports nested object attributes. All requested attributes are required for verification."
          },
          "transactionData": {
            "type": "array",
            "description": "Optional. Transaction details the holder must approve when sharing their credential, for example a payment. Define each type once with its fields; each proof request from this template then only sends the values. Fields can be `string`, `number` or `object`. Field names may only contain letters, numbers and underscores. `defaultValue` is used when a request leaves the field out.",
            "items": {
              "type": "object",
              "required": [
                "type",
                "attributes"
              ],
              "properties": {
                "type": {
                  "type": "string",
                  "example": "payment",
                  "description": "Type of the transaction, for example `payment`. The holder's wallet must support this type."
                },
                "attributes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "required": [
                      "name",
                      "type"
                    ],
                    "properties": {
                      "name": {
                        "type": "string",
                        "example": "amount"
                      },
                      "type": {
                        "type": "string",
                        "enum": [
                          "string",
                          "number",
                          "object"
                        ]
                      },
                      "required": {
                        "type": "boolean"
                      },
                      "defaultValue": {
                        "description": "Only for `string` and `number` fields."
                      },
                      "attributes": {
                        "type": "array",
                        "description": "Fields of an `object`.",
                        "items": {
                          "type": "object"
                        }
                      }
                    }
                  }
                }
              }
            },
            "example": [
              {
                "type": "payment",
                "attributes": [
                  {
                    "name": "payment_data",
                    "type": "object",
                    "required": true,
                    "attributes": [
                      {
                        "name": "payee",
                        "type": "string",
                        "required": true
                      },
                      {
                        "name": "currency",
                        "type": "string",
                        "required": true,
                        "defaultValue": "EUR"
                      },
                      {
                        "name": "amount",
                        "type": "number",
                        "required": true
                      }
                    ]
                  }
                ]
              }
            ]
          },
          "limit_disclosure": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "DIF Presentation Exchange setting enforcing omission of unrequested SD-JWT claims."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "e6f6f78d-7f7e-4559-84a0-f0e7a1c198ce",
                "description": "Restricts accepted credentials to those from this specific template. Each requested attribute must exist on that template."
              },
              "issuerDid": {
                "type": "string",
                "example": "did:key:zDnaecidxomEyMrKHoN223nyAoAEczjGnF4awcadhmcNa7DVx",
                "description": "Restricts accepted credentials to those issued by this specific DID."
              },
              "schemaType": {
                "type": "string",
                "example": "Patient_Record",
                "description": "Restricts accepted credentials to those with this schema type."
              }
            }
          }
        }
      },
      "createMdocVerificationTemplate": {
        "title": "Create mdoc Verification Template",
        "type": "object",
        "required": [
          "name",
          "version",
          "description"
        ],
        "description": "Request payload to generate a new OpenID4VP verification template for ISO/IEC 18013-5 mdoc credentials.",
        "example": {
          "categoryId": "9636b597-cbe2-492a-bf92-87641729e6e4",
          "name": "patient-verification-template",
          "version": "1.0.0",
          "description": "Verification template for validating patient identity and healthcare registration information.",
          "image": "https://acme-corp.com/patient.png",
          "requestedAttributes": [
            {
              "name": "age",
              "namespace": "org.iso.18013.5.1",
              "label": "Age",
              "type": "number",
              "description": "Age of the patient"
            },
            {
              "name": "isVerified",
              "namespace": "org.iso.18013.5.1",
              "label": "Verified Status",
              "type": "boolean",
              "description": "Indicates whether the user is verified"
            },
            {
              "name": "profileImage",
              "namespace": "org.iso.18013.5.1",
              "label": "Profile Image",
              "type": "image",
              "description": "Profile picture of the user"
            },
            {
              "name": "birthDate",
              "namespace": "org.iso.18013.5.1",
              "label": "Birth Date",
              "type": "date",
              "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)"
            },
            {
              "name": "address",
              "namespace": "org.iso.18013.5.1",
              "label": "Address",
              "type": "object",
              "description": "Structured address information",
              "attributes": [
                {
                  "name": "street",
                  "label": "Street",
                  "type": "string"
                },
                {
                  "name": "city",
                  "label": "City",
                  "type": "string"
                }
              ]
            }
          ],
          "restrictions": {
            "docType": "org.hospital.PatientRecord"
          }
        },
        "properties": {
          "categoryId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "default": "233cf3c7-5b5b-492e-9723-b35d9022f2ce",
            "description": "Industry/sector category identifier.\n\n**Supported Categories:**\n| Category Name | Category ID |\n| :--- | :--- |\n| **Health** | `9636b597-cbe2-492a-bf92-87641729e6e4` |\n| **Finance** | `9636b597-cbe2-492a-bf92-87641726a7b4` |\n| **Education** | `16161b67-58f5-4d29-9d29-a75036dd9862` |\n| **Travel and Tourism** | `2d8cf3ec-1aaa-4f8f-a5cc-d735943a11ec` |\n| **Logistics and Supply Chain** | `402e8853-efa4-4233-9fb9-4cf2dd39830d` |\n| **Entertainment** | `4e8e6e2f-51b6-4a9c-8dc9-a4c8497e0987` |\n| **Other** | `233cf3c7-5b5b-492e-9723-b35d9022f2ce` |"
          },
          "name": {
            "type": "string",
            "example": "patient-verification-template",
            "description": "Human-readable name of the verification template."
          },
          "version": {
            "type": "string",
            "example": "1.0.0",
            "description": "Semantic version string for this template."
          },
          "description": {
            "type": "string",
            "example": "Verification template for validating patient identity",
            "description": "Plain-text description of the verification criteria."
          },
          "image": {
            "type": "string",
            "format": "url",
            "example": "https://acme-corp.com/patient.png",
            "description": "URL of the image displayed on the verification request screen.\n\n**File Requirements:**\n* **Supported Formats:** `.jpeg`, `.jpg`, `.png`, `.gif`\n* **Maximum Size:** 3 MB"
          },
          "requestedAttributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/VerificationRequestedAttribute"
            },
            "description": "CBOR data elements requested from the mdoc. Each top-level attribute specifies its namespace; nested attributes inherit that namespace and must not specify `namespace`. All listed attributes are required for verification."
          },
          "limit_disclosure": {
            "type": "boolean",
            "example": true,
            "enum": [
              true,
              false
            ],
            "default": false,
            "description": "Enforces omission of unrequested mdoc attributes."
          },
          "dataRetentionConsent": {
            "$ref": "#/components/schemas/VerificationTemplateDataRetentionConsent"
          },
          "restrictions": {
            "type": "object",
            "description": "Optional constraints to filter acceptable mdoc credentials.",
            "properties": {
              "credentialTemplateId": {
                "type": "string",
                "format": "uuid",
                "example": "28fe39c6-5b6d-4549-ae06-3d62328c801c",
                "description": "Restricts accepted credentials to those issued from this credential template."
              },
              "docType": {
                "type": "string",
                "example": "org.hospital.PatientRecord",
                "description": "ISO/IEC 18013-5 document type identifier (e.g., org.iso.18013.5.1.mDL for mobile driving licenses)."
              }
            }
          }
        }
      },
      "getProofRequestById": {
        "title": "Get Proof Request By ID",
        "type": "object",
        "required": [
          "proofExchangeId"
        ],
        "description": "Request payload to query the current execution status of a specified OID4VP proof session (the data you send to check the status of one verification request).",
        "example": {
          "proofExchangeId": "6e180746-5bd2-4b46-b891-d3b2007430e3"
        },
        "properties": {
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "example": "6e180746-5bd2-4b46-b891-d3b2007430e3",
            "description": "Unique identifier of the proof exchange session resolving the presentation payload (the ID of the verification you want to check)."
          }
        }
      },
      "getProofResponseById": {
        "title": "Get Proof Response By ID",
        "type": "object",
        "required": [
          "presentationId"
        ],
        "description": "Request payload to retrieve the explicit validation parameters of a completed verifiable presentation submission (the data you send to fetch the final result of a verification).",
        "example": {
          "presentationId": "e325b8a3-945b-47af-af5d-a3259224446b"
        },
        "properties": {
          "presentationId": {
            "type": "string",
            "format": "uuid",
            "example": "e325b8a3-945b-47af-af5d-a3259224446b",
            "description": "Unique identifier mapped to the successfully validated presentation object (the ID of the completed verification)."
          }
        }
      },
      "sendProofRequest": {
        "title": "Send Proof Request",
        "type": "object",
        "description": "Create a proof request using exactly one of the following request forms.\n\n### Single verification template\n\n- `verificationTemplateId` is required.\n- `credentialQueries` and `credentialRequirement` are not allowed.\n- Provide template transaction values through the root `transactionData` property.\n\n### Multiple verification templates (`credentialQueries`)\n\n- `credentialQueries` is required and must contain between one and twenty queries with unique IDs.\n- Root `verificationTemplateId` and root `transactionData` are not allowed.\n- Provide transaction values inside each credential query.\n- Omitting `credentialRequirement` requires all queries.\n- With `credentialRequirement.mode: all`, all queries are required and `groups` is not allowed.\n- With `credentialRequirement.mode: any`, any one query is accepted and `groups` is not allowed.\n- With `credentialRequirement.mode: group`, `groups` is required and every group must be satisfied.\n\nCredential queries are available only in OpenID ecosystems for `dc+sd-jwt` and `mso_mdoc`, including mixed formats.\n\nEither form can include `verifierInfo` to send verifier attestations, such as a registration certificate, to the wallet, and `certificateId` to sign the request with a certificate other than the default.",
        "example": {
          "credentialQueries": [
            {
              "id": "identity",
              "verificationTemplateId": "419333f3-7f4f-419c-b8a5-0ff3941c95d5"
            },
            {
              "id": "licence",
              "verificationTemplateId": "4a0c9778-8b74-4186-96ee-7b772d82ad0b"
            }
          ]
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "description": "Verification template to use for a single-template request. Cannot be combined with credentialQueries or credentialRequirement."
          },
          "credentialQueries": {
            "type": "array",
            "minItems": 1,
            "maxItems": 20,
            "description": "One to twenty credential queries with unique IDs. OpenID only; supports dc+sd-jwt and mso_mdoc templates. Use templates from the current ecosystem that your API key can access.",
            "items": {
              "type": "object",
              "required": [
                "id",
                "verificationTemplateId"
              ],
              "additionalProperties": false,
              "properties": {
                "id": {
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 128,
                  "pattern": "^[A-Za-z0-9_-]+$",
                  "description": "Unique, case-sensitive identifier for this credential query within the request."
                },
                "verificationTemplateId": {
                  "type": "string",
                  "format": "uuid",
                  "description": "Verification template defining the requested claims and restrictions for this query."
                },
                "transactionData": {
                  "type": "array",
                  "minItems": 1,
                  "description": "Required when the verification template defines transactions, and not allowed otherwise. Provide one entry for every configured transaction type. Omitted fields use the template defaults. Supported only for dc+sd-jwt. With credentialQueries, transaction-bearing queries must belong to an all requirement group; separate groups may use any.",
                  "items": {
                    "type": "object",
                    "required": [
                      "type"
                    ],
                    "properties": {
                      "type": {
                        "type": "string"
                      }
                    },
                    "additionalProperties": true
                  },
                  "example": [
                    {
                      "type": "payment",
                      "payment_data": {
                        "payee": "Merchant Ltd",
                        "amount": 23.58
                      }
                    }
                  ]
                }
              }
            }
          },
          "credentialRequirement": {
            "type": "object",
            "required": [
              "mode"
            ],
            "additionalProperties": false,
            "description": "Optional with credentialQueries. Omitting this object requires all queries. Use group to mix mandatory all and any groups. Alternative bundles and nested groups may be supported in a future release.",
            "properties": {
              "mode": {
                "type": "string",
                "enum": [
                  "all",
                  "any",
                  "group"
                ],
                "description": "all requires every query. any accepts one query. group requires every group to be satisfied by its own all or any rule. When this object is supplied, mode is required."
              },
              "groups": {
                "type": "array",
                "minItems": 1,
                "maxItems": 20,
                "description": "Required only with mode: group. Every query must belong to exactly one group, and every group must be satisfied.",
                "items": {
                  "type": "object",
                  "required": [
                    "mode",
                    "queryIds"
                  ],
                  "additionalProperties": false,
                  "properties": {
                    "mode": {
                      "type": "string",
                      "enum": [
                        "all",
                        "any"
                      ],
                      "description": "all requires every query in the group; any accepts one. Queries in any groups cannot supply transaction data or reference templates that define it, including singleton groups."
                    },
                    "queryIds": {
                      "type": "array",
                      "minItems": 1,
                      "maxItems": 20,
                      "uniqueItems": true,
                      "description": "Existing case-sensitive credential query IDs. IDs cannot repeat within or across groups, and every query must be included.",
                      "items": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 128,
                        "pattern": "^[A-Za-z0-9_-]+$"
                      }
                    }
                  }
                }
              }
            }
          },
          "transactionData": {
            "type": "array",
            "minItems": 1,
            "description": "Required when the verification template defines transactions, and not allowed otherwise. Provide one entry for every configured transaction type. Omitted fields use the template defaults. Supported only for dc+sd-jwt. With credentialQueries, transaction-bearing queries must belong to an all requirement group; separate groups may use any. When using verificationTemplateId, provide transaction values here. With credentialQueries, provide transactionData inside each query item.",
            "items": {
              "type": "object",
              "required": [
                "type"
              ],
              "properties": {
                "type": {
                  "type": "string"
                }
              },
              "additionalProperties": true
            },
            "example": [
              {
                "type": "payment",
                "payment_data": {
                  "payee": "Merchant Ltd",
                  "amount": 23.58
                }
              }
            ]
          },
          "verifierInfo": {
            "type": "array",
            "minItems": 1,
            "description": "Optional. Attestations about you as the verifier, for example a registration certificate, sent to the wallet with the request. The wallet decides how to use them, for example to show who is asking or to check that you may request the credentials. Each item applies to the whole request and contains only `format` and `data`. Available for both OpenID request forms when every requested credential is `dc+sd-jwt` or `mso_mdoc`; requests using other credential types are rejected.",
            "items": {
              "type": "object",
              "required": [
                "format",
                "data"
              ],
              "additionalProperties": false,
              "properties": {
                "format": {
                  "type": "string",
                  "minLength": 1,
                  "description": "Attestation format agreed with the wallet ecosystem, for example `registration_cert`."
                },
                "data": {
                  "description": "The attestation itself: a non-empty string, such as a signed JWT, or a JSON object.",
                  "oneOf": [
                    {
                      "type": "string",
                      "minLength": 1
                    },
                    {
                      "type": "object"
                    }
                  ]
                }
              }
            },
            "example": [
              {
                "format": "registration_cert",
                "data": "<signed registration certificate JWT>"
              }
            ]
          },
          "certificateId": {
            "type": "string",
            "format": "uuid",
            "example": "b7e2c4a1-5d3f-4e8a-9c6b-2f1d0a7e4c93",
            "description": "Optional. ID of the organization certificate that signs this proof request, as returned by List Certificates or Import Certificate. The wallet sees this certificate as the verifier. When omitted, the default certificate of the organization signs the request. Selecting a certificate does not change the default. Must be a UUID, otherwise the request is rejected with 400. The certificate must belong to the organization and be within its validity dates, and the organization must also have a valid default certificate; otherwise the request is rejected with 400 `Failed to send proof request`. Available for both OpenID request forms."
          },
          "dcApiEnabled": {
            "type": "boolean",
            "description": "Enable Digital Credentials API mode. Requires non-empty dcApiExpectedOrigins. Available for both OpenID request forms."
          },
          "dcApiExpectedOrigins": {
            "type": "array",
            "minItems": 1,
            "items": {
              "type": "string",
              "format": "uri",
              "pattern": "^https://"
            },
            "description": "HTTPS origins allowed to deliver the DC API verification response. Required when dcApiEnabled is true."
          }
        }
      },
      "VerifyDcApiVerificationResponse": {
        "title": "Verify DC API Verification Response",
        "type": "object",
        "required": [
          "verificationResponse",
          "proofExchangeId",
          "origin"
        ],
        "description": "Request payload to verify the DC API verification response for an active proof exchange. Submit the wallet response after the holder completes the verification flow, along with the proof exchange ID and origin, to validate the presentation server-side. **OpenID network only.**",
        "example": {
          "proofExchangeId": "2b8b84fe-a639-44b5-8360-a70b753c03ed",
          "origin": "https://wallet.example.com",
          "verificationResponse": {
            "response": "eyJraWQiOiJiY2U3OTVkYi03Nzg4LTQ4..."
          }
        },
        "properties": {
          "proofExchangeId": {
            "type": "string",
            "format": "uuid",
            "description": "Identifier of the proof exchange session returned when the proof request was created (same as `proofExchangeId` from send proof request)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "HTTPS origin of the caller delivering the response (must start with `https://`); used to validate the DC API / browser context."
          },
          "verificationResponse": {
            "description": "Verification response payload from the wallet (format depends on the flow; typically a JWT string or serialized response object as produced by the holder client). ",
            "type": "object",
            "properties": {
              "response": {
                "type": "string",
                "description": "Verification response payload from the wallet (format depends on the flow; typically a JWT string or serialized response object as produced by the holder client)."
              }
            }
          }
        }
      },
      "VerifyDcApiVerificationResponseResponse": {
        "title": "Verify DC API Verification Response Result",
        "type": "object",
        "description": "Result of verifying a Digital Credentials API response. A successful response includes a summary of the disclosed claims, the presentation, and validation results. The presentation and validation result fields vary by credential format.",
        "example": {
          "success": true,
          "response": {
            "parsedPresentation": {
              "credentialFormat": "dc+sd-jwt",
              "claims": {
                "family_name": "Korhonen"
              }
            },
            "presentation": {
              "7f7a3176-69a0-40e9-994c-575a00f41e2e": [
                {
                  "compact": "eyJ0eXAiOiJkYytzZC1qd3QiLCJhbGc...",
                  "claimFormat": "dc+sd-jwt",
                  "header": {
                    "typ": "dc+sd-jwt",
                    "alg": "ES256",
                    "kid": "#zDnaemoK8Ui4BpvYCNBXDCtCM7UvUiDDup7oeNctxrJ2WS8fn"
                  },
                  "prettyClaims": {
                    "vct": "urn:eudi:pid:1",
                    "family_name": "Korhonen"
                  }
                }
              ]
            },
            "presentationResult": {
              "can_be_satisfied": true,
              "credential_matches": {
                "7f7a3176-69a0-40e9-994c-575a00f41e2e": {
                  "success": true,
                  "credential_query_id": "7f7a3176-69a0-40e9-994c-575a00f41e2e",
                  "valid_credentials": [
                    {
                      "success": true,
                      "input_credential_index": 0,
                      "claims": {
                        "success": true,
                        "valid_claim_sets": [
                          {
                            "success": true,
                            "output": {
                              "family_name": "Korhonen"
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Whether the DC API verification response was accepted and verified."
          },
          "message": {
            "type": "string",
            "description": "Human-readable detail, especially when `success` is false."
          },
          "response": {
            "type": "object",
            "description": "Verification details. parsedPresentation summarizes the credential format and disclosed claims. presentation and presentationResult vary by credential format.",
            "properties": {
              "parsedPresentation": {
                "type": "object",
                "description": "Summary of the credential format and disclosed claims. Claim names depend on the requested attributes and the credential.",
                "properties": {
                  "credentialFormat": {
                    "type": "string",
                    "example": "dc+sd-jwt",
                    "description": "Credential format label (e.g. `dc+sd-jwt`, `mso_mdoc`, `jwt_vc_json`, `ldp_vc`; exact values depend on the wallet and template)."
                  },
                  "claims": {
                    "type": "object",
                    "additionalProperties": true,
                    "description": "Verified disclosed claims as key–value pairs."
                  }
                }
              },
              "presentation": {
                "type": "object",
                "description": "Wallet presentation material keyed by credential query id (DCQL id or equivalent). Each value is an array of parsed credentials; array items differ by format (SD-JWT may include `compact`, `header`, `payload`, `kbJwt`, etc.).",
                "additionalProperties": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              },
              "presentationResult": {
                "type": "object",
                "description": "Validation results for the presented credentials and requested claims. Fields vary by credential format and request type.",
                "additionalProperties": true
              }
            },
            "additionalProperties": true
          }
        }
      },
      "DeleteTemplateByVerificationTemplateId": {
        "title": "Delete Verification Template",
        "type": "object",
        "required": [
          "verificationTemplateId"
        ],
        "description": "Request payload to permanently remove an existing verification template definition (the data you send to delete a verification rule set).",
        "example": {
          "verificationTemplateId": "9636b597-cbe2-492a-bf92-87641729e6e4"
        },
        "properties": {
          "verificationTemplateId": {
            "type": "string",
            "format": "uuid",
            "example": "9636b597-cbe2-492a-bf92-87641729e6e4",
            "description": "Unique identifier of the verification template targeted for deletion (the ID of the template you want to delete)."
          }
        }
      },
      "acceptCredentialOffer": {
        "title": "Accept Credential Offer",
        "type": "object",
        "required": [
          "codeflow",
          "credentialOfferUri"
        ],
        "description": "Request payload executed by an organizational wallet to process and accept an inbound OID4VCI credential offer (the data you send from the wallet side to accept a credential offer).",
        "example": {
          "codeflow": "pre-authorized",
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
          "preAuthorizedFlowOptions": {
            "transactionCode": "1234"
          },
          "authorizationFlowOptions": {
            "code": "SplxlOBeZQQYbYS6WxSbIA"
          }
        },
        "properties": {
          "codeflow": {
            "type": "string",
            "example": "pre-authorized",
            "default": "pre-authorized",
            "enum": [
              "pre-authorized",
              "authorization"
            ],
            "description": "The selected OIDC flow, such as 'pre-authorized' or 'authorization' (the authentication flow used to accept the credential)."
          },
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string received containing the offer configuration (the offer URI you received from the issuer)."
          },
          "preAuthorizedFlowOptions": {
            "type": "object",
            "properties": {
              "transactionCode": {
                "type": "string",
                "example": "1234",
                "description": "The numeric transaction PIN optionally mapped for pre-authorized redemptions (the PIN needed to accept the credential in pre-authorized flow)."
              }
            }
          },
          "authorizationFlowOptions": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "example": "SplxlOBeZQQYbYS6WxSbIA",
                "description": "The generated authorization code appended matching the OIDC specification criteria (the authorization code received in the flow)."
              }
            }
          }
        }
      },
      "declineCredentialOffer": {
        "title": "Decline Credential Offer",
        "type": "object",
        "required": [
          "credentialOfferUri"
        ],
        "description": "Request payload to explicitly reject an inbound OpenID4VCI credential issuance offer (the data you send from the wallet side to decline a credential offer).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string corresponding to the rejected offer (the offer URI you want to decline)."
          }
        }
      },
      "deleteCredential": {
        "title": "Delete Credential",
        "type": "object",
        "required": [
          "credentialId"
        ],
        "description": "Request payload to logically delete a verifiable credential record housed within the organizational wallet (the data you send to remove a stored credential from the wallet).",
        "example": {
          "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
        },
        "properties": {
          "credentialId": {
            "type": "string",
            "format": "uuid",
            "example": "5362a21e-9aec-4f9b-b66e-fdfb96a70294",
            "description": "Unique identifier of the localized credential record designated for purge processing (the ID of the credential you want to delete)."
          }
        }
      },
      "previewCredentialOffer": {
        "title": "Preview Credential Offer",
        "type": "object",
        "required": [
          "credentialOfferUri"
        ],
        "description": "Request payload to parse and preview the metadata arrays inherent inside an unaccepted credential offer URI (the data you send to see what a credential offer contains before accepting it).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "The OpenID4VCI protocol URI string parsing the credential metadata context array (the offer URI you want to preview)."
          }
        }
      },
      "resolveCredentialAuthorizationRequest": {
        "title": "Resolve Credential Authorization",
        "type": "object",
        "required": [
          "credentialOfferUri",
          "clientId",
          "redirectUri"
        ],
        "description": "Payload to resolve an authorization request for a credential offer in the OID4VCI flow (the data you send to handle the authorization step in the credential issuance flow).",
        "example": {
          "credentialOfferUri": "openid-credential-offer://?credential_offer_uri=https...",
          "clientId": "did:web:client.example.com",
          "redirectUri": "https://client.example.com/cb",
          "scope": [
            "openid4vc:credential"
          ],
          "walletAttestationJwt": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9..."
        },
        "properties": {
          "credentialOfferUri": {
            "type": "string",
            "example": "openid-credential-offer://?credential_offer_uri=https...",
            "description": "OpenID4VCI credential offer URI (the offer URI you are resolving)."
          },
          "clientId": {
            "type": "string",
            "example": "did:web:client.example.com",
            "description": "Client identifier for the authorization server (your DID used as the client)."
          },
          "redirectUri": {
            "type": "string",
            "format": "url",
            "example": "https://client.example.com/cb",
            "description": "Redirect URI for the OAuth2 authorization callback (the callback URL for the authorization flow)."
          },
          "scope": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "example": [
              "openid4vc:credential"
            ],
            "description": "Optional OAuth scopes for the authorization request. When omitted, scopes are taken from the credential offer."
          },
          "walletAttestationJwt": {
            "type": "string",
            "example": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9...",
            "description": "Optional wallet attestation JWT presented during the authorization request."
          }
        }
      },
      "submitPresentation": {
        "title": "Submit Presentation",
        "type": "object",
        "required": [
          "proofRequestUri"
        ],
        "not": {
          "required": [
            "credentialId",
            "selectedCredentials"
          ]
        },
        "description": "Submit a presentation using credentialId for a single query, selectedCredentials for explicit query selections, or automatic credential selection when neither is provided. Use only one selection form. Multiple mandatory groups are supported; each group must require all its queries or any one query. Alternative bundles within a group are not supported. Optional credential sets are excluded; optional-only requests remain valid. Transaction data referencing an optional query and unsupported combinations return HTTP 400. Preview transaction details before submitting; transaction values come from the proof request.",
        "example": {
          "proofRequestUri": "openid4vp://?request_uri=https...",
          "selectedCredentials": [
            {
              "id": "identity",
              "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
            },
            {
              "id": "licence",
              "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
            }
          ]
        },
        "examples": [
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
          },
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "selectedCredentials": [
              {
                "id": "identity",
                "credentialId": "5362a21e-9aec-4f9b-b66e-fdfb96a70294"
              },
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          },
          {
            "proofRequestUri": "openid4vp://?request_uri=https...",
            "selectedCredentials": [
              {
                "id": "licence",
                "credentialId": "9bc4c4db-1f05-47d2-892a-3471862f1e01"
              }
            ]
          }
        ],
        "properties": {
          "proofRequestUri": {
            "type": "string",
            "description": "OpenID4VP proof request URI."
          },
          "credentialId": {
            "type": "string",
            "minLength": 1,
            "description": "Wallet credential ID for a DCQL request containing exactly one query, or for a Presentation Exchange request. Optional queries count toward the query total."
          },
          "selectedCredentials": {
            "type": "array",
            "minItems": 1,
            "items": {
              "$ref": "#/components/schemas/HolderCredentialSelection"
            },
            "description": "Choose at most one matching wallet credential for each query ID. Include every query required by an all group and one query for each any group. Your selection must satisfy every required group. Available only for OpenID requests using DCQL."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "description": "HTTPS wallet/browser origin for Digital Credentials API requests."
          }
        }
      },
      "SubmitPresentationResponse": {
        "title": "Submit Proof Presentation",
        "type": "object",
        "description": "Response confirming successful submission of a verifiable presentation to the verifier.",
        "example": {
          "success": true,
          "message": "Presentation submitted successfully",
          "response": {
            "authorizationResponse": {
              "response": "eyJraWQiOiIzZjQzM2VlNS1jYTgxLTQ5MzAtYTkxZi05YTgxYWE3MDEwMjgiLCJlbmMiOiJBMTI4R0NNIiwiYWxnIjoiRUNESC1FUyJ9..."
            }
          }
        },
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indicates if the presentation was submitted successfully."
          },
          "message": {
            "type": "string",
            "description": "Human-readable confirmation of the presentation outcome."
          },
          "response": {
            "type": "object",
            "description": "Present for OpenID4VP holder submit. Contains the authorization response produced for the verifier.",
            "properties": {
              "authorizationResponse": {
                "type": "object",
                "description": "OpenID4VP authorization response to return to the verifier. Shape depends on response mode (for example `{ response: \"<jwt>\" }` for encrypted JARM, or a `vp_token` payload for unencrypted flows)."
              }
            }
          }
        }
      },
      "previewProofRequest": {
        "title": "Preview Proof Request",
        "type": "object",
        "required": [
          "proofRequestUri"
        ],
        "description": "Request payload to preview an OpenID4VP proof request without submitting a response (the data you send to see what a verification request contains before responding).",
        "example": {
          "proofRequestUri": "openid4vp://?request_uri=https...",
          "origin": "https://wallet.example.com"
        },
        "properties": {
          "proofRequestUri": {
            "type": "string",
            "example": "openid4vp://?request_uri=https...",
            "description": "The raw OpenID4VP URI string that contains the presentation request payload (the verification request URI you want to preview)."
          },
          "origin": {
            "type": "string",
            "format": "uri",
            "pattern": "^https://",
            "example": "https://wallet.example.com",
            "description": "Optional HTTPS origin of the wallet/browser context for **Digital Credentials API** (`dc_api` / `dc_api.jwt`) proof requests. Must start with `https://`."
          }
        }
      },
      "OpenIdIssuanceCompletedWebhook": {
        "title": "Credential Issued Webhook",
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "openid-issuance-session",
            "description": "Identifies an EU Digital Identity credential issuance session event."
          },
          "payload": {
            "type": "object",
            "required": [
              "tenantId",
              "credentialExchangeId",
              "agentState",
              "state",
              "message",
              "createdAt",
              "updatedAt"
            ],
            "properties": {
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "Issuer organization that receives this webhook."
              },
              "credentialExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Credential issuance exchange identifier."
              },
              "agentState": {
                "type": "string",
                "example": "Completed",
                "description": "Final issuance state reported by the agent."
              },
              "state": {
                "type": "string",
                "example": "done",
                "description": "Normalized issuance exchange state."
              },
              "message": {
                "type": "string",
                "example": "Credential has been successfully issued."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              }
            }
          }
        }
      },
      "OpenIdVerificationCompletedWebhook": {
        "title": "Presentation Verified Webhook",
        "type": "object",
        "required": [
          "type",
          "payload"
        ],
        "properties": {
          "type": {
            "type": "string",
            "const": "openid-verification-session",
            "description": "Identifies an EU Digital Identity presentation verification session event."
          },
          "payload": {
            "type": "object",
            "required": [
              "tenantId",
              "proofExchangeId",
              "agentState",
              "state",
              "message",
              "isVerified",
              "createdAt",
              "updatedAt",
              "verifiedData"
            ],
            "properties": {
              "tenantId": {
                "type": "string",
                "format": "uuid",
                "description": "Verifier organization that receives this webhook."
              },
              "proofExchangeId": {
                "type": "string",
                "format": "uuid",
                "description": "Proof verification exchange identifier."
              },
              "agentState": {
                "type": "string",
                "example": "ResponseVerified"
              },
              "state": {
                "type": "string",
                "example": "done"
              },
              "message": {
                "type": "string",
                "example": "Presentation has been verified successfully."
              },
              "isVerified": {
                "type": "boolean",
                "example": true
              },
              "hasTransactionData": {
                "type": "boolean",
                "example": false,
                "description": "Whether this request asked the holder to approve transaction details."
              },
              "createdAt": {
                "type": "string",
                "format": "date-time"
              },
              "updatedAt": {
                "type": "string",
                "format": "date-time"
              },
              "verifiedData": {
                "type": "object",
                "required": [
                  "credentialFormat",
                  "claims"
                ],
                "description": "Verified credential data. Claims and issuer evidence vary by credential format; see the named examples.",
                "properties": {
                  "credentialFormat": {
                    "type": "string",
                    "enum": [
                      "jwt_vc_json",
                      "dc+sd-jwt",
                      "vc+sd-jwt",
                      "mso_mdoc"
                    ],
                    "description": "credentialFormat identifies the verified credential format in the webhook payload. Values map to user-facing formats as: jwt_vc_json = JSON-LD, dc+sd-jwt = SD-JWT (DC), vc+sd-jwt = SD-JWT (VC), mso_mdoc = mDoc."
                  },
                  "claims": {
                    "type": "object",
                    "additionalProperties": true
                  },
                  "issuer": {
                    "type": "string"
                  },
                  "x5c": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "additionalProperties": true
              }
            }
          }
        }
      }
    }
  },
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "webhooks": {
    "open-id-issuance-completed": {
      "post": {
        "tags": [
          "Webhook Events"
        ],
        "operationId": "openIdIssuanceCompletedWebhook",
        "summary": "Credential Issued",
        "description": "Sent to the issuer organization after the holder accepts an offer and the credential is successfully issued. The payload envelope is shared by mDoc, SD-JWT (DC), SD-JWT (VC), and JSON-LD credentials.",
        "parameters": [
          {
            "name": "x-webhook-signature",
            "in": "header",
            "description": "HMAC signature used to verify that this webhook was sent by Hovi.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "sha256=9d8f1f2f7f4e4b28d52c1b2a1fb7d39a"
          },
          {
            "name": "x-webhook-timestamp",
            "in": "header",
            "description": "Unix timestamp included when calculating and verifying the webhook signature.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1786707084"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The JSON event Hovi sends to the registered webhook URL.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenIdIssuanceCompletedWebhook"
              },
              "examples": {
                "credentialIssued": {
                  "summary": "Credential successfully issued",
                  "value": {
                    "type": "openid-issuance-session",
                    "payload": {
                      "tenantId": "01613f86-789e-403e-ba8e-de0f37fa68ee",
                      "credentialExchangeId": "f395835f-4e71-4065-8cd2-bee675109c62",
                      "agentState": "Completed",
                      "state": "done",
                      "message": "Credential has been successfully issued.",
                      "createdAt": "2026-08-14T06:15:45.499Z",
                      "updatedAt": "2026-08-14T06:37:28.086Z"
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Webhook acknowledged successfully by the receiver. No response body is required."
          }
        }
      }
    },
    "open-id-presentation-verified": {
      "post": {
        "tags": [
          "Webhook Events"
        ],
        "operationId": "openIdPresentationVerifiedWebhook",
        "summary": "Presentation Verified",
        "description": "Sent to the verifier organization after the holder submits a presentation and verification completes. The verifiedData structure varies for JSON-LD, SD-JWT (DC), SD-JWT (VC), and mDoc credentials.",
        "parameters": [
          {
            "name": "x-webhook-signature",
            "in": "header",
            "description": "HMAC signature used to verify that this webhook was sent by Hovi.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "sha256=9d8f1f2f7f4e4b28d52c1b2a1fb7d39a"
          },
          {
            "name": "x-webhook-timestamp",
            "in": "header",
            "description": "Unix timestamp included when calculating and verifying the webhook signature.",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "1786707084"
          }
        ],
        "requestBody": {
          "required": true,
          "description": "The JSON event Hovi sends to the registered webhook URL.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OpenIdVerificationCompletedWebhook"
              },
              "examples": {
                "jsonLd": {
                  "summary": "JSON-LD presentation verified",
                  "value": {
                    "type": "openid-verification-session",
                    "payload": {
                      "tenantId": "01613f86-789e-403e-ba8e-de0f37fa68ee",
                      "proofExchangeId": "cbca20aa-06e7-4908-8180-8b968f09f140",
                      "agentState": "ResponseVerified",
                      "state": "done",
                      "message": "Presentation has been verified successfully.",
                      "isVerified": true,
                      "createdAt": "2026-08-14T08:44:15.017Z",
                      "updatedAt": "2026-08-14T08:44:35.095Z",
                      "verifiedData": {
                        "credentialFormat": "jwt_vc_json",
                        "claims": {
                          "@context": [
                            "https://www.w3.org/2018/credentials/v1",
                            "https://example.com/credential-context"
                          ],
                          "type": [
                            "VerifiableCredential",
                            "json.ld"
                          ],
                          "credentialSubject": {
                            "name": "Example Holder"
                          },
                          "credentialSchema": {
                            "id": "https://example.com/credential-schema",
                            "type": "JsonSchema2023"
                          }
                        },
                        "issuer": "did:key:zDnaeeFnf6iKYHCMJdtLFDuVwLfzmjfYHczymN6avD225XvFo"
                      }
                    }
                  }
                },
                "sdJwtDc": {
                  "summary": "SD-JWT (DC) presentation verified",
                  "value": {
                    "type": "openid-verification-session",
                    "payload": {
                      "tenantId": "01613f86-789e-403e-ba8e-de0f37fa68ee",
                      "proofExchangeId": "5141a8cd-69b8-4e4b-b05f-e4afc876f8f9",
                      "agentState": "ResponseVerified",
                      "state": "done",
                      "message": "Presentation has been verified successfully.",
                      "isVerified": true,
                      "createdAt": "2026-08-14T08:50:03.272Z",
                      "updatedAt": "2026-08-14T08:50:12.405Z",
                      "verifiedData": {
                        "credentialFormat": "dc+sd-jwt",
                        "claims": {
                          "iss": "did:key:zDnaeeFnf6iKYHCMJdtLFDuVwLfzmjfYHczymN6avD225XvFo",
                          "name": "Example Holder"
                        },
                        "issuer": "did:key:zDnaeeFnf6iKYHCMJdtLFDuVwLfzmjfYHczymN6avD225XvFo"
                      }
                    }
                  }
                },
                "sdJwtVc": {
                  "summary": "SD-JWT (VC) presentation verified",
                  "value": {
                    "type": "openid-verification-session",
                    "payload": {
                      "tenantId": "01613f86-789e-403e-ba8e-de0f37fa68ee",
                      "proofExchangeId": "a829507e-02b9-4daf-8456-6334bd53d358",
                      "agentState": "ResponseVerified",
                      "state": "done",
                      "message": "Presentation has been verified successfully.",
                      "isVerified": true,
                      "createdAt": "2026-08-14T08:50:29.255Z",
                      "updatedAt": "2026-08-14T08:50:43.137Z",
                      "verifiedData": {
                        "credentialFormat": "vc+sd-jwt",
                        "claims": {
                          "@context": [
                            "https://www.w3.org/ns/credentials/v2"
                          ],
                          "type": [
                            "VerifiableCredential",
                            "sd.jwt.vc"
                          ],
                          "issuer": {
                            "id": "did:key:zDnaeeFnf6iKYHCMJdtLFDuVwLfzmjfYHczymN6avD225XvFo"
                          },
                          "credentialSubject": {
                            "id": "did:jwk:example-holder-did",
                            "name": "Example Holder"
                          },
                          "iat": 1786697278,
                          "cnf": {
                            "kid": "did:jwk:example-holder-did#0"
                          }
                        }
                      }
                    }
                  }
                },
                "mdoc": {
                  "summary": "mDoc presentation verified",
                  "value": {
                    "type": "openid-verification-session",
                    "payload": {
                      "tenantId": "01613f86-789e-403e-ba8e-de0f37fa68ee",
                      "proofExchangeId": "15e55ee9-6792-452b-95cc-388fc004a3fb",
                      "agentState": "ResponseVerified",
                      "state": "done",
                      "message": "Presentation has been verified successfully.",
                      "isVerified": true,
                      "createdAt": "2026-08-14T06:52:39.035Z",
                      "updatedAt": "2026-08-14T06:57:02.159Z",
                      "verifiedData": {
                        "credentialFormat": "mso_mdoc",
                        "claims": {
                          "org.example.identity": {
                            "name": "Example Holder"
                          }
                        },
                        "issuer": "https://test-core-agent.hovi.id",
                        "x5c": [
                          "-----BEGIN CERTIFICATE-----\n<issuer-certificate>\n-----END CERTIFICATE-----"
                        ]
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "2XX": {
            "description": "Webhook acknowledged successfully by the receiver. No response body is required."
          }
        }
      }
    }
  }
}