{
  "openapi": "3.1.1",
  "info": {
    "title": "Conformitly API",
    "version": "v1"
  },
  "paths": {
    "/health": {
      "get": {
        "tags": [
          "Coderise.Conformitly.Api"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/entities/{entityId}/assets": {
      "get": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AssetType"
            }
          },
          {
            "name": "Criticality",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AssetCriticality"
            }
          },
          {
            "name": "OwnerUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "LinkedSupplierId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "IsIctDora",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/assets/metrics": {
      "get": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/assets/{assetId}": {
      "get": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "assetId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/assets/import": {
      "post": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetRow"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetRow"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportAssetRow"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/assets/import/template": {
      "get": {
        "tags": [
          "Assets"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Assets.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/audit-logs": {
      "get": {
        "tags": [
          "AuditLogs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "AuditLogs.Read"
          ]
        }
      }
    },
    "/api/v1/audit-logs/{id}": {
      "get": {
        "tags": [
          "AuditLogs"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "AuditLogs.Read"
          ]
        }
      }
    },
    "/api/v1/audit-logs/export": {
      "get": {
        "tags": [
          "AuditLogs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "userId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "dateFrom",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "dateTo",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "AuditLogs.Read"
          ]
        }
      }
    },
    "/api/v1/auth/register": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-register"
      }
    },
    "/api/v1/auth/login": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/LoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-login"
      }
    },
    "/api/v1/auth/login/2fa": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorLoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-login"
      }
    },
    "/api/v1/auth/login/2fa/enrollment": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorEnrollmentLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorEnrollmentLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorEnrollmentLoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-login"
      }
    },
    "/api/v1/auth/login/password-change": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeLoginRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeLoginRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PasswordChangeLoginRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-login"
      }
    },
    "/api/v1/auth/refresh": {
      "post": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AuthResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-refresh"
      }
    },
    "/api/v1/auth/logout": {
      "post": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/activity": {
      "post": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SessionInfoDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionInfoDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessionInfoDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/forgot-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ForgotPasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-forgot-password"
      }
    },
    "/api/v1/auth/reset-password": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ResetPasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-reset-password"
      }
    },
    "/api/v1/auth/validate-invitation": {
      "get": {
        "tags": [
          "Auth"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateInvitationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateInvitationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateInvitationResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/auth/accept-invitation": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInvitationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInvitationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcceptInvitationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInvitationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInvitationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptInvitationResponse"
                }
              }
            }
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-register"
      }
    },
    "/api/v1/auth/me": {
      "get": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfileResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfileResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UserProfileResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      },
      "patch": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProfileRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/password": {
      "patch": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ChangePasswordRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "auth-change-password"
      }
    },
    "/api/v1/auth/me/sessions": {
      "get": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SessionResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SessionResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SessionResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/sessions/{sessionId}": {
      "delete": {
        "tags": [
          "Auth"
        ],
        "parameters": [
          {
            "name": "sessionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/2fa/setup": {
      "post": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorSetupResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorSetupResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TwoFactorSetupResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/2fa/confirm": {
      "post": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorConfirmRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorConfirmRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorConfirmRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/2fa": {
      "delete": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorDisableRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorDisableRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TwoFactorDisableRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/auth/me/notifications": {
      "get": {
        "tags": [
          "Auth"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      },
      "patch": {
        "tags": [
          "Auth"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationPreferencesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationPreferencesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateNotificationPreferencesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        }
      }
    },
    "/api/v1/entities/{entityId}/automation-rules": {
      "get": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAutomationRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAutomationRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAutomationRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/automation-rules/{ruleId}": {
      "get": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "put": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAutomationRuleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAutomationRuleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAutomationRuleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/automation-rules/{ruleId}/enabled": {
      "post": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAutomationRuleEnabledRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetAutomationRuleEnabledRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetAutomationRuleEnabledRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/automation-rules/executions": {
      "get": {
        "tags": [
          "AutomationRules"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "ruleId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleExecutionListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleExecutionListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AutomationRuleExecutionListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/controls": {
      "get": {
        "tags": [
          "Controls"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "FrameworkType",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "Domain",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "OwnerUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "DueDateLte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DueDateGte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ControlListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/controls/by-domain": {
      "get": {
        "tags": [
          "Controls"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "FrameworkType",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "Domain",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "OwnerUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "DueDateLte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "DueDateGte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ControlDomainGroup"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ControlDomainGroup"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ControlDomainGroup"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/controls/{id}": {
      "get": {
        "tags": [
          "Controls"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Controls"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControlDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/dashboard": {
      "get": {
        "tags": [
          "Dashboard"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DashboardResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches": {
      "get": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DataBreachStatus"
            }
          },
          {
            "name": "RiskLevel",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DataBreachRiskLevel"
            }
          },
          {
            "name": "CnilNotificationRequired",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataBreachRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataBreachRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDataBreachRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/metrics": {
      "get": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}": {
      "get": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataBreachRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataBreachRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDataBreachRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}/notify-cnil": {
      "post": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MarkCnilNotifiedRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/MarkCnilNotifiedRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/MarkCnilNotifiedRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}/notify-persons": {
      "post": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}/close": {
      "post": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}/processing-activity-links": {
      "post": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/data-breaches/{id}/processing-activity-links/{linkId}": {
      "delete": {
        "tags": [
          "DataBreaches"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dpias": {
      "get": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DpiaStatus"
            }
          },
          {
            "name": "ReviewOverdue",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ProcessingActivityId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDpiaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDpiaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDpiaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dpias/metrics": {
      "get": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dpias/{id}": {
      "get": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDpiaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDpiaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDpiaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dpias/{id}/transition": {
      "post": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDpiaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDpiaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDpiaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dpias/{id}/validate": {
      "post": {
        "tags": [
          "Dpias"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateDpiaRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateDpiaRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ValidateDpiaRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs": {
      "get": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "RequestType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DsrType"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DsrStatus"
            }
          },
          {
            "name": "IsOverdue",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDsrRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDsrRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateDsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/metrics": {
      "get": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}": {
      "get": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDsrRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDsrRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/transition": {
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDsrRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDsrRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionDsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/extend": {
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/respond": {
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RespondDsrRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RespondDsrRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RespondDsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/reject": {
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectDsrRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RejectDsrRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RejectDsrRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/processing-activity-links": {
      "post": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/dsrs/{id}/processing-activity-links/{linkId}": {
      "delete": {
        "tags": [
          "Dsrs"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EbiosStudyListItemResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EbiosStudyListItemResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EbiosStudyListItemResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEbiosStudyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEbiosStudyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEbiosStudyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEbiosStudyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEbiosStudyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEbiosStudyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EbiosStudyResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/catalog/risk-sources": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceCatalogItem"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceCatalogItem"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceCatalogItem"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/generate-risks": {
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateRisksResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateRisksResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GenerateRisksResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/essential-goods": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EssentialGoodResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EssentialGoodResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/EssentialGoodResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEssentialGoodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEssentialGoodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEssentialGoodRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/essential-goods/{id}": {
      "patch": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEssentialGoodRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEssentialGoodRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEssentialGoodRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/EssentialGoodResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/support-assets": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupportAssetResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupportAssetResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SupportAssetResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupportAssetRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupportAssetRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupportAssetRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAssetResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAssetResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SupportAssetResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/support-assets/{id}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/feared-events": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FearedEventResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FearedEventResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FearedEventResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFearedEventRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFearedEventRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateFearedEventRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/FearedEventResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FearedEventResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/FearedEventResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/feared-events/{id}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/baseline-gaps": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BaselineGapResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BaselineGapResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/BaselineGapResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBaselineGapRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBaselineGapRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBaselineGapRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BaselineGapResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaselineGapResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BaselineGapResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/baseline-gaps/{id}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/risk-sources": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskSourceResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskSourceRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskSourceRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskSourceRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSourceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSourceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskSourceResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/risk-sources/{id}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/objectives": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectiveResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectiveResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ObjectiveResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateObjectiveRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateObjectiveRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateObjectiveRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectiveResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectiveResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ObjectiveResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/objectives/{id}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/source-objective-pairs": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SourceObjectivePairResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SourceObjectivePairResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SourceObjectivePairResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSourceObjectivePairRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSourceObjectivePairRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSourceObjectivePairRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/source-objective-pairs/{id}": {
      "patch": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSourceObjectivePairRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSourceObjectivePairRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSourceObjectivePairRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SourceObjectivePairResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/strategic-scenarios": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StrategicScenarioResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StrategicScenarioResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StrategicScenarioResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStrategicScenarioRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStrategicScenarioRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateStrategicScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/strategic-scenarios/{id}": {
      "patch": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStrategicScenarioRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStrategicScenarioRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateStrategicScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/StrategicScenarioResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/operational-scenarios": {
      "get": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OperationalScenarioResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OperationalScenarioResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OperationalScenarioResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationalScenarioRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationalScenarioRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateOperationalScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/operational-scenarios/{id}": {
      "patch": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationalScenarioRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationalScenarioRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOperationalScenarioRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OperationalScenarioResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/operational-scenarios/{operationalScenarioId}/attack-steps": {
      "post": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "operationalScenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttackStepRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttackStepRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttackStepRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AttackStepResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttackStepResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AttackStepResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/ebios-studies/{studyId}/operational-scenarios/{operationalScenarioId}/attack-steps/{stepId}": {
      "delete": {
        "tags": [
          "Ebios"
        ],
        "parameters": [
          {
            "name": "operationalScenarioId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "stepId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "studyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities": {
      "get": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Entities"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateEntityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Create"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}": {
      "get": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/archive": {
      "post": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Archive"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/frameworks": {
      "post": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/frameworks/{frameworkType}": {
      "delete": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "frameworkType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/members": {
      "get": {
        "tags": [
          "Entities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/upgrades": {
      "get": {
        "tags": [
          "FrameworkUpgrades"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PendingUpgradeSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PendingUpgradeSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PendingUpgradeSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/frameworks/upgrades/count": {
      "get": {
        "tags": [
          "FrameworkUpgrades"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PendingUpgradeCount"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PendingUpgradeCount"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PendingUpgradeCount"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/frameworks/upgrades/{frameworkCode}/preview": {
      "get": {
        "tags": [
          "FrameworkUpgrades"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradePreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradePreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpgradePreviewResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/frameworks/upgrades/{frameworkCode}/accept": {
      "post": {
        "tags": [
          "FrameworkUpgrades"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptUpgradeResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptUpgradeResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcceptUpgradeResult"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read",
            "Frameworks.AcceptUpgrade"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gap-analysis/{frameworkCode}": {
      "get": {
        "tags": [
          "GapAnalysis"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisStateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisStateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisStateResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "GapAnalysis"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveGapAnalysisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveGapAnalysisRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveGapAnalysisRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gap-analysis/{frameworkCode}/preview": {
      "post": {
        "tags": [
          "GapAnalysis"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewGapAnalysisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewGapAnalysisRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PreviewGapAnalysisRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewGapAnalysisResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewGapAnalysisResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviewGapAnalysisResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gap-analysis/metrics": {
      "get": {
        "tags": [
          "GapAnalysis"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisMetricsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisMetricsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisMetricsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/entities/{entityId}/gdpr/overview": {
      "get": {
        "tags": [
          "GdprOverview"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/group/action-plan": {
      "get": {
        "tags": [
          "GroupActionPlan"
        ],
        "parameters": [
          {
            "name": "entityIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "frameworks",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kinds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "severity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "overdueOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 50
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupActionPlanResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupActionPlanResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupActionPlanResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/group/action-plan/export": {
      "get": {
        "tags": [
          "GroupActionPlan"
        ],
        "parameters": [
          {
            "name": "entityIds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "frameworks",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "kinds",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "severity",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "overdueOnly",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/group/compliance": {
      "get": {
        "tags": [
          "Group"
        ],
        "parameters": [
          {
            "name": "frameworks",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/group/compliance/history": {
      "get": {
        "tags": [
          "GroupHistory"
        ],
        "parameters": [
          {
            "name": "months",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "frameworks",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceHistoryResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceHistoryResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupComplianceHistoryResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/Health": {
      "get": {
        "tags": [
          "Health"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/entities/{entityId}/incidents": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Severity",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/IncidentSeverity"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/IncidentStatus"
            }
          },
          {
            "name": "OwnerUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "RegulatoryNotificationRequired",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/metrics": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIncidentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIncidentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIncidentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/transition": {
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionStatusRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/close": {
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseIncidentRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseIncidentRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloseIncidentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/retex": {
      "put": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRetexRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRetexRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRetexRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/journal": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddJournalEntryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddJournalEntryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddJournalEntryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/checklist": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChecklistItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChecklistItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateChecklistItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/checklist/{itemId}": {
      "patch": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleChecklistItemRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleChecklistItemRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ToggleChecklistItemRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "itemId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/notifications": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "put": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveNotificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveNotificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveNotificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/notifications/submit": {
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitNotificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitNotificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubmitNotificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/links": {
      "get": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIncidentLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/incidents/{incidentId}/links/{linkId}": {
      "delete": {
        "tags": [
          "Incidents"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "incidentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Incidents.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/invitations": {
      "get": {
        "tags": [
          "Invitations"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Invitations"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvitationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvitationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateInvitationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/invitations/{id}": {
      "delete": {
        "tags": [
          "Invitations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/invitations/{id}/resend": {
      "post": {
        "tags": [
          "Invitations"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications": {
      "get": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/NotificationCategory"
            }
          },
          {
            "name": "Priority",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/NotificationPriority"
            }
          },
          {
            "name": "IsRead",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications/unread-count": {
      "get": {
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications/{id}/read": {
      "patch": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications/read-all": {
      "patch": {
        "tags": [
          "Notifications"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications/{id}/unread": {
      "patch": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/notifications/{id}": {
      "delete": {
        "tags": [
          "Notifications"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/status": {
      "get": {
        "tags": [
          "Onboarding"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/OnboardingStatusResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnboardingStatusResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/OnboardingStatusResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        }
      }
    },
    "/api/v1/onboarding/organization": {
      "put": {
        "tags": [
          "Onboarding"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/entities": {
      "put": {
        "tags": [
          "Onboarding"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntitiesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntitiesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateEntitiesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/entities/{entityId}/frameworks": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworksRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworksRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ActivateFrameworksRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FrameworkSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FrameworkSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FrameworkSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/entities/{entityId}/qualification/{framework}": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "framework",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/QualificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/QualificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/QualificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/QualificationResult"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QualificationResult"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/QualificationResult"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/entities/{entityId}/gap-analysis/{framework}": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "framework",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GapAnalysisRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GapAnalysisRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GapAnalysisRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Entity.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/onboarding/entities/{entityId}/gap-analysis/{framework}/results": {
      "get": {
        "tags": [
          "Onboarding"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "framework",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisResultResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisResultResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/GapAnalysisResultResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Controls.Read"
          ]
        }
      }
    },
    "/api/v1/onboarding/complete": {
      "post": {
        "tags": [
          "Onboarding"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteOnboardingResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteOnboardingResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompleteOnboardingResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization": {
      "get": {
        "tags": [
          "Organization"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Organization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/usage": {
      "get": {
        "tags": [
          "Organization"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/settings": {
      "get": {
        "tags": [
          "Organization"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Organization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationSettingsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationSettingsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateOrganizationSettingsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/settings/ip-allowlist": {
      "get": {
        "tags": [
          "Organization"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Organization"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIpAllowlistEntryRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIpAllowlistEntryRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIpAllowlistEntryRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/settings/ip-allowlist/{entryId}": {
      "delete": {
        "tags": [
          "Organization"
        ],
        "parameters": [
          {
            "name": "entryId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Organization.Update"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies": {
      "get": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "FrameworkType",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "AuthorUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "maxLength": 200,
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBlankPolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBlankPolicyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateBlankPolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}": {
      "get": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/from-template": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyFromTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyFromTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyFromTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/submit": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/approve": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveRejectRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveRejectRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApproveRejectRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/publish": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/archive": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/new-version": {
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyDetailResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/versions": {
      "get": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyVersionHistoryItem"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyVersionHistoryItem"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyVersionHistoryItem"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/templates": {
      "get": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "frameworkType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyTemplateResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyTemplateResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyTemplateResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/trust-center": {
      "patch": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetTrustCenterPublicationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetTrustCenterPublicationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetTrustCenterPublicationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/share-links": {
      "get": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyShareLinkResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyShareLinkResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PolicyShareLinkResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShareLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShareLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateShareLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyShareLinkResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyShareLinkResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PolicyShareLinkResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/policies/{policyId}/share-links/{linkId}": {
      "delete": {
        "tags": [
          "Policies"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Policies.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities": {
      "get": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProcessingActivityStatus"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ProcessingCategory"
            }
          },
          {
            "name": "LegalBasis",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/LegalBasis"
            }
          },
          {
            "name": "HasSensitiveData",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "DpiaRequired",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/metrics": {
      "get": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}": {
      "get": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/transition": {
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionProcessingActivityRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionProcessingActivityRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/TransitionProcessingActivityRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/archive": {
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/duplicate": {
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/dpia-check": {
      "get": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/control-links": {
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/control-links/{linkId}": {
      "delete": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/supplier-links": {
      "post": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AddLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/gdpr/processing-activities/{id}/supplier-links/{linkId}": {
      "delete": {
        "tags": [
          "ProcessingActivities"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Gdpr.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/types": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportTypeSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportTypeSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ReportTypeSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/metrics": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportMetricsResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportMetricsResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportMetricsResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/generate": {
      "post": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/exports": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "reportType",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/exports/{exportId}": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportExportResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/exports/{exportId}/download": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "exportId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/preview": {
      "post": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/GenerateReportRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportPreviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportPreviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportPreviewResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/dora-roi/validate": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DoraRoiValidationResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DoraRoiValidationResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DoraRoiValidationResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/snapshots/generate": {
      "post": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Schedule"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/schedules": {
      "post": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportScheduleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportScheduleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReportScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Schedule"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/reports/schedules/{scheduleId}": {
      "get": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "put": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportScheduleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportScheduleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateReportScheduleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ReportScheduleResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Schedule"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Reports"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "scheduleId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Reports.Schedule"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/questionnaire/{token}": {
      "get": {
        "tags": [
          "Respondent"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/questionnaire/{token}/save": {
      "post": {
        "tags": [
          "Respondent"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveResponsesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SaveResponsesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SaveResponsesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/questionnaire/{token}/submit": {
      "post": {
        "tags": [
          "Respondent"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/questionnaire/{token}/attachments": {
      "post": {
        "tags": [
          "Respondent"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/questionnaire/{token}/attachments/{attachmentId}": {
      "get": {
        "tags": [
          "Respondent"
        ],
        "parameters": [
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/entities/{entityId}/risks": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Methodology",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "Category",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "OwnerUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Criticality",
            "in": "query",
            "schema": {
              "maxLength": 100,
              "type": "string"
            }
          },
          {
            "name": "ReviewDueBefore",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "Likelihood",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          },
          {
            "name": "Impact",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int16"
            }
          },
          {
            "name": "EbiosStudyId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "maximum": 100,
              "minimum": 1,
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskListResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskListResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskListResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/matrix": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "methodology",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "residual",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMatrixResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMatrixResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskMatrixResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseRiskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloseRiskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloseRiskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}/treatment-actions": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentActionResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentActionResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TreatmentActionResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTreatmentActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTreatmentActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTreatmentActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}/treatment-actions/{actionId}": {
      "patch": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "actionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTreatmentActionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTreatmentActionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTreatmentActionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreatmentActionResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "actionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}/reviews": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskReviewResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskReviewResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskReviewResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReviewRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReviewRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateReviewRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskReviewResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskReviewResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskReviewResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}/links": {
      "get": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskLinkResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskLinkResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/RiskLinkResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/RiskLinkResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskLinkResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/RiskLinkResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risks/{riskId}/links/{linkId}": {
      "delete": {
        "tags": [
          "Risks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "riskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/risk-thresholds": {
      "get": {
        "tags": [
          "RiskThresholds"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ThresholdResponse"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ThresholdResponse"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ThresholdResponse"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "put": {
        "tags": [
          "RiskThresholds"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateThresholdsRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateThresholdsRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateThresholdsRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ThresholdResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThresholdResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ThresholdResponse"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Risks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Criticality",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupplierCriticality"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupplierStatus"
            }
          },
          {
            "name": "IsIctProvider",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Country",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "AssessmentOverdue",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ContractExpired",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "ContractExpiring",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "PendingQuestionnaire",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Archived",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/metrics": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/{supplierId}": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/import": {
      "post": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportSupplierRow"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportSupplierRow"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ImportSupplierRow"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/import/template": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/import/template/excel": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/{supplierId}/questionnaires": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendQuestionnaireRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SendQuestionnaireRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SendQuestionnaireRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/{supplierId}/questionnaires/{questionnaireId}": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionnaireId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/{supplierId}/questionnaires/{questionnaireId}/attachments/{attachmentId}": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionnaireId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "attachmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/{supplierId}/questionnaires/{questionnaireId}/review": {
      "post": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "supplierId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionnaireId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewQuestionnaireRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewQuestionnaireRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewQuestionnaireRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/roi-dora": {
      "get": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/suppliers/roi-dora/export": {
      "post": {
        "tags": [
          "Suppliers"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Suppliers.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/tasks": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/ComplianceTaskStatus"
            }
          },
          {
            "name": "Priority",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TaskPriority"
            }
          },
          {
            "name": "AssignedToUserId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "DueDateLte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "SourceType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TaskSourceType"
            }
          },
          {
            "name": "LinkedType",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TaskLinkType"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "PageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/tasks/metrics": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/tasks/{taskId}": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/tasks/{taskId}/links": {
      "post": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskLinkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskLinkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskLinkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/tasks/{taskId}/links/{linkId}": {
      "delete": {
        "tags": [
          "Tasks"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "taskId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "linkId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/task-templates": {
      "get": {
        "tags": [
          "TaskTemplates"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/entities/{entityId}/task-templates/apply": {
      "post": {
        "tags": [
          "TaskTemplates"
        ],
        "parameters": [
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyTaskTemplatesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyTaskTemplatesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ApplyTaskTemplatesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Tasks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/control-definitions": {
      "get": {
        "tags": [
          "TenantCustomFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantCustomFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateControlDefinitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateControlDefinitionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateControlDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/control-definitions/{controlDefinitionId}": {
      "get": {
        "tags": [
          "TenantCustomFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "controlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantCustomFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "controlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlDefinitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlDefinitionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateControlDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantCustomFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "controlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/gap-analysis-questions": {
      "get": {
        "tags": [
          "TenantCustomFrameworkGapAnalysisQuestions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantCustomFrameworkGapAnalysisQuestions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGapAnalysisQuestionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGapAnalysisQuestionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGapAnalysisQuestionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/gap-analysis-questions/{questionId}": {
      "get": {
        "tags": [
          "TenantCustomFrameworkGapAnalysisQuestions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantCustomFrameworkGapAnalysisQuestions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGapAnalysisQuestionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGapAnalysisQuestionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateGapAnalysisQuestionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformGapAnalysisQuestionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantCustomFrameworkGapAnalysisQuestions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/policy-templates": {
      "get": {
        "tags": [
          "TenantCustomFrameworkPolicyTemplates"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantCustomFrameworkPolicyTemplates"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreatePolicyTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/policy-templates/{templateId}": {
      "get": {
        "tags": [
          "TenantCustomFrameworkPolicyTemplates"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantCustomFrameworkPolicyTemplates"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdatePolicyTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PlatformPolicyTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantCustomFrameworkPolicyTemplates"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom": {
      "get": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomFrameworkSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomFrameworkSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomFrameworkSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}": {
      "get": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/archive": {
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions": {
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}": {
      "patch": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomFrameworkVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{sourceVersionId}/clone": {
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sourceVersionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomFrameworkVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/export": {
      "get": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read"
          ]
        }
      }
    },
    "/api/v1/frameworks/custom/import": {
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkExportDocument"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkExportDocument"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/FrameworkExportDocument"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/custom/{frameworkCode}/versions/{versionId}/publish": {
      "post": {
        "tags": [
          "TenantCustomFrameworks"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.Read",
            "Frameworks.Publish"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/{frameworkCode}/control-definitions": {
      "post": {
        "tags": [
          "TenantFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomControlDefinitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomControlDefinitionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomControlDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.CustomizeControls"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/{frameworkCode}/control-definitions/{orgControlDefinitionId}": {
      "patch": {
        "tags": [
          "TenantFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orgControlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomControlDefinitionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomControlDefinitionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomControlDefinitionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.CustomizeControls"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orgControlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.CustomizeControls"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/frameworks/{frameworkCode}/control-definitions/{orgControlDefinitionId}/override": {
      "patch": {
        "tags": [
          "TenantFrameworkControlDefinitions"
        ],
        "parameters": [
          {
            "name": "frameworkCode",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "orgControlDefinitionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetControlDefinitionOverridesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SetControlDefinitionOverridesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SetControlDefinitionOverridesRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantControlDefinitionDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Frameworks.CustomizeControls"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/processing-activity-templates": {
      "get": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProcessingActivityTemplateSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProcessingActivityTemplateSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProcessingActivityTemplateSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProcessingActivityTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read",
            "ProcessingActivityTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/processing-activity-templates/{id}": {
      "get": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProcessingActivityTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read",
            "ProcessingActivityTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read",
            "ProcessingActivityTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/processing-activity-templates/from-master/{masterId}/clone": {
      "post": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "parameters": [
          {
            "name": "masterId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneProcessingActivityTemplateFromMasterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneProcessingActivityTemplateFromMasterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloneProcessingActivityTemplateFromMasterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read",
            "ProcessingActivityTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/processing-activity-templates/{id}/archive": {
      "post": {
        "tags": [
          "TenantProcessingActivityTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "ProcessingActivityTemplates.Read",
            "ProcessingActivityTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateSummary"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateSummary"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateSummary"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{id}": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/from-master/{masterTemplateId}/clone": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "masterTemplateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneSupplierQuestionnaireTemplateFromMasterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CloneSupplierQuestionnaireTemplateFromMasterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CloneSupplierQuestionnaireTemplateFromMasterRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{id}/archive": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/import": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierQuestionnaireTemplateExportDocument"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierQuestionnaireTemplateExportDocument"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SupplierQuestionnaireTemplateExportDocument"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateDetail"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{versionId}": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{versionId}/publish": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Publish"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{sourceVersionId}/clone": {
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "sourceVersionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCustomSupplierQuestionnaireTemplateVersionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{versionId}/export": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{versionId}/questions": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                  }
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      },
      "post": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierQuestionnaireTemplateQuestionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierQuestionnaireTemplateQuestionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSupplierQuestionnaireTemplateQuestionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/supplier-questionnaire-templates/{templateId}/versions/{versionId}/questions/{questionId}": {
      "get": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read"
          ]
        }
      },
      "patch": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierQuestionnaireTemplateQuestionRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierQuestionnaireTemplateQuestionRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateSupplierQuestionnaireTemplateQuestionRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateQuestionDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TenantSupplierQuestionnaireTemplates"
        ],
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "versionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "questionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "SupplierQuestionnaireTemplates.Read",
            "SupplierQuestionnaireTemplates.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center": {
      "get": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "patch": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTrustCenterConfigRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTrustCenterConfigRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTrustCenterConfigRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/access-logs": {
      "get": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "parameters": [
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/supplier-requests": {
      "get": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "parameters": [
          {
            "name": "status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/SupplierAccessRequestStatus"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/supplier-requests/{requestId}": {
      "patch": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "parameters": [
          {
            "name": "requestId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierAccessRequestDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierAccessRequestDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ReviewSupplierAccessRequestDto"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/certifications": {
      "get": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "post": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "image": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "expiresAt": {
                        "type": "string",
                        "format": "date-time"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "displayOrder": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int32"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/certifications/{certId}": {
      "patch": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "parameters": [
          {
            "name": "certId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomCertificationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomCertificationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCustomCertificationRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "parameters": [
          {
            "name": "certId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Write"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/organization/trust-center/qr-code": {
      "get": {
        "tags": [
          "TrustCenterAdmin"
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "TrustCenter.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/trust/{slug}": {
      "get": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/trust/{slug}/request-access": {
      "post": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestAccessRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/trust/{slug}/access/{token}": {
      "get": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "token",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/trust/{slug}/policy/{policyId}": {
      "get": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "policyId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "expires",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "signature",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/trust/policy/{shareToken}": {
      "get": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "shareToken",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/trust/{slug}/supplier-access": {
      "post": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestSupplierAccessRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RequestSupplierAccessRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RequestSupplierAccessRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/trust/certifications/{certId}/image": {
      "get": {
        "tags": [
          "TrustCenter"
        ],
        "parameters": [
          {
            "name": "certId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "x-conformitly-authorization": {
          "anonymous": true,
          "policies": []
        }
      }
    },
    "/api/v1/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "search",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "role",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "entityId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "page",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "sortBy",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sortOrder",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/users/{userId}": {
      "get": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Read"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DeleteUserRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/users/{userId}/deactivate": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/users/{userId}/reactivate": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/users/{userId}/roles": {
      "post": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignRoleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AssignRoleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AssignRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    },
    "/api/v1/users/{userId}/roles/{entityId}": {
      "patch": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRoleRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      },
      "delete": {
        "tags": [
          "Users"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "entityId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        },
        "security": [
          {
            "Bearer": []
          }
        ],
        "x-conformitly-authorization": {
          "anonymous": false,
          "policies": [
            "Users.Manage"
          ]
        },
        "x-conformitly-rate-limit": "write"
      }
    }
  },
  "components": {
    "schemas": {
      "AcceptInvitationRequest": {
        "required": [
          "token",
          "firstName",
          "lastName",
          "password"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": "string"
          },
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "password": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AcceptInvitationResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "expiresIn": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "session": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SessionInfoDto"
              }
            ]
          },
          "requiresSignIn": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "organizationName": {
            "type": "string"
          }
        }
      },
      "AcceptUpgradeResult": {
        "required": [
          "organizationFrameworkId",
          "oldAdoptedVersionNumber",
          "newAdoptedVersionNumber",
          "controlsAdded",
          "controlsModified",
          "controlsRemoved",
          "questionsAdded",
          "questionsModified",
          "questionsRemoved",
          "templatesAdded",
          "templatesModified",
          "templatesRemoved",
          "newControlRowsCreated",
          "archivedControlRows",
          "entitiesAffected"
        ],
        "type": "object",
        "properties": {
          "organizationFrameworkId": {
            "type": "string",
            "format": "uuid"
          },
          "oldAdoptedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "newAdoptedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsAdded": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsModified": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsRemoved": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "questionsAdded": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "questionsModified": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "questionsRemoved": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "templatesAdded": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "templatesModified": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "templatesRemoved": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "newControlRowsCreated": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "archivedControlRows": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "entitiesAffected": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ActivateFrameworkRequest": {
        "required": [
          "frameworkType"
        ],
        "type": "object",
        "properties": {
          "frameworkType": {
            "type": "string"
          }
        }
      },
      "ActivateFrameworksRequest": {
        "type": "object",
        "properties": {
          "frameworkTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "targetDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ActivityEntry": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AddJournalEntryRequest": {
        "required": [
          "content"
        ],
        "type": "object",
        "properties": {
          "content": {
            "type": "string"
          }
        }
      },
      "AddLinkRequest": {
        "required": [
          "linkedId"
        ],
        "type": "object",
        "properties": {
          "linkedId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "AffectedVolumeRange": {
        "enum": [
          "Under10",
          "From10To100",
          "From100To1000",
          "From1000To10000",
          "Over10000",
          "Unknown",
          null
        ]
      },
      "ApplyTaskTemplatesRequest": {
        "required": [
          "codes"
        ],
        "type": "object",
        "properties": {
          "codes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "firstDueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "assignedToUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "ApproveRejectRequest": {
        "required": [
          "approved"
        ],
        "type": "object",
        "properties": {
          "approved": {
            "type": "boolean"
          },
          "comment": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AssetCriticality": {
        "enum": [
          "Standard",
          "Important",
          "High",
          "Critical",
          null
        ]
      },
      "AssetType": {
        "enum": [
          "System",
          "Application",
          "Data",
          "Service",
          "Infrastructure",
          "SupplierService",
          null
        ]
      },
      "AssignRoleRequest": {
        "required": [
          "entityId",
          "role"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "AttackStepResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "operationalScenarioId": {
            "type": "string",
            "format": "uuid"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "description": {
            "type": "string"
          },
          "targetSupportAssetId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "targetSupportAssetName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AuditControlRow": {
        "required": [
          "code",
          "title",
          "domain",
          "framework",
          "status",
          "ownerName",
          "dueDate",
          "implementationNote",
          "lastModifiedAt"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "framework": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "implementationNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastModifiedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AuditIncidentRow": {
        "required": [
          "title",
          "severity",
          "status",
          "detectedAt",
          "resolvedAt",
          "closedAt",
          "rootCause",
          "regulatoryNotificationRequired",
          "notificationsSent"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "detectedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "closedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "rootCause": {
            "type": [
              "null",
              "string"
            ]
          },
          "regulatoryNotificationRequired": {
            "type": "boolean"
          },
          "notificationsSent": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "AuditLogRow": {
        "required": [
          "action",
          "resourceType",
          "resourceId",
          "userName",
          "timestamp",
          "diff"
        ],
        "type": "object",
        "properties": {
          "action": {
            "type": "string"
          },
          "resourceType": {
            "type": "string"
          },
          "resourceId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "userName": {
            "type": [
              "null",
              "string"
            ]
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          },
          "diff": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AuditReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "dateFrom": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateTo": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "frameworksAudited": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "controlDetails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuditControlRow"
            }
          },
          "riskRegister": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskReportRow"
            }
          },
          "treatmentActions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskTreatmentActionRow"
            }
          },
          "incidentLog": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuditIncidentRow"
            }
          },
          "auditTrail": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuditLogRow"
            }
          },
          "gdprCompliance": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/GdprReportData"
              }
            ]
          },
          "taskCompletionLog": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuditTaskRow"
            }
          }
        }
      },
      "AuditTaskRow": {
        "required": [
          "title",
          "priority",
          "status",
          "assignedTo",
          "dueDate",
          "completedAt"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "assignedTo": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AuthResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string"
          },
          "expiresIn": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "session": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SessionInfoDto"
              }
            ]
          },
          "requiresTwoFactor": {
            "type": "boolean"
          },
          "twoFactorToken": {
            "type": [
              "null",
              "string"
            ]
          },
          "requiredStep": {
            "type": [
              "null",
              "string"
            ]
          },
          "challengeToken": {
            "type": [
              "null",
              "string"
            ]
          },
          "twoFactorEnrollment": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TwoFactorEnrollmentSetup"
              }
            ]
          },
          "passwordChange": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/PasswordChangeRequirement"
              }
            ]
          }
        }
      },
      "AutomationRuleActionRequest": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "maxLength": 100,
            "type": "string"
          },
          "titleTemplate": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "descriptionTemplate": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "priority": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TaskPriority"
              }
            ]
          },
          "dueInDays": {
            "maximum": 365,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assigneeStrategy": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "specificUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "subjectTemplate": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "bodyTemplate": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "recipientStrategy": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "recipientUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "AutomationRuleActionResponse": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "titleTemplate": {
            "type": [
              "null",
              "string"
            ]
          },
          "descriptionTemplate": {
            "type": [
              "null",
              "string"
            ]
          },
          "priority": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueInDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assigneeStrategy": {
            "type": [
              "null",
              "string"
            ]
          },
          "specificUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "subjectTemplate": {
            "type": [
              "null",
              "string"
            ]
          },
          "bodyTemplate": {
            "type": [
              "null",
              "string"
            ]
          },
          "recipientStrategy": {
            "type": [
              "null",
              "string"
            ]
          },
          "recipientUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "AutomationRuleExecutionListResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationRuleExecutionResponse"
            }
          }
        }
      },
      "AutomationRuleExecutionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ruleId": {
            "type": "string",
            "format": "uuid"
          },
          "triggeredAt": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "type": "string"
          },
          "triggerPayloadJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "resultJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "errorMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdTaskId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "AutomationRuleListResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationRuleResponse"
            }
          }
        }
      },
      "AutomationRuleResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "triggerType": {
            "type": "string"
          },
          "triggerConditions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AutomationRuleTriggerConditionsResponse"
              }
            ]
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationRuleActionResponse"
            }
          },
          "createdByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "updatedByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AutomationRuleTriggerConditionsRequest": {
        "type": "object",
        "properties": {
          "controlStatus": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "incidentSeverityLte": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "riskScoreGte": {
            "maximum": 25,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "requiresNoTreatmentPlan": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "deadlineWithinDays": {
            "maximum": 365,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assessmentOlderThanDays": {
            "maximum": 1095,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "AutomationRuleTriggerConditionsResponse": {
        "type": "object",
        "properties": {
          "controlStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "incidentSeverityLte": {
            "type": [
              "null",
              "string"
            ]
          },
          "riskScoreGte": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "requiresNoTreatmentPlan": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "deadlineWithinDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assessmentOlderThanDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "BaselineGapResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "controlId": {
            "type": "string",
            "format": "uuid"
          },
          "controlCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "controlTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ChangePasswordRequest": {
        "required": [
          "currentPassword",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "currentPassword": {
            "type": "string"
          },
          "newPassword": {
            "type": "string"
          }
        }
      },
      "CloneProcessingActivityTemplateFromMasterRequest": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CloneSupplierQuestionnaireTemplateFromMasterRequest": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CloseIncidentRequest": {
        "required": [
          "rootCause",
          "lessonsLearned",
          "comment"
        ],
        "type": "object",
        "properties": {
          "rootCause": {
            "type": "string"
          },
          "lessonsLearned": {
            "type": "string"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          },
          "closedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "CloseRiskRequest": {
        "required": [
          "justification"
        ],
        "type": "object",
        "properties": {
          "justification": {
            "maxLength": 2000,
            "type": "string"
          }
        }
      },
      "CompleteOnboardingResponse": {
        "type": "object",
        "properties": {
          "controlsGenerated": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "initialScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "redirectUrl": {
            "type": "string"
          }
        }
      },
      "ComplianceActionPlanRow": {
        "required": [
          "controlCode",
          "controlTitle",
          "domain",
          "status",
          "ownerName",
          "dueDate"
        ],
        "type": "object",
        "properties": {
          "controlCode": {
            "type": "string"
          },
          "controlTitle": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ComplianceControlRow": {
        "required": [
          "code",
          "title",
          "domain",
          "status",
          "ownerName",
          "dueDate",
          "implementationNote"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "implementationNote": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComplianceDomainRow": {
        "required": [
          "domain",
          "domainOrder",
          "total",
          "implemented",
          "inProgress",
          "notStarted",
          "notApplicable",
          "scorePercent"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "implemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notStarted": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "scorePercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ComplianceLinkedRiskRow": {
        "required": [
          "riskCode",
          "riskTitle",
          "inherentScore",
          "residualScore",
          "treatmentType",
          "ownerName"
        ],
        "type": "object",
        "properties": {
          "riskCode": {
            "type": "string"
          },
          "riskTitle": {
            "type": "string"
          },
          "inherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "residualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "treatmentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComplianceReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "frameworkLabel": {
            "type": "string"
          },
          "overallScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "previousScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "delta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "comparisonFormulaChanged": {
            "type": "boolean"
          },
          "comparisonFrameworkVersionChanged": {
            "type": "boolean"
          },
          "domains": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplianceDomainRow"
            }
          },
          "controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplianceControlRow"
            }
          },
          "actionPlan": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplianceActionPlanRow"
            }
          },
          "linkedRisks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplianceLinkedRiskRow"
            }
          },
          "scoreHistory": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComplianceScoreHistoryPoint"
            }
          },
          "scoreHistoryFormulaChangedOn": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "scoreHistoryFormulaNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "scoreHistoryFrameworkVersionNote": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComplianceScoreHistoryPoint": {
        "required": [
          "month",
          "score",
          "controlsTotal",
          "controlsImplemented"
        ],
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "format": "date"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "controlsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "formulaVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 2
          },
          "frameworkVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ComplianceTaskStatus": {
        "enum": [
          "Todo",
          "InProgress",
          "Done",
          "Cancelled",
          null
        ]
      },
      "ControlDefinitionExport": {
        "required": [
          "code",
          "title",
          "description",
          "regulatoryReference",
          "domain",
          "domainOrder",
          "subDomain",
          "criticality",
          "weight"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "type": "string"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ControlDefinitionSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "type": "string"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "isCustom": {
            "type": "boolean"
          },
          "frameworkId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "frameworkCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "frameworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrameworkMappingSummary"
            }
          },
          "orgInternalNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "orgRegulatoryReferenceOverride": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ControlDetailResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "controlDefinition": {
            "$ref": "#/components/schemas/ControlDefinitionSummary"
          },
          "status": {
            "type": "string"
          },
          "owner": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OwnerSummary"
              }
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "implementationNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "nonCompliantReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "nonCompliantBy": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "nonCompliantAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "notApplicableReason": {
            "type": [
              "null",
              "string"
            ]
          },
          "notApplicableBy": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "notApplicableAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "evidenceCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ControlDomainGroup": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "implemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notStarted": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nonCompliant": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "progressPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "subDomains": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ControlSubDomainGroup"
            }
          }
        }
      },
      "ControllerType": {
        "enum": [
          "Controller",
          "Processor"
        ]
      },
      "ControlListItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "controlDefinition": {
            "$ref": "#/components/schemas/ControlDefinitionSummary"
          },
          "status": {
            "type": "string"
          },
          "owner": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OwnerSummary"
              }
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "evidenceCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ControlListResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ControlListItem"
            }
          },
          "totalCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ControlStatusChangeDto": {
        "type": "object",
        "properties": {
          "controlId": {
            "type": "string",
            "format": "uuid"
          },
          "controlCode": {
            "type": "string"
          },
          "controlTitle": {
            "type": "string"
          },
          "fromStatus": {
            "type": "string"
          },
          "toStatus": {
            "type": "string"
          }
        }
      },
      "ControlSubDomainGroup": {
        "type": "object",
        "properties": {
          "subDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "implemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notStarted": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nonCompliant": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "progressPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ControlListItem"
            }
          }
        }
      },
      "CreateAssetRequest": {
        "required": [
          "name",
          "type",
          "description"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "$ref": "#/components/schemas/AssetType"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "confidentiality": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 1
          },
          "integrity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 1
          },
          "availability": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 1
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "location": {
            "type": [
              "null",
              "string"
            ]
          },
          "linkedSupplierId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tags": {
            "type": [
              "null",
              "string"
            ]
          },
          "isIctDora": {
            "type": "boolean",
            "default": false
          },
          "doraIctFunction": {
            "type": [
              "null",
              "string"
            ]
          },
          "doraSubstitutability": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DoraSubstitutability"
              }
            ]
          },
          "doraIctDependencyIds": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateAttackStepRequest": {
        "required": [
          "description"
        ],
        "type": "object",
        "properties": {
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "targetSupportAssetId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CreateAutomationRuleRequest": {
        "required": [
          "name",
          "triggerType"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "isEnabled": {
            "type": "boolean"
          },
          "triggerType": {
            "maxLength": 100,
            "type": "string"
          },
          "triggerConditions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AutomationRuleTriggerConditionsRequest"
              }
            ]
          },
          "actions": {
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AutomationRuleActionRequest"
            }
          }
        }
      },
      "CreateBaselineGapRequest": {
        "required": [
          "controlId",
          "status"
        ],
        "type": "object",
        "properties": {
          "controlId": {
            "type": "string",
            "format": "uuid"
          },
          "status": {
            "maxLength": 100,
            "type": "string"
          },
          "comment": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateBlankPolicyRequest": {
        "required": [
          "title",
          "frameworkTypes"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": "string"
          },
          "frameworkTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CreateChecklistItemRequest": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          }
        }
      },
      "CreateControlDefinitionRequest": {
        "required": [
          "code",
          "title",
          "description",
          "domain",
          "criticality"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[A-Z][A-Z0-9-]{1,49}$",
            "type": "string"
          },
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "$ref": "#/components/schemas/Criticality"
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "CreateCustomControlDefinitionRequest": {
        "required": [
          "code",
          "title",
          "description",
          "domain",
          "criticality"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[A-Z][A-Z0-9-]{1,49}$",
            "type": "string"
          },
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "maxLength": 4000,
            "minLength": 1,
            "type": "string"
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "$ref": "#/components/schemas/Criticality"
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "CreateCustomFrameworkRequest": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          }
        }
      },
      "CreateCustomFrameworkVersionRequest": {
        "type": "object",
        "properties": {
          "changeLog": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateCustomSupplierQuestionnaireTemplateRequest": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateCustomSupplierQuestionnaireTemplateVersionRequest": {
        "type": "object",
        "properties": {
          "changeLog": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateDataBreachRequest": {
        "required": [
          "title",
          "description",
          "detectedAt",
          "occurredAt",
          "natureTypes",
          "riskLevel"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "detectedAt": {
            "type": "string",
            "format": "date-time"
          },
          "occurredAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "natureTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "riskLevel": {
            "$ref": "#/components/schemas/DataBreachRiskLevel"
          },
          "incidentId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "affectedDataCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "sensitiveDataInvolved": {
            "type": "boolean",
            "default": false
          },
          "affectedPersonsVolume": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AffectedVolumeRange"
              }
            ]
          },
          "affectedRecordsCount": {
            "type": [
              "null",
              "string"
            ]
          },
          "consequencesAssessment": {
            "type": [
              "null",
              "string"
            ]
          },
          "immediateMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "correctiveMeasures": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateDpiaRequest": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "processingActivityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "necessityAssessment": {
            "type": [
              "null",
              "string"
            ]
          },
          "actorsInvolved": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateDsrRequest": {
        "required": [
          "requestType",
          "channel",
          "subjectName",
          "subjectEmail",
          "description",
          "receivedAt"
        ],
        "type": "object",
        "properties": {
          "requestType": {
            "$ref": "#/components/schemas/DsrType"
          },
          "channel": {
            "$ref": "#/components/schemas/DsrChannel"
          },
          "subjectName": {
            "type": "string"
          },
          "subjectEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": "string"
          },
          "receivedAt": {
            "type": "string",
            "format": "date-time"
          },
          "assignedToUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CreateEbiosStudyRequest": {
        "required": [
          "title"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateEntityRequest": {
        "required": [
          "name",
          "type",
          "country"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "sector": {
            "type": [
              "null",
              "string"
            ]
          },
          "parentEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CreateEssentialGoodRequest": {
        "required": [
          "name",
          "sensitivityLevel",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "sensitivityLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "type": {
            "maxLength": 100,
            "type": "string"
          }
        }
      },
      "CreateFearedEventRequest": {
        "required": [
          "essentialGoodId",
          "description",
          "gravityLevel"
        ],
        "type": "object",
        "properties": {
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "gravityLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impactType": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateGapAnalysisQuestionRequest": {
        "required": [
          "code",
          "question",
          "domain"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[A-Z][A-Z0-9-]{1,49}$",
            "type": "string"
          },
          "question": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": "string"
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "relatedControlCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "order": {
            "maximum": 10000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "CreateIncidentLinkRequest": {
        "required": [
          "linkedType",
          "linkedId"
        ],
        "type": "object",
        "properties": {
          "linkedType": {
            "$ref": "#/components/schemas/IncidentLinkType"
          },
          "linkedId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "CreateIncidentRequest": {
        "required": [
          "title",
          "description",
          "severity",
          "detectionAt",
          "ownerUserId"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "$ref": "#/components/schemas/IncidentSeverity"
          },
          "detectionAt": {
            "type": "string",
            "format": "date-time"
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "regulatoryNotificationRequired": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "CreateInvitationRequest": {
        "required": [
          "email",
          "roles"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvitationRoleInput"
            }
          }
        }
      },
      "CreateIpAllowlistEntryRequest": {
        "required": [
          "cidrRange",
          "label"
        ],
        "type": "object",
        "properties": {
          "cidrRange": {
            "type": "string"
          },
          "label": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateObjectiveRequest": {
        "required": [
          "essentialGoodId",
          "description"
        ],
        "type": "object",
        "properties": {
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          }
        }
      },
      "CreateOperationalScenarioRequest": {
        "required": [
          "strategicScenarioId",
          "description",
          "operationalLikelihood"
        ],
        "type": "object",
        "properties": {
          "strategicScenarioId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "operationalLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "CreatePolicyFromTemplateRequest": {
        "required": [
          "templateId"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "maxLength": 500,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreatePolicyTemplateRequest": {
        "required": [
          "code",
          "title",
          "content"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[A-Z][A-Z0-9-]{1,49}$",
            "type": "string"
          },
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateProcessingActivityRequest": {
        "required": [
          "name",
          "purpose",
          "legalBasis",
          "legitimateInterestDescription",
          "controllerType",
          "category",
          "referentUserId"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "legalBasis": {
            "$ref": "#/components/schemas/LegalBasis"
          },
          "legitimateInterestDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "controllerType": {
            "$ref": "#/components/schemas/ControllerType"
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProcessingCategory"
              }
            ]
          },
          "referentUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "dataSubjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dataCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "hasSensitiveData": {
            "type": "boolean",
            "default": false
          },
          "sensitiveDataTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dataVolumeRange": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DataVolumeRange"
              }
            ]
          },
          "internalRecipients": {
            "type": [
              "null",
              "string"
            ]
          },
          "externalRecipientsText": {
            "type": [
              "null",
              "string"
            ]
          },
          "thirdCountryTransfers": {
            "type": "boolean",
            "default": false
          },
          "transferCountries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "transferMechanism": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TransferMechanism"
              }
            ]
          },
          "transferSafeguards": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionActivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionArchivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionDisposition": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RetentionDisposition"
              }
            ]
          },
          "retentionLegalBasis": {
            "type": [
              "null",
              "string"
            ]
          },
          "technicalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "organizationalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "controllerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "processorName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateProcessingActivityTemplateRequest": {
        "required": [
          "code",
          "name",
          "purpose",
          "legalBasis",
          "controllerType",
          "category"
        ],
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": "string"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "purpose": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          },
          "legalBasis": {
            "$ref": "#/components/schemas/LegalBasis"
          },
          "controllerType": {
            "$ref": "#/components/schemas/ControllerType"
          },
          "category": {
            "$ref": "#/components/schemas/ProcessingCategory"
          },
          "dataSubjects": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dataCategories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "hasSensitiveData": {
            "type": "boolean"
          },
          "sensitiveDataTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "retentionActivePeriod": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "retentionDispositionHint": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateReportScheduleRequest": {
        "required": [
          "reportType",
          "format",
          "frequency"
        ],
        "type": "object",
        "properties": {
          "reportType": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "frequency": {
            "type": "string"
          },
          "dayOfGeneration": {
            "maximum": 31,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "parameters": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ReportParametersDto"
              }
            ]
          },
          "recipients": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "includeAiSynthesis": {
            "type": "boolean"
          }
        }
      },
      "CreateReviewRequest": {
        "type": "object",
        "properties": {
          "newLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newConfidentialityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newIntegrityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newAvailabilityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "comment": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "nextReviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "CreateRiskLinkRequest": {
        "required": [
          "linkedType",
          "linkedId"
        ],
        "type": "object",
        "properties": {
          "linkedType": {
            "maxLength": 100,
            "type": "string"
          },
          "linkedId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "CreateRiskRequest": {
        "required": [
          "title",
          "methodology"
        ],
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "methodology": {
            "maxLength": 100,
            "type": "string"
          },
          "category": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "confidentialityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "integrityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "availabilityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "treatmentType": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "reviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "CreateRiskSourceRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "isFromCatalog": {
            "type": "boolean"
          }
        }
      },
      "CreateShareLinkRequest": {
        "required": [
          "expirationDays",
          "allowDownload"
        ],
        "type": "object",
        "properties": {
          "expirationDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "allowDownload": {
            "type": "boolean"
          }
        }
      },
      "CreateSourceObjectivePairRequest": {
        "required": [
          "riskSourceId",
          "objectiveId"
        ],
        "type": "object",
        "properties": {
          "riskSourceId": {
            "type": "string",
            "format": "uuid"
          },
          "objectiveId": {
            "type": "string",
            "format": "uuid"
          },
          "isRetained": {
            "type": "boolean"
          },
          "justification": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateStrategicScenarioRequest": {
        "required": [
          "sourceObjectivePairId",
          "description",
          "threatLevel",
          "likelihood"
        ],
        "type": "object",
        "properties": {
          "sourceObjectivePairId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "maxLength": 2000,
            "type": "string"
          },
          "threatLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "stakeholderNotes": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CreateSupplierQuestionnaireTemplateQuestionRequest": {
        "required": [
          "questionCode",
          "category",
          "text",
          "weight"
        ],
        "type": "object",
        "properties": {
          "questionCode": {
            "maxLength": 50,
            "minLength": 1,
            "type": "string"
          },
          "category": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "text": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CreateSupplierRequest": {
        "required": [
          "name",
          "criticality",
          "country"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "criticality": {
            "$ref": "#/components/schemas/SupplierCriticality"
          },
          "country": {
            "type": "string"
          },
          "serviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactName": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "isIctProvider": {
            "type": "boolean",
            "default": false
          },
          "doraCriticality": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DoraCriticality"
              }
            ]
          },
          "contractExpiry": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "securityClauses": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "CreateSupportAssetRequest": {
        "required": [
          "essentialGoodId",
          "name"
        ],
        "type": "object",
        "properties": {
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "linkedAssetId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CreateTaskLinkRequest": {
        "required": [
          "linkedType",
          "linkedId"
        ],
        "type": "object",
        "properties": {
          "linkedType": {
            "$ref": "#/components/schemas/TaskLinkType"
          },
          "linkedId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "CreateTaskRequest": {
        "required": [
          "title",
          "description",
          "priority",
          "dueDate",
          "assignedToUserId"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "priority": {
            "$ref": "#/components/schemas/TaskPriority"
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "assignedToUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "type": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TaskType"
              }
            ]
          },
          "recurrenceRule": {
            "type": [
              "null",
              "string"
            ]
          },
          "sourceType": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TaskSourceType"
              }
            ]
          },
          "sourceId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CreateTreatmentActionRequest": {
        "required": [
          "action"
        ],
        "type": "object",
        "properties": {
          "action": {
            "maxLength": 2000,
            "type": "string"
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "linkedControlId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "CriticalItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "framework": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "Criticality": {
        "enum": [
          "Critical",
          "Important",
          "Standard"
        ]
      },
      "CustomFrameworkDetail": {
        "required": [
          "id",
          "code",
          "name",
          "status",
          "currentPublishedVersionId",
          "createdAt",
          "archivedAt",
          "versions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "currentPublishedVersionId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "archivedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFrameworkVersionSummary"
            }
          }
        }
      },
      "CustomFrameworkSummary": {
        "required": [
          "id",
          "code",
          "name",
          "status",
          "currentPublishedVersionId",
          "currentPublishedVersionNumber",
          "versionCount",
          "createdAt",
          "archivedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "currentPublishedVersionId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "currentPublishedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "versionCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "archivedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "CustomFrameworkVersionSummary": {
        "required": [
          "id",
          "versionNumber",
          "status",
          "publishedAt",
          "publishedByUserId",
          "changeLog",
          "createdAt",
          "controlDefinitionCount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "versionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "status": {
            "type": "string"
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "publishedByUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "changeLog": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "controlDefinitionCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CustomSupplierQuestionnaireTemplateDetail": {
        "required": [
          "id",
          "code",
          "name",
          "description",
          "kind",
          "status",
          "currentPublishedVersionId",
          "createdAt",
          "archivedAt",
          "inUseCount",
          "versions"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "kind": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "currentPublishedVersionId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "archivedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "inUseCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "versions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomSupplierQuestionnaireTemplateVersionSummary"
            }
          }
        }
      },
      "CustomSupplierQuestionnaireTemplateQuestionDto": {
        "required": [
          "id",
          "questionCode",
          "category",
          "text",
          "weight",
          "order"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "questionCode": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CustomSupplierQuestionnaireTemplateSummary": {
        "required": [
          "id",
          "code",
          "name",
          "description",
          "kind",
          "status",
          "currentPublishedVersionId",
          "currentPublishedVersionNumber",
          "versionCount",
          "createdAt",
          "archivedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "kind": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "currentPublishedVersionId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "currentPublishedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "versionCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "archivedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "CustomSupplierQuestionnaireTemplateVersionSummary": {
        "required": [
          "id",
          "versionNumber",
          "status",
          "publishedAt",
          "publishedByUserId",
          "changeLog",
          "createdAt",
          "questionCount"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "versionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "status": {
            "type": "string"
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "publishedByUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "changeLog": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "questionCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "DashboardResponse": {
        "type": "object",
        "properties": {
          "organization": {
            "$ref": "#/components/schemas/OrganizationInfo"
          },
          "stats": {
            "$ref": "#/components/schemas/DashboardStats"
          },
          "frameworkScores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrameworkScore"
            }
          },
          "criticalItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CriticalItem"
            }
          },
          "recentActivity": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ActivityEntry"
            }
          }
        }
      },
      "DashboardStats": {
        "type": "object",
        "properties": {
          "totalControls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "implementedControls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inProgressControls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notStartedControls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "activeFrameworks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criticalRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "highRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reviewDueRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalTasks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inProgressTasks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "overdueTasks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tasksDueThisWeek": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "DataBreachRiskLevel": {
        "enum": [
          "Low",
          "Moderate",
          "High",
          "VeryHigh",
          null
        ]
      },
      "DataBreachRow": {
        "required": [
          "title",
          "detectedAt",
          "riskLevel",
          "status",
          "cnilNotificationRequired",
          "cnilNotifiedAt",
          "personsNotificationRequired",
          "personsNotifiedAt"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "detectedAt": {
            "type": "string",
            "format": "date-time"
          },
          "riskLevel": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "cnilNotificationRequired": {
            "type": "boolean"
          },
          "cnilNotifiedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "personsNotificationRequired": {
            "type": "boolean"
          },
          "personsNotifiedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "DataBreachStatus": {
        "enum": [
          "Detected",
          "UnderAssessment",
          "CnilNotified",
          "PersonsNotified",
          "Closed",
          null
        ]
      },
      "DataVolumeRange": {
        "enum": [
          "Under100",
          "From100To1000",
          "From1000To10000",
          "From10000To100000",
          "Over100000",
          null
        ]
      },
      "DeleteUserRequest": {
        "required": [
          "reassignToUserId"
        ],
        "type": "object",
        "properties": {
          "reassignToUserId": {
            "type": "string",
            "format": "uuid"
          }
        }
      },
      "DiffedControl": {
        "required": [
          "code",
          "title",
          "domain",
          "criticality"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "criticality": {
            "type": "string"
          }
        }
      },
      "DiffedQuestion": {
        "required": [
          "code",
          "question",
          "domain"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          }
        }
      },
      "DiffedTemplate": {
        "required": [
          "code",
          "title",
          "category"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "DomainScore": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "level": {
            "type": "string"
          }
        }
      },
      "DomainScoreDto": {
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "level": {
            "type": "string"
          }
        }
      },
      "DoraCriticality": {
        "enum": [
          "Critical",
          "NonCritical",
          null
        ]
      },
      "DoraRoiValidationItem": {
        "type": "object",
        "properties": {
          "sheet": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "supplierId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "supplierName": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": "string"
          }
        }
      },
      "DoraRoiValidationResponse": {
        "type": "object",
        "properties": {
          "completionPercentage": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "isValid": {
            "type": "boolean"
          },
          "exportAllowed": {
            "type": "boolean"
          },
          "warnings": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DoraRoiValidationItem"
            }
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DoraRoiValidationItem"
            }
          }
        }
      },
      "DoraSubstitutability": {
        "enum": [
          "Easy",
          "Difficult",
          "NonSubstitutable",
          null
        ]
      },
      "DpiaRow": {
        "required": [
          "title",
          "processingActivityName",
          "status",
          "dpoDecision",
          "nextReviewDate",
          "validatedAt"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "processingActivityName": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "dpoDecision": {
            "type": [
              "null",
              "string"
            ]
          },
          "nextReviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "validatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "DpiaStatus": {
        "enum": [
          "Draft",
          "InProgress",
          "AwaitingValidation",
          "Validated",
          "Rejected",
          null
        ]
      },
      "DpoDecision": {
        "enum": [
          "Authorized",
          "Conditional",
          "Rejected"
        ]
      },
      "DsrChannel": {
        "enum": [
          "Email",
          "Mail",
          "WebForm",
          "Verbal"
        ]
      },
      "DsrStatsRow": {
        "required": [
          "total",
          "completed",
          "pending",
          "overdue",
          "avgDaysToComplete",
          "byType"
        ],
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "completed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pending": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "overdue": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "avgDaysToComplete": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "byType": {
            "type": "object",
            "additionalProperties": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        }
      },
      "DsrStatus": {
        "enum": [
          "Received",
          "IdentityCheck",
          "Processing",
          "PendingExtension",
          "Answered",
          "Closed",
          "Rejected",
          null
        ]
      },
      "DsrType": {
        "enum": [
          "Access",
          "Rectification",
          "Erasure",
          "Restriction",
          "Portability",
          "Objection",
          "AutomatedDecision",
          null
        ]
      },
      "EbiosStudyListItemResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "completion": {
            "$ref": "#/components/schemas/WorkshopCompletion"
          }
        }
      },
      "EbiosStudyResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "createdByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "createdByName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "completion": {
            "$ref": "#/components/schemas/WorkshopCompletion"
          }
        }
      },
      "EntityDto": {
        "required": [
          "name",
          "type",
          "country"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "parentEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "country": {
            "maxLength": 2,
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "EntityInfoRow": {
        "required": [
          "entityName",
          "organizationName",
          "sector",
          "generatedAt"
        ],
        "type": "object",
        "properties": {
          "entityName": {
            "type": "string"
          },
          "organizationName": {
            "type": "string"
          },
          "sector": {
            "type": [
              "null",
              "string"
            ]
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EntityRoleDto": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "EntitySummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "parentEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "frameworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrameworkSummary"
            }
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "revenueRange": {
            "type": [
              "null",
              "string"
            ]
          },
          "doraType": {
            "type": [
              "null",
              "string"
            ]
          },
          "hasDpo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "dpoName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dpoEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "iso27001Certified": {
            "type": "boolean"
          },
          "iso27001CertDate": {
            "type": [
              "null",
              "string"
            ]
          },
          "iso27001CertExpiry": {
            "type": [
              "null",
              "string"
            ]
          },
          "nis2Classification": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "EssentialGoodResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "sensitivityLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "type": {
            "type": "string"
          }
        }
      },
      "ExecutiveIncidentSummary": {
        "type": "object",
        "properties": {
          "totalPeriod": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "critical": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "high": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "resolved": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          }
        }
      },
      "ExecutiveReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "frameworkScores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrameworkScoreRow"
            }
          },
          "criticalRisks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskReportRow"
            }
          },
          "riskSummary": {
            "$ref": "#/components/schemas/ExecutiveRiskSummary"
          },
          "recentIncidents": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IncidentSummaryRow"
            }
          },
          "incidentSummary": {
            "$ref": "#/components/schemas/ExecutiveIncidentSummary"
          },
          "overdueTasks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverdueTaskRow"
            }
          },
          "taskSummary": {
            "$ref": "#/components/schemas/ExecutiveTaskSummary"
          },
          "upcomingDeadlines": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpcomingDeadlineRow"
            }
          },
          "keyHighlights": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ExecutiveRiskSummary": {
        "type": "object",
        "properties": {
          "totalRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "openRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "criticalCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "treatmentRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double",
            "default": 0
          }
        }
      },
      "ExecutiveTaskSummary": {
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "inProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "overdue": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          },
          "completedThisMonth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          }
        }
      },
      "FearedEventResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "gravityLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impactType": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FieldDiff": {
        "required": [
          "field",
          "fromValue",
          "toValue"
        ],
        "type": "object",
        "properties": {
          "field": {
            "type": "string"
          },
          "fromValue": {
            "type": "string"
          },
          "toValue": {
            "type": "string"
          }
        }
      },
      "ForgotPasswordRequest": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "maxLength": 255,
            "type": "string"
          }
        }
      },
      "FrameworkExportDocument": {
        "type": "object",
        "properties": {
          "$schema": {
            "type": "string"
          },
          "framework": {
            "$ref": "#/components/schemas/FrameworkExportMeta"
          },
          "version": {
            "$ref": "#/components/schemas/FrameworkVersionExportMeta"
          },
          "controlDefinitions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ControlDefinitionExport"
            }
          },
          "gapAnalysisQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapAnalysisQuestionExport"
            }
          },
          "policyTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyTemplateExport"
            }
          }
        }
      },
      "FrameworkExportMeta": {
        "required": [
          "code",
          "name"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "FrameworkMappingSummary": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "code": {
            "type": "string"
          },
          "isPrimary": {
            "type": "boolean"
          }
        }
      },
      "FrameworkScore": {
        "type": "object",
        "properties": {
          "framework": {
            "type": "string"
          },
          "frameworkLabel": {
            "type": "string"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "previousScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "delta": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "trendStatus": {
            "type": "string"
          },
          "controlsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsInProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "FrameworkScoreRow": {
        "required": [
          "frameworkType",
          "label",
          "score",
          "controlsTotal",
          "controlsImplemented",
          "delta30d"
        ],
        "type": "object",
        "properties": {
          "frameworkType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "controlsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "delta30d": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "trendStatus": {
            "type": "string",
            "default": "no-baseline"
          }
        }
      },
      "FrameworkSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkType": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "activatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "FrameworkVersionExportMeta": {
        "required": [
          "versionNumber",
          "changeLog"
        ],
        "type": "object",
        "properties": {
          "versionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "changeLog": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "GapAnalysisAnswerDto": {
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string"
          },
          "answer": {
            "type": "string"
          }
        }
      },
      "GapAnalysisMetricsResponse": {
        "type": "object",
        "properties": {
          "unansweredCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GapAnalysisQuestionExport": {
        "required": [
          "code",
          "question",
          "regulatoryReference",
          "domain",
          "domainOrder",
          "relatedControlCodes",
          "order",
          "weight"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "relatedControlCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GapAnalysisReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "frameworkLabel": {
            "type": "string"
          },
          "overallProgressPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "domainSummaries": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapDomainSummary"
            }
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapQuestionRow"
            }
          },
          "remainingActions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapRemainingActionRow"
            }
          }
        }
      },
      "GapAnalysisRequest": {
        "type": "object",
        "properties": {
          "responses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapAnalysisAnswerDto"
            }
          }
        }
      },
      "GapAnalysisResultResponse": {
        "type": "object",
        "properties": {
          "overallScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "domainScores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DomainScore"
            }
          },
          "controlsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsPriority": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GapAnalysisScoreDto": {
        "type": "object",
        "properties": {
          "overallScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "domainScores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DomainScoreDto"
            }
          },
          "questionsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "questionsAnswered": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GapAnalysisStateResponse": {
        "type": "object",
        "properties": {
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapQuestionDto"
            }
          },
          "responses": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          },
          "score": {
            "$ref": "#/components/schemas/GapAnalysisScoreDto"
          }
        }
      },
      "GapAnswerDto": {
        "required": [
          "questionId",
          "answer"
        ],
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string"
          },
          "answer": {
            "type": "string"
          }
        }
      },
      "GapDomainSummary": {
        "required": [
          "domain",
          "totalQuestions",
          "gapsClosed",
          "progressPercent"
        ],
        "type": "object",
        "properties": {
          "domain": {
            "type": "string"
          },
          "totalQuestions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "gapsClosed": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "progressPercent": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "GapQuestionDto": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "relatedControlCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "GapQuestionRow": {
        "required": [
          "questionId",
          "domain",
          "questionText",
          "initialAnswer",
          "currentControlStatus",
          "gapClosed"
        ],
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "questionText": {
            "type": "string"
          },
          "initialAnswer": {
            "type": "string"
          },
          "currentControlStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "gapClosed": {
            "type": "boolean"
          }
        }
      },
      "GapRemainingActionRow": {
        "required": [
          "questionId",
          "domain",
          "questionText",
          "linkedControlCode",
          "linkedControlTitle",
          "currentControlStatus"
        ],
        "type": "object",
        "properties": {
          "questionId": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "questionText": {
            "type": "string"
          },
          "linkedControlCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "linkedControlTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "currentControlStatus": {
            "type": "string"
          }
        }
      },
      "GdprReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "processingActivities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProcessingActivityRow"
            }
          },
          "dpias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DpiaRow"
            }
          },
          "dsrStats": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DsrStatsRow"
              }
            ]
          },
          "dataBreaches": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DataBreachRow"
            }
          }
        }
      },
      "GenerateReportRequest": {
        "required": [
          "reportType",
          "format"
        ],
        "type": "object",
        "properties": {
          "reportType": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "parameters": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ReportParametersDto"
              }
            ]
          },
          "scheduleId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "GenerateRisksResponse": {
        "type": "object",
        "properties": {
          "risksGenerated": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "riskIds": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            }
          }
        }
      },
      "GroupActionPlanEntity": {
        "required": [
          "id",
          "name"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "GroupActionPlanEntityCount": {
        "required": [
          "entityId",
          "count"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GroupActionPlanFramework": {
        "required": [
          "code",
          "label"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "GroupActionPlanItem": {
        "required": [
          "kind",
          "id",
          "entityId",
          "entityName",
          "framework",
          "frameworkLabel",
          "reference",
          "title",
          "riskId",
          "riskTitle",
          "severity",
          "status",
          "dueDate",
          "isOverdue"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityName": {
            "type": "string"
          },
          "framework": {
            "type": [
              "null",
              "string"
            ]
          },
          "frameworkLabel": {
            "type": [
              "null",
              "string"
            ]
          },
          "reference": {
            "type": [
              "null",
              "string"
            ]
          },
          "title": {
            "type": "string"
          },
          "riskId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "riskTitle": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "isOverdue": {
            "type": "boolean"
          }
        }
      },
      "GroupActionPlanKindScope": {
        "required": [
          "kind",
          "allowedEntities"
        ],
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "allowedEntities": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GroupActionPlanResponse": {
        "required": [
          "scope",
          "entities",
          "frameworks",
          "items",
          "page",
          "pageSize",
          "totalCount",
          "totals",
          "computedAt"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/GroupActionPlanScope"
          },
          "entities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupActionPlanEntity"
            }
          },
          "frameworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupActionPlanFramework"
            }
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupActionPlanItem"
            }
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totals": {
            "$ref": "#/components/schemas/GroupActionPlanTotals"
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GroupActionPlanScope": {
        "required": [
          "allowedEntities",
          "totalActiveEntities",
          "isPartial",
          "kinds"
        ],
        "type": "object",
        "properties": {
          "allowedEntities": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalActiveEntities": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "isPartial": {
            "type": "boolean"
          },
          "kinds": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupActionPlanKindScope"
            }
          }
        }
      },
      "GroupActionPlanTotals": {
        "required": [
          "controls",
          "tasks",
          "riskActions",
          "overdue",
          "critical",
          "withoutDueDate",
          "byEntity"
        ],
        "type": "object",
        "properties": {
          "controls": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tasks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "riskActions": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "overdue": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "critical": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "withoutDueDate": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "byEntity": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupActionPlanEntityCount"
            }
          }
        }
      },
      "GroupComplianceCell": {
        "required": [
          "framework",
          "activated"
        ],
        "type": "object",
        "properties": {
          "framework": {
            "type": "string"
          },
          "activated": {
            "type": "boolean"
          },
          "instanceStatus": {
            "type": [
              "null",
              "string"
            ]
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "controlsApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsInProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsNotApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criticalNotImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "GroupComplianceHistoryResponse": {
        "required": [
          "scope",
          "from",
          "to",
          "currentFormulaVersion",
          "weighting",
          "series",
          "computedAt"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/GroupScopeSummary"
          },
          "from": {
            "type": "string",
            "format": "date"
          },
          "to": {
            "type": "string",
            "format": "date"
          },
          "currentFormulaVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weighting": {
            "type": "string"
          },
          "series": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupHistorySeries"
            }
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GroupComplianceResponse": {
        "required": [
          "scope",
          "frameworks",
          "entities",
          "weakest",
          "distribution",
          "computedAt"
        ],
        "type": "object",
        "properties": {
          "scope": {
            "$ref": "#/components/schemas/GroupScopeSummary"
          },
          "frameworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupFrameworkColumn"
            }
          },
          "entities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupEntityRow"
            }
          },
          "weakest": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/GroupWeakestCell"
              }
            ]
          },
          "distribution": {
            "$ref": "#/components/schemas/GroupScoreDistribution"
          },
          "computedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "GroupEntityRow": {
        "required": [
          "entityId",
          "name",
          "type",
          "parentEntityId",
          "depth",
          "headcount",
          "cells"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "parentEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "depth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupComplianceCell"
            }
          }
        }
      },
      "GroupFrameworkColumn": {
        "required": [
          "code",
          "label",
          "adoptedVersionNumber",
          "upgradePending",
          "entitiesActivated",
          "groupScore",
          "controlsApplicable",
          "controlsImplemented",
          "weighting"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "adoptedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "upgradePending": {
            "type": "boolean"
          },
          "entitiesActivated": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "groupScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "controlsApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weighting": {
            "type": "string"
          }
        }
      },
      "GroupHistoryPoint": {
        "required": [
          "month",
          "score",
          "entitiesCovered",
          "controlsApplicable",
          "controlsImplemented",
          "formulaVersion",
          "mixedFormulas",
          "frameworkVersion",
          "mixedFrameworkVersions"
        ],
        "type": "object",
        "properties": {
          "month": {
            "type": "string",
            "format": "date"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "entitiesCovered": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsApplicable": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "controlsImplemented": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "formulaVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "mixedFormulas": {
            "type": "boolean"
          },
          "frameworkVersion": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "mixedFrameworkVersions": {
            "type": "boolean"
          }
        }
      },
      "GroupHistorySeries": {
        "required": [
          "framework",
          "label",
          "entitiesInScope",
          "formulaChangedOn",
          "formulaNote",
          "frameworkVersionNote",
          "points"
        ],
        "type": "object",
        "properties": {
          "framework": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "entitiesInScope": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "formulaChangedOn": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "formulaNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "frameworkVersionNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "points": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupHistoryPoint"
            }
          }
        }
      },
      "GroupScopeSummary": {
        "required": [
          "allowedEntities",
          "totalActiveEntities",
          "isPartial"
        ],
        "type": "object",
        "properties": {
          "allowedEntities": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalActiveEntities": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "isPartial": {
            "type": "boolean"
          }
        }
      },
      "GroupScoreDistribution": {
        "required": [
          "scoredCells",
          "below50",
          "from50To75",
          "above75",
          "median"
        ],
        "type": "object",
        "properties": {
          "scoredCells": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "below50": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "from50To75": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "above75": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "median": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "GroupWeakestCell": {
        "required": [
          "framework",
          "frameworkLabel",
          "entityId",
          "entityName",
          "score"
        ],
        "type": "object",
        "properties": {
          "framework": {
            "type": "string"
          },
          "frameworkLabel": {
            "type": "string"
          },
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityName": {
            "type": "string"
          },
          "score": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "ImportAssetRow": {
        "required": [
          "name",
          "type",
          "description",
          "confidentiality",
          "integrity",
          "availability",
          "location",
          "tags"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "confidentiality": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "integrity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "availability": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "location": {
            "type": [
              "null",
              "string"
            ]
          },
          "tags": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ImportSupplierRow": {
        "required": [
          "name",
          "criticality",
          "country",
          "serviceType",
          "contactName",
          "contactEmail",
          "isIctProvider",
          "doraCriticality",
          "contractExpiry",
          "securityClauses"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "criticality": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "serviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactName": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "isIctProvider": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "doraCriticality": {
            "type": [
              "null",
              "string"
            ]
          },
          "contractExpiry": {
            "type": [
              "null",
              "string"
            ]
          },
          "securityClauses": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "IncidentLinkType": {
        "enum": [
          "Asset",
          "Control",
          "Supplier",
          "DataBreach"
        ]
      },
      "IncidentNotificationType": {
        "enum": [
          "Initial24h",
          "Intermediate72h",
          "Final30d"
        ]
      },
      "IncidentSeverity": {
        "enum": [
          "P1",
          "P2",
          "P3",
          "P4",
          null
        ]
      },
      "IncidentStatus": {
        "enum": [
          "Detected",
          "Triaged",
          "Responding",
          "Resolved",
          "Closed",
          "Reported",
          null
        ]
      },
      "IncidentSummaryRow": {
        "required": [
          "title",
          "severity",
          "status",
          "detectedAt",
          "resolvedAt"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "severity": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "detectedAt": {
            "type": "string",
            "format": "date-time"
          },
          "resolvedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "InvitationRoleDto": {
        "required": [
          "entityId",
          "entityName",
          "role"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "entityName": {
            "type": "string"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "InvitationRoleInput": {
        "required": [
          "entityId",
          "role"
        ],
        "type": "object",
        "properties": {
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "role": {
            "type": "string"
          }
        }
      },
      "LegalBasis": {
        "enum": [
          "Consent",
          "Contract",
          "LegalObligation",
          "VitalInterests",
          "PublicTask",
          "LegitimateInterests",
          null
        ]
      },
      "LoginRequest": {
        "required": [
          "email",
          "password"
        ],
        "type": "object",
        "properties": {
          "email": {
            "maxLength": 255,
            "type": "string"
          },
          "password": {
            "maxLength": 200,
            "type": "string"
          }
        }
      },
      "MarkCnilNotifiedRequest": {
        "type": "object",
        "properties": {
          "cnilReferenceNumber": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnilLateJustification": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ModifiedControl": {
        "required": [
          "code",
          "title",
          "changes"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldDiff"
            }
          }
        }
      },
      "ModifiedQuestion": {
        "required": [
          "code",
          "questionText",
          "changes"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "questionText": {
            "type": "string"
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldDiff"
            }
          }
        }
      },
      "ModifiedTemplate": {
        "required": [
          "code",
          "title",
          "changes"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FieldDiff"
            }
          }
        }
      },
      "NotificationCategory": {
        "enum": [
          "Incident",
          "Task",
          "Control",
          "Risk",
          "Policy",
          "Supplier",
          "Report",
          "Automation",
          "Gdpr",
          null
        ]
      },
      "NotificationPriority": {
        "enum": [
          "Low",
          "Normal",
          "High",
          null
        ]
      },
      "ObjectiveResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "essentialGoodName": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": "string"
          }
        }
      },
      "OnboardingStatusResponse": {
        "type": "object",
        "properties": {
          "completed": {
            "type": "boolean"
          },
          "currentStep": {
            "type": [
              "null",
              "string"
            ]
          },
          "organization": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrganizationSummary"
              }
            ]
          },
          "entities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntitySummary"
            }
          },
          "frameworks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FrameworkSummary"
            }
          }
        }
      },
      "OperationalScenarioResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "strategicScenarioId": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "operationalLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "attackSteps": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AttackStepResponse"
            }
          }
        }
      },
      "OrganizationInfo": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          }
        }
      },
      "OrganizationSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "website": {
            "type": [
              "null",
              "string"
            ]
          },
          "siren": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "revenueRange": {
            "type": [
              "null",
              "string"
            ]
          },
          "doraType": {
            "type": [
              "null",
              "string"
            ]
          },
          "hasDpo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "dpoName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dpoEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "iso27001Certified": {
            "type": "boolean"
          },
          "iso27001CertDate": {
            "type": [
              "null",
              "string"
            ]
          },
          "iso27001CertExpiry": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "OverdueTaskRow": {
        "required": [
          "title",
          "priority",
          "dueDate",
          "assignedTo",
          "daysOverdue"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "priority": {
            "type": "string"
          },
          "dueDate": {
            "type": "string",
            "format": "date"
          },
          "assignedTo": {
            "type": [
              "null",
              "string"
            ]
          },
          "daysOverdue": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "OverrideConflict": {
        "required": [
          "code",
          "overriddenField",
          "tenantOverrideValue",
          "masterFromValue",
          "masterToValue"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "overriddenField": {
            "type": "string"
          },
          "tenantOverrideValue": {
            "type": "string"
          },
          "masterFromValue": {
            "type": "string"
          },
          "masterToValue": {
            "type": "string"
          }
        }
      },
      "OwnerSummary": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "fullName": {
            "type": "string"
          }
        }
      },
      "PaginationMeta": {
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PasswordChangeLoginRequest": {
        "required": [
          "challengeToken",
          "currentPassword",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "challengeToken": {
            "type": "string"
          },
          "currentPassword": {
            "maxLength": 200,
            "type": "string"
          },
          "newPassword": {
            "maxLength": 200,
            "type": "string"
          }
        }
      },
      "PasswordChangeRequirement": {
        "required": [
          "reason",
          "minLength",
          "historyCount"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "type": "string"
          },
          "minLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "historyCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PendingUpgradeCount": {
        "required": [
          "count"
        ],
        "type": "object",
        "properties": {
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PendingUpgradeSummary": {
        "required": [
          "organizationFrameworkId",
          "frameworkId",
          "frameworkCode",
          "frameworkName",
          "frameworkKind",
          "adoptedVersionId",
          "adoptedVersionNumber",
          "pendingUpgradeVersionId",
          "pendingUpgradeVersionNumber",
          "pendingUpgradeChangeLog",
          "pendingUpgradePublishedAt"
        ],
        "type": "object",
        "properties": {
          "organizationFrameworkId": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkId": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkCode": {
            "type": "string"
          },
          "frameworkName": {
            "type": "string"
          },
          "frameworkKind": {
            "type": "string"
          },
          "adoptedVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "adoptedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pendingUpgradeVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "pendingUpgradeVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pendingUpgradeChangeLog": {
            "type": "string"
          },
          "pendingUpgradePublishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "PlatformControlDefinitionDetail": {
        "required": [
          "id",
          "frameworkVersionId",
          "code",
          "title",
          "description",
          "regulatoryReference",
          "domain",
          "domainOrder",
          "subDomain",
          "criticality",
          "weight",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "type": "string"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PlatformGapAnalysisQuestionDetail": {
        "required": [
          "id",
          "frameworkVersionId",
          "code",
          "question",
          "regulatoryReference",
          "domain",
          "domainOrder",
          "relatedControlCodes",
          "order",
          "weight",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "question": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "relatedControlCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PlatformPolicyTemplateDetail": {
        "required": [
          "id",
          "frameworkVersionId",
          "code",
          "title",
          "content",
          "description",
          "category",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PolicyDetailResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "frameworkTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "authorName": {
            "type": "string"
          },
          "reviewDueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "isReviewDue": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "content": {
            "type": "string"
          },
          "authorUserId": {
            "type": "string",
            "format": "uuid"
          },
          "approvedBy": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "approvedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "approvedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "parentPolicyId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "publishOnTrustCenter": {
            "type": "boolean"
          }
        }
      },
      "PolicyListItemResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "frameworkTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "authorName": {
            "type": "string"
          },
          "reviewDueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "isReviewDue": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "publishOnTrustCenter": {
            "type": "boolean"
          }
        }
      },
      "PolicyListResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PolicyListItemResponse"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/PaginationMeta"
          }
        }
      },
      "PolicyShareLinkResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "token": {
            "type": "string",
            "format": "uuid"
          },
          "url": {
            "type": "string"
          },
          "expirationDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "allowDownload": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "revoked": {
            "type": "boolean"
          },
          "createdByName": {
            "type": "string"
          }
        }
      },
      "PolicyTemplateExport": {
        "required": [
          "code",
          "title",
          "content",
          "description",
          "category"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PolicyTemplateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "frameworkType": {
            "type": "string"
          },
          "versionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PolicyVersionHistoryItem": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "version": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "status": {
            "type": "string"
          },
          "authorName": {
            "type": "string"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "publishedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "PreviewGapAnalysisRequest": {
        "required": [
          "responses"
        ],
        "type": "object",
        "properties": {
          "responses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapAnswerDto"
            }
          }
        }
      },
      "PreviewGapAnalysisResponse": {
        "type": "object",
        "properties": {
          "changes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ControlStatusChangeDto"
            }
          },
          "skippedControls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SkippedControlDto"
            }
          }
        }
      },
      "ProcessingActivityRow": {
        "required": [
          "name",
          "purpose",
          "legalBasis",
          "status",
          "referent",
          "dataSubjects",
          "dataCategories",
          "hasSensitiveData",
          "thirdCountryTransfers",
          "retentionActivePeriod",
          "dpiaRequired"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "legalBasis": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "referent": {
            "type": [
              "null",
              "string"
            ]
          },
          "dataSubjects": {
            "type": "string"
          },
          "dataCategories": {
            "type": "string"
          },
          "hasSensitiveData": {
            "type": "boolean"
          },
          "thirdCountryTransfers": {
            "type": "boolean"
          },
          "retentionActivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "dpiaRequired": {
            "type": "boolean"
          }
        }
      },
      "ProcessingActivityStatus": {
        "enum": [
          "Draft",
          "Active",
          "UnderReview",
          "Archived",
          null
        ]
      },
      "ProcessingActivityTemplateSummary": {
        "required": [
          "id",
          "code",
          "name",
          "purpose",
          "legalBasis",
          "controllerType",
          "category",
          "dataSubjects",
          "dataCategories",
          "hasSensitiveData",
          "sensitiveDataTypes",
          "retentionActivePeriod",
          "retentionDispositionHint",
          "kind",
          "ownerOrganizationId",
          "ownerOrganizationName",
          "createdAt",
          "updatedAt",
          "archivedAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "purpose": {
            "type": "string"
          },
          "legalBasis": {
            "type": "string"
          },
          "controllerType": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "dataSubjects": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "dataCategories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "hasSensitiveData": {
            "type": "boolean"
          },
          "sensitiveDataTypes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "retentionActivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionDispositionHint": {
            "type": [
              "null",
              "string"
            ]
          },
          "kind": {
            "type": "string"
          },
          "ownerOrganizationId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "ownerOrganizationName": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "archivedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ProcessingCategory": {
        "enum": [
          "Hr",
          "Commercial",
          "ItSecurity",
          "Marketing",
          "Financial",
          "Legal",
          "Healthcare",
          null
        ]
      },
      "QualificationRequest": {
        "type": "object",
        "properties": {
          "answers": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "QualificationResult": {
        "type": "object",
        "properties": {
          "framework": {
            "type": "string"
          },
          "classification": {
            "type": "string"
          },
          "explanation": {
            "type": "string"
          },
          "canOverride": {
            "type": "boolean"
          }
        }
      },
      "RecipientDto": {
        "type": "object",
        "properties": {
          "userId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "RegisterRequest": {
        "required": [
          "email",
          "password",
          "firstName",
          "lastName",
          "organizationName"
        ],
        "type": "object",
        "properties": {
          "email": {
            "maxLength": 255,
            "type": "string"
          },
          "password": {
            "maxLength": 200,
            "minLength": 12,
            "type": "string"
          },
          "firstName": {
            "maxLength": 100,
            "type": "string"
          },
          "lastName": {
            "maxLength": 100,
            "type": "string"
          },
          "organizationName": {
            "maxLength": 255,
            "type": "string"
          }
        }
      },
      "RejectDsrRequest": {
        "required": [
          "rejectionReason"
        ],
        "type": "object",
        "properties": {
          "rejectionReason": {
            "type": "string"
          }
        }
      },
      "ReportExportListResponse": {
        "required": [
          "items",
          "pagination"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportExportResponse"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/ReportPaginationMeta"
          }
        }
      },
      "ReportExportResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "reportType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "fileSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "generatedByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "generatedByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "scheduleId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "errorMessage": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ReportMetricsResponse": {
        "required": [
          "totalExports",
          "exportsThisMonth",
          "activeSchedules",
          "availableReportTypes"
        ],
        "type": "object",
        "properties": {
          "totalExports": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "exportsThisMonth": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "activeSchedules": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "availableReportTypes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ReportPaginationMeta": {
        "required": [
          "total",
          "page",
          "pageSize"
        ],
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "page": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pageSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ReportParametersDto": {
        "type": "object",
        "properties": {
          "framework": {
            "type": [
              "null",
              "string"
            ]
          },
          "dateFrom": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "dateTo": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "comparisonDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "includeControlDetails": {
            "type": "boolean"
          },
          "includeActionPlan": {
            "type": "boolean"
          },
          "includeRisks": {
            "type": "boolean"
          },
          "includeEvidence": {
            "type": "boolean"
          },
          "includeAuditLog": {
            "type": "boolean"
          },
          "riskMethodology": {
            "type": [
              "null",
              "string"
            ]
          },
          "riskStatusFilter": {
            "type": [
              "null",
              "string"
            ]
          },
          "gdprContent": {
            "type": [
              "null",
              "string"
            ]
          },
          "activeProcessingOnly": {
            "type": "boolean"
          },
          "includeBreach": {
            "type": "boolean"
          },
          "includeDsr": {
            "type": "boolean"
          },
          "detailLevel": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ReportPreviewResponse": {
        "type": "object",
        "properties": {
          "reportType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "generatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "complianceData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ComplianceReportData"
              }
            ]
          },
          "executiveData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ExecutiveReportData"
              }
            ]
          },
          "riskData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RiskReportData"
              }
            ]
          },
          "auditData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AuditReportData"
              }
            ]
          },
          "gdprData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/GdprReportData"
              }
            ]
          },
          "gapAnalysisData": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/GapAnalysisReportData"
              }
            ]
          }
        }
      },
      "ReportScheduleListResponse": {
        "required": [
          "items",
          "pagination"
        ],
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ReportScheduleResponse"
            }
          },
          "pagination": {
            "$ref": "#/components/schemas/ReportPaginationMeta"
          }
        }
      },
      "ReportScheduleResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "reportType": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "format": {
            "type": "string"
          },
          "frequency": {
            "type": "string"
          },
          "dayOfGeneration": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "includeAiSynthesis": {
            "type": "boolean"
          },
          "isActive": {
            "type": "boolean"
          },
          "lastGeneratedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "nextGenerationAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "recipients": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "createdByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "createdByName": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ReportTypeSummary": {
        "type": "object",
        "properties": {
          "reportType": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "availableFormats": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "availableFrameworks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "isAvailable": {
            "type": "boolean"
          },
          "unavailableReason": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "RequestAccessRequest": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          }
        }
      },
      "RequestSupplierAccessRequest": {
        "required": [
          "email",
          "companyName",
          "message"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "companyName": {
            "type": [
              "null",
              "string"
            ]
          },
          "message": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ResetPasswordRequest": {
        "required": [
          "email",
          "token",
          "newPassword"
        ],
        "type": "object",
        "properties": {
          "email": {
            "maxLength": 255,
            "type": "string"
          },
          "token": {
            "maxLength": 2048,
            "type": "string"
          },
          "newPassword": {
            "maxLength": 200,
            "minLength": 12,
            "type": "string"
          }
        }
      },
      "RespondDsrRequest": {
        "required": [
          "responseNote"
        ],
        "type": "object",
        "properties": {
          "responseNote": {
            "type": "string"
          }
        }
      },
      "RetentionDisposition": {
        "enum": [
          "Deletion",
          "Anonymization",
          "PermanentArchive",
          null
        ]
      },
      "ReviewQuestionnaireRequest": {
        "required": [
          "validated"
        ],
        "type": "object",
        "properties": {
          "validated": {
            "type": "boolean"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ReviewSupplierAccessRequestDto": {
        "required": [
          "approved"
        ],
        "type": "object",
        "properties": {
          "approved": {
            "type": "boolean"
          }
        }
      },
      "RiskCriticalitySummary": {
        "required": [
          "label",
          "count"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RiskKpis": {
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "critical": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "high": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reviewDue": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RiskLinkResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "riskId": {
            "type": "string",
            "format": "uuid"
          },
          "linkedType": {
            "type": "string"
          },
          "linkedId": {
            "type": "string",
            "format": "uuid"
          },
          "linkedLabel": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "RiskListItemResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "methodology": {
            "type": "string"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "inherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "residualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "inherentCriticality": {
            "type": [
              "null",
              "string"
            ]
          },
          "residualCriticality": {
            "type": [
              "null",
              "string"
            ]
          },
          "treatmentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "isReviewDue": {
            "type": "boolean"
          },
          "treatmentProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "RiskListResponse": {
        "type": "object",
        "properties": {
          "data": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskListItemResponse"
            }
          },
          "meta": {
            "$ref": "#/components/schemas/PaginationMeta"
          }
        }
      },
      "RiskMatrixCell": {
        "required": [
          "likelihood",
          "impact",
          "count",
          "criticalityLabel"
        ],
        "type": "object",
        "properties": {
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criticalityLabel": {
            "type": "string"
          }
        }
      },
      "RiskMatrixResponse": {
        "type": "object",
        "properties": {
          "cells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskMatrixCell"
            }
          },
          "kpis": {
            "$ref": "#/components/schemas/RiskKpis"
          },
          "matrixSize": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RiskReportData": {
        "type": "object",
        "properties": {
          "entityInfo": {
            "$ref": "#/components/schemas/EntityInfoRow"
          },
          "totalRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "openRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "treatedRisks": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "treatmentRate": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "summaryByCriticality": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskCriticalitySummary"
            }
          },
          "summaryByTreatment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskTreatmentSummary"
            }
          },
          "matrixCells": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskMatrixCell"
            }
          },
          "risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskReportRow"
            }
          },
          "treatmentActions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskTreatmentActionRow"
            }
          }
        }
      },
      "RiskReportRow": {
        "required": [
          "code",
          "title",
          "methodology",
          "status",
          "likelihood",
          "impact",
          "inherentScore",
          "residualScore",
          "treatmentType",
          "ownerName",
          "reviewDate"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "methodology": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "inherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "residualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "treatmentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "RiskResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "methodology": {
            "type": "string"
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "type": "string"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "inherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "residualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "inherentCriticality": {
            "type": [
              "null",
              "string"
            ]
          },
          "residualCriticality": {
            "type": [
              "null",
              "string"
            ]
          },
          "confidentialityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "integrityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "availabilityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "residualLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "residualImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "treatmentType": {
            "type": [
              "null",
              "string"
            ]
          },
          "treatmentJustification": {
            "type": [
              "null",
              "string"
            ]
          },
          "treatmentActionsTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "treatmentActionsCompleted": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "treatmentProgress": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "reviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "isReviewDue": {
            "type": "boolean"
          },
          "ebiosSource": {
            "type": [
              "null",
              "string"
            ]
          },
          "ebiosTarget": {
            "type": [
              "null",
              "string"
            ]
          },
          "ebiosStudyId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "closedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "closedJustification": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          },
          "linksCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reviewsCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RiskReviewResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "riskId": {
            "type": "string",
            "format": "uuid"
          },
          "reviewedByUserId": {
            "type": "string",
            "format": "uuid"
          },
          "reviewedByName": {
            "type": "string"
          },
          "previousLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "previousImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "previousInherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "previousResidualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "newLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "newInherentScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "newResidualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          },
          "reviewedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "RiskSourceCatalogItem": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "category": {
            "type": "string"
          }
        }
      },
      "RiskSourceResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "type": [
              "null",
              "string"
            ]
          },
          "isFromCatalog": {
            "type": "boolean"
          }
        }
      },
      "RiskTreatmentActionRow": {
        "required": [
          "riskCode",
          "action",
          "status",
          "ownerName",
          "dueDate",
          "completedAt"
        ],
        "type": "object",
        "properties": {
          "riskCode": {
            "type": "string"
          },
          "action": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "RiskTreatmentSummary": {
        "required": [
          "treatmentType",
          "count"
        ],
        "type": "object",
        "properties": {
          "treatmentType": {
            "type": "string"
          },
          "count": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SaveGapAnalysisRequest": {
        "required": [
          "responses"
        ],
        "type": "object",
        "properties": {
          "responses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GapAnswerDto"
            }
          },
          "applyControlStatuses": {
            "type": "boolean"
          }
        }
      },
      "SaveNotificationRequest": {
        "required": [
          "notificationType",
          "contentJson"
        ],
        "type": "object",
        "properties": {
          "notificationType": {
            "$ref": "#/components/schemas/IncidentNotificationType"
          },
          "contentJson": {
            "type": "string"
          }
        }
      },
      "SaveResponsesRequest": {
        "required": [
          "responses"
        ],
        "type": "object",
        "properties": {
          "responses": {
            "type": "object",
            "additionalProperties": {
              "type": "string"
            }
          }
        }
      },
      "ScoreDisplayMode": {
        "enum": [
          "Hidden",
          "PerFramework",
          null
        ]
      },
      "ScoreRoundingMode": {
        "enum": [
          "Exact",
          "RoundToTen",
          null
        ]
      },
      "SendQuestionnaireRequest": {
        "required": [
          "templateVersionId"
        ],
        "type": "object",
        "properties": {
          "templateVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "deadline": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "SessionInfoDto": {
        "required": [
          "id",
          "expiresAt",
          "idleExpiresAt",
          "maxDurationHours",
          "inactivityTimeoutMinutes"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "idleExpiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "maxDurationHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inactivityTimeoutMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SessionResponse": {
        "required": [
          "id",
          "ipAddress",
          "userAgent",
          "lastActivityAt",
          "createdAt",
          "isCurrent",
          "expiresAt",
          "idleExpiresAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "ipAddress": {
            "type": [
              "null",
              "string"
            ]
          },
          "userAgent": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastActivityAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "isCurrent": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "idleExpiresAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "SetAutomationRuleEnabledRequest": {
        "required": [
          "isEnabled"
        ],
        "type": "object",
        "properties": {
          "isEnabled": {
            "type": "boolean"
          }
        }
      },
      "SetControlDefinitionOverridesRequest": {
        "type": "object",
        "properties": {
          "orgInternalNote": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "orgRegulatoryReferenceOverride": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SetTrustCenterPublicationRequest": {
        "required": [
          "publish"
        ],
        "type": "object",
        "properties": {
          "publish": {
            "type": "boolean"
          }
        }
      },
      "SkippedControlDto": {
        "type": "object",
        "properties": {
          "controlId": {
            "type": "string",
            "format": "uuid"
          },
          "controlCode": {
            "type": "string"
          },
          "controlTitle": {
            "type": "string"
          },
          "status": {
            "type": "string"
          }
        }
      },
      "SourceObjectivePairResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "riskSourceId": {
            "type": "string",
            "format": "uuid"
          },
          "riskSourceName": {
            "type": [
              "null",
              "string"
            ]
          },
          "objectiveId": {
            "type": "string",
            "format": "uuid"
          },
          "objectiveDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "isRetained": {
            "type": "boolean"
          },
          "justification": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "StrategicScenarioResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "sourceObjectivePairId": {
            "type": "string",
            "format": "uuid"
          },
          "riskSourceName": {
            "type": [
              "null",
              "string"
            ]
          },
          "objectiveDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": "string"
          },
          "threatLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "threatScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "stakeholderNotes": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SubmitNotificationRequest": {
        "required": [
          "notificationType",
          "referenceNumber"
        ],
        "type": "object",
        "properties": {
          "notificationType": {
            "$ref": "#/components/schemas/IncidentNotificationType"
          },
          "referenceNumber": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SupplierAccessRequestStatus": {
        "enum": [
          "Pending",
          "Approved",
          "Rejected",
          null
        ]
      },
      "SupplierCriticality": {
        "enum": [
          "Critical",
          "High",
          "Medium",
          "Low",
          null
        ]
      },
      "SupplierQuestionnaireTemplateExportDocument": {
        "type": "object",
        "properties": {
          "$schema": {
            "type": [
              "null",
              "string"
            ]
          },
          "template": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SupplierQuestionnaireTemplateExportMeta"
              }
            ]
          },
          "version": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SupplierQuestionnaireTemplateVersionExportMeta"
              }
            ]
          },
          "questions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/SupplierQuestionnaireTemplateQuestionExport"
            }
          }
        }
      },
      "SupplierQuestionnaireTemplateExportMeta": {
        "required": [
          "code",
          "name",
          "description"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SupplierQuestionnaireTemplateQuestionExport": {
        "required": [
          "questionCode",
          "category",
          "text",
          "weight",
          "order"
        ],
        "type": "object",
        "properties": {
          "questionCode": {
            "type": "string"
          },
          "category": {
            "type": "string"
          },
          "text": {
            "type": "string"
          },
          "weight": {
            "type": "string"
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SupplierQuestionnaireTemplateVersionExportMeta": {
        "required": [
          "versionNumber",
          "changeLog"
        ],
        "type": "object",
        "properties": {
          "versionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "changeLog": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SupplierStatus": {
        "enum": [
          "Active",
          "UnderReview",
          "Archived",
          null
        ]
      },
      "SupportAssetResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "studyId": {
            "type": "string",
            "format": "uuid"
          },
          "essentialGoodId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "linkedAssetId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "TaskLinkType": {
        "enum": [
          "Control",
          "Risk",
          "Incident",
          "Supplier",
          "ProcessingActivity",
          "Dpia",
          "Dsr",
          "DataBreach",
          null
        ]
      },
      "TaskPriority": {
        "enum": [
          "Critical",
          "High",
          "Medium",
          "Low",
          null
        ]
      },
      "TaskSourceType": {
        "enum": [
          "Manual",
          "Automation",
          "Framework",
          null
        ]
      },
      "TaskType": {
        "enum": [
          "OneTime",
          "Recurring",
          null
        ]
      },
      "TenantControlDefinitionDetail": {
        "required": [
          "id",
          "organizationFrameworkId",
          "code",
          "title",
          "description",
          "regulatoryReference",
          "domain",
          "domainOrder",
          "subDomain",
          "criticality",
          "weight",
          "isCustomAddition",
          "orgInternalNote",
          "orgRegulatoryReferenceOverride",
          "createdAt"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "organizationFrameworkId": {
            "type": "string",
            "format": "uuid"
          },
          "code": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "regulatoryReference": {
            "type": "string"
          },
          "domain": {
            "type": "string"
          },
          "domainOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "type": "string"
          },
          "weight": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "isCustomAddition": {
            "type": "boolean"
          },
          "orgInternalNote": {
            "type": [
              "null",
              "string"
            ]
          },
          "orgRegulatoryReferenceOverride": {
            "type": [
              "null",
              "string"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ThresholdResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "entityId": {
            "type": "string",
            "format": "uuid"
          },
          "methodology": {
            "type": "string"
          },
          "scale": {
            "type": "string"
          },
          "maxScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lowMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "mediumMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "highMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ToggleChecklistItemRequest": {
        "required": [
          "isCompleted"
        ],
        "type": "object",
        "properties": {
          "isCompleted": {
            "type": "boolean"
          }
        }
      },
      "TransferMechanism": {
        "enum": [
          "Scc",
          "Bcr",
          "AdequacyDecision",
          "Derogation",
          null
        ]
      },
      "TransitionDpiaRequest": {
        "required": [
          "newStatus"
        ],
        "type": "object",
        "properties": {
          "newStatus": {
            "$ref": "#/components/schemas/DpiaStatus"
          }
        }
      },
      "TransitionDsrRequest": {
        "required": [
          "newStatus"
        ],
        "type": "object",
        "properties": {
          "newStatus": {
            "$ref": "#/components/schemas/DsrStatus"
          }
        }
      },
      "TransitionProcessingActivityRequest": {
        "required": [
          "newStatus"
        ],
        "type": "object",
        "properties": {
          "newStatus": {
            "$ref": "#/components/schemas/ProcessingActivityStatus"
          }
        }
      },
      "TransitionStatusRequest": {
        "required": [
          "newStatus",
          "comment"
        ],
        "type": "object",
        "properties": {
          "newStatus": {
            "$ref": "#/components/schemas/IncidentStatus"
          },
          "comment": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TreatmentActionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "riskId": {
            "type": "string",
            "format": "uuid"
          },
          "action": {
            "type": "string"
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "ownerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "status": {
            "type": "string"
          },
          "linkedControlId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "linkedControlCode": {
            "type": [
              "null",
              "string"
            ]
          },
          "completedAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TrustCenterAccessMode": {
        "enum": [
          "Public",
          "Restricted",
          null
        ]
      },
      "TrustCenterStatus": {
        "enum": [
          "Disabled",
          "Draft",
          "Published",
          null
        ]
      },
      "TwoFactorConfirmRequest": {
        "required": [
          "code"
        ],
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          }
        }
      },
      "TwoFactorDisableRequest": {
        "required": [
          "password"
        ],
        "type": "object",
        "properties": {
          "password": {
            "type": "string"
          }
        }
      },
      "TwoFactorEnrollmentLoginRequest": {
        "required": [
          "challengeToken",
          "code"
        ],
        "type": "object",
        "properties": {
          "challengeToken": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        }
      },
      "TwoFactorEnrollmentSetup": {
        "required": [
          "secret",
          "qrCodeUri",
          "qrCodeImage"
        ],
        "type": "object",
        "properties": {
          "secret": {
            "type": "string"
          },
          "qrCodeUri": {
            "type": "string"
          },
          "qrCodeImage": {
            "type": "string"
          }
        }
      },
      "TwoFactorLoginRequest": {
        "required": [
          "twoFactorToken",
          "code"
        ],
        "type": "object",
        "properties": {
          "twoFactorToken": {
            "type": "string"
          },
          "code": {
            "type": "string"
          }
        }
      },
      "TwoFactorSetupResponse": {
        "required": [
          "secret",
          "qrCodeUri",
          "qrCodeImage",
          "backupCodes"
        ],
        "type": "object",
        "properties": {
          "secret": {
            "type": "string"
          },
          "qrCodeUri": {
            "type": "string"
          },
          "qrCodeImage": {
            "type": "string"
          },
          "backupCodes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpcomingDeadlineRow": {
        "required": [
          "type",
          "title",
          "dueDate",
          "assignedTo"
        ],
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "dueDate": {
            "type": "string",
            "format": "date"
          },
          "assignedTo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateAssetRequest": {
        "required": [
          "name",
          "type",
          "description",
          "confidentiality",
          "integrity",
          "availability",
          "ownerUserId",
          "location",
          "linkedSupplierId",
          "tags",
          "isIctDora",
          "doraIctFunction",
          "doraSubstitutability",
          "doraIctDependencyIds"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AssetType"
              }
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "confidentiality": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "integrity": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "availability": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "location": {
            "type": [
              "null",
              "string"
            ]
          },
          "linkedSupplierId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "tags": {
            "type": [
              "null",
              "string"
            ]
          },
          "isIctDora": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "doraIctFunction": {
            "type": [
              "null",
              "string"
            ]
          },
          "doraSubstitutability": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DoraSubstitutability"
              }
            ]
          },
          "doraIctDependencyIds": {
            "type": [
              "null",
              "string"
            ]
          },
          "clearLinkedSupplier": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "UpdateAutomationRuleRequest": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "isEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "triggerType": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "triggerConditions": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AutomationRuleTriggerConditionsRequest"
              }
            ]
          },
          "actions": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AutomationRuleActionRequest"
            }
          }
        }
      },
      "UpdateControlDefinitionRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 4000,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Criticality"
              }
            ]
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "UpdateControlRequest": {
        "type": "object",
        "properties": {
          "status": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "implementationNote": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "nonCompliantReason": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "notApplicableReason": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateCustomCertificationRequest": {
        "required": [
          "label",
          "expiresAt",
          "displayOrder"
        ],
        "type": "object",
        "properties": {
          "label": {
            "type": [
              "null",
              "string"
            ]
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "displayOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateCustomControlDefinitionRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 4000,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "subDomain": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Criticality"
              }
            ]
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "UpdateCustomFrameworkRequest": {
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateCustomFrameworkVersionRequest": {
        "type": "object",
        "properties": {
          "changeLog": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateCustomSupplierQuestionnaireTemplateRequest": {
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateCustomSupplierQuestionnaireTemplateVersionRequest": {
        "type": "object",
        "properties": {
          "changeLog": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateDataBreachRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "occurredAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "natureTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "riskLevel": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DataBreachRiskLevel"
              }
            ]
          },
          "affectedDataCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "sensitiveDataInvolved": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "affectedPersonsVolume": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/AffectedVolumeRange"
              }
            ]
          },
          "affectedRecordsCount": {
            "type": [
              "null",
              "string"
            ]
          },
          "consequencesAssessment": {
            "type": [
              "null",
              "string"
            ]
          },
          "immediateMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "correctiveMeasures": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateDpiaRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "processingActivityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "clearProcessingActivity": {
            "type": "boolean",
            "default": false
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "necessityAssessment": {
            "type": [
              "null",
              "string"
            ]
          },
          "actorsInvolved": {
            "type": [
              "null",
              "string"
            ]
          },
          "riskAssessmentJson": {
            "type": [
              "null",
              "string"
            ]
          },
          "plannedTechnicalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "plannedOrganizationalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "measuresTargetDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "nextReviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "UpdateDsrRequest": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": [
              "null",
              "string"
            ]
          },
          "subjectEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "assignedToUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "internalNotes": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateEbiosStudyRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateEntitiesRequest": {
        "type": "object",
        "properties": {
          "entities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityDto"
            }
          }
        }
      },
      "UpdateEntityRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "type": {
            "type": [
              "null",
              "string"
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "sector": {
            "type": [
              "null",
              "string"
            ]
          },
          "parentEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nis2Classification": {
            "type": [
              "null",
              "string"
            ]
          },
          "doraType": {
            "type": [
              "null",
              "string"
            ]
          },
          "nis2Sector": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateEssentialGoodRequest": {
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "sensitivityLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "type": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateGapAnalysisQuestionRequest": {
        "type": "object",
        "properties": {
          "question": {
            "maxLength": 2000,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "regulatoryReference": {
            "maxLength": 500,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "domain": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "domainOrder": {
            "maximum": 1000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "relatedControlCodes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "order": {
            "maximum": 10000,
            "minimum": 0,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "weight": {
            "maximum": 10,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "UpdateIncidentRequest": {
        "required": [
          "title",
          "description",
          "severity",
          "ownerUserId",
          "regulatoryNotificationRequired"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "severity": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/IncidentSeverity"
              }
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "regulatoryNotificationRequired": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "UpdateNotificationPreferencesRequest": {
        "required": [
          "assignmentEmails",
          "deadlineEmails",
          "overdueEmails",
          "automationEmails",
          "digestFrequency",
          "disabledModules"
        ],
        "type": "object",
        "properties": {
          "assignmentEmails": {
            "type": [
              "null",
              "string"
            ]
          },
          "deadlineEmails": {
            "type": [
              "null",
              "string"
            ]
          },
          "overdueEmails": {
            "type": [
              "null",
              "string"
            ]
          },
          "automationEmails": {
            "type": [
              "null",
              "string"
            ]
          },
          "digestFrequency": {
            "type": [
              "null",
              "string"
            ]
          },
          "disabledModules": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateOperationalScenarioRequest": {
        "type": "object",
        "properties": {
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "operationalLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          }
        }
      },
      "UpdateOrganizationRequest": {
        "required": [
          "name",
          "country",
          "sector"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 255,
            "type": "string"
          },
          "country": {
            "maxLength": 2,
            "type": "string"
          },
          "sector": {
            "type": "string"
          },
          "headcount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "revenueRange": {
            "type": [
              "null",
              "string"
            ]
          },
          "website": {
            "type": [
              "null",
              "string"
            ]
          },
          "siren": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateOrganizationSettingsRequest": {
        "type": "object",
        "properties": {
          "passwordPolicy": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UpdatePasswordPolicyRequest"
              }
            ]
          },
          "twoFactorPolicy": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UpdateTwoFactorPolicyRequest"
              }
            ]
          },
          "sessionPolicy": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UpdateSessionPolicyRequest"
              }
            ]
          }
        }
      },
      "UpdatePasswordPolicyRequest": {
        "type": "object",
        "properties": {
          "minLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "expirationDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "historyCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdatePolicyRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": [
              "null",
              "string"
            ]
          },
          "content": {
            "maxLength": 50000,
            "type": [
              "null",
              "string"
            ]
          },
          "reviewDueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "UpdatePolicyTemplateRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 300,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "content": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "maxLength": 100,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateProcessingActivityRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "purpose": {
            "type": [
              "null",
              "string"
            ]
          },
          "legalBasis": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/LegalBasis"
              }
            ]
          },
          "legitimateInterestDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "controllerType": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ControllerType"
              }
            ]
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProcessingCategory"
              }
            ]
          },
          "referentUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "dataSubjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dataCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "hasSensitiveData": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "sensitiveDataTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dataVolumeRange": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DataVolumeRange"
              }
            ]
          },
          "internalRecipients": {
            "type": [
              "null",
              "string"
            ]
          },
          "externalRecipientsText": {
            "type": [
              "null",
              "string"
            ]
          },
          "thirdCountryTransfers": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "transferCountries": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "transferMechanism": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TransferMechanism"
              }
            ]
          },
          "transferSafeguards": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionActivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionArchivePeriod": {
            "type": [
              "null",
              "string"
            ]
          },
          "retentionDisposition": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RetentionDisposition"
              }
            ]
          },
          "retentionLegalBasis": {
            "type": [
              "null",
              "string"
            ]
          },
          "technicalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "organizationalMeasures": {
            "type": [
              "null",
              "string"
            ]
          },
          "controllerName": {
            "type": [
              "null",
              "string"
            ]
          },
          "processorName": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateProcessingActivityTemplateRequest": {
        "type": "object",
        "properties": {
          "code": {
            "pattern": "^[a-z0-9][a-z0-9-]{1,47}[a-z0-9]$",
            "type": [
              "null",
              "string"
            ]
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "purpose": {
            "maxLength": 2000,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "legalBasis": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/LegalBasis"
              }
            ]
          },
          "controllerType": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ControllerType"
              }
            ]
          },
          "category": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ProcessingCategory"
              }
            ]
          },
          "dataSubjects": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dataCategories": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "hasSensitiveData": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "sensitiveDataTypes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "retentionActivePeriod": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          },
          "retentionDispositionHint": {
            "maxLength": 200,
            "minLength": 0,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateProfileRequest": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": [
              "null",
              "string"
            ]
          },
          "lastName": {
            "type": [
              "null",
              "string"
            ]
          },
          "preferredLanguage": {
            "type": [
              "null",
              "string"
            ]
          },
          "timezone": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateReportScheduleRequest": {
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "frequency": {
            "type": [
              "null",
              "string"
            ]
          },
          "dayOfGeneration": {
            "maximum": 31,
            "minimum": 1,
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "parameters": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ReportParametersDto"
              }
            ]
          },
          "recipients": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RecipientDto"
            }
          },
          "includeAiSynthesis": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "isActive": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "UpdateRetexRequest": {
        "required": [
          "rootCause",
          "lessonsLearned"
        ],
        "type": "object",
        "properties": {
          "rootCause": {
            "type": "string"
          },
          "lessonsLearned": {
            "type": "string"
          }
        }
      },
      "UpdateRiskRequest": {
        "type": "object",
        "properties": {
          "title": {
            "maxLength": 500,
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "status": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "impact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "confidentialityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "integrityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "availabilityImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "residualScore": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "residualLikelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "residualImpact": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "treatmentType": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "treatmentJustification": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "reviewDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "UpdateRoleRequest": {
        "required": [
          "role"
        ],
        "type": "object",
        "properties": {
          "role": {
            "type": "string"
          }
        }
      },
      "UpdateSessionPolicyRequest": {
        "type": "object",
        "properties": {
          "maxDurationHours": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inactivityTimeoutMinutes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateSourceObjectivePairRequest": {
        "type": "object",
        "properties": {
          "isRetained": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "justification": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateStrategicScenarioRequest": {
        "type": "object",
        "properties": {
          "description": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "threatLevel": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "likelihood": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "stakeholderNotes": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateSupplierQuestionnaireTemplateQuestionRequest": {
        "type": "object",
        "properties": {
          "questionCode": {
            "maxLength": 50,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "category": {
            "maxLength": 200,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "text": {
            "maxLength": 2000,
            "minLength": 1,
            "type": [
              "null",
              "string"
            ]
          },
          "weight": {
            "type": [
              "null",
              "string"
            ]
          },
          "order": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateSupplierRequest": {
        "required": [
          "name",
          "criticality",
          "country",
          "serviceType",
          "contactName",
          "contactEmail",
          "isIctProvider",
          "doraCriticality",
          "contractExpiry",
          "securityClauses",
          "status"
        ],
        "type": "object",
        "properties": {
          "name": {
            "type": [
              "null",
              "string"
            ]
          },
          "criticality": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SupplierCriticality"
              }
            ]
          },
          "country": {
            "type": [
              "null",
              "string"
            ]
          },
          "serviceType": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactName": {
            "type": [
              "null",
              "string"
            ]
          },
          "contactEmail": {
            "type": [
              "null",
              "string"
            ]
          },
          "isIctProvider": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "doraCriticality": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DoraCriticality"
              }
            ]
          },
          "contractExpiry": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "securityClauses": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "status": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/SupplierStatus"
              }
            ]
          }
        }
      },
      "UpdateTaskRequest": {
        "required": [
          "title",
          "description",
          "priority",
          "status",
          "dueDate",
          "assignedToUserId"
        ],
        "type": "object",
        "properties": {
          "title": {
            "type": [
              "null",
              "string"
            ]
          },
          "description": {
            "type": [
              "null",
              "string"
            ]
          },
          "priority": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TaskPriority"
              }
            ]
          },
          "status": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ComplianceTaskStatus"
              }
            ]
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "assignedToUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "type": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TaskType"
              }
            ]
          },
          "recurrenceRule": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UpdateThresholdsRequest": {
        "required": [
          "lowMax",
          "mediumMax",
          "highMax"
        ],
        "type": "object",
        "properties": {
          "methodology": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "scale": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "lowMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "mediumMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "highMax": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpdateTreatmentActionRequest": {
        "type": "object",
        "properties": {
          "action": {
            "maxLength": 2000,
            "type": [
              "null",
              "string"
            ]
          },
          "ownerUserId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "dueDate": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "status": {
            "maxLength": 100,
            "type": [
              "null",
              "string"
            ]
          },
          "linkedControlId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "UpdateTrustCenterConfigRequest": {
        "type": "object",
        "properties": {
          "status": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TrustCenterStatus"
              }
            ]
          },
          "accessMode": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TrustCenterAccessMode"
              }
            ]
          },
          "showNis2Badge": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "showDoraBadge": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "showIso27001Badge": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "showGdprBadge": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "presentationEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "presentationOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "frameworksEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "frameworksOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "scoresEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "scoresOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "policiesEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "policiesOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "supplierPortalEnabled": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "supplierPortalOrder": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "scoreDisplayMode": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ScoreDisplayMode"
              }
            ]
          },
          "scoreRounding": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ScoreRoundingMode"
              }
            ]
          },
          "trustCenterDescription": {
            "type": [
              "null",
              "string"
            ]
          },
          "showPoweredBy": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "customDomain": {
            "type": [
              "null",
              "string"
            ]
          },
          "allowPolicyDownload": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "allowedDomains": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "UpdateTwoFactorPolicyRequest": {
        "type": "object",
        "properties": {
          "mode": {
            "type": [
              "null",
              "string"
            ]
          },
          "gracePeriodDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UpgradePreviewResponse": {
        "type": "object",
        "properties": {
          "organizationFrameworkId": {
            "type": "string",
            "format": "uuid"
          },
          "frameworkCode": {
            "type": "string"
          },
          "frameworkName": {
            "type": "string"
          },
          "frameworkKind": {
            "type": "string"
          },
          "adoptedVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pendingUpgradeVersionId": {
            "type": "string",
            "format": "uuid"
          },
          "pendingUpgradeVersionNumber": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pendingUpgradeChangeLog": {
            "type": "string"
          },
          "addedControls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedControl"
            }
          },
          "removedControls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedControl"
            }
          },
          "modifiedControls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModifiedControl"
            }
          },
          "overrideConflicts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OverrideConflict"
            }
          },
          "addedQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedQuestion"
            }
          },
          "removedQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedQuestion"
            }
          },
          "modifiedQuestions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModifiedQuestion"
            }
          },
          "addedTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedTemplate"
            }
          },
          "removedTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiffedTemplate"
            }
          },
          "modifiedTemplates": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModifiedTemplate"
            }
          },
          "isEmpty": {
            "type": "boolean"
          },
          "hasUnresolvedConflicts": {
            "type": "boolean"
          }
        }
      },
      "UserPasswordPolicyDto": {
        "required": [
          "minLength",
          "historyCount",
          "expiresAt",
          "expiryWarningDays"
        ],
        "type": "object",
        "properties": {
          "minLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "historyCount": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "expiresAt": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "expiryWarningDays": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "UserProfileResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "email": {
            "type": "string"
          },
          "emailVerified": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "avatarUrl": {
            "type": [
              "null",
              "string"
            ]
          },
          "organizationId": {
            "type": "string",
            "format": "uuid"
          },
          "organizationName": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityRoleDto"
            }
          },
          "rootEntityId": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "onboardingCompleted": {
            "type": "boolean"
          },
          "onboardingStep": {
            "type": [
              "null",
              "string"
            ]
          },
          "twoFactorEnabled": {
            "type": "boolean"
          },
          "isPlatformAdmin": {
            "type": "boolean"
          },
          "passwordPolicy": {
            "$ref": "#/components/schemas/UserPasswordPolicyDto"
          }
        }
      },
      "ValidateDpiaRequest": {
        "required": [
          "decision"
        ],
        "type": "object",
        "properties": {
          "decision": {
            "$ref": "#/components/schemas/DpoDecision"
          },
          "dpoOpinion": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ValidateInvitationResponse": {
        "required": [
          "email",
          "organizationName",
          "roles",
          "isExistingUser",
          "passwordMinLength"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": "string"
          },
          "organizationName": {
            "type": "string"
          },
          "roles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InvitationRoleDto"
            }
          },
          "isExistingUser": {
            "type": "boolean"
          },
          "passwordMinLength": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "WorkshopCompletion": {
        "type": "object",
        "properties": {
          "workshop1": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "workshop2": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "workshop3": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "workshop4": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "workshop5": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Access token returned by POST /api/v1/auth/login (or /login/2fa, /refresh).",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "tags": [
    {
      "name": "Coderise.Conformitly.Api"
    },
    {
      "name": "Assets"
    },
    {
      "name": "AuditLogs"
    },
    {
      "name": "Auth"
    },
    {
      "name": "AutomationRules"
    },
    {
      "name": "Controls"
    },
    {
      "name": "Dashboard"
    },
    {
      "name": "DataBreaches"
    },
    {
      "name": "Dpias"
    },
    {
      "name": "Dsrs"
    },
    {
      "name": "Ebios"
    },
    {
      "name": "Entities"
    },
    {
      "name": "FrameworkUpgrades"
    },
    {
      "name": "GapAnalysis"
    },
    {
      "name": "GdprOverview"
    },
    {
      "name": "GroupActionPlan"
    },
    {
      "name": "Group"
    },
    {
      "name": "GroupHistory"
    },
    {
      "name": "Health"
    },
    {
      "name": "Incidents"
    },
    {
      "name": "Invitations"
    },
    {
      "name": "Notifications"
    },
    {
      "name": "Onboarding"
    },
    {
      "name": "Organization"
    },
    {
      "name": "Policies"
    },
    {
      "name": "ProcessingActivities"
    },
    {
      "name": "Reports"
    },
    {
      "name": "Respondent"
    },
    {
      "name": "Risks"
    },
    {
      "name": "RiskThresholds"
    },
    {
      "name": "Suppliers"
    },
    {
      "name": "Tasks"
    },
    {
      "name": "TaskTemplates"
    },
    {
      "name": "TenantCustomFrameworkControlDefinitions"
    },
    {
      "name": "TenantCustomFrameworkGapAnalysisQuestions"
    },
    {
      "name": "TenantCustomFrameworkPolicyTemplates"
    },
    {
      "name": "TenantCustomFrameworks"
    },
    {
      "name": "TenantFrameworkControlDefinitions"
    },
    {
      "name": "TenantProcessingActivityTemplates"
    },
    {
      "name": "TenantSupplierQuestionnaireTemplates"
    },
    {
      "name": "TrustCenterAdmin"
    },
    {
      "name": "TrustCenter"
    },
    {
      "name": "Users"
    }
  ],
  "servers": [
    {
      "url": "https://api.conformitly.fr"
    }
  ]
}