{
  "swagger": "2.0",
  "info": {
    "version": "v1",
    "title": "Lacuna.RestPki.Site"
  },
  "host": "pki.rest",
  "schemes": [
    "https"
  ],
  "paths": {
    "/Api/Account/UserInfo": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetUserInfo",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/UserInfoViewModel"
            }
          }
        }
      }
    },
    "/Api/Account/Logout": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_Logout",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/ManageInfo": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetManageInfo",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "returnUrl",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "generateState",
            "in": "query",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/ManageInfoViewModel"
            }
          }
        }
      }
    },
    "/Api/Account/ChangePassword": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_ChangePassword",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/ChangePasswordBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/SetPassword": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_SetPassword",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SetPasswordBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/AddExternalLogin": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_AddExternalLogin",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AddExternalLoginBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/RemoveLogin": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_RemoveLogin",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RemoveLoginBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/ExternalLogin": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetExternalLogin",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "provider",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "error",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/LongTermToken": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetLongTermToken",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/GetLongTermTokenResponse"
            }
          }
        }
      }
    },
    "/Api/Account/Tokens": {
      "delete": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_RevokeTokens",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/Settings": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetSettings",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AccountSettingsModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_UpdateSettings",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AccountSettingsData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AccountSettingsModel"
            }
          }
        }
      }
    },
    "/Api/Account/Settings/{id}": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetSettings",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AccountSettingsModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_UpdateSettings",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AccountSettingsData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AccountSettingsModel"
            }
          }
        }
      }
    },
    "/Api/Account/RegionAndTime": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetRegionAndTime",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_UpdateRegionAndTime",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegionAndTimeData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      }
    },
    "/Api/Account/RegionAndTime/{id}": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetRegionAndTime",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_UpdateRegionAndTime",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegionAndTimeData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      }
    },
    "/Api/Account/ExternalLogins": {
      "get": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_GetExternalLogins",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "returnUrl",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "generateState",
            "in": "query",
            "required": false,
            "type": "boolean"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ExternalLoginViewModel"
              }
            }
          }
        }
      }
    },
    "/Api/Account/Register": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_Register",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegisterBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Account/RegisterExternal": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_RegisterExternal",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "model",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegisterExternalBindingModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/Account": {
      "post": {
        "tags": [
          "Account"
        ],
        "operationId": "Account_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/SystemStatus": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetSystemStatus",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SystemStatusModel"
            }
          }
        }
      }
    },
    "/Api/Admin/LogTest/{level}": {
      "post": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_LogTest",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "level",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Admin/SystemCertificates": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_ListCertificates",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CertificateSummary"
              }
            }
          }
        }
      }
    },
    "/Api/Admin/RegionAndTime": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetRegionAndTime",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_UpdateRegionAndTime",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/RegionAndTimeData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RegionAndTimeModel"
            }
          }
        }
      }
    },
    "/Api/Admin/HangfireTicket": {
      "get": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_GetHangfireDashboardTicket",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/Admin": {
      "post": {
        "tags": [
          "Admin"
        ],
        "operationId": "Admin_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/Alerts": {
      "get": {
        "tags": [
          "Alerts"
        ],
        "operationId": "Alerts_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/AlertModel"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Alerts"
        ],
        "operationId": "Alerts_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Authentications": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AuthenticationsPostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AuthenticationsPostResponse"
            }
          }
        }
      }
    },
    "/Api/Authentications/{tokenValue}/SignedBytes": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_PostSignedBytes",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "tokenValue",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AuthenticationsPostSignedBytesRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AuthenticationsPostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/Authentications/{tokenValue}/Finalize": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_Finalize",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "tokenValue",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AuthenticationsPostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/Authentication": {
      "get": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_LegacyGet",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AuthenticationGetResponse"
            }
          }
        }
      },
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_LegacyPost",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/AuthenticationPostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/AuthenticationPostResponse"
            }
          }
        }
      }
    },
    "/api/Authentication": {
      "post": {
        "tags": [
          "Authentication"
        ],
        "operationId": "Authentication_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/api/BaseApi": {
      "post": {
        "tags": [
          "BaseApi"
        ],
        "operationId": "BaseApi_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Billing": {
      "get": {
        "tags": [
          "Billing"
        ],
        "operationId": "Billing_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/BillingSummary"
              }
            }
          }
        }
      }
    },
    "/api/Billing": {
      "post": {
        "tags": [
          "Billing"
        ],
        "operationId": "Billing_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/CadesSignatures": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostRequestV1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/v2/CadesSignatures": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostRequestV2"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/v3/CadesSignatures": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostRequestV3"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/CadesSignatures/{token}/SignedBytes": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_PostSignedBytes",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostSignedBytesRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/CadesSignatures/{token}/Finalize": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_Finalize",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/v2/CadesSignatures/{token}/SignedBytes": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_CompleteV2",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CompleteSignatureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SignatureResultModel"
            }
          }
        }
      }
    },
    "/Api/CadesSignatures/RequiredHashes": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_QueryDigestAlgorithms",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "file",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/FileModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "enum": [
                  "MD5",
                  "SHA1",
                  "SHA256",
                  "SHA384",
                  "SHA512",
                  "SHA3_256"
                ],
                "type": "string"
              }
            }
          }
        }
      }
    },
    "/Api/CadesSignatures/Open": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_OpenSignature",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OpenCadesSignatureRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CadesSignatureModel"
            }
          }
        }
      }
    },
    "/api/CadesSignature": {
      "post": {
        "tags": [
          "CadesSignature"
        ],
        "operationId": "CadesSignature_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Certificates/Open": {
      "post": {
        "tags": [
          "Certificate"
        ],
        "operationId": "Certificate_Index",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OpenCertificateRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/OpenCertificateResponse"
            }
          }
        }
      }
    },
    "/api/Certificate": {
      "post": {
        "tags": [
          "Certificate"
        ],
        "operationId": "Certificate_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/CertificateStore": {
      "get": {
        "tags": [
          "CertificateStore"
        ],
        "operationId": "CertificateStore_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "post": {
        "tags": [
          "CertificateStore"
        ],
        "operationId": "CertificateStore_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Events": {
      "get": {
        "tags": [
          "Event"
        ],
        "operationId": "Event_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request.startDate",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "request.endDate",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "request.operations",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AccessTokenGenerated",
                "AccessTokensRevoked",
                "CertAuthStarted",
                "CertAuthCompleted",
                "PadesSignatureStarted",
                "PadesSignatureCompleted",
                "CadesSignatureStarted",
                "CadesSignatureCompleted",
                "XmlSignatureStarted",
                "XmlSignatureCompleted",
                "OpenSignature",
                "IssueTimestamp",
                "AddPdfMarks",
                "GetPendingSignature",
                "SetPendingSignature"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "pagination.pageIndex",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.pageSize",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.sortDirection",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "Descending",
              "Ascending"
            ]
          },
          {
            "name": "pagination.sortField",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PaginatedList[EventSummary]"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Events": {
      "get": {
        "tags": [
          "Event"
        ],
        "operationId": "Event_ListOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request.startDate",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "request.endDate",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "date-time"
          },
          {
            "name": "request.operations",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "AccessTokenGenerated",
                "AccessTokensRevoked",
                "CertAuthStarted",
                "CertAuthCompleted",
                "PadesSignatureStarted",
                "PadesSignatureCompleted",
                "CadesSignatureStarted",
                "CadesSignatureCompleted",
                "XmlSignatureStarted",
                "XmlSignatureCompleted",
                "OpenSignature",
                "IssueTimestamp",
                "AddPdfMarks",
                "GetPendingSignature",
                "SetPendingSignature"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "pagination.pageIndex",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.pageSize",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.sortDirection",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "Descending",
              "Ascending"
            ]
          },
          {
            "name": "pagination.sortField",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EventSummary"
              }
            }
          }
        }
      }
    },
    "/Api/Events/{id}": {
      "get": {
        "tags": [
          "Event"
        ],
        "operationId": "Event_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/EventModel"
            }
          }
        }
      }
    },
    "/api/Event": {
      "post": {
        "tags": [
          "Event"
        ],
        "operationId": "Event_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/IntermediateCAs": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CertificateSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_Post",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/IntermediateCAs": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_ListOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CertificateSummary"
              }
            }
          }
        }
      }
    },
    "/Api/Admin/IntermediateCAs": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_ListSystem",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CertificateSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_PostSystem",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      }
    },
    "/Api/IntermediateCAs/{thumbprint}": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/IntermediateCAs/{thumbprint}/DownloadLink": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_GetDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/IntermediateCAs/{thumbprint}/Content": {
      "get": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_Download",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/{id}/IntermediateCAs": {
      "post": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_PostUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      }
    },
    "/Api/Admin/IntermediateCAs/{thumbprint}": {
      "delete": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_DeleteSystem",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/IntermediateCA": {
      "post": {
        "tags": [
          "IntermediateCA"
        ],
        "operationId": "IntermediateCA_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Users/{userId}/Invoices": {
      "post": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/InvoicePostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/InvoiceModel"
            }
          }
        }
      }
    },
    "/Api/v2/Users/{userId}/Invoices": {
      "post": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_PostV2",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/InvoicePostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/InvoicePostResponse"
            }
          }
        }
      }
    },
    "/Api/Invoices/{id}": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/InvoiceModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Invoices": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/InvoiceSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Invoices": {
      "get": {
        "tags": [
          "Invoice"
        ],
        "operationId": "Invoice_ListOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/InvoiceSummary"
              }
            }
          }
        }
      }
    },
    "/Api/PadesSignatures": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostRequestV1"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/v2/PadesSignatures": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostRequestV2"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/PadesSignatures/{token}/SignedBytes": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_Complete",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostSignedBytesRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/PadesSignatures/{token}/Finalize": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_Finalize",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/v2/PadesSignatures/{token}/SignedBytes": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_CompleteV2",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CompleteSignatureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SignatureResultModel"
            }
          }
        }
      }
    },
    "/Api/PadesSignatures/Open": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_OpenSignature",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OpenSignatureRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesSignatureModel"
            }
          }
        }
      }
    },
    "/api/PadesSignature": {
      "post": {
        "tags": [
          "PadesSignature"
        ],
        "operationId": "PadesSignature_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/PadesVisualPositioningPresets/Footnote": {
      "get": {
        "tags": [
          "PadesVisualPositioningPresets"
        ],
        "operationId": "PadesVisualPositioningPresets_GetFootnote",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "rows",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesVisualPositioningModel"
            }
          }
        }
      }
    },
    "/Api/PadesVisualPositioningPresets/NewPage": {
      "get": {
        "tags": [
          "PadesVisualPositioningPresets"
        ],
        "operationId": "PadesVisualPositioningPresets_GetFootnote",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesVisualPositioningModel"
            }
          }
        }
      }
    },
    "/Api/PadesVisualPositioningPresets/FootnoteBottomUp": {
      "get": {
        "tags": [
          "PadesVisualPositioningPresets"
        ],
        "operationId": "PadesVisualPositioningPresets_GetFootnoteBottomUp",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "pageNumber",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PadesVisualPositioningModel"
            }
          }
        }
      }
    },
    "/api/PadesVisualPositioningPresets": {
      "post": {
        "tags": [
          "PadesVisualPositioningPresets"
        ],
        "operationId": "PadesVisualPositioningPresets_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Pdf/AddMarks": {
      "post": {
        "tags": [
          "Pdf"
        ],
        "operationId": "Pdf_AddMarks",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PdfAddMarksRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PdfAddMarksResponse"
            }
          }
        }
      }
    },
    "/api/Pdf": {
      "post": {
        "tags": [
          "Pdf"
        ],
        "operationId": "Pdf_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/PendingSignatures/{tokenValue}": {
      "get": {
        "tags": [
          "PendingSignature"
        ],
        "operationId": "PendingSignature_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "tokenValue",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/GetPendingSignatureResponse"
            }
          }
        }
      },
      "post": {
        "tags": [
          "PendingSignature"
        ],
        "operationId": "PendingSignature_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "tokenValue",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PostPendingSignatureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/PendingSignatures/{tokenValue}/Certificate": {
      "post": {
        "tags": [
          "PendingSignature"
        ],
        "operationId": "PendingSignature_PostCertificate",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "tokenValue",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/PostPendingSignatureCertificateRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PostPendingSignatureCertificateResponse"
            }
          }
        }
      }
    },
    "/api/PendingSignature": {
      "post": {
        "tags": [
          "PendingSignature"
        ],
        "operationId": "PendingSignature_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityContextSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_Create",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SecurityContextData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SecurityContextModel"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/SecurityContexts": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_ListOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityContextSummary"
              }
            }
          }
        }
      }
    },
    "/Api/Admin/SecurityContexts": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_ListSystem",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SecurityContextSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_CreateSystem",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SecurityContextData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SecurityContextModel"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts/{id}": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SecurityContextModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SecurityContextData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SecurityContextModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Admin/SecurityContexts/Lacuna": {
      "post": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_CreateLacuna",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SecurityContextModel"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts/{id}/TrustedRoots": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_ListTrustedRoots",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CertificateSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_PostTrustedRoot",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts/{id}/TrustedRoots/{thumbprint}": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_GetTrustedRoot",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_DeleteTrustedRoot",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts/{id}/TrustedRoots/{thumbprint}/DownloadLink": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_GetTrustedRootDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/SecurityContexts/{id}/TrustedRoots/{thumbprint}/Content": {
      "get": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_DownloadTrustedRoot",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "thumbprint",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/SecurityContext": {
      "post": {
        "tags": [
          "SecurityContext"
        ],
        "operationId": "SecurityContext_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Settings": {
      "get": {
        "tags": [
          "Setting"
        ],
        "operationId": "Setting_ListSettings",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SettingModel"
              }
            }
          }
        }
      }
    },
    "/Api/Settings/{key}": {
      "put": {
        "tags": [
          "Setting"
        ],
        "operationId": "Setting_SetSetting",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "type": "string",
            "enum": [
              "IsPrivateInstance",
              "SdkLicense",
              "NewcomerCulture",
              "NewcomerDateFormat",
              "NewcomerTimeZone",
              "StorageService",
              "LocalStorageDirectory",
              "AzureConfiguration",
              "AmazonS3Configuration",
              "CacheConfiguration",
              "BStamperConfiguration",
              "BStamperUri",
              "BStamperApiKey"
            ]
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SettingData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/Setting": {
      "post": {
        "tags": [
          "Setting"
        ],
        "operationId": "Setting_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/SignaturePolicies": {
      "get": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SignaturePolicySummary"
              }
            }
          }
        }
      }
    },
    "/Api/SignaturePolicies/ListByType/{type}": {
      "get": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "type",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/SignaturePolicySummary"
              }
            }
          }
        }
      }
    },
    "/Api/SignaturePolicies/{id}": {
      "get": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SignaturePolicyModel"
            }
          }
        }
      }
    },
    "/Api/Admin/SignaturePolicies": {
      "post": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_Create",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SignaturePolicyData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SignaturePolicyModel"
            }
          }
        }
      }
    },
    "/Api/Admin/SignaturePolicies/{id}": {
      "put": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/SignaturePolicyData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SignaturePolicyModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Admin/SignaturePolicies/{id}/Test": {
      "post": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_Test",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/SignaturePolicy": {
      "post": {
        "tags": [
          "SignaturePolicy"
        ],
        "operationId": "SignaturePolicy_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/System/Info": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetInfo",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SystemInfo"
            }
          }
        }
      }
    },
    "/Api/System/Cultures": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetCultures",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/CultureSummary"
              }
            }
          }
        }
      }
    },
    "/Api/System/Cultures/{id}": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetCulture",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CultureSummary"
            }
          }
        }
      }
    },
    "/Api/System/TimeZones": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetTimeZones",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TimeZoneSummary"
              }
            }
          }
        }
      }
    },
    "/Api/System/TimeZones/{id}": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetTimeZone",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimeZoneSummary"
            }
          }
        }
      }
    },
    "/Api/System/Date": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_GetTime",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/System/NoFlood": {
      "get": {
        "tags": [
          "System"
        ],
        "operationId": "System_NoFlood",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/SystemInfo"
            }
          }
        }
      }
    },
    "/api/System": {
      "post": {
        "tags": [
          "System"
        ],
        "operationId": "System_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/TaskStatus": {
      "get": {
        "tags": [
          "TaskStatus"
        ],
        "operationId": "TaskStatus_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/RecurringTaskStatusModel"
            }
          }
        }
      }
    },
    "/api/TaskStatus": {
      "post": {
        "tags": [
          "TaskStatus"
        ],
        "operationId": "TaskStatus_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/tsp/{id}": {
      "post": {
        "tags": [
          "Timestamp"
        ],
        "operationId": "Timestamp_IssueTsp",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampPlans/{id}/Issue": {
      "post": {
        "tags": [
          "Timestamp"
        ],
        "operationId": "Timestamp_IssueApi",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/DigestAlgorithmAndValueModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampIssueResponse"
            }
          }
        }
      }
    },
    "/api/Timestamp": {
      "post": {
        "tags": [
          "Timestamp"
        ],
        "operationId": "Timestamp_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/TimestampPlans": {
      "get": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TimestampPlanSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampPlanData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampPlanModel"
            }
          }
        }
      }
    },
    "/Api/TimestampPlans/{id}": {
      "get": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampPlanModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampPlanData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampPlanModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/TimestampPlan": {
      "post": {
        "tags": [
          "TimestampPlan"
        ],
        "operationId": "TimestampPlan_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/TimestampPlans/{planId}/Requesters": {
      "get": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TimestampRequesterSummary"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampRequesterData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampRequesterModel"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}": {
      "get": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampRequesterModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampRequesterData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TimestampRequesterModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/Requests": {
      "get": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_ListRequests",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "start",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "count",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TimestampRequestList"
              }
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/TsaCertificate": {
      "get": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_GetTsaCertificate",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/CertificateModel"
            }
          }
        }
      }
    },
    "/Api/TimestampPlans/{planId}/Priorities": {
      "put": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Reorder",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "planId",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "ids",
            "in": "body",
            "required": true,
            "schema": {
              "type": "array",
              "items": {
                "format": "uuid",
                "type": "string",
                "example": "00000000-0000-0000-0000-000000000000"
              }
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/BasicCredentials": {
      "put": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_PutCredentials",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampRequesterBasicAuthData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/OAuthBearerToken": {
      "put": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_PutOAuthToken",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TimestampRequesterOAuthData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/SslCertificate": {
      "put": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_PutCertificate",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "data",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/CertificateSummary"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/TimestampRequesters/{id}/Test": {
      "post": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_Test",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/TimestampRequester": {
      "post": {
        "tags": [
          "TimestampRequester"
        ],
        "operationId": "TimestampRequester_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Transactions": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "pagination.pageIndex",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.pageSize",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.sortDirection",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "Descending",
              "Ascending"
            ]
          },
          {
            "name": "pagination.sortField",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PaginatedList[TransactionSummary]"
            }
          }
        }
      }
    },
    "/Api/Transactions/Count": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_Count",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        }
      }
    },
    "/Api/Transactions/Synopsis": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_Synopsis",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TransactionSynopsis"
              }
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Transactions": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_ListOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          },
          {
            "name": "pagination.pageIndex",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.pageSize",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.sortDirection",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "Descending",
              "Ascending"
            ]
          },
          {
            "name": "pagination.sortField",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PaginatedList[TransactionSummary]"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Transactions/Count": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_CountOfUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "format": "int32",
              "type": "integer"
            }
          }
        }
      }
    },
    "/Api/Transactions/{id}": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TransactionModel"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Transactions/Synopsis": {
      "get": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_SynopsisOrUser",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request.type",
            "in": "query",
            "required": false,
            "type": "array",
            "items": {
              "type": "string",
              "enum": [
                "PadesSignature",
                "CertAuthentication",
                "CadesSignature",
                "XmlSignature",
                "Timestamp",
                "OpenSignature",
                "AddPdfMarks"
              ]
            },
            "collectionFormat": "multi"
          },
          {
            "name": "request.success",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "request.invoiceId",
            "in": "query",
            "required": false,
            "type": "string",
            "format": "uuid"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TransactionSynopsis"
              }
            }
          }
        }
      }
    },
    "/api/Transaction": {
      "post": {
        "tags": [
          "Transaction"
        ],
        "operationId": "Transaction_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Admin/TransactionLimits/{id}": {
      "get": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TransactionLimitModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TransactionLimitPutRequest"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/TransactionLimitModel"
            }
          }
        }
      }
    },
    "/Api/Admin/TransactionLimits": {
      "get": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TransactionLimitModel"
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/TransactionLimitPostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Admin/Users/{id}/TransactionLimits": {
      "get": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_GetUsersTransactions",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/TransactionLimitModel"
              }
            }
          }
        }
      }
    },
    "/Api/Admin/TransactionLimits/{Id}": {
      "delete": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "request.id",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/TransactionLimits": {
      "post": {
        "tags": [
          "TransactionLimits"
        ],
        "operationId": "TransactionLimits_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Admin/TransactionTypes": {
      "get": {
        "tags": [
          "TransactionTypes"
        ],
        "operationId": "TransactionTypes_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/EnumModel"
              }
            }
          }
        }
      }
    },
    "/Api/MultipartUploads": {
      "post": {
        "tags": [
          "Upload"
        ],
        "operationId": "Upload_BeginMultipartUpload",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/MultipartUploadBeginResponse"
            }
          }
        }
      }
    },
    "/Api/MultipartUploads/{token}/{partNumber}": {
      "post": {
        "tags": [
          "Upload"
        ],
        "operationId": "Upload_UploadPart",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "partNumber",
            "in": "path",
            "required": true,
            "type": "integer",
            "format": "int32"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/MultipartUploads/{token}": {
      "post": {
        "tags": [
          "Upload"
        ],
        "operationId": "Upload_EndMultipartUpload",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/MultipartUploadEndRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Blobs/{token}": {
      "get": {
        "tags": [
          "Upload"
        ],
        "operationId": "Upload_DownloadFile",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/api/Upload": {
      "post": {
        "tags": [
          "Upload"
        ],
        "operationId": "Upload_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/Users": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_List",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "pagination.pageIndex",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.pageSize",
            "in": "query",
            "required": false,
            "type": "integer",
            "format": "int32"
          },
          {
            "name": "pagination.sortDirection",
            "in": "query",
            "required": false,
            "type": "string",
            "enum": [
              "Descending",
              "Ascending"
            ]
          },
          {
            "name": "pagination.sortField",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "search.username",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "search.isBlocked",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "search.customerId",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/PaginatedList[UserSummary]"
            }
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_Post",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/UserPostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/UserModel"
            }
          }
        }
      }
    },
    "/Api/AllUsers": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_ListNonPaginated",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "search.username",
            "in": "query",
            "required": false,
            "type": "string"
          },
          {
            "name": "search.isBlocked",
            "in": "query",
            "required": false,
            "type": "boolean"
          },
          {
            "name": "search.customerId",
            "in": "query",
            "required": false,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/UserSummary"
              }
            }
          }
        }
      }
    },
    "/Api/User": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/UserModel"
            }
          }
        }
      }
    },
    "/Api/Users/{id}": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_Get",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/UserModel"
            }
          }
        }
      },
      "put": {
        "tags": [
          "User"
        ],
        "operationId": "User_Put",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/UserData"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/UserModel"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "User"
        ],
        "operationId": "User_Delete",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/Password": {
      "put": {
        "tags": [
          "User"
        ],
        "operationId": "User_ResetPassword",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/UserPutPasswordRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      },
      "delete": {
        "tags": [
          "User"
        ],
        "operationId": "User_ClearPassword",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "object"
            }
          }
        }
      }
    },
    "/Api/Users/{id}/LongTermToken": {
      "get": {
        "tags": [
          "User"
        ],
        "operationId": "User_GetLongTermToken",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/GetLongTermTokenResponse"
            }
          }
        }
      }
    },
    "/api/User": {
      "post": {
        "tags": [
          "User"
        ],
        "operationId": "User_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/FullXmlSignature": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/FullXmlSignaturePostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/XmlElementSignature": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/XmlElementSignaturePostRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/DetachedResourceXmlSignature": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/DetachedResourceXmlSignatureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/OnlineResourceXmlSignature": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Start",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OnlineResourceXmlSignatureRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/{token}/SignedBytes": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Complete",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          },
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostSignedBytesRequest"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/{token}/Finalize": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_Finalize",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignaturePostSignedBytesResponse"
            }
          }
        }
      }
    },
    "/Api/XmlSignatures/Open": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_OpenSignature",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OpenXmlSignatureRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/definitions/XmlSignatureModel"
              }
            }
          }
        }
      }
    },
    "/Api/v2/XmlSignatures/Open": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_OpenSignatureV2",
        "consumes": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml",
          "application/x-www-form-urlencoded"
        ],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "request",
            "in": "body",
            "required": true,
            "schema": {
              "$ref": "#/definitions/OpenXmlSignatureRequestModel"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "$ref": "#/definitions/XmlSignatureResponseModel"
            }
          }
        }
      }
    },
    "/api/XmlSignature": {
      "post": {
        "tags": [
          "XmlSignature"
        ],
        "operationId": "XmlSignature_IssueDownloadLink",
        "consumes": [],
        "produces": [
          "application/json",
          "text/json",
          "application/xml",
          "text/xml"
        ],
        "parameters": [
          {
            "name": "blobToken",
            "in": "query",
            "required": true,
            "type": "string"
          },
          {
            "name": "keepAlivePeriod",
            "in": "query",
            "required": true,
            "type": "string"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "schema": {
              "type": "string"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "UserInfoViewModel": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "hasRegistered": {
          "type": "boolean"
        },
        "loginProvider": {
          "type": "string"
        },
        "isAdmin": {
          "type": "boolean"
        },
        "hasPassword": {
          "type": "boolean"
        },
        "userId": {
          "type": "string"
        }
      }
    },
    "ManageInfoViewModel": {
      "type": "object",
      "properties": {
        "localLoginProvider": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "logins": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/UserLoginInfoViewModel"
          }
        },
        "externalLoginProviders": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ExternalLoginViewModel"
          }
        }
      }
    },
    "UserLoginInfoViewModel": {
      "type": "object",
      "properties": {
        "loginProvider": {
          "type": "string"
        },
        "providerKey": {
          "type": "string"
        }
      }
    },
    "ExternalLoginViewModel": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "state": {
          "type": "string"
        }
      }
    },
    "ChangePasswordBindingModel": {
      "required": [
        "oldPassword",
        "newPassword"
      ],
      "type": "object",
      "properties": {
        "oldPassword": {
          "type": "string"
        },
        "newPassword": {
          "maxLength": 100,
          "minLength": 6,
          "type": "string"
        },
        "confirmPassword": {
          "type": "string"
        }
      }
    },
    "SetPasswordBindingModel": {
      "required": [
        "newPassword"
      ],
      "type": "object",
      "properties": {
        "newPassword": {
          "maxLength": 100,
          "minLength": 6,
          "type": "string"
        },
        "confirmPassword": {
          "type": "string"
        }
      }
    },
    "AddExternalLoginBindingModel": {
      "required": [
        "externalAccessToken"
      ],
      "type": "object",
      "properties": {
        "externalAccessToken": {
          "type": "string"
        }
      }
    },
    "RemoveLoginBindingModel": {
      "required": [
        "loginProvider",
        "providerKey"
      ],
      "type": "object",
      "properties": {
        "loginProvider": {
          "type": "string"
        },
        "providerKey": {
          "type": "string"
        }
      }
    },
    "GetLongTermTokenResponse": {
      "type": "object",
      "properties": {
        "userName": {
          "type": "string"
        },
        "accessToken": {
          "type": "string"
        },
        "issued": {
          "type": "string"
        },
        "expires": {
          "type": "string"
        },
        "expiresIn": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "AccountSettingsModel": {
      "type": "object",
      "properties": {
        "storeTransactionDetails": {
          "type": "boolean"
        }
      }
    },
    "AccountSettingsData": {
      "type": "object",
      "properties": {
        "storeTransactionDetails": {
          "type": "boolean"
        }
      }
    },
    "RegionAndTimeModel": {
      "type": "object",
      "properties": {
        "dateFormat": {
          "enum": [
            "Standard",
            "Long",
            "Short",
            "LongDateShortTime",
            "ShortDateLongTime"
          ],
          "type": "string"
        },
        "timeZone": {
          "$ref": "#/definitions/TimeZoneSummary"
        },
        "culture": {
          "$ref": "#/definitions/CultureSummary"
        }
      }
    },
    "TimeZoneSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        }
      }
    },
    "CultureSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "displayName": {
          "type": "string"
        }
      }
    },
    "RegionAndTimeData": {
      "type": "object",
      "properties": {
        "dateFormat": {
          "enum": [
            "Standard",
            "Long",
            "Short",
            "LongDateShortTime",
            "ShortDateLongTime"
          ],
          "type": "string"
        },
        "timeZoneId": {
          "type": "string"
        },
        "cultureId": {
          "type": "string"
        }
      }
    },
    "RegisterBindingModel": {
      "required": [
        "email",
        "password"
      ],
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "password": {
          "maxLength": 100,
          "minLength": 6,
          "type": "string"
        },
        "confirmPassword": {
          "type": "string"
        }
      }
    },
    "RegisterExternalBindingModel": {
      "required": [
        "email"
      ],
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        }
      }
    },
    "SystemStatusModel": {
      "type": "object",
      "properties": {
        "isOnPremises": {
          "type": "boolean"
        },
        "machineKeyHint": {
          "type": "string"
        },
        "logConfigured": {
          "type": "boolean"
        },
        "logConfigHint": {
          "type": "string"
        },
        "sdkLicenseLoaded": {
          "type": "boolean"
        },
        "sdkLicenseInfo": {
          "type": "string"
        },
        "sdkLicenseError": {
          "type": "string"
        },
        "storageState": {
          "enum": [
            "Disabled",
            "ReadyAndEmpty",
            "Ready",
            "Error"
          ],
          "type": "string"
        }
      }
    },
    "CertificateSummary": {
      "type": "object",
      "properties": {
        "thumbprint": {
          "type": "string"
        },
        "thumbprintSHA256": {
          "type": "string"
        },
        "subjectCommonName": {
          "type": "string"
        },
        "subjectDisplayName": {
          "type": "string"
        },
        "subjectIdentifier": {
          "type": "string"
        },
        "emailAddress": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "organizationIdentifier": {
          "type": "string"
        }
      }
    },
    "AlertModel": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "Blocked",
            "LicenseExpired",
            "LicenseExpiring",
            "LicenseNotLoaded"
          ],
          "type": "string"
        },
        "details": {
          "type": "string"
        }
      }
    },
    "AuthenticationsPostRequest": {
      "type": "object",
      "properties": {
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "AuthenticationsPostResponse": {
      "type": "object",
      "properties": {
        "token": {
          "type": "string"
        },
        "toSignData": {
          "format": "byte",
          "type": "string"
        },
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        }
      }
    },
    "AuthenticationsPostSignedBytesRequest": {
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "AuthenticationsPostSignedBytesResponse": {
      "type": "object",
      "properties": {
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        }
      }
    },
    "ValidationResultsModel": {
      "type": "object",
      "properties": {
        "passedChecks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ValidationItemModel"
          }
        },
        "errors": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ValidationItemModel"
          }
        },
        "warnings": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/ValidationItemModel"
          }
        }
      }
    },
    "CertificateModel": {
      "type": "object",
      "properties": {
        "subjectName": {
          "$ref": "#/definitions/NameModel"
        },
        "issuerName": {
          "$ref": "#/definitions/NameModel"
        },
        "issuerDisplayName": {
          "type": "string"
        },
        "serialNumber": {
          "type": "string"
        },
        "validityStart": {
          "format": "date-time",
          "type": "string"
        },
        "validityEnd": {
          "format": "date-time",
          "type": "string"
        },
        "issuer": {
          "$ref": "#/definitions/CertificateModel"
        },
        "pkiBrazil": {
          "$ref": "#/definitions/PkiBrazilCertificateModel"
        },
        "pkiItaly": {
          "$ref": "#/definitions/PkiItalyCertificateModel"
        },
        "binaryThumbprintSHA256": {
          "format": "byte",
          "type": "string"
        },
        "thumbprint": {
          "type": "string"
        },
        "thumbprintSHA256": {
          "type": "string"
        },
        "subjectCommonName": {
          "type": "string"
        },
        "subjectDisplayName": {
          "type": "string"
        },
        "subjectIdentifier": {
          "type": "string"
        },
        "emailAddress": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "organizationIdentifier": {
          "type": "string"
        }
      }
    },
    "ValidationItemModel": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "Success",
            "CertificateNotYetValid",
            "CertificateExpired",
            "CertificateRevoked",
            "CertificateIssuerNotFound",
            "CertificateRevocationStatusUnknown",
            "CertificateChainRootNotTrusted",
            "InvalidCertificateSignature",
            "DecodeError",
            "RequiredSignedAttributeMissing",
            "ForbiddenSignedAttributePresent",
            "RequiredUnsignedAttributeMissing",
            "ForbiddenUnsignedAttributePresent",
            "ContentTypeMismatch",
            "MessageDigestMismatch",
            "SigningCertificateDigestMismatch",
            "SignatureAlgorithmValidationFailed",
            "RevocationDataIssuedBeforeGracePeriod",
            "UncertifiedDateReference",
            "SignaturePolicyMismatch",
            "SigningTimeOutOfCertificateValidity",
            "UnknownSignedAttributesPresent",
            "UnknownUnsignedAttributesPresent",
            "TimestampWithMoreThanOneSigner",
            "TimestampMessageImprintMismatch",
            "TimestampValidationException",
            "CompleteReferencesMismatch",
            "InvalidSignatureTimestamp",
            "InvalidReferencesTimestamp",
            "InvalidArchiveTimestamp",
            "InvalidKeyUsage",
            "InvalidOcspResponse",
            "UnauthorizedIssuer",
            "UnknownRootTrustStatus",
            "InvalidTsl",
            "InvalidCrl",
            "CertificateIssuerValid",
            "CertificateIssuerInvalid",
            "CertificateValidationFailed",
            "SignatureVulnerableToSignerSubstitution",
            "InvalidXmlSignatureSchema",
            "XmlDSigCoreValidationFailed",
            "SignatureTimestampIgnored",
            "InvalidCertificationPathLen",
            "SigningCertificateNotFound",
            "UnauthorizedACIssuer",
            "AlgorithmNotAllowed",
            "UnacceptableSignaturePolicy",
            "InvalidSigAndRefsTimestamp",
            "TslNotAvailable",
            "SigningCertificateIssuerMismatch",
            "SigningCertificateSerialNumberMismatch",
            "PdfAnnotationChangesAfterSignature",
            "InvalidPdfByteRange",
            "RequiredDssEntryMissing",
            "InvalidDocumentTimestamp"
          ],
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "innerValidationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        }
      }
    },
    "NameModel": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string"
        },
        "organization": {
          "type": "string"
        },
        "organizationUnit": {
          "type": "string"
        },
        "dnQualifier": {
          "type": "string"
        },
        "stateName": {
          "type": "string"
        },
        "commonName": {
          "type": "string"
        },
        "serialNumber": {
          "type": "string"
        },
        "locality": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "surname": {
          "type": "string"
        },
        "givenName": {
          "type": "string"
        },
        "initials": {
          "type": "string"
        },
        "pseudonym": {
          "type": "string"
        },
        "generationQualifier": {
          "type": "string"
        },
        "emailAddress": {
          "type": "string"
        },
        "allValues": {
          "type": "object",
          "additionalProperties": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "dnString": {
          "type": "string"
        }
      }
    },
    "PkiBrazilCertificateModel": {
      "type": "object",
      "properties": {
        "certificateType": {
          "enum": [
            "Unknown",
            "A1",
            "A2",
            "A3",
            "A4",
            "S1",
            "S2",
            "S3",
            "S4",
            "T3",
            "T4"
          ],
          "type": "string"
        },
        "cpf": {
          "type": "string"
        },
        "cnpj": {
          "type": "string"
        },
        "responsavel": {
          "type": "string"
        },
        "dateOfBirth": {
          "type": "string"
        },
        "companyName": {
          "type": "string"
        },
        "oabUF": {
          "type": "string"
        },
        "oabNumero": {
          "type": "string"
        },
        "rgEmissor": {
          "type": "string"
        },
        "rgEmissorUF": {
          "type": "string"
        },
        "rgNumero": {
          "type": "string"
        }
      }
    },
    "PkiItalyCertificateModel": {
      "type": "object",
      "properties": {
        "certificateType": {
          "enum": [
            "Undefined",
            "Cns",
            "DigitalSignature"
          ],
          "type": "string"
        },
        "codiceFiscale": {
          "type": "string"
        },
        "idCarta": {
          "type": "string"
        }
      }
    },
    "AuthenticationGetResponse": {
      "type": "object",
      "properties": {
        "nonce": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "AuthenticationPostRequest": {
      "type": "object",
      "properties": {
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "nonce": {
          "format": "byte",
          "type": "string"
        },
        "signature": {
          "format": "byte",
          "type": "string"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "AuthenticationPostResponse": {
      "type": "object",
      "properties": {
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        }
      }
    },
    "BillingSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "userName": {
          "type": "string"
        },
        "customerId": {
          "type": "string"
        },
        "nPADES": {
          "$ref": "#/definitions/CountEntry"
        },
        "nCADES": {
          "$ref": "#/definitions/CountEntry"
        },
        "nXADES": {
          "$ref": "#/definitions/CountEntry"
        },
        "nAuths": {
          "$ref": "#/definitions/CountEntry"
        },
        "nTimestamps": {
          "$ref": "#/definitions/CountEntry"
        },
        "nOpenSig": {
          "$ref": "#/definitions/CountEntry"
        },
        "nPdfMarks": {
          "$ref": "#/definitions/CountEntry"
        },
        "total": {
          "$ref": "#/definitions/CountEntry"
        }
      }
    },
    "CountEntry": {
      "type": "object",
      "properties": {
        "success": {
          "format": "int32",
          "type": "integer"
        },
        "fail": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "CadesSignaturePostRequestV1": {
      "type": "object",
      "properties": {
        "contentToSign": {
          "format": "byte",
          "type": "string"
        },
        "cmsToCoSign": {
          "format": "byte",
          "type": "string"
        },
        "encapsulateContent": {
          "type": "boolean"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "CadesSignaturePostResponse": {
      "type": "object",
      "properties": {
        "token": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "toSignData": {
          "format": "byte",
          "type": "string"
        },
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        }
      }
    },
    "CadesSignaturePostRequestV2": {
      "type": "object",
      "properties": {
        "dataHashes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "contentToSign": {
          "format": "byte",
          "type": "string"
        },
        "cmsToCoSign": {
          "format": "byte",
          "type": "string"
        },
        "encapsulateContent": {
          "type": "boolean"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "DigestAlgorithmAndValueModel": {
      "type": "object",
      "properties": {
        "algorithm": {
          "enum": [
            "MD5",
            "SHA1",
            "SHA256",
            "SHA384",
            "SHA512",
            "SHA3_256"
          ],
          "type": "string"
        },
        "value": {
          "format": "byte",
          "type": "string"
        },
        "hexValue": {
          "type": "string"
        }
      }
    },
    "CadesSignaturePostRequestV3": {
      "type": "object",
      "properties": {
        "dataHashes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "fileToSign": {
          "$ref": "#/definitions/FileModel"
        },
        "cmsToCoSign": {
          "$ref": "#/definitions/FileModel"
        },
        "encapsulateContent": {
          "type": "boolean"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "FileModel": {
      "type": "object",
      "properties": {
        "mimeType": {
          "type": "string"
        },
        "content": {
          "format": "byte",
          "type": "string"
        },
        "blobToken": {
          "type": "string"
        },
        "url": {
          "type": "string"
        }
      }
    },
    "CadesSignaturePostSignedBytesRequest": {
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "CadesSignaturePostSignedBytesResponse": {
      "type": "object",
      "properties": {
        "cms": {
          "format": "byte",
          "type": "string"
        },
        "callbackArgument": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        }
      }
    },
    "CompleteSignatureRequest": {
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        },
        "forceBlobResult": {
          "type": "boolean"
        }
      }
    },
    "SignatureResultModel": {
      "type": "object",
      "properties": {
        "signatureFile": {
          "$ref": "#/definitions/FileModel"
        },
        "callbackArgument": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        }
      }
    },
    "OpenCadesSignatureRequestModel": {
      "required": [
        "file"
      ],
      "type": "object",
      "properties": {
        "extractEncapsulatedContent": {
          "type": "boolean"
        },
        "file": {
          "$ref": "#/definitions/FileModel"
        },
        "validate": {
          "type": "boolean"
        },
        "auditPackage": {
          "$ref": "#/definitions/AuditPackageOptions"
        },
        "defaultSignaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "acceptableExplicitPolicies": {
          "type": "array",
          "items": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          }
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        },
        "trustUncertifiedSigningTime": {
          "type": "boolean"
        },
        "dataHashes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        }
      }
    },
    "AuditPackageOptions": {
      "type": "object",
      "properties": {
        "generate": {
          "type": "boolean"
        },
        "includeFile": {
          "type": "boolean"
        }
      }
    },
    "CadesSignatureModel": {
      "type": "object",
      "properties": {
        "encapsulatedContentType": {
          "enum": [
            "Data",
            "SignedData",
            "EnvelopedData",
            "DigestedData",
            "EncryptedData",
            "AuthenticatedData",
            "TstInfo"
          ],
          "type": "string"
        },
        "hasEncapsulatedContent": {
          "type": "boolean"
        },
        "signers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesSignerModel"
          }
        },
        "encapsulatedContent": {
          "$ref": "#/definitions/FileModel"
        },
        "auditPackage": {
          "$ref": "#/definitions/FileModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignatureBStampModel"
        }
      }
    },
    "CadesSignerModel": {
      "type": "object",
      "properties": {
        "messageDigest": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "signature": {
          "$ref": "#/definitions/SignatureAlgorithmAndValueModel"
        },
        "signaturePolicy": {
          "$ref": "#/definitions/SignaturePolicyIdentifierModel"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "signingTime": {
          "format": "date-time",
          "type": "string"
        },
        "certifiedDateReference": {
          "format": "date-time",
          "type": "string"
        },
        "timestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "archiveTimestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        },
        "commitmentType": {
          "$ref": "#/definitions/CommitmentTypeModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignerBStampModel"
        }
      }
    },
    "SignatureBStampModel": {
      "type": "object",
      "properties": {
        "documentDigests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "indexDigests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "indexFile": {
          "$ref": "#/definitions/FileModel"
        },
        "blockchain": {
          "enum": [
            "Bitcoin",
            "Fabric"
          ],
          "type": "string"
        },
        "transactionId": {
          "type": "string"
        },
        "blockNumber": {
          "format": "int64",
          "type": "integer"
        },
        "blockDate": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "SignatureAlgorithmAndValueModel": {
      "type": "object",
      "properties": {
        "algorithmIdentifier": {
          "$ref": "#/definitions/SignatureAlgorithmIdentifier"
        },
        "value": {
          "format": "byte",
          "type": "string"
        },
        "hexValue": {
          "type": "string"
        }
      }
    },
    "SignaturePolicyIdentifierModel": {
      "type": "object",
      "properties": {
        "digest": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "oid": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      }
    },
    "CadesTimestampModel": {
      "type": "object",
      "properties": {
        "genTime": {
          "format": "date-time",
          "type": "string"
        },
        "serialNumber": {
          "type": "string"
        },
        "messageImprint": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "encapsulatedContentType": {
          "enum": [
            "Data",
            "SignedData",
            "EnvelopedData",
            "DigestedData",
            "EncryptedData",
            "AuthenticatedData",
            "TstInfo"
          ],
          "type": "string"
        },
        "hasEncapsulatedContent": {
          "type": "boolean"
        },
        "signers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesSignerModel"
          }
        },
        "encapsulatedContent": {
          "$ref": "#/definitions/FileModel"
        },
        "auditPackage": {
          "$ref": "#/definitions/FileModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignatureBStampModel"
        }
      }
    },
    "CommitmentTypeModel": {
      "type": "object",
      "properties": {
        "oid": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "SignerBStampModel": {
      "type": "object",
      "properties": {
        "signatureDigest": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "crlsDigests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "certificateDigests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        },
        "blockchain": {
          "enum": [
            "Bitcoin",
            "Fabric"
          ],
          "type": "string"
        },
        "transactionId": {
          "type": "string"
        },
        "transactionDate": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "SignatureAlgorithmIdentifier": {
      "type": "object",
      "properties": {
        "algorithm": {
          "enum": [
            "MD5WithRSA",
            "SHA1WithRSA",
            "SHA256WithRSA",
            "SHA384WithRSA",
            "SHA512WithRSA",
            "SHA256WithECDsa",
            "SHA384WithECDsa",
            "SHA512WithECDsa"
          ],
          "type": "string"
        }
      }
    },
    "OpenCertificateRequest": {
      "required": [
        "certificate"
      ],
      "type": "object",
      "properties": {
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "validate": {
          "type": "boolean"
        }
      }
    },
    "OpenCertificateResponse": {
      "type": "object",
      "properties": {
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        }
      }
    },
    "EventsRequest": {
      "type": "object",
      "properties": {
        "startDate": {
          "format": "date-time",
          "type": "string"
        },
        "endDate": {
          "format": "date-time",
          "type": "string"
        },
        "operations": {
          "type": "array",
          "items": {
            "enum": [
              "AccessTokenGenerated",
              "AccessTokensRevoked",
              "CertAuthStarted",
              "CertAuthCompleted",
              "PadesSignatureStarted",
              "PadesSignatureCompleted",
              "CadesSignatureStarted",
              "CadesSignatureCompleted",
              "XmlSignatureStarted",
              "XmlSignatureCompleted",
              "OpenSignature",
              "IssueTimestamp",
              "AddPdfMarks",
              "GetPendingSignature",
              "SetPendingSignature"
            ],
            "type": "string"
          }
        },
        "success": {
          "type": "boolean"
        }
      }
    },
    "PaginatedRequest": {
      "type": "object",
      "properties": {
        "pageIndex": {
          "format": "int32",
          "type": "integer"
        },
        "pageSize": {
          "format": "int32",
          "type": "integer"
        },
        "sortDirection": {
          "enum": [
            "Descending",
            "Ascending"
          ],
          "type": "string"
        },
        "sortField": {
          "type": "string"
        }
      }
    },
    "PaginatedList[EventSummary]": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/EventSummary"
          }
        },
        "firstIndex": {
          "format": "int32",
          "type": "integer"
        },
        "totalCount": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "EventSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "operation": {
          "enum": [
            "AccessTokenGenerated",
            "AccessTokensRevoked",
            "CertAuthStarted",
            "CertAuthCompleted",
            "PadesSignatureStarted",
            "PadesSignatureCompleted",
            "CadesSignatureStarted",
            "CadesSignatureCompleted",
            "XmlSignatureStarted",
            "XmlSignatureCompleted",
            "OpenSignature",
            "IssueTimestamp",
            "AddPdfMarks",
            "GetPendingSignature",
            "SetPendingSignature"
          ],
          "type": "string"
        },
        "success": {
          "type": "boolean"
        },
        "hasDetails": {
          "type": "boolean"
        },
        "clientLibId": {
          "type": "string"
        },
        "clientLibVersion": {
          "type": "string"
        }
      }
    },
    "EventModel": {
      "type": "object",
      "properties": {
        "details": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "operation": {
          "enum": [
            "AccessTokenGenerated",
            "AccessTokensRevoked",
            "CertAuthStarted",
            "CertAuthCompleted",
            "PadesSignatureStarted",
            "PadesSignatureCompleted",
            "CadesSignatureStarted",
            "CadesSignatureCompleted",
            "XmlSignatureStarted",
            "XmlSignatureCompleted",
            "OpenSignature",
            "IssueTimestamp",
            "AddPdfMarks",
            "GetPendingSignature",
            "SetPendingSignature"
          ],
          "type": "string"
        },
        "success": {
          "type": "boolean"
        },
        "hasDetails": {
          "type": "boolean"
        },
        "clientLibId": {
          "type": "string"
        },
        "clientLibVersion": {
          "type": "string"
        }
      }
    },
    "InvoicePostRequest": {
      "type": "object",
      "properties": {
        "maxDate": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "InvoiceModel": {
      "type": "object",
      "properties": {
        "transactions": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TransactionCountModel"
          }
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "maxDate": {
          "format": "date-time",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "TransactionCountModel": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "PadesSignature",
            "CertAuthentication",
            "CadesSignature",
            "XmlSignature",
            "Timestamp",
            "OpenSignature",
            "AddPdfMarks"
          ],
          "type": "string"
        },
        "parameter": {
          "type": "string"
        },
        "count": {
          "$ref": "#/definitions/CountEntry"
        }
      }
    },
    "InvoicePostResponse": {
      "type": "object",
      "properties": {
        "created": {
          "type": "boolean"
        },
        "invoice": {
          "$ref": "#/definitions/InvoiceModel"
        }
      }
    },
    "InvoiceSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "dateCreated": {
          "format": "date-time",
          "type": "string"
        },
        "maxDate": {
          "format": "date-time",
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "PadesSignaturePostRequestV1": {
      "required": [
        "pdfToSign"
      ],
      "type": "object",
      "properties": {
        "pdfToSign": {
          "format": "byte",
          "type": "string"
        },
        "visualRepresentation": {
          "$ref": "#/definitions/PadesVisualRepresentationModel"
        },
        "pdfMarks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PdfMarkModel"
          }
        },
        "bypassMarksIfSigned": {
          "type": "boolean"
        },
        "measurementUnits": {
          "enum": [
            "Centimeters",
            "PdfPoints"
          ],
          "type": "string"
        },
        "pageOptimization": {
          "$ref": "#/definitions/PadesPageOptimizationModel"
        },
        "customSignatureFieldName": {
          "type": "string"
        },
        "certificationLevel": {
          "enum": [
            "NotCertified",
            "CertifiedFormFilling",
            "CertifiedFormFillingAndAnnotations",
            "CertifiedNoChangesAllowed"
          ],
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "PadesVisualRepresentationModel": {
      "required": [
        "position"
      ],
      "type": "object",
      "properties": {
        "text": {
          "$ref": "#/definitions/PadesVisualTextModel"
        },
        "image": {
          "$ref": "#/definitions/PadesVisualImageModel"
        },
        "position": {
          "$ref": "#/definitions/PadesVisualPositioningModel"
        }
      }
    },
    "PdfMarkModel": {
      "required": [
        "container",
        "elements"
      ],
      "type": "object",
      "properties": {
        "container": {
          "$ref": "#/definitions/PadesVisualRectangleModel"
        },
        "borderWidth": {
          "format": "double",
          "type": "number"
        },
        "borderColor": {
          "$ref": "#/definitions/ColorModel"
        },
        "backgroundColor": {
          "$ref": "#/definitions/ColorModel"
        },
        "elements": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PdfMarkElementModel"
          }
        },
        "pageOption": {
          "enum": [
            "AllPages",
            "SinglePage",
            "SinglePageFromEnd",
            "NewPage"
          ],
          "type": "string"
        },
        "pageOptionNumber": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "PadesPageOptimizationModel": {
      "type": "object",
      "properties": {
        "paperSize": {
          "enum": [
            "Custom",
            "A0",
            "A1",
            "A2",
            "A3",
            "A4",
            "A5",
            "A6",
            "A7",
            "A8",
            "Letter",
            "Legal",
            "Ledger"
          ],
          "type": "string"
        },
        "customPaperSize": {
          "$ref": "#/definitions/PadesSizeModel"
        },
        "pageOrientation": {
          "enum": [
            "Auto",
            "Portrait",
            "Landscape"
          ],
          "type": "string"
        }
      }
    },
    "PadesVisualTextModel": {
      "type": "object",
      "properties": {
        "fontSize": {
          "format": "double",
          "type": "number"
        },
        "text": {
          "type": "string"
        },
        "includeSigningTime": {
          "type": "boolean"
        },
        "horizontalAlign": {
          "enum": [
            "Left",
            "Right"
          ],
          "type": "string"
        },
        "container": {
          "$ref": "#/definitions/PadesVisualRectangleModel"
        }
      }
    },
    "PadesVisualImageModel": {
      "type": "object",
      "properties": {
        "resource": {
          "$ref": "#/definitions/ResourceContentOrReference"
        },
        "opacity": {
          "format": "int32",
          "type": "integer"
        },
        "horizontalAlign": {
          "enum": [
            "Left",
            "Center",
            "Right"
          ],
          "type": "string"
        },
        "verticalAlign": {
          "enum": [
            "Top",
            "Center",
            "Bottom"
          ],
          "type": "string"
        }
      }
    },
    "PadesVisualPositioningModel": {
      "type": "object",
      "properties": {
        "pageNumber": {
          "format": "int32",
          "type": "integer"
        },
        "measurementUnits": {
          "enum": [
            "Centimeters",
            "PdfPoints"
          ],
          "type": "string"
        },
        "pageOptimization": {
          "$ref": "#/definitions/PadesPageOptimizationModel"
        },
        "auto": {
          "$ref": "#/definitions/PadesVisualAutoPositioningModel"
        },
        "manual": {
          "$ref": "#/definitions/PadesVisualRectangleModel"
        }
      }
    },
    "PadesVisualRectangleModel": {
      "type": "object",
      "properties": {
        "left": {
          "format": "double",
          "type": "number"
        },
        "top": {
          "format": "double",
          "type": "number"
        },
        "right": {
          "format": "double",
          "type": "number"
        },
        "bottom": {
          "format": "double",
          "type": "number"
        },
        "width": {
          "format": "double",
          "type": "number"
        },
        "height": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ColorModel": {
      "type": "object",
      "properties": {
        "red": {
          "format": "int32",
          "type": "integer"
        },
        "green": {
          "format": "int32",
          "type": "integer"
        },
        "blue": {
          "format": "int32",
          "type": "integer"
        },
        "alpha": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "PdfMarkElementModel": {
      "type": "object",
      "properties": {
        "elementType": {
          "enum": [
            "Text",
            "Image",
            "QRCode"
          ],
          "type": "string"
        },
        "relativeContainer": {
          "$ref": "#/definitions/PadesVisualRectangleModel"
        },
        "rotation": {
          "format": "int32",
          "type": "integer"
        },
        "textSections": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PdfTextSectionModel"
          }
        },
        "image": {
          "$ref": "#/definitions/PdfMarkImageModel"
        },
        "qrCodeData": {
          "type": "string"
        },
        "qrCodeDrawQuietZones": {
          "type": "boolean"
        },
        "align": {
          "enum": [
            "Left",
            "Center",
            "Right"
          ],
          "type": "string"
        },
        "verticalAlign": {
          "enum": [
            "Top",
            "Center",
            "Bottom"
          ],
          "type": "string"
        },
        "opacity": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "PadesSizeModel": {
      "type": "object",
      "properties": {
        "height": {
          "format": "double",
          "type": "number"
        },
        "width": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "ResourceContentOrReference": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "content": {
          "format": "byte",
          "type": "string"
        },
        "mimeType": {
          "type": "string"
        }
      }
    },
    "PadesVisualAutoPositioningModel": {
      "required": [
        "container",
        "signatureRectangleSize"
      ],
      "type": "object",
      "properties": {
        "container": {
          "$ref": "#/definitions/PadesVisualRectangleModel"
        },
        "signatureRectangleSize": {
          "$ref": "#/definitions/PadesSizeModel"
        },
        "horizontalDirection": {
          "enum": [
            "LeftToRight",
            "RightToLeft"
          ],
          "type": "string"
        },
        "verticalDirection": {
          "enum": [
            "TopDown",
            "BottomUp"
          ],
          "type": "string"
        },
        "rowSpacing": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "PdfTextSectionModel": {
      "required": [
        "text"
      ],
      "type": "object",
      "properties": {
        "text": {
          "type": "string"
        },
        "style": {
          "enum": [
            "Normal",
            "Bold",
            "Italic"
          ],
          "type": "string"
        },
        "color": {
          "$ref": "#/definitions/ColorModel"
        },
        "fontSize": {
          "format": "double",
          "type": "number"
        }
      }
    },
    "PdfMarkImageModel": {
      "type": "object",
      "properties": {
        "opacity": {
          "format": "double",
          "type": "number"
        },
        "resource": {
          "$ref": "#/definitions/ResourceContentOrReference"
        }
      }
    },
    "PadesSignaturePostResponse": {
      "type": "object",
      "properties": {
        "token": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "toSignData": {
          "format": "byte",
          "type": "string"
        },
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        }
      }
    },
    "PadesSignaturePostRequestV2": {
      "required": [
        "pdfToSign"
      ],
      "type": "object",
      "properties": {
        "pdfToSign": {
          "$ref": "#/definitions/FileModel"
        },
        "visualRepresentation": {
          "$ref": "#/definitions/PadesVisualRepresentationModel"
        },
        "pdfMarks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PdfMarkModel"
          }
        },
        "bypassMarksIfSigned": {
          "type": "boolean"
        },
        "measurementUnits": {
          "enum": [
            "Centimeters",
            "PdfPoints"
          ],
          "type": "string"
        },
        "pageOptimization": {
          "$ref": "#/definitions/PadesPageOptimizationModel"
        },
        "customSignatureFieldName": {
          "type": "string"
        },
        "certificationLevel": {
          "enum": [
            "NotCertified",
            "CertifiedFormFilling",
            "CertifiedFormFillingAndAnnotations",
            "CertifiedNoChangesAllowed"
          ],
          "type": "string"
        },
        "reason": {
          "type": "string"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "PadesSignaturePostSignedBytesRequest": {
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "PadesSignaturePostSignedBytesResponse": {
      "type": "object",
      "properties": {
        "signedPdf": {
          "format": "byte",
          "type": "string"
        },
        "callbackArgument": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        }
      }
    },
    "OpenSignatureRequestModel": {
      "required": [
        "file"
      ],
      "type": "object",
      "properties": {
        "file": {
          "$ref": "#/definitions/FileModel"
        },
        "validate": {
          "type": "boolean"
        },
        "auditPackage": {
          "$ref": "#/definitions/AuditPackageOptions"
        },
        "defaultSignaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "acceptableExplicitPolicies": {
          "type": "array",
          "items": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          }
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        },
        "trustUncertifiedSigningTime": {
          "type": "boolean"
        },
        "dataHashes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        }
      }
    },
    "PadesSignatureModel": {
      "type": "object",
      "properties": {
        "signers": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PadesSignerModel"
          }
        },
        "auditPackage": {
          "$ref": "#/definitions/FileModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignatureBStampModel"
        }
      }
    },
    "PadesSignerModel": {
      "type": "object",
      "properties": {
        "isDocumentTimestamp": {
          "type": "boolean"
        },
        "signatureFieldName": {
          "type": "string"
        },
        "hasLtv": {
          "type": "boolean"
        },
        "messageDigest": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "signature": {
          "$ref": "#/definitions/SignatureAlgorithmAndValueModel"
        },
        "signaturePolicy": {
          "$ref": "#/definitions/SignaturePolicyIdentifierModel"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "signingTime": {
          "format": "date-time",
          "type": "string"
        },
        "certifiedDateReference": {
          "format": "date-time",
          "type": "string"
        },
        "timestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "archiveTimestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        },
        "commitmentType": {
          "$ref": "#/definitions/CommitmentTypeModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignerBStampModel"
        }
      }
    },
    "PdfAddMarksRequest": {
      "required": [
        "file",
        "marks"
      ],
      "type": "object",
      "properties": {
        "file": {
          "$ref": "#/definitions/FileModel"
        },
        "marks": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/PdfMarkModel"
          }
        },
        "abortIfSigned": {
          "type": "boolean"
        },
        "measurementUnits": {
          "enum": [
            "Centimeters",
            "PdfPoints"
          ],
          "type": "string"
        },
        "pageOptimization": {
          "$ref": "#/definitions/PadesPageOptimizationModel"
        },
        "forceBlobResult": {
          "type": "boolean"
        },
        "preserveSignaturesVisualRepresentation": {
          "type": "boolean"
        }
      }
    },
    "PdfAddMarksResponse": {
      "type": "object",
      "properties": {
        "file": {
          "$ref": "#/definitions/FileModel"
        }
      }
    },
    "GetPendingSignatureResponse": {
      "type": "object",
      "properties": {
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        },
        "certificateThumbprint": {
          "type": "string"
        }
      }
    },
    "PostPendingSignatureRequest": {
      "required": [
        "signature"
      ],
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "PostPendingSignatureCertificateRequest": {
      "required": [
        "certificate"
      ],
      "type": "object",
      "properties": {
        "certificate": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "PostPendingSignatureCertificateResponse": {
      "type": "object",
      "properties": {
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        }
      }
    },
    "SecurityContextSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "subscriptionId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "enum": [
            "Standard",
            "System",
            "Custom"
          ],
          "type": "string"
        }
      }
    },
    "SecurityContextData": {
      "type": "object",
      "properties": {
        "userId": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "additionalStandardArbitrators": {
          "$ref": "#/definitions/StandardArbitratorsModel"
        }
      }
    },
    "StandardArbitratorsModel": {
      "type": "object",
      "properties": {
        "pkiBrazil": {
          "type": "boolean"
        },
        "pkiItaly": {
          "type": "boolean"
        },
        "windowsServer": {
          "type": "boolean"
        },
        "lacunaTest": {
          "type": "boolean"
        }
      }
    },
    "SecurityContextModel": {
      "type": "object",
      "properties": {
        "description": {
          "type": "string"
        },
        "additionalStandardArbitrators": {
          "$ref": "#/definitions/StandardArbitratorsModel"
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "subscriptionId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "enum": [
            "Standard",
            "System",
            "Custom"
          ],
          "type": "string"
        }
      }
    },
    "SettingModel": {
      "type": "object",
      "properties": {
        "key": {
          "enum": [
            "IsPrivateInstance",
            "SdkLicense",
            "NewcomerCulture",
            "NewcomerDateFormat",
            "NewcomerTimeZone",
            "StorageService",
            "LocalStorageDirectory",
            "AzureConfiguration",
            "AmazonS3Configuration",
            "CacheConfiguration",
            "BStamperConfiguration",
            "BStamperUri",
            "BStamperApiKey"
          ],
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "isSensitive": {
          "type": "boolean"
        },
        "isNullable": {
          "type": "boolean"
        }
      }
    },
    "SettingData": {
      "type": "object",
      "properties": {
        "value": {
          "type": "string"
        }
      }
    },
    "SignaturePolicySummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "enum": [
            "Unknown",
            "Pades",
            "Cades",
            "Xml"
          ],
          "type": "string"
        },
        "isReadOnly": {
          "type": "boolean"
        }
      }
    },
    "SignaturePolicyModel": {
      "type": "object",
      "properties": {
        "securityContext": {
          "$ref": "#/definitions/SecurityContextSummary"
        },
        "timestampPlan": {
          "$ref": "#/definitions/TimestampPlanSummary"
        },
        "underlyingPolicy": {
          "$ref": "#/definitions/SignaturePolicySummary"
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "type": {
          "enum": [
            "Unknown",
            "Pades",
            "Cades",
            "Xml"
          ],
          "type": "string"
        },
        "isReadOnly": {
          "type": "boolean"
        }
      }
    },
    "TimestampPlanSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "isReadOnly": {
          "type": "boolean"
        }
      }
    },
    "SignaturePolicyData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "type": {
          "enum": [
            "Unknown",
            "Pades",
            "Cades",
            "Xml"
          ],
          "type": "string"
        },
        "underlyingPolicyId": {
          "type": "string"
        },
        "securityContextId": {
          "type": "string"
        },
        "timestampPlanId": {
          "type": "string"
        }
      }
    },
    "SystemInfo": {
      "type": "object",
      "properties": {
        "productName": {
          "type": "string"
        },
        "productVersion": {
          "type": "string"
        },
        "timestamp": {
          "format": "date-time",
          "type": "string"
        },
        "productVersionAnnotation": {
          "type": "string"
        }
      }
    },
    "RecurringTaskStatusModel": {
      "type": "object",
      "properties": {
        "refreshTransactionCount": {
          "$ref": "#/definitions/RecurringTaskStatus"
        },
        "refreshTransactionLimits": {
          "$ref": "#/definitions/RecurringTaskStatus"
        }
      }
    },
    "RecurringTaskStatus": {
      "type": "object",
      "properties": {
        "successful": {
          "type": "boolean"
        },
        "lastExecution": {
          "format": "date-time",
          "type": "string"
        }
      }
    },
    "TimestampIssueResponse": {
      "type": "object",
      "properties": {
        "encodedValue": {
          "format": "byte",
          "type": "string"
        },
        "info": {
          "$ref": "#/definitions/CadesTimestampModel"
        }
      }
    },
    "TimestampPlanData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        }
      }
    },
    "TimestampPlanModel": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "isReadOnly": {
          "type": "boolean"
        }
      }
    },
    "TimestampRequesterSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "isAvailable": {
          "type": "boolean"
        },
        "isEnabled": {
          "type": "boolean"
        }
      }
    },
    "TimestampRequesterData": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string"
        },
        "tsaPolicyId": {
          "type": "string"
        },
        "authenticationMethod": {
          "enum": [
            "None",
            "MutualSSL",
            "Basic",
            "OAuthBearerToken"
          ],
          "type": "string"
        },
        "isEnabled": {
          "type": "boolean"
        }
      }
    },
    "TimestampRequesterModel": {
      "type": "object",
      "properties": {
        "url": {
          "type": "string"
        },
        "tsaPolicyId": {
          "type": "string"
        },
        "authenticationMethod": {
          "enum": [
            "None",
            "MutualSSL",
            "Basic",
            "OAuthBearerToken"
          ],
          "type": "string"
        },
        "basicUsername": {
          "type": "string"
        },
        "sslCertificate": {
          "$ref": "#/definitions/CertificateSummary"
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "name": {
          "type": "string"
        },
        "isAvailable": {
          "type": "boolean"
        },
        "isEnabled": {
          "type": "boolean"
        }
      }
    },
    "TimestampRequestList": {
      "type": "object",
      "properties": {
        "start": {
          "format": "int32",
          "type": "integer"
        },
        "count": {
          "format": "int32",
          "type": "integer"
        },
        "totalCount": {
          "format": "int32",
          "type": "integer"
        },
        "requests": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TimestampRequestModel"
          }
        }
      }
    },
    "TimestampRequestModel": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "digest": {
          "$ref": "#/definitions/DigestAlgorithmAndValueModel"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "success": {
          "type": "boolean"
        }
      }
    },
    "TimestampRequesterBasicAuthData": {
      "required": [
        "username",
        "password"
      ],
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      }
    },
    "TimestampRequesterOAuthData": {
      "required": [
        "token"
      ],
      "type": "object",
      "properties": {
        "token": {
          "type": "string"
        }
      }
    },
    "TransactionRequest": {
      "type": "object",
      "properties": {
        "type": {
          "type": "array",
          "items": {
            "enum": [
              "PadesSignature",
              "CertAuthentication",
              "CadesSignature",
              "XmlSignature",
              "Timestamp",
              "OpenSignature",
              "AddPdfMarks"
            ],
            "type": "string"
          }
        },
        "success": {
          "type": "boolean"
        },
        "invoiceId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        }
      }
    },
    "PaginatedList[TransactionSummary]": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/TransactionSummary"
          }
        },
        "firstIndex": {
          "format": "int32",
          "type": "integer"
        },
        "totalCount": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "TransactionSummary": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "type": {
          "enum": [
            "PadesSignature",
            "CertAuthentication",
            "CadesSignature",
            "XmlSignature",
            "Timestamp",
            "OpenSignature",
            "AddPdfMarks"
          ],
          "type": "string"
        },
        "success": {
          "type": "boolean"
        }
      }
    },
    "TransactionSynopsis": {
      "type": "object",
      "properties": {
        "transactionType": {
          "type": "string"
        },
        "count": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "TransactionModel": {
      "type": "object",
      "properties": {
        "details": {
          "type": "string"
        },
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "date": {
          "format": "date-time",
          "type": "string"
        },
        "type": {
          "enum": [
            "PadesSignature",
            "CertAuthentication",
            "CadesSignature",
            "XmlSignature",
            "Timestamp",
            "OpenSignature",
            "AddPdfMarks"
          ],
          "type": "string"
        },
        "success": {
          "type": "boolean"
        }
      }
    },
    "TransactionLimitModel": {
      "type": "object",
      "properties": {
        "id": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "userId": {
          "type": "string"
        },
        "typeName": {
          "type": "string"
        },
        "typeCode": {
          "type": "string"
        },
        "limit": {
          "format": "int32",
          "type": "integer"
        },
        "tolerance": {
          "format": "int32",
          "type": "integer"
        },
        "warning": {
          "format": "int32",
          "type": "integer"
        },
        "parameter": {
          "type": "string"
        }
      }
    },
    "TransactionLimitPutRequest": {
      "required": [
        "id"
      ],
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "limit": {
          "format": "int32",
          "type": "integer"
        },
        "tolerancePercentage": {
          "format": "int32",
          "type": "integer"
        },
        "warningPercentage": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "TransactionLimitPostRequest": {
      "required": [
        "transactionTypeCode"
      ],
      "type": "object",
      "properties": {
        "transactionTypeCode": {
          "type": "string"
        },
        "userId": {
          "type": "string"
        },
        "parameter": {
          "type": "string"
        },
        "limit": {
          "format": "int32",
          "type": "integer"
        },
        "tolerancePercentage": {
          "format": "int32",
          "type": "integer"
        },
        "warningPercentage": {
          "format": "int32",
          "type": "integer"
        },
        "overwrite": {
          "type": "boolean"
        }
      }
    },
    "TransactionLimitDeleteRequest": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      }
    },
    "EnumModel": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "code": {
          "type": "string"
        },
        "showParameter": {
          "type": "boolean"
        }
      }
    },
    "MultipartUploadBeginResponse": {
      "type": "object",
      "properties": {
        "blobToken": {
          "type": "string"
        },
        "partSize": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "MultipartUploadEndRequest": {
      "required": [
        "partETags"
      ],
      "type": "object",
      "properties": {
        "partETags": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "completeMD5": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "UserSearchRequest": {
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "isBlocked": {
          "type": "boolean"
        },
        "customerId": {
          "type": "string"
        }
      }
    },
    "PaginatedList[UserSummary]": {
      "type": "object",
      "properties": {
        "entities": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/UserSummary"
          }
        },
        "firstIndex": {
          "format": "int32",
          "type": "integer"
        },
        "totalCount": {
          "format": "int32",
          "type": "integer"
        }
      }
    },
    "UserSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "isBlocked": {
          "type": "boolean"
        },
        "customerId": {
          "type": "string"
        }
      }
    },
    "UserPostRequest": {
      "required": [
        "username"
      ],
      "type": "object",
      "properties": {
        "username": {
          "type": "string"
        },
        "password": {
          "type": "string"
        }
      }
    },
    "UserModel": {
      "type": "object",
      "properties": {
        "email": {
          "type": "string"
        },
        "isAdmin": {
          "type": "boolean"
        },
        "hasPassword": {
          "type": "boolean"
        },
        "canDelete": {
          "type": "boolean"
        },
        "id": {
          "type": "string"
        },
        "username": {
          "type": "string"
        },
        "isBlocked": {
          "type": "boolean"
        },
        "customerId": {
          "type": "string"
        }
      }
    },
    "UserData": {
      "type": "object",
      "properties": {
        "isAdmin": {
          "type": "boolean"
        },
        "customerId": {
          "type": "string"
        },
        "isBlocked": {
          "type": "boolean"
        }
      }
    },
    "UserPutPasswordRequest": {
      "type": "object",
      "properties": {
        "password": {
          "type": "string"
        }
      }
    },
    "FullXmlSignaturePostRequest": {
      "type": "object",
      "properties": {
        "xml": {
          "format": "byte",
          "type": "string"
        },
        "signatureElementId": {
          "type": "string"
        },
        "signatureElementLocation": {
          "$ref": "#/definitions/XmlElementLocationModel"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "XmlElementLocationModel": {
      "type": "object",
      "properties": {
        "xPath": {
          "type": "string"
        },
        "namespaces": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/NamespaceModel"
          }
        },
        "insertionOption": {
          "enum": [
            "AppendChild",
            "PrependChild",
            "AppendSibling",
            "PrependSibling"
          ],
          "type": "string"
        }
      }
    },
    "NamespaceModel": {
      "type": "object",
      "properties": {
        "prefix": {
          "type": "string"
        },
        "uri": {
          "type": "string"
        }
      }
    },
    "XmlSignaturePostResponse": {
      "type": "object",
      "properties": {
        "token": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "toSignData": {
          "format": "byte",
          "type": "string"
        },
        "toSignHash": {
          "format": "byte",
          "type": "string"
        },
        "digestAlgorithmOid": {
          "type": "string"
        }
      }
    },
    "XmlElementSignaturePostRequest": {
      "required": [
        "elementToSignId"
      ],
      "type": "object",
      "properties": {
        "elementToSignId": {
          "type": "string"
        },
        "idResolutionTable": {
          "$ref": "#/definitions/XmlIdResolutionTableModel"
        },
        "xml": {
          "format": "byte",
          "type": "string"
        },
        "signatureElementId": {
          "type": "string"
        },
        "signatureElementLocation": {
          "$ref": "#/definitions/XmlElementLocationModel"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "XmlIdResolutionTableModel": {
      "type": "object",
      "properties": {
        "includeXmlIdAttribute": {
          "type": "boolean"
        },
        "elementIdAttributes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/XmlIdAttributeModel"
          }
        },
        "globalIdAttributes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/XmlNodeNameModel"
          }
        }
      }
    },
    "XmlIdAttributeModel": {
      "required": [
        "element",
        "attribute"
      ],
      "type": "object",
      "properties": {
        "element": {
          "$ref": "#/definitions/XmlNodeNameModel"
        },
        "attribute": {
          "$ref": "#/definitions/XmlNodeNameModel"
        }
      }
    },
    "XmlNodeNameModel": {
      "required": [
        "localName"
      ],
      "type": "object",
      "properties": {
        "localName": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        }
      }
    },
    "DetachedResourceXmlSignatureRequest": {
      "required": [
        "detachedResourceToSignContent"
      ],
      "type": "object",
      "properties": {
        "detachedResourceToSignContent": {
          "format": "byte",
          "type": "string"
        },
        "detachedResourceReferenceUri": {
          "type": "string"
        },
        "xml": {
          "format": "byte",
          "type": "string"
        },
        "signatureElementId": {
          "type": "string"
        },
        "signatureElementLocation": {
          "$ref": "#/definitions/XmlElementLocationModel"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "OnlineResourceXmlSignatureRequest": {
      "required": [
        "resourceToSignUri"
      ],
      "type": "object",
      "properties": {
        "resourceToSignUri": {
          "type": "string"
        },
        "xml": {
          "format": "byte",
          "type": "string"
        },
        "signatureElementId": {
          "type": "string"
        },
        "signatureElementLocation": {
          "$ref": "#/definitions/XmlElementLocationModel"
        },
        "certificate": {
          "format": "byte",
          "type": "string"
        },
        "signaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "callbackArgument": {
          "type": "string"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        }
      }
    },
    "XmlSignaturePostSignedBytesRequest": {
      "type": "object",
      "properties": {
        "signature": {
          "format": "byte",
          "type": "string"
        }
      }
    },
    "XmlSignaturePostSignedBytesResponse": {
      "type": "object",
      "properties": {
        "signedXml": {
          "format": "byte",
          "type": "string"
        },
        "callbackArgument": {
          "type": "string"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        }
      }
    },
    "OpenXmlSignatureRequestModel": {
      "required": [
        "file"
      ],
      "type": "object",
      "properties": {
        "idResolutionTable": {
          "$ref": "#/definitions/XmlIdResolutionTableModel"
        },
        "file": {
          "$ref": "#/definitions/FileModel"
        },
        "validate": {
          "type": "boolean"
        },
        "auditPackage": {
          "$ref": "#/definitions/AuditPackageOptions"
        },
        "defaultSignaturePolicyId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "acceptableExplicitPolicies": {
          "type": "array",
          "items": {
            "format": "uuid",
            "type": "string",
            "example": "00000000-0000-0000-0000-000000000000"
          }
        },
        "securityContextId": {
          "format": "uuid",
          "type": "string",
          "example": "00000000-0000-0000-0000-000000000000"
        },
        "ignoreRevocationStatusUnknown": {
          "type": "boolean"
        },
        "trustUncertifiedSigningTime": {
          "type": "boolean"
        },
        "dataHashes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/DigestAlgorithmAndValueModel"
          }
        }
      }
    },
    "XmlSignatureModel": {
      "type": "object",
      "properties": {
        "type": {
          "enum": [
            "FullXml",
            "XmlElement",
            "DetachedResource"
          ],
          "type": "string"
        },
        "signedElement": {
          "$ref": "#/definitions/XmlElementModel"
        },
        "signature": {
          "$ref": "#/definitions/SignatureAlgorithmAndValueModel"
        },
        "signaturePolicy": {
          "$ref": "#/definitions/SignaturePolicyIdentifierModel"
        },
        "certificate": {
          "$ref": "#/definitions/CertificateModel"
        },
        "signingTime": {
          "format": "date-time",
          "type": "string"
        },
        "certifiedDateReference": {
          "format": "date-time",
          "type": "string"
        },
        "timestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "archiveTimestamps": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/CadesTimestampModel"
          }
        },
        "validationResults": {
          "$ref": "#/definitions/ValidationResultsModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignerBStampModel"
        }
      }
    },
    "XmlElementModel": {
      "type": "object",
      "properties": {
        "localName": {
          "type": "string"
        },
        "attributes": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/XmlAttributeModel"
          }
        },
        "namespaceUri": {
          "type": "string"
        }
      }
    },
    "XmlAttributeModel": {
      "type": "object",
      "properties": {
        "localName": {
          "type": "string"
        },
        "value": {
          "type": "string"
        },
        "namespaceUri": {
          "type": "string"
        }
      }
    },
    "XmlSignatureResponseModel": {
      "type": "object",
      "properties": {
        "signatures": {
          "type": "array",
          "items": {
            "$ref": "#/definitions/XmlSignatureModel"
          }
        },
        "auditPackage": {
          "$ref": "#/definitions/FileModel"
        },
        "bStamp": {
          "$ref": "#/definitions/SignatureBStampModel"
        }
      }
    }
  }
}
