{
  "openapi": "3.0.1",
  "info": {
    "title": "6clicks Developer API",
    "description": "Welcome to the 6clicks Developer API documentation.\r\n\r\nThis resource provides essential information for integrating with the 6clicks platform, including API endpoints, data models, and authentication methods.\r\n\r\nOur <a href=\"https://knowledgebase.6clicks.com/6clicks-developer-api\" target=\"_blank\">Getting Started</a> guide will assist you in setting up and leveraging 6clicks' APIs effectively,\r\nand if you have any questions or feedback, you can contact the Support team on the link below.\r\n\r\n<strong>Rate limits:</strong>\r\nUsage of the API is limited to 20 calls per 10 seconds for most endpoints. Certain heavier operations are limited to 3 calls per 10 seconds.\r\nPlease handle the 429 status code with an exponential backoff strategy.\r\n\r\n<strong>OData endpoints:</strong>\r\nThe OData query language syntax is supported for most GET endpoints. This allows you to query with $filter, $count, $expand, $orderby, and other advanced syntax.<br><br>\r\nPlease access the full OData schema for each module at /{module}-api/{version}/$metadata.\r\nFor example, the assessments module metadata is found at /assessments-api/1.0/$metadata.<br><br>\r\nBy default, navigation properties are not expanded. Query with ?$expand=NameOfProperty to return the desired properties.<br><br>\r\nSee the <a href=\"https://learn.microsoft.com/en-us/odata/concepts/queryoptions-overview#expand\" target=\"_blank\">Microsoft documentation</a> for further details about OData.\r\n\r\n<strong>Hub and Spoke support:</strong>\r\nQuerying data in spokes from an API key registered in a Hub account\r\nis possible for certain endpoints. See the documentation for each endpoint for details.\r\n",
    "contact": {
      "name": "6clicks Support",
      "email": "support@6clicks.com"
    },
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api-au.6clicks.io"
    }
  ],
  "paths": {
    "/assessments-api/1.0/assessments": {
      "get": {
        "tags": [
          "Assessments"
        ],
        "summary": "Query assessments using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssessmentsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssessmentsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create question based assessment.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssessmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}": {
      "get": {
        "tags": [
          "Assessments"
        ],
        "summary": "Get an assessment. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssessmentsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/createfromtemplate": {
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create an assessment using a template.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssessmentUsingTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        },
        "deprecated": true
      }
    },
    "/assessments-api/1.0/assessments/create-from-template": {
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create an assessment using a template.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssessmentUsingTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/respondents": {
      "get": {
        "tags": [
          "Assessments"
        ],
        "summary": "Get respondents to an assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRespondentsResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        },
        "deprecated": true
      },
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Send invites to respondents for an assessment.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendInvitesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendInvitesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/status": {
      "put": {
        "tags": [
          "Assessments"
        ],
        "summary": "Update an assessment's status.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssessmentStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateAssessmentStatusResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/tags": {
      "put": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create or update an assessment tag.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssessmentTagRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssessmentTagResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/copy": {
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create a duplicate of an assessment. The key of the new assessment is returned in the response.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CopyAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/custom-fields": {
      "get": {
        "tags": [
          "Assessments"
        ],
        "summary": "Get custom fields of a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRBACustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create a custom field for a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRBACustomFieldRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRBACustomFieldResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/custom-fields/{customFieldKey}": {
      "patch": {
        "tags": [
          "Assessments"
        ],
        "summary": "Update a custom field for a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRBACustomFieldRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRBACustomFieldResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "Assessments"
        ],
        "summary": "Delete a custom field of a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRBACustomFieldResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/custom-fields/{customFieldKey}/answer-option": {
      "post": {
        "tags": [
          "Assessments"
        ],
        "summary": "Create an answer option of custom field for a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRBACustomFieldAnswerOptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRBACustomFieldAnswerOptionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/custom-fields/{customFieldKey}/answer-option/{answerOptionKey}": {
      "patch": {
        "tags": [
          "Assessments"
        ],
        "summary": "Update an answer option of a custom field for a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "answerOptionKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRBACustomFieldAnswerOptionRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRBACustomFieldAnswerOptionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "Assessments"
        ],
        "summary": "Delete an answer option of a custom field for a requirement-based assessment",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "answerOptionKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRBACustomFieldAnswerOptionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/assessments/{key}/historical-events": {
      "get": {
        "tags": [
          "Assessments"
        ],
        "summary": "Get QBA Assessment history.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assets-api/1.0/assets": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Query assets using OData syntax. Supports querying across spokes from Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssetsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssetsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Assets"
        ],
        "summary": "Create an asset.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAssetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssetResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assets-api/1.0/assets/{key}": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Get an asset by key. Supports OData $expand and querying across spokes from Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssetsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "Assets"
        ],
        "summary": "Update an existing asset. Supports partial updates. Collections replace existing values.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateAssetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAssetResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assets-api/1.0/assets/custom-field-definitions": {
      "get": {
        "tags": [
          "Assets"
        ],
        "summary": "Get asset custom field definitions with answer options.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetAssetCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/attestations-api/1.0/attestations": {
      "get": {
        "tags": [
          "Attestations"
        ],
        "summary": "Query attestations using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetAttestationsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAttestationsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Attestations"
        ],
        "summary": "Create an attestation.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateAttestationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateAttestationResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/attestations-api/1.0/attestations/{key}": {
      "get": {
        "tags": [
          "Attestations"
        ],
        "summary": "Get an attestation by key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAttestationsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/auth-api/1.0/auth/token": {
      "post": {
        "tags": [
          "Auth"
        ],
        "summary": "Retrieves JWT for request authorization.",
        "parameters": [
          {
            "name": "6Clicks-Api-Key",
            "in": "header",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "IsLongLivedToken",
            "in": "query",
            "description": "Token will be valid for an year from the creation time",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTokenResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/auth-api/1.0/auth/me": {
      "get": {
        "tags": [
          "Auth"
        ],
        "summary": "Returns information about the user session and permissions.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MySessionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/authorities-api/1.0/authorities": {
      "get": {
        "tags": [
          "Authorities"
        ],
        "summary": "Query authorities using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAuthoritiesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/authorities-api/1.0/authorities/{key}": {
      "get": {
        "tags": [
          "Authorities"
        ],
        "summary": "Get an authority by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAuthoritiesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/authorities-api/1.0/authorities/{key}/provisions": {
      "get": {
        "tags": [
          "Authorities"
        ],
        "summary": "Query provisions for a specific authority using OData query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.\r\nEach provision includes the values of the custom fields defined on the authority in DirectEntryCustomFields.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProvisionResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests": {
      "get": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Query control tests using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetCCMTestsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCCMTestsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Create a test linked to a control-set.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCCMTestRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCCMTestResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{key}": {
      "get": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Get a test by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetCCMTestResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "put": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Update a test.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateCCMTestModelRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateCCMTestResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{key}/responsibilities/{responsibilityKey}": {
      "put": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Link a test to responsibility.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "responsibilityKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Unlink a test to responsibility.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "responsibilityKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnLinkResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{key}/controls/{controlKey}": {
      "put": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Link a test to control",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "controlKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkControlResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Unlink a test to control",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "controlKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UnLinkControlResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{testKey}": {
      "delete": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Delete a test",
        "parameters": [
          {
            "name": "testKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCCMTestResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{testKey}/results/{resultKey}": {
      "get": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Get a test result by key.",
        "parameters": [
          {
            "name": "testKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resultKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTestResultResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Delete a test result",
        "parameters": [
          {
            "name": "testKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resultKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteCCMTestResultResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{key}/results": {
      "get": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Get results of a test",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetTestResultResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/tests/{testKey}/results": {
      "post": {
        "tags": [
          "CCMTests"
        ],
        "summary": "Create a result of a test.",
        "parameters": [
          {
            "name": "testKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateCCMTestResultRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateCCMTestResultResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/content-library/1.0/authorities": {
      "get": {
        "tags": [
          "ContentLibraryAuthorities"
        ],
        "summary": "Query authorities available in the Content Library.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetContentLibraryAuthoritiesResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/content-library/1.0/authorities/{key}": {
      "get": {
        "tags": [
          "ContentLibraryAuthorities"
        ],
        "summary": "Get a single Content Library authority by its unique key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetContentLibraryAuthoritiesResponse"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          }
        }
      }
    },
    "/controls-api/1.0/controls": {
      "get": {
        "tags": [
          "Controls"
        ],
        "summary": "Query controls using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Controls"
        ],
        "summary": "Create a control.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateControlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateControlResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/controls/{key}": {
      "get": {
        "tags": [
          "Controls"
        ],
        "summary": "Get a control by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/controls/{key}/actions": {
      "get": {
        "tags": [
          "Controls"
        ],
        "summary": "Endpoint to get actions on a control.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetControlActionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/controls/{controlKey}/actions/{actionKey}": {
      "get": {
        "tags": [
          "Controls"
        ],
        "summary": "Get an action on a control.",
        "parameters": [
          {
            "name": "controlKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "actionKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlActionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/controls/{key}/responsibilities": {
      "get": {
        "tags": [
          "Controls"
        ],
        "summary": "Get responsibilities on a control.",
        "description": "Returns a paged list of responsibilities linked to the control. Use $top and $skip to page through results.\r\nDefaults to a maximum of 500 records.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "The control key.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Maximum number of records to return (default 500, max 500).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 500
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Number of records to skip (default 0).",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlResponsibilitiesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/controls-based-assessment-responses": {
      "get": {
        "tags": [
          "ControlsBasedAssessment"
        ],
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlsBasedAssessmentResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataError"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/control-sets-api/1.0/control-sets": {
      "get": {
        "tags": [
          "ControlSets"
        ],
        "summary": "Query control sets using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlSetsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlSetsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "ControlSets"
        ],
        "summary": "Create a control set.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateControlSetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateControlSetResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/control-sets-api/1.0/control-sets/{key}": {
      "get": {
        "tags": [
          "ControlSets"
        ],
        "summary": "Get a control set by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetControlSetsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/control-sets-api/1.0/control-sets/{controlSetKey}/domains/{domainKey}": {
      "get": {
        "tags": [
          "ControlSets"
        ],
        "summary": "Get a domain by key.",
        "parameters": [
          {
            "name": "controlSetKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "domainKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetDomainResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/control-sets-api/1.0/control-sets/{key}/domains": {
      "get": {
        "tags": [
          "ControlSets"
        ],
        "summary": "Query domains on a control set using the OData query syntax",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetDomainResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/emails-api/1.0/emails": {
      "post": {
        "tags": [
          "Email"
        ],
        "summary": "Sends email to provided email addresses.\r\nRate limited to 20 calls per minute, with a maximum queue length of 50.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SendEmailRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SendEmailResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/scim/groups": {
      "get": {
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/scim+json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponseListResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Groups"
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/json;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "text/plain": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateGroupRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/scim/groups/{identifier}": {
      "get": {
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/scim+json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "Groups"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/issues-api/1.0/issues": {
      "get": {
        "tags": [
          "Issues"
        ],
        "summary": "Query incidents and issues using OData syntax. Supports querying across spokes from Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetIssuesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Issues"
        ],
        "summary": "Create an issue.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateIssueRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIssueResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/issues-api/1.0/issues/{key}": {
      "get": {
        "tags": [
          "Issues"
        ],
        "summary": "Get an issue or incident by key. Supports OData $expand and querying across spokes from Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetIssuesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "Issues"
        ],
        "summary": "Update an existing issue. Supports partial updates. Collections replace existing values.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateIssueRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateIssueResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/issues-api/1.0/issues/custom-field-definitions": {
      "get": {
        "tags": [
          "Issues"
        ],
        "summary": "Get issue custom field definitions with answer options.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetIssueCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.0/registers": {
      "get": {
        "tags": [
          "LegacyRegisters"
        ],
        "summary": "Get all registers.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegistersResponseODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/metrics-api/1.0/metrics": {
      "get": {
        "tags": [
          "Metrics"
        ],
        "summary": "Query metrics using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetMetricsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMetricsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Metrics"
        ],
        "summary": "Create a metric.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateMetricRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateMetricResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/metrics-api/1.0/metrics/{key}": {
      "get": {
        "tags": [
          "Metrics"
        ],
        "summary": "Get a metric by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMetricsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Query projects using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Projects"
        ],
        "summary": "Create a project.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateProjectResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/templates": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Query project templates using the Odata query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetProjectsTemplateResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/{key}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Get a project by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/templates/{key}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Get a project template by key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectsTemplateResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/template": {
      "post": {
        "tags": [
          "Projects"
        ],
        "summary": "Create a project template.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateProjectTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateProjectTemplateResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/{key}/tags": {
      "put": {
        "tags": [
          "Projects"
        ],
        "summary": "Create or update project tags.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateProjectTagRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectTagResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/{key}/tasks": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "OData endpoint for querying tasks on a project.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetProjectTaskResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/projects-api/1.0/projects/tasks/{id}": {
      "get": {
        "tags": [
          "Projects"
        ],
        "summary": "Get a project task by the task ID",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProjectTaskResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/provisions-based-assessment-responses": {
      "get": {
        "tags": [
          "ProvisionsBasedAssessment"
        ],
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetProvisionBasedAssessmentResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetProvisionBasedAssessmentResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.1/question-based-assessments/{key}/responses/attachments": {
      "get": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Download a response attachment on a question-based assessment by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Download a response attachment on a question-based assessment by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.1/question-based-assessments/{key}/responses/attachments/{filename}": {
      "get": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Download a response attachment on a question-based assessment by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Download a response attachment on a question-based assessment by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/question-based-assessments/{key}/responses": {
      "get": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Get question based assessment responses.",
        "description": "Retrieves a default maximum of 2000 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetAssessmentQuestionResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/question-based-assessments/responses": {
      "get": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Get all question based assessment responses.",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetQuestionResponseV1_1ODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.1/question-based-assessments/responses": {
      "get": {
        "tags": [
          "QuestionBasedAssessments"
        ],
        "summary": "Get all question based assessment responses (v1.1).",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Maximum number of results to return. OData query parameter name: $top. Defaults to 100 when not supplied.",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 100
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Number of results to skip for pagination. OData query parameter name: $skip.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetQuestionResponseV1_1ODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/recipes-api/1.0/recipes": {
      "get": {
        "tags": [
          "Recipes"
        ],
        "summary": "Get all running Workato recipes.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWorkatoRecipeResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/register-based-assessment-responses": {
      "get": {
        "tags": [
          "RegisterItemBasedAssessment"
        ],
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemBasedAssessmentResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemBasedAssessmentResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/linked-data": {
      "get": {
        "tags": [
          "RegisterItemLinkedData"
        ],
        "summary": "Get item keys and linked data keys only. Join with GET /items in PowerBI using ItemKey.\r\nSupports $top, $skip, $count for paging.",
        "parameters": [
          {
            "name": "registerKey",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemLinkedDataResponseODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}/attachments": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment on a register item by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment on a register item by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/attachments": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment across all accessible register items by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment across all accessible register items by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}/attachments/{filename}": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment on a register item by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Download an attachment on a register item by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}/attachment": {
      "post": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Add an attachment to a register item.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            },
            "application/json": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddRegisterItemAttachmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Query register items using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponseODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Create an item for a register.\r\nSupports creating items with owners, tags, workflow stages, and custom fields.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRegisterItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Delete an register item with item key.",
        "parameters": [
          {
            "name": "key",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteIssueResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers/{key}/items": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Query register items by register key using the OData query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponseODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}": {
      "get": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Get a register item by item key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Update an existing register item.\r\nSupports partial updates - only provide the fields you want to update.\r\nNull or missing fields will not be updated.\r\nFor collections (owners, tags, custom fields), providing them will REPLACE existing values.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRegisterItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}/workflowstage": {
      "put": {
        "tags": [
          "RegisterItems"
        ],
        "summary": "Update register item workflow stage.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateWorkflowStageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers": {
      "get": {
        "tags": [
          "Registers"
        ],
        "summary": "Get all registers.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegistersResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegistersResponseODataResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers/{key}": {
      "get": {
        "tags": [
          "Registers"
        ],
        "summary": "Get a register by key. Supports OData $expand.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegistersResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegistersResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers/{registerKey}/custom-field-definitions": {
      "get": {
        "tags": [
          "Registers"
        ],
        "summary": "Get custom field definitions for a specific register with answer options.",
        "parameters": [
          {
            "name": "registerKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRegisterCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers/{key}/workflow-stages": {
      "get": {
        "tags": [
          "RegisterWorkflowStages"
        ],
        "summary": "OData endpoint for querying register workflow stages.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterWorkflowStagesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/workflow-stages/{key}": {
      "get": {
        "tags": [
          "RegisterWorkflowStages"
        ],
        "summary": "Get a workflow stage by key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterWorkflowStagesResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterWorkflowStagesResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.0/respondents": {
      "get": {
        "tags": [
          "Respondents"
        ],
        "summary": "Query assessment respondents using the OData query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRespondentsResponseV1_1ODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/assessments-api/1.1/assessments/{key}/respondents": {
      "get": {
        "tags": [
          "Respondents"
        ],
        "summary": "Get respondents to an assessment.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRespondentsResponseV1_1"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibilities": {
      "get": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Query responsibilities using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Create a responsibility linked to a control-set.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateResponsibilityRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibilities/{key}": {
      "get": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Get a responsibility by key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "put": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Updates a responsibility title.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateResponsibilityModelRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Delete a responsibility",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteResponsibilityResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibilities/{key}/attachments": {
      "get": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment on a responsibility by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment on a responsibility by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibilities/attachments": {
      "get": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment across all accessible responsibilities by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment across all accessible responsibilities by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibilities/{key}/attachments/{filename}": {
      "get": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment on a responsibility by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Responsibilities"
        ],
        "summary": "Download an attachment on a responsibility by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibility-tasks": {
      "get": {
        "tags": [
          "ResponsibilityTasks"
        ],
        "summary": "Query responsibility tasks using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityTaskResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityTaskResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/controls-api/1.0/responsibility-tasks/{key}": {
      "get": {
        "tags": [
          "ResponsibilityTasks"
        ],
        "summary": "Get a responsibility task by key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetResponsibilityTaskResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-assessments": {
      "get": {
        "tags": [
          "RiskAssessments"
        ],
        "summary": "Query risk assessments using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskAssessmentsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskAssessmentsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "RiskAssessments"
        ],
        "summary": "Creates a new risk assessment.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskAssessmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRiskAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-assessments/{key}": {
      "get": {
        "tags": [
          "RiskAssessments"
        ],
        "summary": "Get a risk assessment by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskAssessmentsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-assessments/{riskAssessmentKey}": {
      "patch": {
        "tags": [
          "RiskAssessments"
        ],
        "summary": "Updates a risk assessment. This supports partial updates.",
        "parameters": [
          {
            "name": "riskAssessmentKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskAssessmentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRiskAssessmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-assessments/custom-field-definitions": {
      "get": {
        "tags": [
          "RiskAssessments"
        ],
        "summary": "Get risk assessment custom field definitions. Currently child/nested fields are not returned. \r\nReturns only root-level custom field definitions with their answer options for dropdown fields.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRiskAssessmentCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-treatment-plans/{key}/comment": {
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Add a comment to a risk treatment plan.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRiskTreatmentPlanCommentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddRiskTreatmentPlanCommentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/attachments": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment on a risk by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment on a risk by zero-based index (ordered by creation date). Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/attachments": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment across all accessible risks by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment across all accessible risks by zero-based index (ordered by creation date). Supports querying across spokes from the Hub account via `spokeId`. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "index",
            "in": "query",
            "schema": {
              "maximum": 2147483647,
              "minimum": 0,
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/attachments/{filename}": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment on a risk by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "head": {
        "tags": [
          "Risks"
        ],
        "summary": "Download an attachment on a risk by its original display filename. If duplicate filenames exist, the earliest by creation date is returned. Use HEAD to retrieve headers only.\r\nResponse headers: X-Attachment-Index, X-Attachment-Count, X-Attachment-FileName, X-Attachment-FileSizeKB, X-Attachment-CreatedAt, X-Entity-Key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "filename",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/comment": {
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Add a comment to a risk.",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AddRiskCommentRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddRiskCommentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/attachment": {
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Add an attachment to a risk.",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            },
            "application/json": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddRiskAttachmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/user-owners": {
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Add user as risk owner",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskUserOwnerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/group-owners": {
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Add group as risk owner",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskGroupOwnerRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/risk-owners": {
      "put": {
        "tags": [
          "Risks"
        ],
        "summary": "Update user and group owners of a risk",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskOwnersRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRiskOwnersResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Query risks using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRisksResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRisksResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Risks"
        ],
        "summary": "Create a risk.\r\n\r\n<br><strong>Note:</strong> The `DomainKey` property is deprecated and will be removed in future versions of the API. \r\nThe Risk Domain can now be set via `LookupBasedCustomFields`.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRiskResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Get a risk by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRisksResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "Risks"
        ],
        "summary": "Update an existing risk. Supports partial updates    \r\n            \r\n<br><strong>Note:</strong> The `DomainKey` property is deprecated and will be removed in future versions of the API. \r\nThe Risk Domain can now be set via `LookupBasedCustomFields`.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRiskResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/risk-treatment-plans": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Get a risk treatment plan by the risk key. Use the OData $expand syntax to expand navigable properties.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRiskTreatmentPlansForRiskResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/direct-entry-custom-fields/{customFieldKey}": {
      "put": {
        "tags": [
          "Risks"
        ],
        "summary": "Updates direct entry custom field (text, date, number) value of a risk",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateDirectEntryCustomFieldValue"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{riskKey}/lookup-based-custom-fields/{customFieldKey}": {
      "put": {
        "tags": [
          "Risks"
        ],
        "summary": "Updates lookup based custom field (dropdown,multiselect) value of a risk",
        "parameters": [
          {
            "name": "riskKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateLookupBasedCustomFieldValue"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/workflowstage": {
      "put": {
        "tags": [
          "Risks"
        ],
        "summary": "Update risk workflow stage.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskWorkflowStageRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateRiskWorkflowStageResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/tags": {
      "put": {
        "tags": [
          "Risks"
        ],
        "summary": "Create or update risk tags.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskTagRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTagResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/historical-events": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Query risk history using the OData query syntax. Returns top 500 history records ordered by change time (descending). Required filter, PropertyName - RiskAssessmentLabel,Risk Rating,Impact,Likelihood,PotentialImpact,CommonCause,TreatmentStatus,Name,WorkflowStage,Description. Optional filter, ChangeTime - maximum searchable date range is 1 week",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/{key}/historical-events": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Query risk history by key using the OData query syntax. Returns top 500 history records ordered by change time (descending). Required filter, PropertyName - RiskAssessmentLabel,Risk Rating,Impact,Likelihood,PotentialImpact,CommonCause,TreatmentStatus,Name,WorkflowStage,Description. Optional filter, ChangeTime - maximum searchable date range is 1 week",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risks/custom-field-definitions": {
      "get": {
        "tags": [
          "Risks"
        ],
        "summary": "Get risk custom field definitions including nested child fields and hierarchical answer options.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetRiskCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-treatment-plans-associations": {
      "get": {
        "tags": [
          "RiskTreatmentPlanAssociation"
        ],
        "summary": "Query risk to risk treatment plan associations using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTreatmentPlanAssociationsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTreatmentPlanAssociationsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-treatment-plans": {
      "get": {
        "tags": [
          "RiskTreatmentPlans"
        ],
        "summary": "Query risk treatment plans using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTreatmentPlansResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTreatmentPlansResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "RiskTreatmentPlans"
        ],
        "summary": "Create a risk treatment plan.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateRiskTreatmentPlanRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateRiskTreatmentPlanResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-treatment-plans/{key}": {
      "get": {
        "tags": [
          "RiskTreatmentPlans"
        ],
        "summary": "Get a risk treatment plan by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRiskTreatmentPlansResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "RiskTreatmentPlans"
        ],
        "summary": "Delete a risk treatment plan.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteRiskTreatmentPlanResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/risk-treatment-plans/{key}/status": {
      "put": {
        "tags": [
          "RiskTreatmentPlans"
        ],
        "summary": "Update the status of a risk treatment plan",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateRiskTreatmentPlanStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/workflow-stages": {
      "get": {
        "tags": [
          "RiskWorkflowStages"
        ],
        "summary": "Query risk workflow stages using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowStagesResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowStagesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/risks-api/1.0/workflow-stages/{key}": {
      "get": {
        "tags": [
          "RiskWorkflowStages"
        ],
        "summary": "Get a workflow stage by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetWorkflowStagesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/scim/users": {
      "get": {
        "tags": [
          "SCIMUser"
        ],
        "parameters": [
          {
            "name": "filter",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/scim+json": {
                "schema": {
                  "$ref": "#/components/schemas/UserResponseListResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "SCIMUser"
        ],
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/json;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "text/plain": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateUserRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/scim/users/{identifier}": {
      "get": {
        "tags": [
          "SCIMUser"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/scim+json": {
                "schema": {
                  "$ref": "#/components/schemas/GroupResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "patch": {
        "tags": [
          "SCIMUser"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "SCIMUser"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/hailey-api/1.0/search": {
      "get": {
        "tags": [
          "SemanticSearch"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "recordTypes",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "take",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 10
            }
          },
          {
            "name": "skip",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "totalCount",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 200
            }
          },
          {
            "name": "highlighting",
            "in": "query",
            "schema": {
              "type": "boolean",
              "default": false
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=full;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.metadata=none;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/json;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SemanticSearchDto"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=full;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.metadata=none;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=true;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=true;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=false;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;odata.streaming=false;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;IEEE754Compatible=false": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json;IEEE754Compatible=true": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/octet-stream": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/tags-api/1.0/tags": {
      "get": {
        "tags": [
          "Tags"
        ],
        "summary": "Query tags using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "Tags"
        ],
        "summary": "Create a tag.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTagsRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateTagsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/tags-api/1.0/tags/{key}": {
      "get": {
        "tags": [
          "Tags"
        ],
        "summary": "Get a tag by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTagsResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/registers/{key}/tasks": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "summary": "Query tasks for a register using the OData query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTasksResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/items/{key}/tasks": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "summary": "Query tasks for a register item using the OData query syntax.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTasksResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/tasks/{key}": {
      "get": {
        "tags": [
          "Tasks"
        ],
        "summary": "Get a task by the task key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetRegisterItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/tasks": {
      "post": {
        "tags": [
          "Tasks"
        ],
        "summary": "Create a task for an item.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTaskRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTasksResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/registers-api/1.1/tasks/{key}/assign": {
      "put": {
        "tags": [
          "Tasks"
        ],
        "summary": "Assign user to task",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTaskAsigneeRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTasksResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/tenants-api/1.0/tenants": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "Get all spokes.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetTenantsResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/tenants-api/1.0/groups": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "Get all tenant groups.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetTenantsGroupResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/test-register-api/1.0/items": {
      "get": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Query test-register definitions using OData syntax.\r\nSupports $filter, $orderby, $top, $skip, and $count. Returns at most 500 records per page.",
        "description": "Use $top and $skip to implement paging. The caller must have at least one provisioned\r\nTestRegister and the `General_RegisterItem_ViewAll` permission; otherwise 401 is returned.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTestRegisterItemResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Create or update a test-register definition identified by `ExternalId` (natural-key upsert).",
        "description": "Dedup logic: if a live row exists for (TenantId, EntityRegisterId, ExternalId) it is updated;\r\nif a soft-deleted row exists it is resurrected then updated; otherwise a new row is created.\r\nConcurrent upserts with the same ExternalId converge on a single live row (unique-constraint\r\nrace handling). RecordedDate defaults to today (UTC) when omitted.\r\n            \r\n`[IdempotencyKey]` is intentionally absent — re-POSTing the same ExternalId is always\r\nsafe and always converges; adding response-caching would break a DELETE → re-POST sequence.\r\n            \r\nA successful upsert triggers automatic mapping suggestions via the Hailey pipeline.",
        "requestBody": {
          "description": "Test-register item to create or update.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTestRegisterItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTestRegisterItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/test-register-api/1.0/items/{key}": {
      "get": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Get a single test-register definition by its UUID key.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTestRegisterItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "put": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Update an existing test-register definition by its UUID key.",
        "description": "Requires the `Idempotency-Key` header. Re-submitting the same key with an identical\r\nrequest body replays the original response without re-executing the action (409 is returned\r\nif the body differs from the first submission with that key).\r\n            \r\nAuthorization is checked before the existence lookup so an unauthorized caller cannot\r\ndistinguish a missing item (404) from a forbidden one; both yield 401.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the test-register item to update.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Updated field values for the test-register item.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateTestRegisterItemRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetTestRegisterItemResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Soft-delete a test-register definition by its UUID key.",
        "description": "Requires the `Idempotency-Key` header. The delete is recorded in EntityHistory as a\r\nDeleted change, so the debounced `BatchEntityChangeEventPublisherJob` raises an\r\n`EntityChangeCloudEvent` that `RegisterItemEmbeddingTriggerHandler` acts on to\r\nremove the associated embedding.\r\n            \r\nAuthorization is checked before the existence lookup so an unauthorized caller cannot\r\ndistinguish a missing item (404) from a forbidden one; both yield 401.\r\n            \r\nAfter a successful delete, re-POSTing the same ExternalId via Upsert resurrects the item.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the test-register item to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "409": {
            "description": "Conflict",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/test-register-api/1.0/items/{key}/results": {
      "get": {
        "tags": [
          "TestRegister"
        ],
        "summary": "List all test results for a parent test-register item.",
        "description": "Supports OData $filter, $orderby, $top, $skip. Returns at most 500 records per page.\r\n            \r\nAI validation Verdict and ConfidenceLevel are intentionally not exposed via the Integration\r\nAPI in v1 — `OutcomeStatus` is the caller's self-asserted outcome and is the relevant\r\nfield for integration scenarios.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the parent test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestRegisterItemResultResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Submit a test result for a parent test-register item.",
        "description": "Natural-key idempotency: when `ResultUuid` is supplied, a filtered unique index on\r\n(TenantId, RegisterItemId, ExecutionTime, ResultUuid) makes re-submitted results idempotent —\r\nre-POSTing the same key returns the original result rather than inserting a duplicate.\r\nOmitting `ResultUuid` creates a fresh row on each POST.\r\n            \r\n`[IdempotencyKey]` is intentionally absent — natural-key dedup is the contract and a\r\nresponse-caching filter would break delete-then-re-POST.\r\n            \r\nCustom-field values are validated against the parent register's existing custom-field\r\ndefinitions and persisted with the result; an unknown field, option, or user/group reference\r\nreturns 400. Persisted values are echoed on the response.\r\n            \r\nData source rule: see LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Request.CreateTestRegisterItemResultRequest.DataSourceId. A\r\nmissing, mismatched, or not-permitted-here value returns 400 with a distinct message for each\r\ncase; a correct value naming a data source the tenant may no longer use returns 403.\r\n            \r\nThe rule binds external callers only. Wiz and Defender results reach the platform through the\r\ninternal polling path rather than this endpoint.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the parent test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Test result to submit.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateTestRegisterItemResultRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestRegisterItemResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/test-register-api/1.0/items/{key}/results/{resultKey}": {
      "get": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Get a single test result by its UUID, scoped to the parent test-register item.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the parent test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resultKey",
            "in": "path",
            "description": "UUID of the test result to retrieve.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TestRegisterItemResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Soft-delete a test result by its UUID, scoped to the parent test-register item.",
        "description": "Authorization is checked before the child-result existence lookup so an unauthorized caller\r\ncannot probe result existence (404 vs 401 timing oracle). The app service's own delete\r\nauthorization still runs as a second gate.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the parent test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "resultKey",
            "in": "path",
            "description": "UUID of the test result to delete.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/test-register-api/1.0/items/{key}/results/batch": {
      "post": {
        "tags": [
          "TestRegister"
        ],
        "summary": "Bulk-ingest up to 100 test results for a single test-register item in one HTTP call.",
        "description": "Each row is processed in its own unit-of-work (no all-or-nothing rollback). A row failure\r\ndoes not prevent subsequent rows from being persisted. Per-row dedup follows the same\r\nnatural-key semantics as `POST /{key}/results`: when `ResultUuid` is supplied, a\r\npre-existence check classifies the row as `duplicate` if a live row already exists for\r\n`(TenantId, RegisterItemId, ExecutionTime, ResultUuid)`. Omitting `ResultUuid`\r\nalways yields a `created` row (no dedup check — every such submission is a fresh row).\r\n            \r\nDuplicate classification uses a per-row pre-check: the controller queries the\r\nrepository with `IgnoreQueryFilters` before delegating to `CreateAsync`. This\r\naccepts a small TOCTOU classification window (a concurrent identical POST could change the\r\noutcome), but the underlying service enforces the DB unique constraint so correctness is\r\nunaffected — only the reported `status` field could be misclassified in a tight race.\r\n            \r\nHTTP 200 when every row is `created` or `duplicate`; 207 Multi-Status when any\r\nrow is `error`.\r\n            \r\nThe optional `Idempotency-Key` header caches the full batch response so retries with\r\nthe same key return the original per-row outcome without re-executing any row. This is\r\ncompatible with per-row UoW because caching only fires on replay (second call with the same\r\nkey); the first call processes all rows normally.\r\n            \r\nRate-limited via `IntegrationWriteLimit`: one batch counts as one request.\r\n            \r\nData source rule. `DataSourceId` is declared once on the request, not per row: the route\r\nkey fixes one test and a test has one configured data source. It is validated before any row\r\nis persisted, so a value that breaks the rule rejects the whole request — 400 for a payload\r\nthe caller can correct, 403 for a data source the tenant may no longer use — and nothing is\r\nwritten, leaving the caller free to resubmit the same batch with the value fixed. Per-row\r\n`errorCode` values therefore never report a data source fault. The full rule is\r\ndocumented on the single-result route.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "description": "UUID of the parent test-register item.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "Batch payload containing between 1 and 100 result rows.",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BulkCreateTestRegisterItemResultRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkResultResponse"
                }
              }
            }
          },
          "207": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BulkResultResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "403": {
            "description": "Forbidden",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "429": {
            "description": "Too Many Requests",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties": {
      "get": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Query third parties using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetThirdPartiesResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetThirdPartiesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "post": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Create a third party.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateThirdPartyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CreateThirdPartyResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties/{key}": {
      "get": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Get a third party by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetThirdPartiesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "put": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Update a third party.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateThirdPartyRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateThirdPartyResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      },
      "delete": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Delete a third party.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeleteThirdPartyResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties/{key}/attachment": {
      "post": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Add an attachment to a third party.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            },
            "application/json": {
              "schema": {
                "required": [
                  "Files"
                ],
                "type": "object",
                "properties": {
                  "Files": {
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "binary"
                    },
                    "description": "The files to attach."
                  }
                }
              },
              "encoding": {
                "Files": {
                  "style": "form"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AddThirdPartyAttachmentResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties/{key}/tags/{tagKey}": {
      "put": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Create or update third party tags.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "tagKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateThirdPartyTagResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties/custom-field-definitions": {
      "get": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Get third party custom fields.",
        "parameters": [
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetThirdPartyCustomFieldDefinitionResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/third-parties-api/1.0/third-parties/{key}/custom-fields/{customFieldKey}": {
      "put": {
        "tags": [
          "ThirdParties"
        ],
        "summary": "Updates value of a custom-field",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "customFieldKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateThirdPartyCustomFieldDataRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UpdateThirdPartyResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/users-api/1.0/groups": {
      "get": {
        "tags": [
          "UserGroups"
        ],
        "summary": "Query user groups using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationUnitsResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetOrganizationUnitsResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/users-api/1.0/users": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Query users using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsersResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetUsersResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/users-api/1.0/users/{key}": {
      "get": {
        "tags": [
          "Users"
        ],
        "summary": "Get a user by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.\r\nSupports $expand=Permissions to include the user's granted permissions in the response.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetSingleUserResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/vulnerabilities-api/1.0/vulnerabilities": {
      "get": {
        "tags": [
          "Vulnerabilities"
        ],
        "summary": "Query vulnerabilities using the OData query syntax. Supports querying across spokes from the Hub account.",
        "description": "Retrieves a default maximum of 500 records. Use $top and $skip parameters to implement paging.",
        "parameters": [
          {
            "name": "$filter",
            "in": "query",
            "description": "Filter results using OData filter syntax (e.g., `Name eq 'Example'`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$count",
            "in": "query",
            "description": "Include total count of matching results in the response.",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "$top",
            "in": "query",
            "description": "Limit the number of results returned.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$skip",
            "in": "query",
            "description": "Skip a specified number of results (for pagination).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$select",
            "in": "query",
            "description": "Select specific properties to return (e.g., `Name,Id`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$orderby",
            "in": "query",
            "description": "Sort results by one or more properties (e.g., `Name asc, CreatedDate desc`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "$search",
            "in": "query",
            "description": "Search results using a free-text search expression.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/GetVulnerabilitiesResponseODataResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVulnerabilitiesResponseODataResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json;odata.metadata=minimal": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ODataErrorResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/vulnerabilities-api/1.0/vulnerabilities/{key}": {
      "get": {
        "tags": [
          "Vulnerabilities"
        ],
        "summary": "Get a vulnerability by key. Use the OData $expand syntax to expand navigable properties. Supports querying across spokes from the Hub account.",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "$expand",
            "in": "query",
            "description": "Include related entities in the response (e.g., `Tags`).",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "spokeId",
            "in": "query",
            "description": "ID of spoke to query. Only used when queried by a Hub account. The integer spokeId will be deprecated in future versions of the API. Prefer the UUID spokeKey",
            "deprecated": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "spokeKey",
            "in": "query",
            "description": "Key of spoke to query. Only used when queried by a Hub account.",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetVulnerabilitiesResponse"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/webhooks-api/1.0/webhooks/register": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Registers a webhook URL to receive entity-change events.",
        "description": "After registration, the platform will POST a JSON payload to the supplied `WebhookURL`\r\nwhenever an event matching `EventName` fires. The subscriber endpoint must respond with a\r\n2xx status code.\r\n            \r\n## Subscription limit\r\nEach tenant may have a maximum of **100 active webhook subscriptions**. Once the limit is\r\nreached, further registration attempts return a 400 response until an existing subscription\r\nis removed via the unregister endpoint.\r\n            \r\n## Event names\r\nOne of the following must be supplied as `EventName`:\r\n            \r\n- `Entity.Created` — a tracked entity was created.\r\n- `Entity.Updated` — a tracked entity was updated; the payload includes the changed fields.\r\n- `Entity.Deleted` — a tracked entity was deleted.\r\n            \r\n## Filtering by entity type\r\nThe optional `EntityTypes` array on the request body filters which entities trigger the\r\nwebhook. Supply zero or more of the values below (case-insensitive). Omit the array — or send\r\nan empty array — to receive every supported entity type (backwards-compatible behaviour).\r\n            \r\nSupported `EntityTypes` values match the payload's top-level `entityType` field:\r\n            \r\n- `Risk Register` — the umbrella covering risks and risk-related entities (Risk Assessments,\r\n  Risk Treatment Plans). Subscribers receive one webhook per root Risk change; related-entity\r\n  changes that occurred in the same operation are nested in the payload's `relatedEntities`\r\n  array (see below).\r\n- `Register Item` — register items (issues). Subscribers receive a webhook for each register\r\n  item that is created, updated, or deleted.\r\n- `Third Party` — third-party vendor records. Subscribers receive a webhook for each third\r\n  party that is created, updated, or deleted.\r\n            \r\nUnknown values are rejected with a 400 response.\r\n            \r\n## Related entities — what arrives in `relatedEntities`\r\nA single user action commonly touches more than one record. For example, updating a Risk's\r\nrating may create or update an associated Risk Assessment, and changing a treatment may update\r\none or more Risk Treatment Plans linked to the risk. Rather than firing a separate webhook for\r\neach of those side-effects, the platform groups them under the root Risk change:\r\n            \r\n- The webhook's top-level `entityType` is the umbrella (`Risk Register`) and the top-level\r\n  `entity` identifies the root Risk that the action targeted.\r\n- Every other record affected by the same action is appended to `relatedEntities`. Each\r\n  item carries its **own** `entityType` (e.g. `Risk Assessment`, `Risk Treatment Plan`)\r\n  plus its own `entity`, `standardFieldChanges`, `customFieldChanges`, and\r\n  nested `relatedEntities`.\r\n            \r\nSubscribers who want to react to Risk Assessment or Risk Treatment Plan changes therefore read\r\nthe `relatedEntities` array on a `Risk Register` webhook — they do not need a separate\r\nsubscription for those types.\r\n            \r\n## Outbound payload — single-entity change\r\nThe payload sent to `WebhookURL` for a single-entity change has the following shape\r\n(JSON property names are camelCase).\r\n            \r\n> **Identifiers**: Entity and user references in the payload (`triggeredBy`, `entity`,\r\n> and items inside `relatedEntities`) use **UUIDs** as their `id` value. Internal numeric\r\n> database primary keys are not exposed in webhook payloads.\r\n            \r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `event` | string | The event name (one of the values above). |\r\n| `entityType` | string | Display name of the entity type. |\r\n| `changeType` | string | One of `created`, `updated`, `deleted`. |\r\n| `changeTime` | string (ISO 8601) | UTC timestamp of when the change occurred. |\r\n| `triggeredBy` | object `{ id: string (UUID), name: string }` | The user that triggered the change. `id` is the user's UUID. `name` is the user's email address. |\r\n| `webhookEventId` | string (UUID) or null | Unique id of the webhook delivery, useful for idempotency. |\r\n| `entity` | object `{ id: string (UUID), name: string }` | The entity that changed. `id` is the entity's UUID. `name` is the entity's display name — the Risk name, Risk Treatment Plan treatment name, or Risk Assessment title, depending on `entityType`. |\r\n| `standardFieldChanges` | array of `PropertyChange` | Standard fields that changed (empty for create/delete). |\r\n| `customFieldChanges` | array of `PropertyChange` | Custom fields that changed (empty for create/delete). |\r\n| `relatedEntities` | array of single-entity payloads | Related entities affected by the same change. Empty for create/delete events. |\r\n            \r\n`PropertyChange` shape:\r\n            \r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `propertyName` | string | Name of the field that changed. |\r\n| `originalValue` | any | The value before the change. |\r\n| `originalValueHash` | any | Hash of the original value (when long values are hashed). |\r\n| `newValue` | any | The value after the change. |\r\n| `newValueHash` | any | Hash of the new value (when long values are hashed). |\r\n| `metadata` | any | Additional data needed to identify the field (e.g. for custom fields). |\r\n            \r\n## Outbound payload — bulk change\r\nWhen many entities change in a single operation, the payload uses the bulk shape with the same\r\nenvelope fields (`event`, `entityType`, `changeType`, `changeTime`, `triggeredBy`, `webhookEventId`)\r\nplus:\r\n            \r\n| Field | Type | Description |\r\n|-------|------|-------------|\r\n| `isBulk` | boolean | Always `true` — discriminator distinguishing bulk from single. |\r\n| `itemsCount` | integer | Number of entities in the `items` array. |\r\n| `items` | array of bulk-item objects | Each item has `entity`, `standardFieldChanges`, `customFieldChanges`, `relatedEntities`. |\r\n            \r\n## Examples\r\n            \r\nRisk update with a Risk Assessment created as a related entity (a common case — re-rating a\r\nrisk produces a new Risk Assessment record alongside the Risk's own field changes):\r\n            \r\n```json\r\n{\r\n  \"event\": \"Entity.Updated\",\r\n  \"entityType\": \"Risk Register\",\r\n  \"changeType\": \"updated\",\r\n  \"changeTime\": \"2026-01-15T09:32:11.000Z\",\r\n  \"triggeredBy\": { \"id\": \"00000000-0000-0000-0000-000000000042\", \"name\": \"user@example.com\" },\r\n  \"webhookEventId\": \"00000000-0000-0000-0000-000000000001\",\r\n  \"entity\": { \"id\": \"00000000-0000-0000-0000-000000000123\", \"name\": \"Customer data breach\" },\r\n  \"standardFieldChanges\": [\r\n    { \"propertyName\": \"Rating\", \"originalValue\": \"Medium\", \"newValue\": \"High\", \"originalValueHash\": null, \"newValueHash\": null, \"metadata\": null }\r\n  ],\r\n  \"customFieldChanges\": [],\r\n  \"relatedEntities\": [\r\n    {\r\n      \"event\": \"Entity.Created\",\r\n      \"entityType\": \"Risk Assessment\",\r\n      \"changeType\": \"created\",\r\n      \"changeTime\": \"2026-01-15T09:32:11.000Z\",\r\n      \"entity\": { \"id\": \"00000000-0000-0000-0000-000000000456\", \"name\": \"Q1 2026 assessment\" },\r\n      \"standardFieldChanges\": [],\r\n      \"customFieldChanges\": [],\r\n      \"relatedEntities\": []\r\n    }\r\n  ]\r\n}\r\n```\r\n            \r\nSingle Risk update with no side-effects on related entities:\r\n            \r\n```json\r\n{\r\n  \"event\": \"Entity.Updated\",\r\n  \"entityType\": \"Risk Register\",\r\n  \"changeType\": \"updated\",\r\n  \"changeTime\": \"2026-01-15T09:32:11.000Z\",\r\n  \"triggeredBy\": { \"id\": \"00000000-0000-0000-0000-000000000042\", \"name\": \"user@example.com\" },\r\n  \"webhookEventId\": \"00000000-0000-0000-0000-000000000002\",\r\n  \"entity\": { \"id\": \"00000000-0000-0000-0000-000000000123\", \"name\": \"Customer data breach\" },\r\n  \"standardFieldChanges\": [\r\n    { \"propertyName\": \"Status\", \"originalValue\": \"Open\", \"newValue\": \"Mitigated\", \"originalValueHash\": null, \"newValueHash\": null, \"metadata\": null }\r\n  ],\r\n  \"customFieldChanges\": [],\r\n  \"relatedEntities\": []\r\n}\r\n```\r\n            \r\nBulk update (many Risks changed in one operation):\r\n            \r\n```json\r\n{\r\n  \"event\": \"Entity.Updated\",\r\n  \"entityType\": \"Risk Register\",\r\n  \"changeType\": \"updated\",\r\n  \"changeTime\": \"2026-01-15T09:32:11.000Z\",\r\n  \"triggeredBy\": { \"id\": \"00000000-0000-0000-0000-000000000042\", \"name\": \"user@example.com\" },\r\n  \"webhookEventId\": \"00000000-0000-0000-0000-000000000003\",\r\n  \"isBulk\": true,\r\n  \"itemsCount\": 2,\r\n  \"items\": [\r\n    { \"entity\": { \"id\": \"00000000-0000-0000-0000-000000000123\", \"name\": \"Customer data breach\" }, \"standardFieldChanges\": [], \"customFieldChanges\": [], \"relatedEntities\": [] },\r\n    { \"entity\": { \"id\": \"00000000-0000-0000-0000-000000000124\", \"name\": \"Supplier outage\" }, \"standardFieldChanges\": [], \"customFieldChanges\": [], \"relatedEntities\": [] }\r\n  ]\r\n}\r\n```",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/json;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "text/plain": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RegisterWebhookRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegisterWebhookResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/webhooks-api/1.0/webhooks": {
      "get": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Lists every webhook subscription registered for the calling tenant.",
        "description": "Returns the full list — paging and filtering are not supported. Each item exposes the\r\nstored `webhookUrl`, the `webhookNames` the subscription is registered against\r\n(e.g. `Entity.Created` or `Entity.Updated:Risk Register`), and whether the\r\nsubscription is currently active.",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/GetWebhooksResponse"
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    },
    "/webhooks-api/1.0/webhooks/unregister": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Removes a previously registered webhook subscription.",
        "description": "Supply the same `EventName` and `WebhookURL` values that were used when calling the\r\nregister endpoint. After successful unregistration the platform stops POSTing payloads to the URL\r\nfor that event. See the register endpoint for the outbound payload structure.",
        "requestBody": {
          "content": {
            "application/json;odata.metadata=minimal;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=minimal;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=full;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.metadata=none;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=true;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;odata.streaming=false;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;IEEE754Compatible=false": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/json;IEEE754Compatible=true": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "text/plain": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UnregisterWebhookRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidationProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AbpAjaxResponseRenderer"
                }
              }
            }
          },
          "404": {
            "description": "Not Found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AbpAjaxResponseRenderer": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          }
        },
        "additionalProperties": false,
        "description": "Defines how ABP error responses are rendered"
      },
      "ActionStatusEnum": {
        "enum": [
          "New",
          "Completed",
          "Closed",
          "InProgress",
          "Reopened"
        ],
        "type": "string"
      },
      "AddRegisterItemAttachmentResponse": {
        "type": "object",
        "properties": {
          "Files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedRegisterItemFileInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddRiskAttachmentResponse": {
        "type": "object",
        "properties": {
          "Files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedFileInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddRiskCommentRequest": {
        "required": [
          "Comment"
        ],
        "type": "object",
        "properties": {
          "Comment": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string",
            "description": "The content of the risk comment."
          }
        },
        "additionalProperties": false
      },
      "AddRiskCommentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "Comment": {
            "type": "string",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "CreatedBy": {
            "type": "string",
            "nullable": true
          },
          "CreatedByEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddRiskTreatmentPlanCommentRequest": {
        "required": [
          "Comment"
        ],
        "type": "object",
        "properties": {
          "Comment": {
            "maxLength": 4096,
            "minLength": 1,
            "type": "string",
            "description": "The content of the risk treatment plan comment."
          }
        },
        "additionalProperties": false
      },
      "AddRiskTreatmentPlanCommentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "Comment": {
            "type": "string",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "CreatedBy": {
            "type": "string",
            "nullable": true
          },
          "CreatedByEmail": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AddThirdPartyAttachmentResponse": {
        "type": "object",
        "properties": {
          "Files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadedThirdPartyFileInfo"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentAuthorityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the authority.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the authority linked to assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the authority.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentControlSetResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control set.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control set linked to assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AssessmentRespondentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the respondent.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the respondent.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the respondent.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentResponderUser": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "emailAddress": {
            "type": "string",
            "nullable": true
          },
          "lastLoginTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "isDeletedUser": {
            "type": "boolean"
          },
          "isUserGroup": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "AssessmentScopeProjectTaskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project task linked to assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project task linked to assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the project task linked to assessment.",
            "format": "uuid"
          },
          "ProjectKey": {
            "type": "string",
            "description": "The key of the project containing the project task linked to assessment.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentScopeRegisterItemResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the register item linked to assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the register item linked to assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the register item linked to assessment.",
            "format": "uuid"
          },
          "RegisterKey": {
            "type": "string",
            "description": "The key of the register that contains the linked register item.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentScopeRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk linked to assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk linked to assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk linked to assessment.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AssessmentStatus": {
        "enum": [
          "Draft",
          "Approved",
          "Published",
          "Completed",
          "Closed",
          "Reviewed",
          "InProgress",
          "Cancelled",
          "Deprecated"
        ],
        "type": "string"
      },
      "AssessmentTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the assessment tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AssessmentTemplateResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment template.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the assessment template used to create the assessment.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment template.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AssessmentWorkFlow": {
        "enum": [
          "Question",
          "Requirement"
        ],
        "type": "string"
      },
      "AssetTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the asset tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asset tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "AttestationItemEntityType": {
        "enum": [
          "Control",
          "Risk",
          "ControlSet",
          "Combined"
        ],
        "type": "string"
      },
      "AttestationStatus": {
        "enum": [
          "Edit",
          "Sent",
          "ClosedPreCompletion",
          "Completed"
        ],
        "type": "string"
      },
      "AuthorityGroupDto": {
        "type": "object",
        "properties": {
          "AuthorityKey": {
            "type": "string",
            "format": "uuid"
          },
          "Items": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Items grouped by Authority."
      },
      "BulkCreateTestRegisterItemResultRequest": {
        "required": [
          "Items"
        ],
        "type": "object",
        "properties": {
          "DataSourceId": {
            "maxLength": 100,
            "type": "string",
            "description": "Canonical integration id of the data source that produced these results — for example\r\n`CustomWorkflowBuilder`, `Wiz` or `ADC`. Not the display name, and not the\r\ntenant-specific integration database id. Compared case-insensitively, ignoring surrounding\r\nwhitespace.\r\n            \r\nDeclared once for the whole batch, because the route key fixes a single test and a test has\r\none configured data source. Required, and must equal the data source configured on the test,\r\nwhen the test is Automatic; must be omitted when the test is Manual or has no configuration\r\nrow. Unlike a row-level fault this is not reported per row: the value is either right for the\r\nbatch or wrong for all of it, so a mismatch or an omission on an Automatic test returns 400\r\nand a correct value for a data source the tenant may no longer use returns 403, in both cases\r\nbefore any row is persisted.",
            "nullable": true
          },
          "Items": {
            "maxItems": 100,
            "minItems": 1,
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TestRegisterItemResultFields"
            },
            "description": "The test results to ingest. Between 1 and 100 items inclusive."
          }
        },
        "additionalProperties": false,
        "description": "Payload for the bulk test-result ingest endpoint.\r\nWraps up to 100 individual result rows; each row is processed independently\r\n(per-row unit-of-work) so partial failures do not roll back successes."
      },
      "BulkResultResponse": {
        "type": "object",
        "properties": {
          "Results": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BulkResultResponseItem"
            },
            "description": "Per-row outcomes in the same order as the request `Items` array.",
            "nullable": true
          },
          "RowCount": {
            "type": "integer",
            "description": "Total rows submitted.",
            "format": "int32"
          },
          "CreatedCount": {
            "type": "integer",
            "description": "Rows that were newly persisted.",
            "format": "int32"
          },
          "DuplicateCount": {
            "type": "integer",
            "description": "Rows that matched an existing natural key and were not re-inserted.",
            "format": "int32"
          },
          "ErrorCount": {
            "type": "integer",
            "description": "Rows that failed processing.",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Response envelope for the bulk test-result ingest endpoint."
      },
      "BulkResultResponseItem": {
        "type": "object",
        "properties": {
          "Index": {
            "type": "integer",
            "description": "Zero-based index of this row in the original request `Items` array.\r\nAllows the caller to correlate each outcome back to its input row.",
            "format": "int32"
          },
          "Status": {
            "type": "string",
            "description": "Outcome for this row. One of: `\"created\"`, `\"duplicate\"`, `\"error\"`.",
            "nullable": true
          },
          "ResultKey": {
            "type": "string",
            "description": "Server-generated UUID of the persisted test result (the `Key` field on a\r\nLegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.TestRegisterItemResultResponse). Null when LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.BulkResultResponseItem.Status is\r\n`\"error\"`.",
            "format": "uuid",
            "nullable": true
          },
          "ErrorMessage": {
            "type": "string",
            "description": "Short user-facing message describing why this row failed.\r\nOnly populated when LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.BulkResultResponseItem.Status is `\"error\"`.\r\nNever contains a stack trace or internal detail.",
            "nullable": true
          },
          "ErrorCode": {
            "type": "string",
            "description": "Stable machine-readable error code for the failure, e.g. `\"validation-error\"`,\r\n`\"invalid-status\"`, `\"unknown-register-item\"`, `\"unauthorized\"`.\r\nOnly populated when LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.BulkResultResponseItem.Status is `\"error\"`.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Per-row outcome for a bulk test-result ingest request."
      },
      "CCMTestControlResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "description": "The name of the control.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CCMTestControlSetResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "description": "The name of the control set.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CCMTestResponsibilityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "description": "The name of the responsibility.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the responsibility.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CCMTestResultStatus": {
        "enum": [
          "Pending",
          "Pass",
          "Fail",
          "Error"
        ],
        "type": "string"
      },
      "CCMTestStatus": {
        "enum": [
          "Edit",
          "Published",
          "Deprecated"
        ],
        "type": "string"
      },
      "ContentLibraryAuthorityImageDto": {
        "type": "object",
        "properties": {
          "FileName": {
            "type": "string",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ControlRiskStatus": {
        "enum": [
          "NoRisk",
          "Low",
          "Medium",
          "High",
          "VeryHigh",
          "VeryLow"
        ],
        "type": "string"
      },
      "ControlType": {
        "enum": [
          "Dropdown",
          "DynamicCustomField",
          "FreeText",
          "MultiselectDropdown",
          "Date",
          "RichText",
          "Number",
          "User"
        ],
        "type": "string"
      },
      "CopyAssessmentResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the new assessment.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateAssessmentRequest": {
        "required": [
          "Name",
          "ThirdPartyName"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the assessment."
          },
          "ThirdPartyName": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the third party associated with the assessment. A new vendor will be created if the named one does not already exist.\r\nEnsure the name is specified exactly as it appears in 6clicks."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the assessment.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The date the assessment is due.",
            "format": "date",
            "nullable": true
          },
          "PublishedDate": {
            "type": "string",
            "description": "The date the assessment was published.",
            "format": "date",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the assessment",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time that the assessment was created, in UTC",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the assessment was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/AssessmentStatus"
          },
          "Description": {
            "type": "string",
            "description": "A description of the assessment.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The date the assessment is due.",
            "format": "date",
            "nullable": true
          },
          "PublishedDate": {
            "type": "string",
            "description": "The date the assessment was published.",
            "format": "date",
            "nullable": true
          },
          "WorkFlow": {
            "$ref": "#/components/schemas/AssessmentWorkFlow"
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid"
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Archived status of assessment."
          },
          "ResponseStartedDate": {
            "type": "string",
            "description": "Start date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "ResponseCompletedDate": {
            "type": "string",
            "description": "Completion date of the assesment response.",
            "format": "date-time",
            "nullable": true
          },
          "ReviewedDate": {
            "type": "string",
            "description": "Review date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "ClosedDate": {
            "type": "string",
            "description": "Closed date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Whether the assessment is a template."
          },
          "Score": {
            "type": "number",
            "description": "The score of the most recent submitted or closed assessment response.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssessmentTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TagKey": {
            "type": "string",
            "description": "The key of the tag.",
            "format": "uuid"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time that the assessment tag was created, in UTC",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the assessment was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateAssessmentUsingTemplateRequest": {
        "required": [
          "AssessmentKey",
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the assessment."
          },
          "ThirdPartyName": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of a new third-party respondent to associate with the assessment.\r\nUsed to create a new third-party only if ThirdPartyKey is not provided.",
            "nullable": true
          },
          "ThirdPartyKey": {
            "type": "string",
            "description": "The key of a new third-party respondent to associate with the assessment.",
            "format": "uuid",
            "nullable": true
          },
          "ProductName": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the product to associate with the assessment.",
            "nullable": true
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment template.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateAssetRequest": {
        "required": [
          "Name",
          "RecordedDate"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the asset. It must be a non-empty string and will be validated for length and HTML content."
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The optional description of the asset, providing additional details about it.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the asset, specifying when it needs to be completed.",
            "format": "date",
            "nullable": true
          },
          "HostIP": {
            "maxLength": 200,
            "type": "string",
            "description": "The Host IP address of the asset.",
            "nullable": true
          },
          "Domain": {
            "maxLength": 200,
            "type": "string",
            "description": "The domain name of the asset.",
            "nullable": true
          },
          "ConfidentialityKey": {
            "type": "string",
            "description": "The confidentiality key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "IntegrityKey": {
            "type": "string",
            "description": "The integrity key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "AvailabilityKey": {
            "type": "string",
            "description": "The availability key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "AssetTypeKey": {
            "type": "string",
            "description": "The type key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs. \r\nSupports both root-level (parent) and child custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the asset.",
            "format": "date"
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this asset.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this asset.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this asset.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this asset.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this asset.",
            "format": "uuid",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this asset.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this asset.\r\nIf not provided, the default workflow stage will be used.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAssetResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the asset.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the asset was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the asset was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The name of the asset.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the asset.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asset.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "The unique identifier of the asset within its register. This is a sequential number unique per tenant and register.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the asset that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the asset that are groups",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTagResponse"
            },
            "description": "The tags associated with the asset.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateAttestationRequest": {
        "required": [
          "Description",
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the attestation."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the attestation."
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the attestation.",
            "format": "date",
            "nullable": true
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the attestation.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateAttestationResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the attestation.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the attestation was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the attestation was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the attestation.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the attestation.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date for the attestation.",
            "format": "date",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/AttestationStatus"
          },
          "AttestationItemEntityType": {
            "$ref": "#/components/schemas/AttestationItemEntityType"
          },
          "Key": {
            "type": "string",
            "description": "The key of the attestation.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateCCMTestRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the test."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The external source for automated tests, e.g. \"Wiz\".\r\nNote that tests are automated only when they are linked to a valid control",
            "nullable": true
          },
          "ControlSetKey": {
            "type": "string",
            "description": "Control-set key to link to a test",
            "format": "uuid"
          },
          "ControlKey": {
            "type": "string",
            "description": "Control key to link to a test",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateCCMTestResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the test.",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "Test identifier",
            "format": "int64"
          },
          "Description": {
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The id of external integration.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date test published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateCCMTestResultRequest": {
        "type": "object",
        "properties": {
          "Description": {
            "maxLength": 3000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestResultStatus"
          }
        },
        "additionalProperties": false
      },
      "CreateCCMTestResultResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description/details of the test result.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestResultStatus"
          },
          "ExecutionTime": {
            "type": "string",
            "description": "The date the risk treatment was completed, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "IsDeprecated": {
            "type": "boolean",
            "description": "Test result is deprecated, new version exists"
          }
        },
        "additionalProperties": false
      },
      "CreateControlRequest": {
        "required": [
          "ControlSetKey",
          "Detail",
          "DomainKey",
          "IdRef",
          "Name"
        ],
        "type": "object",
        "properties": {
          "IdRef": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "Reference ID for the control."
          },
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the control."
          },
          "Detail": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The detail of the control."
          },
          "Order": {
            "type": "integer",
            "description": "The order of the control.",
            "format": "int32"
          },
          "RiskStatus": {
            "$ref": "#/components/schemas/ControlRiskStatus"
          },
          "ControlSetKey": {
            "type": "string",
            "description": "The control set key of the control.",
            "format": "uuid"
          },
          "DomainKey": {
            "type": "string",
            "description": "The domain key of the control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateControlResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the control was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the control was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control.",
            "nullable": true
          },
          "Detail": {
            "type": "string",
            "description": "The detailed description of the control.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the control (integer value).",
            "format": "int32"
          },
          "DomainKey": {
            "type": "string",
            "description": "The key of the policy domain associated with the control.",
            "format": "uuid"
          },
          "ParentControlKey": {
            "type": "string",
            "description": "The key of the parent control (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "RootControlKey": {
            "type": "string",
            "description": "The ID of the root control in the hierarchy (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "RiskStatus": {
            "$ref": "#/components/schemas/ControlRiskStatus"
          },
          "ControlSetKey": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateControlSetRequest": {
        "required": [
          "Description",
          "Name",
          "Status"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the control set."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the control set."
          },
          "LastReviewDateTime": {
            "type": "string",
            "description": "The last review date and time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "NextReviewDateTime": {
            "type": "string",
            "description": "The next review date and time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/PolicyStatus"
          }
        },
        "additionalProperties": false
      },
      "CreateControlSetResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control set.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control set.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the control set.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/PolicyStatus"
          },
          "Version": {
            "type": "integer",
            "description": "The version of the policy.",
            "format": "int32"
          },
          "Type": {
            "type": "string",
            "description": "The type of the control set.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the control set was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the control set was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "LastReviewDateTime": {
            "type": "string",
            "description": "The last review date time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "NextReviewDateTime": {
            "type": "string",
            "description": "The next review date time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateGroupRequest": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "ExternalId": {
            "type": "string",
            "nullable": true
          },
          "DisplayName": {
            "type": "string",
            "nullable": true
          },
          "Meta": {
            "$ref": "#/components/schemas/MetaBase"
          }
        },
        "additionalProperties": false
      },
      "CreateIssueRequest": {
        "required": [
          "Name",
          "RecordedDate"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the issue. It must be a non-empty string and will be validated for length and HTML content."
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The optional description of the issue, providing additional details about it.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the issue, specifying when it needs to be completed.",
            "format": "date",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nSupports both root-level (parent) and child custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the issue.",
            "format": "date"
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this issue.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this issue.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this issue.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this issue.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this issue.",
            "format": "uuid",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "Free-text name of who identified/reported this issue (shown as \"Identified by\").\r\nCannot be combined with IdentifiedByUserKey. Defaults to the API key owner when both are omitted.",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this issue.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this issue.\r\nIf not provided, the default workflow stage will be used.",
            "format": "uuid",
            "nullable": true
          },
          "TypeKey": {
            "type": "string",
            "description": "The type key (UUID) for this issue (predefined custom data).",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateIssueResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the issue.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "Reference ID for the issue.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the issue was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the issue was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the issue.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the issue.",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "The name of the person who reported the issue.",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the issue.",
            "format": "date",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the issue.",
            "format": "date",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the issue.",
            "format": "uuid"
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Returns true if issue is archived.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are groups",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssueTagResponse"
            },
            "description": "The tags associated with the issue.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          },
          "CustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "CreateMetricRequest": {
        "required": [
          "Description",
          "Name",
          "SourceType"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the metric."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the metric."
          },
          "SourceType": {
            "$ref": "#/components/schemas/MetricSourceType"
          }
        },
        "additionalProperties": false
      },
      "CreateMetricResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the metric.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the metric.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the metric.",
            "nullable": true
          },
          "Value": {
            "type": "number",
            "description": "The current value of the metric (float).",
            "format": "double",
            "nullable": true
          },
          "Scope": {
            "$ref": "#/components/schemas/MetricScope"
          },
          "SourceType": {
            "$ref": "#/components/schemas/MetricSourceType"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the metric was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the metric was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the metric.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateProjectRequest": {
        "required": [
          "Description",
          "Name",
          "OwnerKey"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the project."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the project."
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateProjectResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the project was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the project was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the project.",
            "nullable": true
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid"
          },
          "Status": {
            "$ref": "#/components/schemas/ProjectStatus"
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Indicates whether the project is a template."
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Indicates whether the project has been archived."
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the project.",
            "format": "date",
            "nullable": true
          },
          "PublishedDate": {
            "type": "string",
            "description": "The date the project was published (if published).",
            "format": "date",
            "nullable": true
          },
          "PublishedByKey": {
            "type": "string",
            "description": "The key of the user who published the project.",
            "format": "uuid",
            "nullable": true
          },
          "CreatedFromKey": {
            "type": "string",
            "description": "The key of the project the current project was created from (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "CreatedFromMethod": {
            "$ref": "#/components/schemas/CreatedFromMethod"
          },
          "CreatedFromTemplateStatus": {
            "$ref": "#/components/schemas/ProjectTemplateStatus"
          },
          "Key": {
            "type": "string",
            "description": "The key of the project.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateProjectTemplateRequest": {
        "required": [
          "Description",
          "Name",
          "OwnerKey"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the project."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the project."
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateProjectTemplateResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the project was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid"
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the project was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the project.",
            "nullable": true
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid",
            "nullable": true
          },
          "TemplateStatus": {
            "$ref": "#/components/schemas/ProjectTemplateStatus"
          },
          "TemplateType": {
            "$ref": "#/components/schemas/ProjectTemplateType"
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Indicates whether the project is a template."
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Indicates whether the project has been archived."
          },
          "CreatedFromKey": {
            "type": "string",
            "description": "The key of the project the current project was created from (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the project.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateRBACustomFieldAnswerOptionRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field answer option."
          }
        },
        "additionalProperties": false
      },
      "CreateRBACustomFieldAnswerOptionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRBACustomFieldRequest": {
        "required": [
          "Description",
          "Label"
        ],
        "type": "object",
        "properties": {
          "Label": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field."
          },
          "Description": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field."
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.\r\nExpected values -   Dropdown,ShortTextResponse, LongTextResponse",
            "nullable": true
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of answer options of dropdown custom field.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRBACustomFieldResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRegisterItemRequest": {
        "required": [
          "Name",
          "RegisterKey"
        ],
        "type": "object",
        "properties": {
          "RegisterKey": {
            "type": "string",
            "description": "The key or unique identifier of the register.",
            "format": "uuid"
          },
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the item. It must be a non-empty string and will be validated for length and HTML content."
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The optional description of the item, providing additional details about it.",
            "nullable": true
          },
          "CustomIdRef": {
            "maxLength": 100,
            "type": "string",
            "description": "The user-defined ID Ref for the item, e.g. a control's framework code (\"A.5.1\").\r\nRequired on registers that use a user-defined ID Ref (currently the Control register) and\r\nignored on all others. Must be unique within the register, case-insensitively.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the item, specifying when it needs to be completed.",
            "format": "date",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the item. Required on all registers except the Control, Test, Task and\r\nFiles registers, where Date reported is not a field and any value sent is ignored.",
            "format": "date",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this item.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this item.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this item.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this item.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this item.",
            "format": "uuid",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "Free-text name of who identified/reported this item (shown as \"Identified by\").\r\nCannot be combined with IdentifiedByUserKey. Defaults to the API key owner when both are omitted.",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this item.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this item.\r\nIf not provided, the default workflow stage will be used.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nSupports both root-level (parent) and child custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with empty UserKeys and GroupKeys lists.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateResponsibilityRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the responsibility."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the responsibility.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of responsibility.",
            "format": "date-time",
            "nullable": true
          },
          "ControlSetKey": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateResponsibilityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the responsibility.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the responsibility.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the responsibility.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of responsibility.",
            "format": "date",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "Version": {
            "type": "integer",
            "description": "The version of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "IsRecurring": {
            "type": "boolean",
            "description": "The responsibility is recurring.",
            "nullable": true
          },
          "RecurringPeriod": {
            "$ref": "#/components/schemas/Period"
          },
          "Status": {
            "$ref": "#/components/schemas/StatementStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date responsibility published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the responsibility.",
            "format": "uuid"
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are groups",
            "nullable": true
          },
          "AssigneeUsers": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Users assigned as assignees of the responsibility.",
            "nullable": true
          },
          "AssigneeGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Groups assigned as assignees of the responsibility.",
            "nullable": true
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponsibilityControlResponse"
            },
            "description": "Controls linked with the responsibility.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskAssessmentRequest": {
        "required": [
          "AssessmentDate",
          "RiskAssessmentTypeKey",
          "RiskId"
        ],
        "type": "object",
        "properties": {
          "RiskId": {
            "type": "string",
            "description": "The risk ID (UUID) where the created assessment will be associated.",
            "format": "uuid"
          },
          "AssessmentDate": {
            "type": "string",
            "description": "The assessment date of the risk. Use this date format yyyy-MM-dd as input\r\nto avoid any issues. e.g. 2025-12-01",
            "format": "date"
          },
          "RiskAssessmentTypeKey": {
            "type": "string",
            "description": "The risk assessment label key (UUID) for this risk assessment.\r\nUUID came from a pre-loaded risk assessment custom field.",
            "format": "uuid"
          },
          "LikelihoodKey": {
            "type": "string",
            "description": "A UUID value from a pre-loaded risk assessment custom field \r\nthat describes the likelihood for this risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "ImpactKey": {
            "type": "string",
            "description": "A UUID value from a pre-loaded risk assessment custom field \r\nthat describes the impact of this risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nNOTE: Risk assessment does not support child fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nNOTE: Risk assessment does not support child fields.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk assessment.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was created.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was last modified.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the associated risk.",
            "format": "uuid"
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk assessment.",
            "format": "uuid"
          },
          "Title": {
            "type": "string",
            "description": "The title of the risk assessment.",
            "nullable": true
          },
          "AssessmentDate": {
            "type": "string",
            "description": "The date of the risk assessment",
            "format": "date"
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the risk."
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The description of the risk.",
            "nullable": true
          },
          "CommonCause": {
            "maxLength": 10000,
            "type": "string",
            "description": "The common cause of the risk.",
            "nullable": true
          },
          "LikelyImpact": {
            "maxLength": 10000,
            "type": "string",
            "description": "The likely impact of the risk.",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this risk.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this risk.",
            "nullable": true
          },
          "DomainKey": {
            "type": "string",
            "description": "The domain key (UUID) for this risk.\r\n[DEPRECATED] This property will be removed in future versions of the API. The Risk Domain can now be set via LookupBasedCustomFields.",
            "format": "uuid",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this risk.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this risk.\r\nIf not provided, the default workflow stage will be used.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nSupports both root-level (parent) and child custom fields.\r\nNOTE: When setting child field values, ensure the selected option's ParentThirdPartyAttributeId\r\nmatches the selected value of the parent field. The API trusts that you provide valid combinations.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "The reference ID of the risk.",
            "format": "int64"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the risk.",
            "nullable": true
          },
          "CommonCause": {
            "type": "string",
            "description": "The common cause of the risk.",
            "nullable": true
          },
          "LikelyImpact": {
            "type": "string",
            "description": "The likely impact of the risk.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The key of the person who identified the risk.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentStatus": {
            "type": "string",
            "description": "The treatment status of the risk (string value).",
            "nullable": true
          },
          "TreatmentStatusId": {
            "type": "integer",
            "description": "The treatment status of the risk (integer value).",
            "format": "int32"
          },
          "TreatmentDecision": {
            "type": "string",
            "description": "The name of the decision associated with the risk treatment.",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "RiskRating": {
            "type": "string",
            "description": "The risk rating associated with the risk.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTagResponse"
            },
            "description": "The tags associated with the risk.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "User owners of the risk (as UUIDs).",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Group owners of the risk (as UUIDs).",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskTreatmentPlanRequest": {
        "required": [
          "Status",
          "TreatmentDescription",
          "TreatmentName"
        ],
        "type": "object",
        "properties": {
          "TreatmentName": {
            "maxLength": 5000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the risk treatment plan."
          },
          "TreatmentDate": {
            "type": "string",
            "description": "The target date for completing the risk treatment plan",
            "format": "date",
            "nullable": true
          },
          "TreatmentDescription": {
            "maxLength": 1000000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the risk treatment plan."
          },
          "UserAssignees": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The keys of the users assigned to the risk treatment plan",
            "nullable": true
          },
          "GroupAssignees": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The keys of the groups assigned to the risk treatment plan",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          },
          "RiskId": {
            "type": "string",
            "description": "The risk linked with the treatment plan",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateRiskTreatmentPlanResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk treatment plan.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentDescription": {
            "type": "string",
            "description": "The description of the risk treatment plan.",
            "nullable": true
          },
          "TreatmentDateTime": {
            "type": "string",
            "description": "The target date for completing the risk treatment plan",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "TreatmentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "TreatmentProgress": {
            "type": "integer",
            "description": "The progress of the risk treatment plan (represented by an integer value).",
            "format": "int32",
            "deprecated": true
          },
          "TreatmentName": {
            "type": "string",
            "description": "The name of the risk treatment plan.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          },
          "TreatmentCompletedDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was completed, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTagsRequest": {
        "required": [
          "Description",
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the tag."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the tag."
          }
        },
        "additionalProperties": false
      },
      "CreateTagsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the tag was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the tag.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the tag was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the tag.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the tag.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "CreateTaskRequest": {
        "required": [
          "Name",
          "RegisterItemKey"
        ],
        "type": "object",
        "properties": {
          "RegisterItemKey": {
            "type": "string",
            "description": "The key or unique identifier of the register item.",
            "format": "uuid"
          },
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the task. It must be a non-empty string and will be validated for length and HTML content."
          },
          "Description": {
            "type": "string",
            "description": "The optional description of the task, providing additional details about it.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The DueDate of the task.",
            "format": "date",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          }
        },
        "additionalProperties": false
      },
      "CreateTestRegisterItemRequest": {
        "required": [
          "ExternalId",
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the test register item."
          },
          "Description": {
            "maxLength": 2000,
            "type": "string",
            "description": "An optional description of the test register item.",
            "nullable": true
          },
          "ExternalId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "Stable external identifier supplied by the Integration API caller (e.g. Workato / n8n).\r\nUsed for natural-key dedup on upsert. Required for all Integration API writes."
          },
          "IntegrationId": {
            "maxLength": 64,
            "type": "string",
            "description": "Identifier of the external integration source (e.g. \"wiz\", \"workato\").",
            "nullable": true
          },
          "CustomIdRef": {
            "maxLength": 100,
            "type": "string",
            "description": "The item's ID Ref — the tenant's own code for the test, unique within the register. Omit it and\r\nthe register's generated default is used (\"T - 42\"). Ignored on a register whose ID Ref is the\r\ndatabase-assigned auto number.",
            "nullable": true
          },
          "StatusId": {
            "type": "integer",
            "description": "The ID of the workflow stage (status) to assign to the test register item on creation.",
            "format": "int32",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The date the test result was recorded. Optional on the Integration API contract — SPEC-007\r\nmay derive and default this value server-side. Unlike the standard register-item Create\r\nendpoint where RecordedDate is required, omitting it here does not cause a validation error\r\nat the DTO layer; the helper service will validate it is present before persistence.",
            "format": "date-time",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateTestRegisterItemResultRequest": {
        "required": [
          "ExecutionTime",
          "OutcomeStatus"
        ],
        "type": "object",
        "properties": {
          "ExecutionTime": {
            "type": "string",
            "description": "The UTC timestamp when the test was executed by the external runner.",
            "format": "date-time"
          },
          "OutcomeStatus": {
            "$ref": "#/components/schemas/RegisterItemTestResultOutcomeStatus"
          },
          "Description": {
            "maxLength": 3000,
            "type": "string",
            "description": "Optional description or notes for this test result.",
            "nullable": true
          },
          "ResultUuid": {
            "type": "string",
            "description": "Client-supplied dedup key (Option B). Maps to the dedicated `ResultUuid` column on\r\n`RegisterItemTestResult` — distinct from the server-generated `Uuid` column\r\nthat the response surfaces. When provided, a filtered unique index on\r\n(TenantId, RegisterItemId, ExecutionTime, ResultUuid) WHERE ResultUuid IS NOT NULL AND\r\nIsDeleted = 0 makes re-submitted results idempotent. Omitting this field disables\r\nidempotent replay for this submission.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext). Key is the custom field UUID (a\r\ndefinition configured on the parent register), value contains the field data. The field is\r\nvalidated against the register's definitions and persisted with the result; an unknown field\r\nreturns 400.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown). Key is the custom field UUID,\r\nvalue contains the selected option UUIDs. Both the field and each selected option are validated\r\nagainst the register's definitions; an unknown reference returns 400.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields). Key is the custom field UUID,\r\nvalue contains the user and/or group UUIDs. The field and each user/group are validated against\r\nthe register's definitions and tenant; an unknown reference returns 400.",
            "nullable": true
          },
          "DataSourceId": {
            "maxLength": 100,
            "type": "string",
            "description": "Canonical integration id of the data source that produced this result — for example\r\n`CustomWorkflowBuilder`, `Wiz` or `ADC`. Not the display name, and not the\r\ntenant-specific integration database id. Compared case-insensitively, ignoring surrounding\r\nwhitespace.\r\n            \r\nRequired, and must equal the data source configured on the test, when the test is Automatic.\r\nMust be omitted when the test is Manual or has no configuration row. A mismatch, an omission\r\non an Automatic test, or a value supplied for a Manual test returns 400; a correct value for\r\na data source the tenant may no longer use returns 403.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "One test result posted on its own, which is the only route where the data source is per-result."
      },
      "CreateThirdPartyRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the third party."
          }
        },
        "additionalProperties": false
      },
      "CreateThirdPartyResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the third party.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the third party.",
            "nullable": true
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the third party.",
            "format": "uuid"
          },
          "Geography": {
            "type": "string",
            "description": "Geography (location) of the third party.",
            "nullable": true
          },
          "Industry": {
            "type": "string",
            "description": "Industry of the third party.",
            "nullable": true
          },
          "Criticality": {
            "type": "string",
            "description": "Criticality of the third party.",
            "nullable": true
          },
          "InherentRisk": {
            "type": "string",
            "description": "Inherent Risk of the third party.",
            "nullable": true
          },
          "ContactEmail": {
            "type": "string",
            "description": "Contact email of the third party.",
            "nullable": true
          },
          "TenantVendorOwners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantVendorOwnerResponse"
            },
            "description": "Owners of the third-party.",
            "nullable": true,
            "deprecated": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Active status of third-party.",
            "deprecated": true
          },
          "Website": {
            "type": "string",
            "description": "Website of the third-party.",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Archived status of third-party."
          }
        },
        "additionalProperties": false
      },
      "CreateUserRequest": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "ExternalId": {
            "type": "string",
            "nullable": true
          },
          "UserName": {
            "type": "string",
            "nullable": true
          },
          "Active": {
            "type": "boolean"
          },
          "Emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SCIMUserEmail"
            },
            "nullable": true
          },
          "Name": {
            "$ref": "#/components/schemas/SCIMUserName"
          },
          "Meta": {
            "$ref": "#/components/schemas/MetaBase"
          }
        },
        "additionalProperties": false
      },
      "CreatedFromMethod": {
        "enum": [
          "Marketplace",
          "CreateModal",
          "Copy",
          "SaveAs",
          "AddToClient",
          "Import",
          "Transfer"
        ],
        "type": "string"
      },
      "CustomField": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The unique identifier of the custom field.",
            "format": "uuid",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The label of the custom field.",
            "nullable": true
          },
          "Value": {
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomFieldAnswerOption": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "description": "The unique identifier of the answer option.",
            "format": "uuid",
            "nullable": true
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent answer option. Null for root-level answer options.",
            "format": "uuid",
            "nullable": true
          },
          "Value": {
            "type": "string",
            "description": "The value of answer option",
            "nullable": true
          },
          "ChildAnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "Child answer options that become available when this answer is selected.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CustomFieldDataType": {
        "enum": [
          "Dropdown",
          "ShortTextResponse",
          "LongTextResponse"
        ],
        "type": "string"
      },
      "DeleteCCMTestResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteCCMTestResultResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test result.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteIssueResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key for the issue.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteRBACustomFieldAnswerOptionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key for the custom field answer option.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteRBACustomFieldResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key for the custom field.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteResponsibilityResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the responsibility.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteRiskTreatmentPlanResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DeleteThirdPartyResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third party.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "DirectEntryCustomFieldInput": {
        "type": "object",
        "properties": {
          "TextValue": {
            "type": "string",
            "description": "Text value for text or richtext fields.\r\nUse this for custom fields of type Text or RichText.",
            "nullable": true
          },
          "NumberValue": {
            "type": "number",
            "description": "Numeric value for number fields.\r\nUse this for custom fields of type Number.",
            "format": "double",
            "nullable": true
          },
          "DateValue": {
            "type": "string",
            "description": "Date value for date fields.\r\nUse this for custom fields of type Date.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Input for direct entry custom fields (text, number, date, richtext).\r\nOnly ONE value property should be populated based on the custom field type:\r\n- Text/RichText fields: Use TextValue\r\n- Number fields: Use NumberValue\r\n- Date fields: Use DateValue\r\nIf multiple values are provided, the API will use the value appropriate for the field's type and ignore others."
      },
      "EntityTypeForTenantEntityUniqueIdentifier": {
        "enum": [
          "Risk",
          "CCMTest",
          "Issue",
          "CustomRegister",
          "Asset",
          "TestRegister",
          "Control",
          "FilesRegister",
          "Task"
        ],
        "type": "string"
      },
      "ErrorInfo": {
        "type": "object",
        "properties": {
          "code": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "string",
            "nullable": true
          },
          "validationErrors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssessmentQuestionResponse": {
        "type": "object",
        "properties": {
          "Assessment": {
            "$ref": "#/components/schemas/GetAssessmentsResponse"
          },
          "QuestionResponses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetQuestionResponse"
            },
            "description": "List of questions with responses",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssessmentsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the assessment",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time that the assessment was created, in UTC",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the assessment was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/AssessmentStatus"
          },
          "Description": {
            "type": "string",
            "description": "A description of the assessment.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The date the assessment is due.",
            "format": "date",
            "nullable": true
          },
          "PublishedDate": {
            "type": "string",
            "description": "The date the assessment was published.",
            "format": "date",
            "nullable": true
          },
          "WorkFlow": {
            "$ref": "#/components/schemas/AssessmentWorkFlow"
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid"
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Archived status of assessment."
          },
          "ResponseStartedDate": {
            "type": "string",
            "description": "Start date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "ResponseCompletedDate": {
            "type": "string",
            "description": "Completion date of the assesment response.",
            "format": "date-time",
            "nullable": true
          },
          "ReviewedDate": {
            "type": "string",
            "description": "Review date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "ClosedDate": {
            "type": "string",
            "description": "Closed date of the assessment response.",
            "format": "date-time",
            "nullable": true
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Whether the assessment is a template."
          },
          "Score": {
            "type": "number",
            "description": "The score of the most recent submitted or closed assessment response.",
            "format": "double",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssessmentTagResponse"
            },
            "description": "The tags associated with the assessment.",
            "nullable": true
          },
          "Respondent": {
            "$ref": "#/components/schemas/AssessmentRespondentResponse"
          },
          "Template": {
            "$ref": "#/components/schemas/AssessmentTemplateResponse"
          },
          "ControlSet": {
            "$ref": "#/components/schemas/AssessmentControlSetResponse"
          },
          "Authority": {
            "$ref": "#/components/schemas/AssessmentAuthorityResponse"
          },
          "Risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssessmentScopeRiskResponse"
            },
            "description": "Risks linked to assessment.",
            "nullable": true
          },
          "ProjectTasks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssessmentScopeProjectTaskResponse"
            },
            "description": "Project tasks linked to assessment.",
            "nullable": true
          },
          "RegisterItems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssessmentScopeRegisterItemResponse"
            },
            "description": "Register items linked to assessment.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssessmentsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAssessmentsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssetCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssetsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the asset.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the asset was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the asset was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The name of the asset.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the asset.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asset.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "The unique identifier of the asset within its register. This is a sequential number unique per tenant and register.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the asset that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the asset that are groups",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AssetTagResponse"
            },
            "description": "The tags associated with the asset.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAssetsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAssetsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAttestationsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the attestation.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the attestation was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the attestation was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the attestation.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the attestation.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date for the attestation.",
            "format": "date",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/AttestationStatus"
          },
          "AttestationItemEntityType": {
            "$ref": "#/components/schemas/AttestationItemEntityType"
          },
          "Key": {
            "type": "string",
            "description": "The key of the attestation.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetAttestationsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAttestationsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAuthoritiesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Body": {
            "type": "string",
            "description": "The issuing body or publishing organisation (e.g. \"ISO\", \"NIST\", \"European Commission\").",
            "nullable": true
          },
          "AuthoritySector": {
            "type": "string",
            "description": "The industry sector the authority applies to (e.g. \"Financial Services\", \"Information Security\").",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "description": "External link to the authority's source on the issuing body's website.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "Classification of the authority (e.g. \"Regulation\", \"Standard\", \"Framework\").",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "LastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "CreationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean"
          },
          "ArchivedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastPublishedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetAuthoritiesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetAuthoritiesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCCMTestResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the test.",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "Test identifier",
            "format": "int64"
          },
          "Description": {
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The id of external integration.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date test published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetCCMTestsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the test.",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "Test identifier",
            "format": "int64"
          },
          "Description": {
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The id of external integration.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date test published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CCMTestControlResponse"
            },
            "description": "Controls associated with the test.",
            "nullable": true
          },
          "ControlSet": {
            "$ref": "#/components/schemas/CCMTestControlSetResponse"
          },
          "Responsibilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CCMTestResponsibilityResponse"
            },
            "description": "Responsibilities associated with the test.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetCCMTestsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCCMTestsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetContentLibraryAuthoritiesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Body": {
            "type": "string",
            "description": "The issuing body or publishing organisation (e.g. \"ISO\", \"NIST\", \"European Commission\").",
            "nullable": true
          },
          "AuthoritySector": {
            "type": "string",
            "description": "The industry sector the authority applies to (e.g. \"Financial Services\", \"Information Security\").",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "description": "External link to the authority's source on the issuing body's website.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "Classification of the authority (e.g. \"Regulation\", \"Standard\", \"Framework\").",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "LastUpdated": {
            "type": "string",
            "format": "date-time"
          },
          "CreationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "Status": {
            "type": "string",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean"
          },
          "ArchivedDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastPublishedTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "Images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContentLibraryAuthorityImageDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlActionResponse": {
        "type": "object",
        "properties": {
          "ActionId": {
            "type": "integer",
            "description": "Gets or sets the unique identifier of the action.",
            "format": "int64"
          },
          "ActionName": {
            "type": "string",
            "description": "Gets or sets the name of the action.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "Gets or sets the description of the action.",
            "nullable": true
          },
          "ActionType": {
            "$ref": "#/components/schemas/IdNameDto"
          },
          "ActionTypeName": {
            "type": "string",
            "description": "Gets or sets the name of the action type.",
            "nullable": true
          },
          "ActionParentId": {
            "type": "integer",
            "description": "Gets or sets the unique identifier of the parent action.",
            "format": "int64"
          },
          "ActionParent": {
            "type": "string",
            "description": "Gets or sets the name of the parent action.",
            "nullable": true
          },
          "ActionParentType": {
            "type": "string",
            "description": "Gets or sets the type of the parent action.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          }
        },
        "additionalProperties": false
      },
      "GetControlResponsibilitiesResponse": {
        "type": "object",
        "properties": {
          "TotalCount": {
            "type": "integer",
            "description": "Total number of responsibilities linked to the control.",
            "format": "int32"
          },
          "Responsibilities": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlsResponsibilityResponse"
            },
            "description": "The responsibilities of the control.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlSetsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control set.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control set.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the control set.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/PolicyStatus"
          },
          "Version": {
            "type": "integer",
            "description": "The version of the policy.",
            "format": "int32"
          },
          "Type": {
            "type": "string",
            "description": "The type of the control set.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the control set was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the control set was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "LastReviewDateTime": {
            "type": "string",
            "description": "The last review date time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "NextReviewDateTime": {
            "type": "string",
            "description": "The next review date time of the control set, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetControlSetsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlSetsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlsBasedAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "The idref of the control.",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The title of the control.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the control.",
            "nullable": true
          },
          "AssessmentId": {
            "type": "integer",
            "description": "The DatabaseId of the assessment.",
            "format": "int64"
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid",
            "nullable": true
          },
          "AssessmentStatus": {
            "$ref": "#/components/schemas/AssessmentStatus"
          },
          "AssessmentDomainId": {
            "type": "integer",
            "description": "The databaseId of the assessment domain.",
            "format": "int32",
            "nullable": true
          },
          "AssessmentDomainKey": {
            "type": "string",
            "description": "The key of the assessment domain.",
            "format": "uuid",
            "nullable": true
          },
          "ControlSetId": {
            "type": "integer",
            "description": "The DatabaseId of the control set linked to assessment.",
            "format": "int64",
            "nullable": true
          },
          "ControlSetKey": {
            "type": "string",
            "description": "The key of the control set linked to assessment.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBADirectEntryCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBALookupBasedCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlsBasedAssessmentResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlsBasedAssessmentResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the control was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the control was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control.",
            "nullable": true
          },
          "Detail": {
            "type": "string",
            "description": "The detailed description of the control.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the control (integer value).",
            "format": "int32"
          },
          "DomainKey": {
            "type": "string",
            "description": "The key of the policy domain associated with the control.",
            "format": "uuid"
          },
          "ParentControlKey": {
            "type": "string",
            "description": "The key of the parent control (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "RootControlKey": {
            "type": "string",
            "description": "The ID of the root control in the hierarchy (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "RiskStatus": {
            "$ref": "#/components/schemas/ControlRiskStatus"
          },
          "ControlSetKey": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid"
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetControlsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetControlsResponsibilityOwnerResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "description": "The name of the controls responsibility owner.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The email address of the controls responsibility owner.",
            "nullable": true
          },
          "ShortName": {
            "type": "string",
            "description": "Display name of organisation unit.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the controls responsibility owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetControlsResponsibilityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "Title": {
            "type": "string",
            "description": "The title of the control responsibility.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the control responsibility.",
            "nullable": true
          },
          "Owners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlsResponsibilityOwnerResponse"
            },
            "description": "The owners of the control responsibility.",
            "nullable": true
          },
          "Members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetControlsResponsibilityOwnerResponse"
            },
            "description": "The members of the control responsibility.",
            "nullable": true
          },
          "IsPeriodic": {
            "type": "boolean",
            "description": "Whether the control responsibility is periodic."
          },
          "Period": {
            "type": "integer",
            "description": "The period of the control responsibility.",
            "format": "int32",
            "nullable": true
          },
          "PeriodText": {
            "type": "string",
            "description": "The period text of the control responsibility.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the control responsibility.",
            "format": "date",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "Key for the control responsibility.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetCustomFieldDefinitionBaseResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDirectEntryCustomFieldValue": {
        "type": "object",
        "properties": {
          "Label": {
            "type": "string",
            "description": "The label of the custom field.",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/ControlType"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Key": {
            "type": "string",
            "description": "The unique identifier of the custom field type",
            "format": "uuid"
          },
          "TextValue": {
            "type": "string",
            "description": "The text value for text-based custom fields",
            "nullable": true
          },
          "DateValue": {
            "type": "string",
            "description": "The date value for date-based custom fields",
            "format": "date",
            "nullable": true
          },
          "NumberValue": {
            "type": "number",
            "description": "The numeric value for number-based custom fields",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetDomainResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the domain.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "Key for the domain.",
            "format": "uuid"
          },
          "Name": {
            "type": "string",
            "description": "Name of the domain.",
            "nullable": true
          },
          "Custom": {
            "type": "string",
            "description": "The Custom field of the domain.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIssueCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetIssuesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the issue.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "Reference ID for the issue.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the issue was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the issue was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the issue.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the issue.",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "The name of the person who reported the issue.",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the issue.",
            "format": "date",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the issue.",
            "format": "date",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the issue.",
            "format": "uuid"
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Returns true if issue is archived.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are groups",
            "nullable": true
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/IssueTagResponse"
            },
            "description": "The tags associated with the issue.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          },
          "CustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "GetIssuesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetIssuesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetLookupBasedCustomFieldValue": {
        "type": "object",
        "properties": {
          "Label": {
            "type": "string",
            "description": "The label of the custom field.",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/ControlType"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Key": {
            "type": "string",
            "description": "The unique identifier of the custom field's data.",
            "format": "uuid"
          },
          "Values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LookupValue"
            },
            "description": "The value(s) entered",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetMetricTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the metric tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the metric tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetMetricsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the metric.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the metric.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the metric.",
            "nullable": true
          },
          "Value": {
            "type": "number",
            "description": "The current value of the metric (float).",
            "format": "double",
            "nullable": true
          },
          "Scope": {
            "$ref": "#/components/schemas/MetricScope"
          },
          "SourceType": {
            "$ref": "#/components/schemas/MetricSourceType"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the metric was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the metric was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the metric.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetMetricTagResponse"
            },
            "description": "The tags associated with the metric.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetMetricsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetMetricsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOrganizationUnitsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "string",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the organization unit.",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the organization unit.",
            "format": "int32",
            "nullable": true
          },
          "DisplayName": {
            "type": "string",
            "description": "The display name of the organization unit.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetOrganizationUnitsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetOrganizationUnitsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProjectTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the project tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetProjectTaskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project task.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the project task.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the project task was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the project task was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the project task.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetProjectsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the project was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the project was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the project.",
            "nullable": true
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid"
          },
          "Status": {
            "$ref": "#/components/schemas/ProjectStatus"
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Indicates whether the project is a template."
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Indicates whether the project has been archived."
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the project.",
            "format": "date",
            "nullable": true
          },
          "PublishedDate": {
            "type": "string",
            "description": "The date the project was published (if published).",
            "format": "date",
            "nullable": true
          },
          "PublishedByKey": {
            "type": "string",
            "description": "The key of the user who published the project.",
            "format": "uuid",
            "nullable": true
          },
          "CreatedFromKey": {
            "type": "string",
            "description": "The key of the project the current project was created from (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "CreatedFromMethod": {
            "$ref": "#/components/schemas/CreatedFromMethod"
          },
          "CreatedFromTemplateStatus": {
            "$ref": "#/components/schemas/ProjectTemplateStatus"
          },
          "Key": {
            "type": "string",
            "description": "The key of the project.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProjectTagResponse"
            },
            "description": "The tags associated with the project.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProjectsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProjectsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProjectsTemplateResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the project.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the project was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid"
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the project was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the project.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the project.",
            "nullable": true
          },
          "OwnerKey": {
            "type": "string",
            "description": "The key of the owner of the project.",
            "format": "uuid",
            "nullable": true
          },
          "TemplateStatus": {
            "$ref": "#/components/schemas/ProjectTemplateStatus"
          },
          "TemplateType": {
            "$ref": "#/components/schemas/ProjectTemplateType"
          },
          "IsTemplate": {
            "type": "boolean",
            "description": "Indicates whether the project is a template."
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Indicates whether the project has been archived."
          },
          "CreatedFromKey": {
            "type": "string",
            "description": "The key of the project the current project was created from (can be null).",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the project.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProjectTagResponse"
            },
            "description": "The tags associated with the project.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProvisionBasedAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the provision.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "The idref of the provision.",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The title of the provision.",
            "nullable": true
          },
          "AssessmentId": {
            "type": "integer",
            "description": "The DatabaseId of the assessment.",
            "format": "int64",
            "nullable": true
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid",
            "nullable": true
          },
          "AssessmentStatus": {
            "$ref": "#/components/schemas/AssessmentStatus"
          },
          "AssessmentDomainId": {
            "type": "integer",
            "description": "The databaseId of the assessment domain.",
            "format": "int32",
            "nullable": true
          },
          "AssessmentDomainKey": {
            "type": "string",
            "description": "The key of the assessment domain.",
            "format": "uuid",
            "nullable": true
          },
          "AuthorityId": {
            "type": "integer",
            "description": "The DatabaseId of the authority linked to assessment.",
            "format": "int32",
            "nullable": true
          },
          "AuthorityKey": {
            "type": "string",
            "description": "The key of the authority linked to assessment.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBADirectEntryCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBALookupBasedCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProvisionBasedAssessmentResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProvisionBasedAssessmentResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProvisionResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "ReferenceId": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "Url": {
            "type": "string",
            "nullable": true
          },
          "AuthorityKey": {
            "type": "string",
            "format": "uuid"
          },
          "Order": {
            "type": "integer",
            "format": "int32"
          },
          "CreationDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Values of the provision custom fields defined on the authority, in the authority's field order.\r\nEvery defined field is included; TextValue is null when the provision has no value for that field.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Provisions do not support lookup-based custom fields, so this is always empty.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetProvisionResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetProvisionResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetQuestionResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "description": "The key of the question.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "Id ref of the question",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "Question text",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "Description of the question",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "Order of the question",
            "format": "int32"
          },
          "Suborder": {
            "type": "string",
            "description": "Suborder of the child question",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "AssessmentDomainKey": {
            "type": "string",
            "description": "Key of assessment domain",
            "format": "uuid"
          },
          "AssessmentDomainName": {
            "type": "string",
            "description": "Name of the assessment domain",
            "nullable": true
          },
          "QuestionGroup": {
            "$ref": "#/components/schemas/QuestionGroupDataResponse"
          },
          "QuestionGroupExplanation": {
            "type": "string",
            "description": "Question group explanation for response",
            "nullable": true
          },
          "QuestionGroupResponse": {
            "$ref": "#/components/schemas/QuestionGroupResponseDataResponse"
          },
          "Weighting": {
            "type": "number",
            "description": "Weightage of the question",
            "format": "double",
            "nullable": true
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionAnswerOptionResponse"
            },
            "description": "Answer options of the question",
            "nullable": true
          },
          "SelectedAnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionAnswerOptionResponse"
            },
            "description": "Selected answer options of the question (Response of question)",
            "nullable": true
          },
          "TextResponse": {
            "type": "string",
            "description": "Explanation of the question or response of the question of type Short text and Long text",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "True, when its non template question",
            "nullable": true
          },
          "AnsweredBy": {
            "$ref": "#/components/schemas/UserShortNameResponse"
          },
          "AssignedBy": {
            "$ref": "#/components/schemas/UserShortNameResponse"
          },
          "AssignedTo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserOrganizationResponse"
            },
            "description": "User to whom question is assigned",
            "nullable": true
          },
          "HasAnswerDocument": {
            "type": "boolean",
            "description": "True - if question has evidence attached"
          },
          "IsHidden": {
            "type": "boolean",
            "description": "True - when question is not answered and hidden due to skip logic applied"
          },
          "IsMandatory": {
            "type": "boolean",
            "description": "True - when question is mandatory to respond"
          },
          "ReviewerComment": {
            "type": "string",
            "description": "Comment by question reviewer",
            "nullable": true
          },
          "ComplianceStatus": {
            "type": "string",
            "description": "Compliance status of question based on response of the question",
            "nullable": true
          },
          "Risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionRiskResponse"
            },
            "description": "Risks associated with the response to this question.",
            "nullable": true
          },
          "Provisions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionProvisionResponse"
            },
            "description": "Provisions the question is mapped to. Join on Key to the authorities API provisions endpoint for provision details and custom fields.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetQuestionResponseV1_1": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "description": "The key of the question.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "Id ref of the question",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "Question Name",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "Description of the question",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "Order of the question",
            "format": "int32"
          },
          "Suborder": {
            "type": "string",
            "description": "Suborder of the child question",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "AssessmentDomainKey": {
            "type": "string",
            "description": "Key of assessment domain",
            "format": "uuid"
          },
          "QuestionGroup": {
            "$ref": "#/components/schemas/QuestionGroupDataResponse"
          },
          "QuestionGroupResponse": {
            "$ref": "#/components/schemas/QuestionGroupResponseDataResponse"
          },
          "Weighting": {
            "type": "number",
            "description": "Weightage of the question",
            "format": "double",
            "nullable": true
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionAnswerOptionResponse"
            },
            "description": "Answer options of the question",
            "nullable": true
          },
          "SelectedAnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionAnswerOptionResponse"
            },
            "description": "Selected answer options of the question (Response of question)",
            "nullable": true
          },
          "TextResponse": {
            "type": "string",
            "description": "Explanation of the question or response of the question of type Short text and Long text",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "True, when its non template question",
            "nullable": true
          },
          "AnsweredByUserKey": {
            "type": "string",
            "description": "User who answered the question",
            "format": "uuid",
            "nullable": true
          },
          "AssignedByUserKey": {
            "type": "string",
            "description": "User who assigned the question",
            "format": "uuid",
            "nullable": true
          },
          "AssignedTo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserOrganizationResponse"
            },
            "description": "User to whom question is assigned",
            "nullable": true
          },
          "HasAnswerDocument": {
            "type": "boolean",
            "description": "True - if question has evidence attached"
          },
          "IsHidden": {
            "type": "boolean",
            "description": "True - when question is not answered and hidden due to skip logic applied"
          },
          "IsMandatory": {
            "type": "boolean",
            "description": "True - when question is mandatory to respond"
          },
          "ReviewerComment": {
            "type": "string",
            "description": "Comment by question reviewer",
            "nullable": true
          },
          "ComplianceStatus": {
            "type": "string",
            "description": "Compliance status of question based on response of the question",
            "nullable": true
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid"
          },
          "Risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionRiskResponse"
            },
            "description": "Risks associated with the response to this question.",
            "nullable": true
          },
          "Provisions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuestionProvisionResponse"
            },
            "description": "Provisions the question is mapped to. Join on Key to the authorities API provisions endpoint for provision details and custom fields.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetQuestionResponseV1_1ODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetQuestionResponseV1_1"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRBACustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the custom field.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterItemBasedAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the register item.",
            "format": "uuid"
          },
          "IdRef": {
            "type": "string",
            "description": "The sequential identifier of the register item within its register.",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The title of the register item.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the register item.",
            "nullable": true
          },
          "AssessmentId": {
            "type": "integer",
            "description": "The DatabaseId of the assessment.",
            "format": "int64"
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid",
            "nullable": true
          },
          "AssessmentStatus": {
            "$ref": "#/components/schemas/AssessmentStatus"
          },
          "AssessmentDomainId": {
            "type": "integer",
            "description": "The databaseId of the assessment domain.",
            "format": "int32",
            "nullable": true
          },
          "AssessmentDomainKey": {
            "type": "string",
            "description": "The key of the assessment domain.",
            "format": "uuid",
            "nullable": true
          },
          "RegisterId": {
            "type": "integer",
            "description": "The DatabaseId of the register linked to the assessment.",
            "format": "int64",
            "nullable": true
          },
          "RegisterKey": {
            "type": "string",
            "description": "The key of the register linked to the assessment.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBADirectEntryCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFieldsResponseData": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RBALookupBasedCustomFieldResponseDataDto"
            },
            "description": "Response custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterItemBasedAssessmentResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRegisterItemBasedAssessmentResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterItemLinkedDataResponse": {
        "type": "object",
        "properties": {
          "ItemKey": {
            "type": "string",
            "format": "uuid"
          },
          "RegisterKey": {
            "type": "string",
            "format": "uuid"
          },
          "Data": {
            "$ref": "#/components/schemas/RegisterItemLinkedDataResponse"
          }
        },
        "additionalProperties": false,
        "description": "Single row for linked-data endpoint: item key plus linked keys. Join with GET /items in PowerBI."
      },
      "GetRegisterItemLinkedDataResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRegisterItemLinkedDataResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterItemResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the item.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time that the item was created, in UTC",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the item was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the item",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "A description of the item.",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "A name of the reporting user",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Returns true if item is archived.",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the item.",
            "format": "date",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the item.",
            "format": "date",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "RegisterId": {
            "type": "integer",
            "description": "The databaseId of register.",
            "format": "int64",
            "nullable": true
          },
          "RegisterKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "RegisterName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "Reference ID for the item.",
            "nullable": true
          },
          "LegacyIdRef": {
            "type": "string",
            "description": "Legacy reference ID for the issue.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the item that are groups",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the item.",
            "format": "uuid"
          },
          "LinkedData": {
            "$ref": "#/components/schemas/RegisterItemLinkedDataResponse"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemTagResponse"
            },
            "description": "The tags associated with the item.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterItemResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRegisterItemResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegisterWorkflowStagesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the workflow stage.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the workflow stage.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the workflow stage.",
            "format": "int32"
          },
          "IsDefault": {
            "type": "boolean",
            "description": "The isDefault flag of the workflow stage."
          },
          "TransitionFromAll": {
            "type": "boolean",
            "description": "The transitionFromAll flag of the workflow stage."
          },
          "TransitionToAll": {
            "type": "boolean",
            "description": "The transitionFromAll flag of the workflow stage."
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the workflow was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the workflow was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRegisterWorkflowStagesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRegisterWorkflowStagesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRegistersResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the register.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time that the register was created, in UTC",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the register was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the register",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "A description of the register.",
            "nullable": true
          },
          "EntityType": {
            "$ref": "#/components/schemas/EntityTypeForTenantEntityUniqueIdentifier"
          },
          "RegisterRecordLabel": {
            "type": "string",
            "description": "The singular record label of the register",
            "nullable": true
          },
          "RegisterRecordLabelPlural": {
            "type": "string",
            "description": "The plural record label of the register",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the register.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRegistersResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRegistersResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRespondentsResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int64"
          },
          "user": {
            "$ref": "#/components/schemas/AssessmentResponderUser"
          },
          "inviteDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "invitedBy": {
            "type": "string",
            "nullable": true
          },
          "assignedQuestions": {
            "type": "string",
            "nullable": true
          },
          "canSubmitAssessment": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "GetRespondentsResponseV1_1": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the assessment respondent.",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the respondent.",
            "format": "int32"
          },
          "AssessmentKey": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid"
          },
          "UserKey": {
            "type": "string",
            "description": "The key of the user respondent.",
            "format": "uuid",
            "nullable": true
          },
          "GroupKey": {
            "type": "string",
            "description": "The key of the group respondent.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRespondentsResponseV1_1ODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRespondentsResponseV1_1"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetResponsibilityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the responsibility.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the responsibility.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the responsibility.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of responsibility.",
            "format": "date",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "Version": {
            "type": "integer",
            "description": "The version of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "IsRecurring": {
            "type": "boolean",
            "description": "The responsibility is recurring.",
            "nullable": true
          },
          "RecurringPeriod": {
            "$ref": "#/components/schemas/Period"
          },
          "Status": {
            "$ref": "#/components/schemas/StatementStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date responsibility published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the responsibility.",
            "format": "uuid"
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are groups",
            "nullable": true
          },
          "AssigneeUsers": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Users assigned as assignees of the responsibility.",
            "nullable": true
          },
          "AssigneeGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Groups assigned as assignees of the responsibility.",
            "nullable": true
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponsibilityControlResponse"
            },
            "description": "Controls linked with the responsibility.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetResponsibilityResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetResponsibilityResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetResponsibilityTaskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the task.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the task was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the task was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the task.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the task.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the task.",
            "format": "date",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the task.",
            "format": "uuid"
          },
          "Status": {
            "$ref": "#/components/schemas/StatementResponseStatus"
          },
          "ResponsibilityKey": {
            "type": "string",
            "description": "Key of the responsibility",
            "format": "uuid",
            "nullable": true
          },
          "AssigneeKey": {
            "type": "string",
            "description": "Assignee of the task",
            "format": "uuid",
            "nullable": true
          },
          "CompletedDate": {
            "type": "string",
            "description": "The date of task completion (UTC)",
            "format": "date-time",
            "nullable": true
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponsibilityControlResponse"
            },
            "description": "Controls associated with the responsibilities.",
            "nullable": true
          },
          "Comments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponsibilityTaskCommentResponse"
            },
            "description": "Comments of the responsibility task.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetResponsibilityTaskResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetResponsibilityTaskResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskAssessmentCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskAssessmentsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk assessment.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was created.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was last modified.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the associated risk.",
            "format": "uuid"
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk assessment.",
            "format": "uuid"
          },
          "Title": {
            "type": "string",
            "description": "The title of the risk assessment.",
            "nullable": true
          },
          "AssessmentDate": {
            "type": "string",
            "description": "The date of the risk assessment",
            "format": "date"
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskAssessmentsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskAssessmentsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskControlsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the control.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskReviewResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk review.",
            "format": "int32",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk review.",
            "format": "uuid"
          },
          "IsReviewed": {
            "type": "boolean",
            "description": "True if risk is reviewed"
          },
          "ReviewedByKey": {
            "type": "string",
            "description": "Key of the user who reviewed the risk.",
            "format": "uuid",
            "nullable": true
          },
          "ReviewedDate": {
            "type": "string",
            "description": "Risk reviewed date",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlanAssociationsResponse": {
        "type": "object",
        "properties": {
          "RiskDatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk.",
            "format": "int32",
            "nullable": true
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "RiskTreatmentPlanDatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "RiskTreatmentPlanKey": {
            "type": "string",
            "description": "The key of the risk treatment plan.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlanAssociationsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTreatmentPlanAssociationsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlanGroupAssigneeResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlanOwnerResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk treatment plan owner.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk treatment plan owner.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The surname of the risk treatment plan owner.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The email address of the risk treatment plan owner.",
            "nullable": true
          },
          "OrganisationDisplayName": {
            "type": "string",
            "description": "Display name of organisation unit.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlanUserAssigneeResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlansForRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk treatment plan.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentDescription": {
            "type": "string",
            "description": "The description of the risk treatment plan.",
            "nullable": true
          },
          "TreatmentDateTime": {
            "type": "string",
            "description": "The target date for completing the risk treatment plan",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "TreatmentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "TreatmentProgress": {
            "type": "integer",
            "description": "The progress of the risk treatment plan (represented by an integer value).",
            "format": "int32",
            "deprecated": true
          },
          "TreatmentName": {
            "type": "string",
            "description": "The name of the risk treatment plan.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          },
          "TreatmentCompletedDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was completed, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlansResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk treatment plan.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the risk treatment plan.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentDescription": {
            "type": "string",
            "description": "The description of the risk treatment plan.",
            "nullable": true
          },
          "TreatmentDateTime": {
            "type": "string",
            "description": "The target date for completing the risk treatment plan",
            "format": "date-time",
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          },
          "TreatmentDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "TreatmentProgress": {
            "type": "integer",
            "description": "The progress of the risk treatment plan (represented by an integer value).",
            "format": "int32",
            "deprecated": true
          },
          "TreatmentName": {
            "type": "string",
            "description": "The name of the risk treatment plan.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          },
          "TreatmentCompletedDateTime": {
            "type": "string",
            "description": "The date and time the risk treatment plan was completed, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk treatment plan.",
            "format": "uuid"
          },
          "RiskTreatmentPlanOwners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTreatmentPlanOwnerResponse"
            },
            "description": "The owners of the risk treatment plan.",
            "nullable": true,
            "deprecated": true
          },
          "UserAssignees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTreatmentPlanUserAssigneeResponse"
            },
            "description": "Users assigned to the risk treatment plan",
            "nullable": true
          },
          "GroupAssignees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTreatmentPlanGroupAssigneeResponse"
            },
            "description": "Groups assigned to the risk treatment plan",
            "nullable": true
          },
          "Risks": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Risks linked to the treatment plan",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRiskTreatmentPlansResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTreatmentPlansResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRisksResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "The reference ID of the risk.",
            "format": "int64"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the risk.",
            "nullable": true
          },
          "CommonCause": {
            "type": "string",
            "description": "The common cause of the risk.",
            "nullable": true
          },
          "LikelyImpact": {
            "type": "string",
            "description": "The likely impact of the risk.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The key of the person who identified the risk.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentStatus": {
            "type": "string",
            "description": "The treatment status of the risk (string value).",
            "nullable": true
          },
          "TreatmentStatusId": {
            "type": "integer",
            "description": "The treatment status of the risk (integer value).",
            "format": "int32"
          },
          "TreatmentDecision": {
            "type": "string",
            "description": "The name of the decision associated with the risk treatment.",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "RiskRating": {
            "type": "string",
            "description": "The risk rating associated with the risk.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTagResponse"
            },
            "description": "The tags associated with the risk.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "User owners of the risk (as UUIDs).",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Group owners of the risk (as UUIDs).",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          },
          "LastAssessmentDateTime": {
            "type": "string",
            "description": "The date of the last assessment.",
            "format": "date",
            "nullable": true
          },
          "Domain": {
            "type": "string",
            "description": "The domain associated with the risk.",
            "nullable": true
          },
          "RiskOwners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskOwnerResponse"
            },
            "description": "The owners of the risk.",
            "nullable": true,
            "deprecated": true
          },
          "UserAccessMembers": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Access members of the risk that are users",
            "nullable": true
          },
          "GroupAccessMembers": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Access members of the risk that are groups",
            "nullable": true
          },
          "RiskRelationships": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RiskRelationshipsResponse"
            },
            "description": "The relationships with other risks.",
            "nullable": true
          },
          "Reviews": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskReviewResponse"
            },
            "description": "Risk reviews associated with the risk.",
            "nullable": true
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskControlsResponse"
            },
            "description": "Controls associated with the risk.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetRisksResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRisksResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetSingleUserResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the user.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The first name of the user.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The last name of the user.",
            "nullable": true
          },
          "UserName": {
            "type": "string",
            "description": "The username of the user.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The phone number of the user.",
            "nullable": true
          },
          "PhoneNumber": {
            "type": "string",
            "description": "The phone number of the user.",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Indicates whether the user is active."
          },
          "ShouldChangePasswordOnNextLogin": {
            "type": "boolean",
            "description": "Indicates whether the user should change password on next login."
          },
          "IsTwoFactorEnabled": {
            "type": "boolean",
            "description": "Indicates whether two factor authentication is enabled for the user."
          },
          "IsLockoutEnabled": {
            "type": "boolean",
            "description": "Indicates whether lockout is enabled for the user."
          },
          "DoNotAutoDeactivate": {
            "type": "boolean",
            "description": "Whether the user should be deactivated if they have not logged in longer than the configured maximum period"
          },
          "IsInvitedAdvisor": {
            "type": "boolean",
            "description": "Indicates if the user is an invited advisor."
          },
          "UserRoles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of roles of the user.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key identifier of the user.",
            "format": "uuid"
          },
          "Permissions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserPermissionResponse"
            },
            "description": "The user's granted permissions. Populated only by GET /users-api/1.0/users/{key}\r\nwhen `$expand=Permissions` is requested. The collection endpoint\r\n(GET /users-api/1.0/users) never populates this for performance reasons and hides\r\nit from its Swagger schema via `UserResponseSchemaFilter`. The property stays\r\non this base type so `$expand=Permissions` on the single-user endpoint is\r\nvalid without an OData type-cast segment.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response for the single-user endpoint (GET /users-api/1.0/users/{key}).\r\nDerives from LegalRegTech.DeveloperAPI.Services.App.Users.Model.Response.GetUsersResponse so OData registers it as a subtype\r\nof the \"users\" entity set. `Permissions` lives on the base (entity-set) type\r\nso `$expand=Permissions` is valid without an OData type-cast segment; this\r\nmarker subtype documents the single-user contract and leaves room for future\r\nsingle-user-only properties without polluting the collection DTO.\r\n            \r\nThe Swagger spec is adjusted by `UserResponseSchemaFilter`: `Permissions`\r\nis hidden from the collection response and retained on this single-user response,\r\nreflecting that only GET /users/{key} populates it."
      },
      "GetTagsResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the tag was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the tag.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the tag was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the tag.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the tag.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetTagsResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTagsResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTasksResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the task.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "Reference ID for the task.",
            "nullable": true
          },
          "LegacyIdRef": {
            "type": "string",
            "description": "Legacy reference ID for the issue actions/tasks.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the task was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the task was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the task.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the task.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the task.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the task.",
            "format": "uuid"
          },
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          },
          "RegisterItemKey": {
            "type": "string",
            "description": "Key of the associated item of task",
            "format": "uuid"
          },
          "Assignee": {
            "$ref": "#/components/schemas/TaskAssigneeResponse"
          },
          "CompletedDate": {
            "type": "string",
            "description": "The date of task completion (UTC)",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTasksResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTasksResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTenantsGroupResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the group.",
            "format": "uuid"
          },
          "Name": {
            "type": "string",
            "description": "The name of the group.",
            "nullable": true
          },
          "Level": {
            "type": "integer",
            "description": "The level of the group.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent group",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTenantsResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "UUID key of the tenant. Use this value as the spokeKey parameter when querying spoke data.",
            "format": "uuid"
          },
          "TenantId": {
            "type": "integer",
            "description": "Id of the tenant.",
            "format": "int32",
            "deprecated": true
          },
          "Name": {
            "type": "string",
            "description": "Name of the tenant.",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Indicates if the tenant is active."
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Indicates if the tenant is archived."
          },
          "IsHub": {
            "type": "boolean",
            "description": "Indicates if the tenant is a Hub."
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTenantsTagResponse"
            },
            "description": "Tags of the tenant.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTenantsTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the tenant tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the tenant tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetTestRegisterItemResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test register item. Globally unique and stable — prefer this over DatabaseId.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key\r\nfor the record. Use Key if you need a globally unique and never-changing identifier.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The tenant ID of the test register item.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the test register item.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the test register item.",
            "nullable": true
          },
          "ExternalId": {
            "type": "string",
            "description": "The stable external identifier supplied by the Integration API caller (e.g. Workato / n8n).\r\nUsed for natural-key dedup on upsert.",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "The item's ID Ref as shown in the product: the tenant's own code where the Test register uses a\r\nuser-authored identifier, otherwise the database-assigned auto number rendered as text. Not a\r\nstable key — use LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.TestRegisterItemModelResponseBase.Key or LegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Response.TestRegisterItemModelResponseBase.ExternalId for that.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The identifier of the external integration source (e.g. \"wiz\", \"workato\").",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/IssueStatus"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test register item was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the user who created the test register item.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test register item was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the user who last modified the test register item.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list\r\n(e.g. text, number, date).",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTestRegisterItemResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetTestRegisterItemResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetTestResultResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description/details of the test result.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestResultStatus"
          },
          "ExecutionTime": {
            "type": "string",
            "description": "The date the risk treatment was completed, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "IsDeprecated": {
            "type": "boolean",
            "description": "Test result is deprecated, new version exists"
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartiesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the third party.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the third party.",
            "nullable": true
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the third party.",
            "format": "uuid"
          },
          "Geography": {
            "type": "string",
            "description": "Geography (location) of the third party.",
            "nullable": true
          },
          "Industry": {
            "type": "string",
            "description": "Industry of the third party.",
            "nullable": true
          },
          "Criticality": {
            "type": "string",
            "description": "Criticality of the third party.",
            "nullable": true
          },
          "InherentRisk": {
            "type": "string",
            "description": "Inherent Risk of the third party.",
            "nullable": true
          },
          "ContactEmail": {
            "type": "string",
            "description": "Contact email of the third party.",
            "nullable": true
          },
          "TenantVendorOwners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantVendorOwnerResponse"
            },
            "description": "Owners of the third-party.",
            "nullable": true,
            "deprecated": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Active status of third-party.",
            "deprecated": true
          },
          "Website": {
            "type": "string",
            "description": "Website of the third-party.",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Archived status of third-party."
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyTagResponse"
            },
            "description": "The tags associated with the third party.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the third party that are users.",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the third party that are groups.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          },
          "Assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyAssetResponse"
            },
            "description": "The assets linked with the third party.",
            "nullable": true
          },
          "Risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyRiskResponse"
            },
            "description": "The risks linked with the third party.",
            "nullable": true
          },
          "Issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyIssueResponse"
            },
            "description": "The issues linked with the third party.",
            "nullable": true
          },
          "Assessments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyAssessmentResponse"
            },
            "description": "The assessments associated with the third party.",
            "nullable": true,
            "deprecated": true
          },
          "CustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartiesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartiesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the assessment.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the assessmet.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the assessment.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyAssetResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the asset.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the asset.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asset.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyCustomFieldDefinitionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyIssueResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the issue.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the issue.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the issue.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetThirdPartyTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetTokenResponse": {
        "type": "object",
        "properties": {
          "accessToken": {
            "type": "string",
            "description": "The access token generated for the user",
            "nullable": true
          },
          "expiryInSeconds": {
            "type": "number",
            "description": "The access token expiry time in seconds",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "GetUsersResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the user.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The first name of the user.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The last name of the user.",
            "nullable": true
          },
          "UserName": {
            "type": "string",
            "description": "The username of the user.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The phone number of the user.",
            "nullable": true
          },
          "PhoneNumber": {
            "type": "string",
            "description": "The phone number of the user.",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Indicates whether the user is active."
          },
          "ShouldChangePasswordOnNextLogin": {
            "type": "boolean",
            "description": "Indicates whether the user should change password on next login."
          },
          "IsTwoFactorEnabled": {
            "type": "boolean",
            "description": "Indicates whether two factor authentication is enabled for the user."
          },
          "IsLockoutEnabled": {
            "type": "boolean",
            "description": "Indicates whether lockout is enabled for the user."
          },
          "DoNotAutoDeactivate": {
            "type": "boolean",
            "description": "Whether the user should be deactivated if they have not logged in longer than the configured maximum period"
          },
          "IsInvitedAdvisor": {
            "type": "boolean",
            "description": "Indicates if the user is an invited advisor."
          },
          "UserRoles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of roles of the user.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key identifier of the user.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetUsersResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetUsersResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetVulnerabilitiesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the vulnerability.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "Reference ID for the vulnerability.",
            "format": "int64"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the vulnerability was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the vulnerability was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Title": {
            "type": "string",
            "description": "The title of the vulnerability.",
            "nullable": true
          },
          "SourceId": {
            "type": "string",
            "description": "The source ID of the vulnerability.",
            "nullable": true
          },
          "Severity": {
            "$ref": "#/components/schemas/VulnerabilitySeverity"
          },
          "Priority": {
            "$ref": "#/components/schemas/VulnerabilityPriority"
          },
          "CVEId": {
            "type": "string",
            "description": "The CVE identifier for the vulnerability.",
            "nullable": true
          },
          "CVSS3BaseScore": {
            "type": "string",
            "description": "The CVSS v3 base score of the vulnerability (string value).",
            "nullable": true
          },
          "CVSS3TemporalScore": {
            "type": "string",
            "description": "The CVSS v3 temporal score of the vulnerability (string value).",
            "nullable": true
          },
          "CVSS2BaseScore": {
            "type": "string",
            "description": "The CVSS v2 base score of the vulnerability (string value).",
            "nullable": true
          },
          "CVSS2TemporalScore": {
            "type": "string",
            "description": "The CVSS v2 temporal score of the vulnerability (string value).",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/VulnerabilityStatus"
          },
          "MarkForClosure": {
            "type": "boolean",
            "description": "Indicates whether the vulnerability is marked for closure."
          },
          "Key": {
            "type": "string",
            "description": "The key of the vulnerability.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetVulnerabilitiesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetVulnerabilitiesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GetWebhooksResponse": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "string",
            "description": "Unique identifier of the subscription.",
            "format": "uuid"
          },
          "WebhookUrl": {
            "type": "string",
            "description": "Absolute HTTPS URL that webhook payloads are delivered to.",
            "nullable": true
          },
          "WebhookNames": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Event names this subscription is registered against\r\n(e.g. `Entity.Created` or `Entity.Updated:Risk Register`).",
            "nullable": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Whether the subscription is currently active. Inactive subscriptions do not receive deliveries."
          }
        },
        "additionalProperties": false,
        "description": "A single registered webhook subscription for the calling tenant."
      },
      "GetWorkatoRecipeResponse": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "nullable": true
          },
          "WebhookUrl": {
            "type": "string",
            "nullable": true
          },
          "Details": {
            "$ref": "#/components/schemas/RecipeDetails"
          }
        },
        "additionalProperties": false
      },
      "GetWorkflowStagesResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the workflow stage.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the workflow stage.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the workflow stage.",
            "format": "int32"
          },
          "IsDefault": {
            "type": "boolean",
            "description": "The isDefault flag of the workflow stage."
          },
          "TransitionFromAll": {
            "type": "boolean",
            "description": "The transitionFromAll flag of the workflow stage."
          },
          "TransitionToAll": {
            "type": "boolean",
            "description": "The transitionFromAll flag of the workflow stage."
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the workflow was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the workflow was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "GetWorkflowStagesResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetWorkflowStagesResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GroupResponse": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "Id": {
            "type": "string",
            "nullable": true
          },
          "ExternalId": {
            "type": "string",
            "nullable": true
          },
          "DisplayName": {
            "type": "string",
            "nullable": true
          },
          "Meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "additionalProperties": false
      },
      "GroupResponseListResponse": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "TotalResults": {
            "type": "integer",
            "format": "int32"
          },
          "StartIndex": {
            "type": "integer",
            "format": "int32"
          },
          "ItemsPerPage": {
            "type": "integer",
            "format": "int32"
          },
          "Resources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IdNameDto": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int32"
          },
          "Name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "IssuePriority": {
        "enum": [
          "Immediate",
          "High",
          "Medium",
          "Low"
        ],
        "type": "string"
      },
      "IssueStatus": {
        "enum": [
          "Edit",
          "Published",
          "Deprecated"
        ],
        "type": "string"
      },
      "IssueTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "ItemTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the asset tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asset tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "LinkControlResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of test.",
            "format": "uuid"
          },
          "ControlKey": {
            "type": "string",
            "description": "The key of control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "LinkResponsibilityResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of test.",
            "format": "uuid"
          },
          "ResponsibilityKey": {
            "type": "string",
            "description": "The key of responsibility.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "LookupBasedCustomFieldInput": {
        "type": "object",
        "properties": {
          "SelectedKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of selected option keys (UUIDs) for the custom field",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Input for lookup-based custom fields (dropdown, multiselect dropdown)"
      },
      "LookupValue": {
        "type": "object",
        "properties": {
          "Label": {
            "type": "string",
            "description": "The string label for the lookup value",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the lookup value",
            "nullable": true
          },
          "NumberValue": {
            "type": "integer",
            "description": "The integer value",
            "format": "int32"
          }
        },
        "additionalProperties": false,
        "description": "Represents a lookup value for a custom field with a label, key, and associated integer value."
      },
      "Meta": {
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "nullable": true
          },
          "lastModified": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MetaBase": {
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MetricScope": {
        "enum": [
          "Risk"
        ],
        "type": "string"
      },
      "MetricSourceType": {
        "enum": [
          "Manual",
          "Sixclicks",
          "External"
        ],
        "type": "string"
      },
      "MySessionResponse": {
        "type": "object",
        "properties": {
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the user session.",
            "format": "int32",
            "nullable": true
          },
          "ApiKeyName": {
            "type": "string",
            "description": "the name of the currently used API key.",
            "nullable": true
          },
          "SessionExpiryDateTime": {
            "type": "string",
            "description": "The date and time of the session expiry, in UTC.",
            "format": "date-time"
          },
          "UserKey": {
            "type": "string",
            "description": "The key of the user session.",
            "format": "uuid",
            "nullable": true
          },
          "Permissions": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The permission of the user.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ODataError": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code representing the type of error.",
            "nullable": true
          },
          "message": {
            "type": "string",
            "description": "Detailed error message.",
            "nullable": true
          },
          "innererror": {
            "$ref": "#/components/schemas/ODataInnerError"
          }
        },
        "additionalProperties": false
      },
      "ODataErrorResponse": {
        "type": "object",
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ODataError"
          }
        },
        "additionalProperties": false
      },
      "ODataInnerError": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "description": "A more detailed error message.",
            "nullable": true
          },
          "type": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Period": {
        "enum": [
          "OneYear",
          "SixMonths",
          "OneMonth",
          "OneWeek",
          "FiveMinutes",
          "ThreeMonth",
          "OneDay",
          "TwoYears",
          "ThreeYears",
          "TwoWeeks"
        ],
        "type": "string"
      },
      "PolicyStatus": {
        "enum": [
          "Edit",
          "Published",
          "Deprecated"
        ],
        "type": "string"
      },
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "ProjectGroupDto": {
        "type": "object",
        "properties": {
          "ProjectKey": {
            "type": "string",
            "format": "uuid"
          },
          "Items": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Items grouped by Project."
      },
      "ProjectStatus": {
        "enum": [
          "Open",
          "Closed"
        ],
        "type": "string"
      },
      "ProjectTemplateStatus": {
        "enum": [
          "Draft",
          "Published"
        ],
        "type": "string"
      },
      "ProjectTemplateType": {
        "enum": [
          "Draft",
          "Internal",
          "MarketplaceItem"
        ],
        "type": "string"
      },
      "QuestionAnswerOptionResponse": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "Answer",
            "nullable": true
          },
          "Sequence": {
            "type": "integer",
            "description": "Answer option order",
            "format": "int32"
          },
          "IsPreferredAnswerOption": {
            "type": "boolean",
            "description": "Preffered aswer option for assessment type Preffered.",
            "nullable": true
          },
          "Rank": {
            "type": "integer",
            "description": "Rank of aswer option for assessment type Preffered.",
            "format": "int32",
            "nullable": true
          },
          "Multiplier": {
            "type": "integer",
            "description": "Multiplier of aswer option for assessment type Weighted.",
            "format": "int32",
            "nullable": true
          },
          "RiskStatus": {
            "type": "string",
            "description": "Risk rating of answer option",
            "nullable": true
          },
          "RiskStatusValue": {
            "type": "integer",
            "description": "Value of risk rating of answer option",
            "format": "int32",
            "nullable": true
          },
          "IsSelected": {
            "type": "boolean",
            "description": "True when aswer option is selected as response"
          }
        },
        "additionalProperties": false
      },
      "QuestionGroupDataResponse": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "Name of the question group",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "Description of the question group",
            "nullable": true
          },
          "Type": {
            "$ref": "#/components/schemas/QuestionType"
          },
          "Explanation": {
            "type": "string",
            "description": "Explanation of the question group",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QuestionGroupResponseDataResponse": {
        "type": "object",
        "properties": {
          "Order": {
            "type": "string",
            "description": "The order of the question",
            "nullable": true
          },
          "IdRef": {
            "type": "string",
            "description": "Id ref of the question",
            "nullable": true
          },
          "Response": {
            "type": "string",
            "description": "Response of question group",
            "nullable": true
          },
          "ComplianceStatus": {
            "type": "string",
            "description": "Compliance status of question group response",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "QuestionProvisionResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "Key": {
            "type": "string",
            "description": "The key of the provision mapped to the question. Matches the provision Key returned by the authorities API provisions endpoint.",
            "format": "uuid"
          },
          "ReferenceId": {
            "type": "string",
            "description": "The reference id of the provision mapped to the question.",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the provision mapped to the question.",
            "nullable": true
          },
          "AuthorityKey": {
            "type": "string",
            "description": "The key of the authority the provision belongs to.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "QuestionRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk linked to the question.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk linked to the question.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk linked to the question.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "QuestionType": {
        "enum": [
          "YesNo",
          "Custom",
          "MultipleChoice",
          "TextResponse",
          "Geography",
          "Industry",
          "MultipleChoiceGeography",
          "MultipleChoiceIndustry",
          "ShortTextResponse",
          "CustomRadio",
          "ParentChild",
          "Looped"
        ],
        "type": "string"
      },
      "RBADirectEntryCustomFieldResponseDataDto": {
        "type": "object",
        "properties": {
          "CustomFieldKey": {
            "type": "string",
            "description": "The unique identifier of the custom field's data.",
            "format": "uuid",
            "nullable": true
          },
          "FieldName": {
            "type": "string",
            "description": "The label of the custom field.",
            "nullable": true
          },
          "DataType": {
            "$ref": "#/components/schemas/CustomFieldDataType"
          },
          "FieldValueText": {
            "type": "string",
            "description": "Free text entered",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RBALookupBasedCustomFieldResponseDataDto": {
        "type": "object",
        "properties": {
          "CustomFieldKey": {
            "type": "string",
            "description": "The unique identifier of the custom field's data.",
            "format": "uuid",
            "nullable": true
          },
          "FieldName": {
            "type": "string",
            "description": "The label of the custom field.",
            "nullable": true
          },
          "DataType": {
            "$ref": "#/components/schemas/CustomFieldDataType"
          },
          "Values": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LookupValue"
            },
            "description": "The value(s) entered",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RecipeDetails": {
        "type": "object",
        "properties": {
          "WebhookMethod": {
            "type": "string",
            "nullable": true
          },
          "WebhookSuffix": {
            "type": "string",
            "nullable": true
          },
          "PayloadSchema": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaField"
            },
            "nullable": true
          },
          "QueryParamsSchema": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaField"
            },
            "nullable": true
          },
          "HeadersSchema": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SchemaField"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Record": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "nullable": true
          },
          "RecordType": {
            "type": "string",
            "nullable": true
          },
          "Similarity": {
            "type": "number",
            "format": "double"
          }
        },
        "additionalProperties": false
      },
      "RegisterItemLinkedDataResponse": {
        "type": "object",
        "properties": {
          "Risks": {
            "$ref": "#/components/schemas/SimpleItemsGroupDto"
          },
          "Provisions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AuthorityGroupDto"
            },
            "nullable": true
          },
          "Project_&_Playbook": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProjectGroupDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": { },
        "description": "Linked data for a register item: keys only. Join with other datasets in PowerBI.\r\nDynamic register properties + static entity groupings."
      },
      "RegisterItemTestResultOutcomeStatus": {
        "enum": [
          "Pending",
          "Pass",
          "Fail",
          "Error",
          "Partial"
        ],
        "type": "string"
      },
      "RegisterWebhookRequest": {
        "required": [
          "EventName",
          "WebhookURL"
        ],
        "type": "object",
        "properties": {
          "EventName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Name of the event to subscribe to. Must be one of: `Entity.Created`, `Entity.Updated`, `Entity.Deleted`."
          },
          "WebhookURL": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string",
            "description": "Absolute HTTPS URL that the platform will POST the webhook payload to whenever a matching event fires.\r\nThe subscriber endpoint must respond with a 2xx status code."
          },
          "EntityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional list of entity types to filter delivery on. If omitted or empty, the subscription receives\r\nthe event for every supported entity type.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Body of a webhook registration request."
      },
      "RegisterWebhookResponse": {
        "type": "object",
        "properties": {
          "WebhookUrl": {
            "type": "string",
            "description": "The webhook URL that was registered. Echoes the `WebhookURL` from the request.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Response returned after a successful webhook registration."
      },
      "ResponsibilityControlResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the control.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the control.",
            "format": "uuid",
            "nullable": true
          },
          "ControlSetKey": {
            "type": "string",
            "description": "The key of the control set.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ResponsibilityTaskCommentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the task.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the task was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the comment.",
            "format": "uuid"
          },
          "CommentBy": {
            "type": "string",
            "description": "The key of the user who added the comment.",
            "format": "uuid",
            "nullable": true
          },
          "Comment": {
            "type": "string",
            "description": "The comment added by the user.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RiskOwnerResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk owner.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk owner.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The surname of the risk owner.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The email address of the risk  owner.",
            "nullable": true
          },
          "OrganisationDisplayName": {
            "type": "string",
            "description": "Display name of organisation unit.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "RiskRelationshipsResponse": {
        "type": "object",
        "properties": {
          "RiskDatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "RiskRelationType": {
            "type": "string",
            "description": "The Relationship with the risk.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SCIMUserEmail": {
        "type": "object",
        "properties": {
          "Value": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Primary": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "SCIMUserName": {
        "type": "object",
        "properties": {
          "FamilyName": {
            "type": "string",
            "nullable": true
          },
          "GivenName": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SchemaField": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "nullable": true
          },
          "Optional": {
            "type": "boolean"
          },
          "ControlType": {
            "type": "string",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "SemanticSearchDto": {
        "type": "object",
        "properties": {
          "Records": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Record"
            },
            "nullable": true
          },
          "TotalCount": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendEmailRequest": {
        "required": [
          "Body",
          "Subject",
          "To"
        ],
        "type": "object",
        "properties": {
          "To": {
            "maxItems": 20,
            "minItems": 1,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of email addresses"
          },
          "Bcc": {
            "maxItems": 10,
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "List of email addresses in Bcc.",
            "nullable": true
          },
          "Subject": {
            "maxLength": 300,
            "minLength": 1,
            "type": "string",
            "description": "The subject of email."
          },
          "Body": {
            "maxLength": 25000,
            "minLength": 1,
            "type": "string",
            "description": "The body of email."
          }
        },
        "additionalProperties": false
      },
      "SendEmailResponse": {
        "type": "object",
        "properties": {
          "Success": {
            "type": "boolean",
            "description": "Indicates whether the send email operation was successful."
          }
        },
        "additionalProperties": false
      },
      "SendInvitesRequest": {
        "required": [
          "Message"
        ],
        "type": "object",
        "properties": {
          "Message": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The message to be sent to the respondent."
          },
          "EmailAddresses": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of respondent email addresses. If the user does not exist, a new user respondent will be created.\r\nMaximum: 50 user respondents per request.",
            "nullable": true
          },
          "UserGroups": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The list of respondent group names. Group names should match existing records exactly. \r\nMaximum: 25 user group respondents per request.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SendInvitesResponse": {
        "type": "object",
        "properties": {
          "Success": {
            "type": "boolean",
            "description": "Indicates whether the send invite operation was successful."
          }
        },
        "additionalProperties": false
      },
      "SimpleItemsGroupDto": {
        "type": "object",
        "properties": {
          "Items": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Simple items group - just an Items array (for Risks, ThirdParties)."
      },
      "StatementResponseStatus": {
        "enum": [
          "New",
          "Completed",
          "Closed",
          "InProgress",
          "Removed"
        ],
        "type": "string"
      },
      "StatementStatus": {
        "enum": [
          "Edit",
          "Published",
          "Deprecated"
        ],
        "type": "string"
      },
      "TaskAssigneeResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the asignee.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the asignee.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The surname of the asignee.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The email address of the asignee.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the asignee.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "TenantVendorOwnerResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk owner.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk owner.",
            "nullable": true
          },
          "Surname": {
            "type": "string",
            "description": "The surname of the risk owner.",
            "nullable": true
          },
          "EmailAddress": {
            "type": "string",
            "description": "The email address of the risk  owner.",
            "nullable": true
          },
          "OrganisationDisplayName": {
            "type": "string",
            "description": "Display name of organisation unit.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk owner.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "TestRegisterItemResultFields": {
        "required": [
          "ExecutionTime",
          "OutcomeStatus"
        ],
        "type": "object",
        "properties": {
          "ExecutionTime": {
            "type": "string",
            "description": "The UTC timestamp when the test was executed by the external runner.",
            "format": "date-time"
          },
          "OutcomeStatus": {
            "$ref": "#/components/schemas/RegisterItemTestResultOutcomeStatus"
          },
          "Description": {
            "maxLength": 3000,
            "type": "string",
            "description": "Optional description or notes for this test result.",
            "nullable": true
          },
          "ResultUuid": {
            "type": "string",
            "description": "Client-supplied dedup key (Option B). Maps to the dedicated `ResultUuid` column on\r\n`RegisterItemTestResult` — distinct from the server-generated `Uuid` column\r\nthat the response surfaces. When provided, a filtered unique index on\r\n(TenantId, RegisterItemId, ExecutionTime, ResultUuid) WHERE ResultUuid IS NOT NULL AND\r\nIsDeleted = 0 makes re-submitted results idempotent. Omitting this field disables\r\nidempotent replay for this submission.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext). Key is the custom field UUID (a\r\ndefinition configured on the parent register), value contains the field data. The field is\r\nvalidated against the register's definitions and persisted with the result; an unknown field\r\nreturns 400.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown). Key is the custom field UUID,\r\nvalue contains the selected option UUIDs. Both the field and each selected option are validated\r\nagainst the register's definitions; an unknown reference returns 400.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields). Key is the custom field UUID,\r\nvalue contains the user and/or group UUIDs. The field and each user/group are validated against\r\nthe register's definitions and tenant; an unknown reference returns 400.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "One test result, minus its data source. The batch route posts these directly: its route key fixes\r\na single test, so every row in a batch shares one data source and it is declared once on the batch\r\nrather than repeated per row. The single-result route extends this with\r\nLegalRegTech.DeveloperAPI.Services.App.TestRegister.Model.Request.CreateTestRegisterItemResultRequest.DataSourceId."
      },
      "TestRegisterItemResultResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test result. Globally unique and stable — prefer this over DatabaseId.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key\r\nfor the record. Use Key if you need a globally unique and never-changing identifier.",
            "format": "int64"
          },
          "RegisterItemKey": {
            "type": "string",
            "description": "The key of the parent test register item this result belongs to.",
            "format": "uuid"
          },
          "ExecutionTime": {
            "type": "string",
            "description": "The UTC timestamp when the test was executed by the external runner.",
            "format": "date-time"
          },
          "OutcomeStatus": {
            "$ref": "#/components/schemas/RegisterItemTestResultOutcomeStatus"
          },
          "IsDeprecated": {
            "type": "boolean",
            "description": "True when a newer result has superseded this one; used for logical versioning."
          },
          "LogNumber": {
            "type": "integer",
            "description": "The result's per-register-item counter, shown in the product as \"Test log #N\". Assigned once when\r\nthe result is created and never reused, so deleting a result leaves a gap rather than renumbering\r\nthe results after it. Results created before this field existed were backfilled in creation order.",
            "format": "int32"
          },
          "Uuid": {
            "type": "string",
            "description": "Server-generated entity UUID — the canonical stable identity for this result resource.\r\nDistinct from the client-supplied `ResultUuid` dedup key on the request; that field\r\nis write-only and does not appear on the response.",
            "format": "uuid"
          },
          "Description": {
            "type": "string",
            "description": "The description or notes for this test result.",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test result was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the user who created the test result.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test result was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the user who last modified the test result.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list\r\n(e.g. text, number, date).",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select).",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TestRegisterItemResultResponseODataResponse": {
        "type": "object",
        "properties": {
          "@odata.context": {
            "type": "string",
            "description": "The URL where the xml metadata for the OData response can be retrieved",
            "nullable": true
          },
          "value": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TestRegisterItemResultResponse"
            },
            "description": "Collection of items in the response.",
            "nullable": true
          },
          "@odata.count": {
            "type": "integer",
            "description": "Total count of items in the collection (when requested with the querystring $count=true).",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UnLinkControlResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of control.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UnLinkResponsibilityResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of responsibility.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UnregisterWebhookRequest": {
        "required": [
          "EventName",
          "WebhookURL"
        ],
        "type": "object",
        "properties": {
          "EventName": {
            "maxLength": 200,
            "minLength": 0,
            "type": "string",
            "description": "Name of the event the subscription was registered against."
          },
          "WebhookURL": {
            "maxLength": 2000,
            "minLength": 0,
            "type": "string",
            "description": "Absolute HTTPS URL that the subscription was registered against."
          },
          "EntityTypes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Optional list of entity types to remove from the subscription. If omitted or empty, the catch-all\r\nevent registration (matching all entity types) is removed.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Body of a webhook unregistration request. Must echo the `EventName`, `WebhookURL`, and\r\n`EntityTypes` values supplied when the subscription was registered."
      },
      "UpdateAssessmentStatusRequest": {
        "required": [
          "Status"
        ],
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/UpdateableAssessmentStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateAssessmentStatusResponse": {
        "type": "object",
        "properties": {
          "NewStatus": {
            "$ref": "#/components/schemas/UpdateableAssessmentStatus"
          }
        },
        "additionalProperties": false
      },
      "UpdateAssessmentTagRequest": {
        "type": "object",
        "properties": {
          "TagKey": {
            "type": "string",
            "description": "The unique identifier of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateAssetRequest": {
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the asset.",
            "nullable": true
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The description of the asset.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the asset.",
            "format": "date",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the asset.",
            "format": "date",
            "nullable": true
          },
          "HostIP": {
            "maxLength": 200,
            "type": "string",
            "description": "The Host IP address of the asset.\r\nTo clear the Host IP, set to empty string or null.",
            "nullable": true
          },
          "Domain": {
            "maxLength": 200,
            "type": "string",
            "description": "The domain name of the asset.\r\nTo clear the domain, set to empty string or null.",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this asset.\r\nProviding this will REPLACE all existing user owners.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this asset.\r\nProviding this will REPLACE all existing group owners.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this asset.\r\nProviding this will REPLACE all existing user access members.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this asset.\r\nProviding this will REPLACE all existing group access members.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this asset.",
            "format": "uuid",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this asset.\r\nProviding this will REPLACE all existing tags.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this asset.",
            "format": "uuid",
            "nullable": true
          },
          "ConfidentialityKey": {
            "type": "string",
            "description": "The confidentiality key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "IntegrityKey": {
            "type": "string",
            "description": "The integrity key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "AvailabilityKey": {
            "type": "string",
            "description": "The availability key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "AssetTypeKey": {
            "type": "string",
            "description": "The type key (UUID) for this asset (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nProviding this will UPDATE the specified custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nSupports both root-level and child custom fields.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request model for updating an existing asset.\r\nAll fields are optional - only provide the fields you want to update (partial update).\r\nNull or missing fields will not be updated."
      },
      "UpdateCCMTestModelRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the test."
          },
          "Description": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The external source for automated tests, e.g. \"Wiz\".\r\nNote that tests are automated only when they are linked to a valid control",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateCCMTestResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the test.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the test was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the test.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the test was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the test.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the test.",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "Test identifier",
            "format": "int64"
          },
          "Description": {
            "type": "string",
            "description": "The description of the test.",
            "nullable": true
          },
          "IntegrationId": {
            "type": "string",
            "description": "The id of external integration.",
            "nullable": true
          },
          "Status": {
            "$ref": "#/components/schemas/CCMTestStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date test published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the test.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateDirectEntryCustomFieldValue": {
        "type": "object",
        "properties": {
          "TextValue": {
            "maxLength": 1000000,
            "minLength": 0,
            "type": "string",
            "nullable": true
          },
          "DateValue": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "NumberValue": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateIssueRequest": {
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the issue.",
            "nullable": true
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The description of the issue.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the issue.",
            "format": "date",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the issue.",
            "format": "date",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this issue.\r\nProviding this will REPLACE all existing user owners.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this issue.\r\nProviding this will REPLACE all existing group owners.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this issue.\r\nProviding this will REPLACE all existing user access members.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this issue.\r\nProviding this will REPLACE all existing group access members.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this issue.",
            "format": "uuid",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "Free-text name of who identified/reported this issue (shown as \"Identified by\").\r\nCannot be combined with IdentifiedByUserKey.",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this issue.\r\nProviding this will REPLACE all existing tags.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this issue.",
            "format": "uuid",
            "nullable": true
          },
          "TypeKey": {
            "type": "string",
            "description": "The type key (UUID) for this issue (predefined custom data).",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nProviding this will UPDATE the specified custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with empty UserKeys and GroupKeys lists.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request model for updating an existing issue.\r\nAll fields are optional - only provide the fields you want to update (partial update).\r\nNull or missing fields will not be updated."
      },
      "UpdateLookupBasedCustomFieldValue": {
        "required": [
          "SelectedKeys"
        ],
        "type": "object",
        "properties": {
          "SelectedKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The value(s) entered"
          }
        },
        "additionalProperties": false
      },
      "UpdateProjectTagRequest": {
        "type": "object",
        "properties": {
          "TagKey": {
            "type": "string",
            "description": "The unique identifier of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateRBACustomFieldAnswerOptionRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field answer option."
          }
        },
        "additionalProperties": false
      },
      "UpdateRBACustomFieldAnswerOptionResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRBACustomFieldRequest": {
        "required": [
          "Description",
          "Label"
        ],
        "type": "object",
        "properties": {
          "Label": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field."
          },
          "Description": {
            "maxLength": 2000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the custom field."
          }
        },
        "additionalProperties": false
      },
      "UpdateRBACustomFieldResponse": {
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the third-party custom field.",
            "format": "uuid"
          },
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "ParentKey": {
            "type": "string",
            "description": "The key of the parent custom field. Null for root-level fields.",
            "format": "uuid",
            "nullable": true
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Label": {
            "type": "string",
            "description": "The name of the custom field.",
            "nullable": true
          },
          "Type": {
            "type": "string",
            "description": "The type of the custom field.",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of the custom field.",
            "format": "int32",
            "nullable": true
          },
          "Enabled": {
            "type": "boolean",
            "description": "Whether or not the custom field is enabled"
          },
          "AnswerOptions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomFieldAnswerOption"
            },
            "description": "The answer options of the custom field of type dropdown/multi-select.",
            "nullable": true
          },
          "ChildFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetCustomFieldDefinitionBaseResponse"
            },
            "description": "Child custom fields that are dependent on this field's answer selection.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRegisterItemRequest": {
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the item.",
            "nullable": true
          },
          "Description": {
            "maxLength": 1000000,
            "type": "string",
            "description": "The description of the item.",
            "nullable": true
          },
          "Priority": {
            "$ref": "#/components/schemas/IssuePriority"
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of the item.",
            "format": "date",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The recorded date of the item.",
            "format": "date",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this item.\r\nProviding this will REPLACE all existing user owners.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this item.\r\nProviding this will REPLACE all existing group owners.",
            "nullable": true
          },
          "UserAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as access members of this item.\r\nProviding this will REPLACE all existing user access members.",
            "nullable": true
          },
          "GroupAccessMemberKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as access members of this item.\r\nProviding this will REPLACE all existing group access members.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The user key (UUID) who identified/reported this item.",
            "format": "uuid",
            "nullable": true
          },
          "ReportedBy": {
            "type": "string",
            "description": "Free-text name of who identified/reported this item (shown as \"Identified by\").\r\nCannot be combined with IdentifiedByUserKey.",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this item.\r\nProviding this will REPLACE all existing tags.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this item.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nProviding this will UPDATE the specified custom fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with empty UserKeys and GroupKeys lists.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request model for updating an existing register item.\r\nAll fields are optional - only provide the fields you want to update (partial update).\r\nNull or missing fields will not be updated."
      },
      "UpdateResponsibilityModelRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the responsibility."
          }
        },
        "additionalProperties": false
      },
      "UpdateResponsibilityResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the responsibility.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the responsibility was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the responsibility.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the responsibility.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the responsibility.",
            "nullable": true
          },
          "DueDate": {
            "type": "string",
            "description": "The due date of responsibility.",
            "format": "date",
            "nullable": true
          },
          "Order": {
            "type": "integer",
            "description": "The order of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "Version": {
            "type": "integer",
            "description": "The version of responsibility.",
            "format": "int32",
            "nullable": true
          },
          "IsRecurring": {
            "type": "boolean",
            "description": "The responsibility is recurring.",
            "nullable": true
          },
          "RecurringPeriod": {
            "$ref": "#/components/schemas/Period"
          },
          "Status": {
            "$ref": "#/components/schemas/StatementStatus"
          },
          "PublishedOn": {
            "type": "string",
            "description": "The date responsibility published on, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the responsibility.",
            "format": "uuid"
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the responsibility that are groups",
            "nullable": true
          },
          "AssigneeUsers": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Users assigned as assignees of the responsibility.",
            "nullable": true
          },
          "AssigneeGroups": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Groups assigned as assignees of the responsibility.",
            "nullable": true
          },
          "Controls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ResponsibilityControlResponse"
            },
            "description": "Controls linked with the responsibility.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskAssessmentRequest": {
        "type": "object",
        "properties": {
          "Title": {
            "type": "string",
            "description": "Name of the risk assessment.",
            "nullable": true
          },
          "AssessmentDate": {
            "type": "string",
            "description": "The assessment date of the risk. Use this date format yyyy-MM-dd as input\r\nto avoid any issues. e.g. 2025-12-01",
            "format": "date",
            "nullable": true
          },
          "RiskAssessmentTypeKey": {
            "type": "string",
            "description": "The risk assessment label key (UUID) for this risk assessment.\r\nUUID came from a pre-loaded risk assessment custom field.",
            "format": "uuid",
            "nullable": true
          },
          "LikelihoodKey": {
            "type": "string",
            "description": "A UUID value from a pre-loaded risk assessment custom field \r\nthat describes the likelihood for this risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "ImpactKey": {
            "type": "string",
            "description": "A UUID value from a pre-loaded risk assessment custom field \r\nthat describes the impact of this risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nNOTE: Risk assessment does not support child fields.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nNOTE: Risk assessment does not support child fields.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskAssessmentResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk assessment.",
            "format": "int32",
            "nullable": true
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was created.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk assessment was last modified.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user of the risk assessment.",
            "format": "uuid",
            "nullable": true
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the associated risk.",
            "format": "uuid"
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk assessment.",
            "format": "uuid"
          },
          "Title": {
            "type": "string",
            "description": "The title of the risk assessment.",
            "nullable": true
          },
          "AssessmentDate": {
            "type": "string",
            "description": "The date of the risk assessment",
            "format": "date"
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskGroupOwnerRequest": {
        "required": [
          "GroupKey"
        ],
        "type": "object",
        "properties": {
          "GroupKey": {
            "type": "string",
            "description": "The unique identifier of the group.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskOwnersRequest": {
        "type": "object",
        "properties": {
          "UserKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The list of unique identifiers of a user.\r\nMaximum: 50 users per request.",
            "nullable": true
          },
          "GroupKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The list of unique identifiers of a group.\r\nMaximum: 25 group respondents per request.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskOwnersResponse": {
        "type": "object",
        "properties": {
          "RiskKey": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the risk that are users",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the risk that are groups",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskRequest": {
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "Description": {
            "maxLength": 1000000,
            "minLength": 1,
            "type": "string",
            "description": "The description of the risk.",
            "nullable": true
          },
          "CommonCause": {
            "maxLength": 10000,
            "minLength": 1,
            "type": "string",
            "description": "The common cause of the risk.",
            "nullable": true
          },
          "LikelyImpact": {
            "maxLength": 10000,
            "minLength": 1,
            "type": "string",
            "description": "The likely impact of the risk.",
            "nullable": true
          },
          "UserOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) who should be set as owners of this risk.\r\nProviding this will REPLACE all existing user owners.\r\nTo clear all user owners, provide an empty list.\r\nTo keep existing user owners unchanged, omit this field.",
            "nullable": true
          },
          "GroupOwnerKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) that should be set as owners of this risk.\r\nProviding this will REPLACE all existing group owners.\r\nTo clear all group owners, provide an empty list.\r\nTo keep existing group owners unchanged, omit this field.",
            "nullable": true
          },
          "DomainKey": {
            "type": "string",
            "description": "The domain key (UUID) for this risk.\r\nProviding this will replace the existing domain.\r\nTo clear the domain, set to null explicitly.\r\nTo keep existing domain unchanged, omit this field.\r\n[DEPRECATED] This property will be removed in future versions of the API. The Risk Domain can now be set via LookupBasedCustomFields.",
            "format": "uuid",
            "nullable": true
          },
          "TagKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of tag keys (UUIDs) to associate with this risk.\r\nProviding this will REPLACE all existing tags.\r\nTo clear all tags, provide an empty list.\r\nTo keep existing tags unchanged, omit this field.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The workflow stage key (UUID) for this risk.\r\nProviding this will replace the existing workflow stage.\r\nTo keep existing workflow stage unchanged, omit this field.",
            "format": "uuid",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.\r\nProviding this will UPDATE the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with all values set to null.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with an empty SelectedKeys list.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.\r\nProviding this will REPLACE the values for the specified custom fields.\r\nCustom fields not included in this dictionary will remain unchanged.\r\nTo clear a custom field, provide it with empty UserKeys and GroupKeys lists.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Request model for updating an existing risk.\r\nAll fields are optional - only provide the fields you want to update (partial update).\r\nNull or missing fields will not be updated.\r\nTo clear a field (set it to null), explicitly set it to null in the request."
      },
      "UpdateRiskResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. It is included for correlation with the web application. Use the Key property instead as a globally unique identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the risk.",
            "format": "int32",
            "nullable": true
          },
          "IdRef": {
            "type": "integer",
            "description": "The reference ID of the risk.",
            "format": "int64"
          },
          "CreationDateTime": {
            "type": "string",
            "description": "The date and time the risk was created, in UTC.",
            "format": "date-time"
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user.",
            "format": "uuid",
            "nullable": true
          },
          "LastModificationDateTime": {
            "type": "string",
            "description": "The date and time the risk was last modified, in UTC.",
            "format": "date-time",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The key of the last modifying user.",
            "format": "uuid",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "Description": {
            "type": "string",
            "description": "The description of the risk.",
            "nullable": true
          },
          "CommonCause": {
            "type": "string",
            "description": "The common cause of the risk.",
            "nullable": true
          },
          "LikelyImpact": {
            "type": "string",
            "description": "The likely impact of the risk.",
            "nullable": true
          },
          "IdentifiedByUserKey": {
            "type": "string",
            "description": "The key of the person who identified the risk.",
            "format": "uuid",
            "nullable": true
          },
          "TreatmentStatus": {
            "type": "string",
            "description": "The treatment status of the risk (string value).",
            "nullable": true
          },
          "TreatmentStatusId": {
            "type": "integer",
            "description": "The treatment status of the risk (integer value).",
            "format": "int32"
          },
          "TreatmentDecision": {
            "type": "string",
            "description": "The name of the decision associated with the risk treatment.",
            "nullable": true
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          },
          "RiskRating": {
            "type": "string",
            "description": "The risk rating associated with the risk.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetRiskTagResponse"
            },
            "description": "The tags associated with the risk.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "User owners of the risk (as UUIDs).",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Group owners of the risk (as UUIDs).",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskTagRequest": {
        "type": "object",
        "properties": {
          "TagKey": {
            "type": "string",
            "description": "The unique identifier of the tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskTreatmentPlanStatusRequest": {
        "type": "object",
        "properties": {
          "Status": {
            "$ref": "#/components/schemas/ActionStatusEnum"
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskUserOwnerRequest": {
        "required": [
          "UserKey"
        ],
        "type": "object",
        "properties": {
          "UserKey": {
            "type": "string",
            "description": "The unique identifier of the user.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskWorkflowStageRequest": {
        "type": "object",
        "properties": {
          "WorkflowStageKey": {
            "type": "string",
            "description": "The unique identifier of the workflow stage.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateRiskWorkflowStageResponse": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "The name of the risk.",
            "nullable": true
          },
          "RiskKey": {
            "type": "string",
            "description": "The key of the risk.",
            "format": "uuid"
          },
          "WorkflowStageName": {
            "type": "string",
            "description": "The name of the workflow stage.",
            "nullable": true
          },
          "WorkflowStageKey": {
            "type": "string",
            "description": "The key of the workflow stage.",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateTaskAsigneeRequest": {
        "type": "object",
        "properties": {
          "AssigneeKey": {
            "type": "string",
            "description": "The key or unique identifier of the assignee user.",
            "format": "uuid"
          },
          "SkipAssigneeEmail": {
            "type": "boolean",
            "description": "When true, email is not sent to assignee.\r\nDefault value is false"
          }
        },
        "additionalProperties": false
      },
      "UpdateTestRegisterItemRequest": {
        "required": [
          "ExternalId",
          "Key",
          "Name"
        ],
        "type": "object",
        "properties": {
          "Key": {
            "type": "string",
            "description": "The key of the test register item to update.",
            "format": "uuid"
          },
          "Name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "The name of the test register item."
          },
          "Description": {
            "maxLength": 2000,
            "type": "string",
            "description": "An optional description of the test register item.",
            "nullable": true
          },
          "ExternalId": {
            "maxLength": 256,
            "minLength": 1,
            "type": "string",
            "description": "Stable external identifier supplied by the Integration API caller (e.g. Workato / n8n).\r\nRequired for all Integration API writes."
          },
          "IntegrationId": {
            "maxLength": 64,
            "type": "string",
            "description": "Identifier of the external integration source (e.g. \"wiz\", \"workato\").",
            "nullable": true
          },
          "StatusId": {
            "type": "integer",
            "description": "The ID of the workflow stage (status) to assign to the test register item.",
            "format": "int32",
            "nullable": true
          },
          "RecordedDate": {
            "type": "string",
            "description": "The date the test result was recorded. Optional on the Integration API contract — SPEC-007\r\nmay derive and default this value server-side. Unlike the standard register-item endpoint\r\nwhere RecordedDate is required, omitting it here does not cause a DTO-level validation error.",
            "format": "date-time",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/DirectEntryCustomFieldInput"
            },
            "description": "Direct entry custom fields (text, number, date, richtext).\r\nKey is the custom field UUID, value contains the field data.",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/LookupBasedCustomFieldInput"
            },
            "description": "Lookup-based custom fields (dropdown, multiselect dropdown).\r\nKey is the custom field UUID, value contains selected option UUIDs.",
            "nullable": true
          },
          "UserTypeCustomFields": {
            "type": "object",
            "additionalProperties": {
              "$ref": "#/components/schemas/UserTypeCustomFieldInput"
            },
            "description": "User type custom fields (assigns users/groups to custom fields).\r\nKey is the custom field UUID, value contains user and/or group UUIDs.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateThirdPartyCustomFieldDataRequest": {
        "type": "object",
        "properties": {
          "Value": {
            "description": "The value of the custom field.\r\nDrop-down and multi-select custom fields should be specified with their uuid keys in an array.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateThirdPartyCustomFieldRequest": {
        "type": "object",
        "properties": {
          "Value": {
            "description": "The value of the custom field.\r\nDrop-down and multi-select custom fields should be specified with their uuid keys in an array.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The unique identifier of the custom field.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateThirdPartyRequest": {
        "required": [
          "Name"
        ],
        "type": "object",
        "properties": {
          "Name": {
            "maxLength": 1000,
            "minLength": 1,
            "type": "string",
            "description": "The name of the third party."
          },
          "Geography": {
            "type": "string",
            "description": "The location of the third party.",
            "nullable": true
          },
          "CountryCode": {
            "type": "string",
            "nullable": true
          },
          "Industry": {
            "type": "string",
            "description": "The industry of the third party.",
            "nullable": true
          },
          "Criticality": {
            "type": "string",
            "description": "The criticality of the third party.\r\nExpected values - Low, Medium, High",
            "nullable": true
          },
          "InherentRisk": {
            "type": "string",
            "description": "The inherent risk of the third party.\r\nExpected values - Very Low, Low, Medium, High, Very High",
            "nullable": true
          },
          "ContactEmail": {
            "type": "string",
            "description": "The contact email the third party.",
            "nullable": true
          },
          "Website": {
            "type": "string",
            "description": "The website of the third party.",
            "nullable": true
          },
          "CustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UpdateThirdPartyCustomFieldRequest"
            },
            "description": "The custom fields of the third party.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateThirdPartyResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the third party.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the third party.",
            "nullable": true
          },
          "CreatorKey": {
            "type": "string",
            "description": "The key of the creating user of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "LastModifierKey": {
            "type": "string",
            "description": "The user ID of the last modifier of the third party.",
            "format": "uuid",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the third party.",
            "format": "uuid"
          },
          "Geography": {
            "type": "string",
            "description": "Geography (location) of the third party.",
            "nullable": true
          },
          "Industry": {
            "type": "string",
            "description": "Industry of the third party.",
            "nullable": true
          },
          "Criticality": {
            "type": "string",
            "description": "Criticality of the third party.",
            "nullable": true
          },
          "InherentRisk": {
            "type": "string",
            "description": "Inherent Risk of the third party.",
            "nullable": true
          },
          "ContactEmail": {
            "type": "string",
            "description": "Contact email of the third party.",
            "nullable": true
          },
          "TenantVendorOwners": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantVendorOwnerResponse"
            },
            "description": "Owners of the third-party.",
            "nullable": true,
            "deprecated": true
          },
          "IsActive": {
            "type": "boolean",
            "description": "Active status of third-party.",
            "deprecated": true
          },
          "Website": {
            "type": "string",
            "description": "Website of the third-party.",
            "nullable": true
          },
          "IsArchived": {
            "type": "boolean",
            "description": "Archived status of third-party."
          },
          "Tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyTagResponse"
            },
            "description": "The tags associated with the third party.",
            "nullable": true
          },
          "UserOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the third party that are users.",
            "nullable": true
          },
          "GroupOwners": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "Owners of the third party that are groups.",
            "nullable": true
          },
          "DirectEntryCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetDirectEntryCustomFieldValue"
            },
            "description": "Custom field data whose values can be freely entered, rather than from a lookup list (e.g. text, number, date)",
            "nullable": true
          },
          "LookupBasedCustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetLookupBasedCustomFieldValue"
            },
            "description": "Custom field data whose value comes from a lookup table (e.g. drop-downs and multi-select)",
            "nullable": true
          },
          "Assets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyAssetResponse"
            },
            "description": "The assets linked with the third party.",
            "nullable": true
          },
          "Risks": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyRiskResponse"
            },
            "description": "The risks linked with the third party.",
            "nullable": true
          },
          "Issues": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyIssueResponse"
            },
            "description": "The issues linked with the third party.",
            "nullable": true
          },
          "Assessments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GetThirdPartyAssessmentResponse"
            },
            "description": "The assessments associated with the third party.",
            "nullable": true,
            "deprecated": true
          },
          "CustomFields": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CustomField"
            },
            "nullable": true,
            "readOnly": true,
            "deprecated": true
          }
        },
        "additionalProperties": false
      },
      "UpdateThirdPartyTagResponse": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int32"
          },
          "TenantId": {
            "type": "integer",
            "description": "The Tenant Id of the tag.",
            "format": "int32",
            "nullable": true
          },
          "Name": {
            "type": "string",
            "description": "The name of the risk tag.",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the risk tag.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateWorkflowStageRequest": {
        "type": "object",
        "properties": {
          "WorkflowStageKey": {
            "type": "string",
            "description": "The unique identifier of the workflow stage.",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "UpdateableAssessmentStatus": {
        "enum": [
          "NoStatus",
          "Draft",
          "Approved",
          "Published",
          "InProgress",
          "Completed",
          "Closed",
          "Reviewed",
          "Cancelled"
        ],
        "type": "string"
      },
      "UploadedFileInfo": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "DisplayFileName": {
            "type": "string",
            "nullable": true
          },
          "FileName": {
            "type": "string",
            "nullable": true
          },
          "FileSizeInKB": {
            "type": "number",
            "format": "double"
          },
          "UploadedDate": {
            "type": "string",
            "format": "date-time"
          },
          "UploadedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UploadedRegisterItemFileInfo": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int64"
          },
          "DisplayFileName": {
            "type": "string",
            "nullable": true
          },
          "FileName": {
            "type": "string",
            "nullable": true
          },
          "FileSizeInKB": {
            "type": "number",
            "format": "double"
          },
          "UploadedDate": {
            "type": "string",
            "format": "date-time"
          },
          "UploadedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UploadedThirdPartyFileInfo": {
        "type": "object",
        "properties": {
          "DatabaseId": {
            "type": "integer",
            "format": "int32"
          },
          "DisplayFileName": {
            "type": "string",
            "nullable": true
          },
          "FileName": {
            "type": "string",
            "nullable": true
          },
          "FileSizeInKB": {
            "type": "number",
            "format": "double"
          },
          "UploadedDate": {
            "type": "string",
            "format": "date-time"
          },
          "UploadedBy": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserOrganizationResponse": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "Name": {
            "type": "string",
            "description": "The name of the user if IsOrganizationUnit is false; otherwise, it represents the name of the group.",
            "nullable": true
          },
          "IsOrganizationUnit": {
            "type": "boolean",
            "description": "True when its a group"
          },
          "EmailAddress": {
            "type": "string",
            "description": "If user then email address of the user",
            "nullable": true
          },
          "ShortName": {
            "type": "string",
            "description": "Short name",
            "nullable": true
          },
          "Key": {
            "type": "string",
            "description": "The key of the user if IsOrganizationUnit is false",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserPermissionResponse": {
        "type": "object",
        "properties": {
          "Name": {
            "type": "string",
            "description": "The unique permission identifier (e.g., \"Pages.Administration.Users\").",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserResponse": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "Id": {
            "type": "string",
            "nullable": true
          },
          "ExternalId": {
            "type": "string",
            "nullable": true
          },
          "UserName": {
            "type": "string",
            "nullable": true
          },
          "Name": {
            "$ref": "#/components/schemas/SCIMUserName"
          },
          "Active": {
            "type": "boolean"
          },
          "Emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SCIMUserEmail"
            },
            "nullable": true
          },
          "Meta": {
            "$ref": "#/components/schemas/Meta"
          }
        },
        "additionalProperties": false
      },
      "UserResponseListResponse": {
        "type": "object",
        "properties": {
          "Schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "TotalResults": {
            "type": "integer",
            "format": "int32"
          },
          "StartIndex": {
            "type": "integer",
            "format": "int32"
          },
          "ItemsPerPage": {
            "type": "integer",
            "format": "int32"
          },
          "Resources": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UserResponse"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserShortNameResponse": {
        "type": "object",
        "properties": {
          "Id": {
            "type": "integer",
            "description": "The databaseId may change from time to time, and is not suitable to depend on as a primary key for the record. Use key if you need a globally unique and never-changing identifier for the record.",
            "format": "int64"
          },
          "Key": {
            "type": "string",
            "description": "The key of the user.",
            "format": "uuid"
          },
          "Name": {
            "type": "string",
            "description": "User name",
            "nullable": true
          },
          "ShortName": {
            "type": "string",
            "description": "User short name",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UserTypeCustomFieldInput": {
        "type": "object",
        "properties": {
          "UserKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of user keys (UUIDs) to assign to this custom field.\r\nCan be used alone or in combination with GroupKeys.",
            "nullable": true
          },
          "GroupKeys": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "uuid"
            },
            "description": "List of group keys (UUIDs) to assign to this custom field.\r\nCan be used alone or in combination with UserKeys.",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "Input for user type custom fields.\r\nYou can provide UserKeys, GroupKeys, or both depending on your requirements.\r\n- UserKeys: Individual users to assign to this custom field\r\n- GroupKeys: Organizational units/groups to assign to this custom field\r\n- Both: You can assign both individual users and groups to the same custom field\r\nAll provided users and groups will be validated and associated with the risk."
      },
      "ValidationError": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string",
            "nullable": true
          },
          "members": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidationProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "object",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "nullable": true
          }
        },
        "additionalProperties": { }
      },
      "VulnerabilityPriority": {
        "enum": [
          "Highest",
          "High",
          "Medium",
          "Low",
          "None"
        ],
        "type": "string"
      },
      "VulnerabilitySeverity": {
        "enum": [
          "Critical",
          "High",
          "Medium",
          "Low",
          "None"
        ],
        "type": "string"
      },
      "VulnerabilityStatus": {
        "enum": [
          "Open",
          "Closed",
          "Deferred"
        ],
        "type": "string"
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "description": "Please enter a valid token",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "Bearer": [ ]
    }
  ]
}