{
  "openapi": "3.0.1",
  "info": {
    "title": "Jobbnorge Integration API",
    "version": "v1"
  },
  "paths": {
    "/application/{applicationId}/reference/status": {
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for Refensa",
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/application/{applicationId}/reference/status": {
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for Refensa",
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/RefensaResult"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/application/{applicationId}/reference/status-refapp": {
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for RefApp",
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/application/{applicationId}/reference/status-refapp": {
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for RefApp",
        "parameters": [
          {
            "name": "applicationId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/RefAppResult"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/application/backgroundcheck/{hrmSystemQueueId}": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for background check",
        "parameters": [
          {
            "name": "hrmSystemQueueId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Update the backgrund check",
        "parameters": [
          {
            "name": "hrmSystemQueueId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              }
            }
          }
        }
      }
    },
    "/v{version}/application/backgroundcheck/{hrmSystemQueueId}": {
      "get": {
        "tags": [
          "Application"
        ],
        "summary": "Callback route for background check",
        "parameters": [
          {
            "name": "hrmSystemQueueId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Application"
        ],
        "summary": "Update the backgrund check",
        "parameters": [
          {
            "name": "hrmSystemQueueId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/UpdateBackgroundCheckDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/BackgroundcheckDto2"
                }
              }
            }
          }
        }
      }
    },
    "/archive/export-queue/{employerId}": {
      "get": {
        "tags": [
          "Archive"
        ],
        "parameters": [
          {
            "name": "employerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/archive/export-queue/{employerId}": {
      "get": {
        "tags": [
          "Archive"
        ],
        "parameters": [
          {
            "name": "employerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/archive/queue/{id}": {
      "put": {
        "tags": [
          "Archive"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/archive/queue/{id}": {
      "put": {
        "tags": [
          "Archive"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/JsonElement"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/department": {
      "get": {
        "tags": [
          "Department"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/department": {
      "get": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/department/{departmentId}": {
      "get": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "departmentData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/department/{departmentId}": {
      "get": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "departmentData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/department/{departmentId}/name": {
      "put": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "departmentName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/department/{departmentId}/name": {
      "put": {
        "tags": [
          "Department"
        ],
        "parameters": [
          {
            "name": "departmentId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "departmentName",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/employer/exportsettings/{id}": {
      "get": {
        "tags": [
          "Employer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/employer/exportsettings/{id}": {
      "get": {
        "tags": [
          "Employer"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/employer/vismasettings/{employerId}": {
      "get": {
        "tags": [
          "Employer"
        ],
        "parameters": [
          {
            "name": "employerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/employer/vismasettings/{employerId}": {
      "get": {
        "tags": [
          "Employer"
        ],
        "parameters": [
          {
            "name": "employerId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/Hired/status": {
      "put": {
        "tags": [
          "Hired"
        ],
        "summary": "Updates the status of a specific advertisement transfer",
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/Hired": {
      "get": {
        "tags": [
          "Hired"
        ],
        "summary": "Fetches hired candidates",
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/Hired/{id}": {
      "get": {
        "tags": [
          "Hired"
        ],
        "summary": "Fetches single hired candidate",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/{jobId}": {
      "get": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates a single job.",
        "parameters": [
          {
            "name": "jobIdId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/{jobId}": {
      "get": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates a single job.",
        "parameters": [
          {
            "name": "jobIdId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "jobData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Fetches all jobs for an organization.",
        "parameters": [
          {
            "name": "languageId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "municipalityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates a new job. Can also be used for mass imports.",
        "description": "All Jobbnorge formats are described in our technical documentation.",
        "parameters": [
          {
            "name": "jobData",
            "in": "query",
            "description": "A string that contains properties of the job.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job created"
          },
          "400": {
            "description": "The jobData string has missing/invalid values"
          },
          "500": {
            "description": "Internal server error when trying to create the job"
          }
        }
      }
    },
    "/v{version}/job": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Fetches all jobs for an organization.",
        "parameters": [
          {
            "name": "languageId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 1
            }
          },
          {
            "name": "municipalityId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "Job"
        ],
        "summary": "Creates a new job. Can also be used for mass imports.",
        "description": "All Jobbnorge formats are described in our technical documentation.",
        "parameters": [
          {
            "name": "jobData",
            "in": "query",
            "description": "A string that contains properties of the job.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Job created"
          },
          "400": {
            "description": "The jobData string has missing/invalid values"
          },
          "500": {
            "description": "Internal server error when trying to create the job"
          }
        }
      }
    },
    "/job/hired": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Fetches the hired candidate(s) for all jobs.",
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/hired": {
      "get": {
        "tags": [
          "Job"
        ],
        "summary": "Fetches the hired candidate(s) for all jobs.",
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/advertisement": {
      "get": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "toPublish",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "externalSystemId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/advertisement": {
      "get": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "toPublish",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "externalSystemId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/advertisement/{advertisementId}/status": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates the status of a specific advertisement transfer",
        "parameters": [
          {
            "name": "advertisementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/advertisement/{advertisementId}/status": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates the status of a specific advertisement transfer",
        "parameters": [
          {
            "name": "advertisementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/AdvertisementStatusDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/{jobId}/candidatecapture/{scriptId}": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Add/Insert a Candidate Capture Script",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scriptId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/{jobId}/candidatecapture/{scriptId}": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Add/Insert a Candidate Capture Script",
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "scriptId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/hired/status": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates the status of a specific advertisement transfer",
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/hired/status": {
      "put": {
        "tags": [
          "Job"
        ],
        "summary": "Updates the status of a specific advertisement transfer",
        "parameters": [
          {
            "name": "applicationId",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/HrmStatusDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/job/{jobId}/internalreference": {
      "put": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/job/{jobId}/internalreference": {
      "put": {
        "tags": [
          "Job"
        ],
        "parameters": [
          {
            "name": "jobId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/InternalReferenceDao"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/manymore/products": {
      "get": {
        "tags": [
          "Manymore"
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductDto"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductDto"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductDto"
                  }
                }
              },
              "application/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductDto"
                  }
                }
              },
              "text/xml": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ProductDto"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Manymore"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            },
            "application/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            },
            "text/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ProductDto"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/organization/department": {
      "post": {
        "tags": [
          "Organization"
        ],
        "summary": "Creates a Department",
        "description": "Sample request:\r\n            \r\n    POST /Organization/department\r\n    {\r\n        \"externalId\": \"1234\",\r\n        \"title\": { \"norwegian\": \"test\" },\r\n        \"contact\": {},\r\n        \"subDepartments\": []\r\n    }",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/DepartmentDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepartmentDto"
                }
              }
            }
          }
        }
      }
    },
    "/v1/organization/department/{externalId}": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Gets the entire department structure",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DepartmentDto"
                }
              }
            }
          }
        }
      },
      "patch": {
        "tags": [
          "Organization"
        ],
        "summary": "Uses JsonPatch to update the department",
        "description": "Sample request:\r\n    \r\n    PATCH /department/{:externalId}\r\n    [\r\n        { \"op\": \"add\", \"path\": \"/title/nynorsk\", \"value\": \"avdeling\" },\r\n        { \"op\": \"remove\", \"path\": \"/title/english\" },\r\n    ]",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "The id of the department to be updated",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "The JsonPatch operation",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            },
            "text/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            },
            "application/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            },
            "text/xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            },
            "application/*+xml": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/JsonPatch"
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Organization"
        ],
        "summary": "Delete the department, along with its sub departments",
        "parameters": [
          {
            "name": "externalId",
            "in": "path",
            "description": "The id of the department, created by the server",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v1/organization": {
      "get": {
        "tags": [
          "Organization"
        ],
        "summary": "Get the organization structure",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrganizationStructureDto"
                }
              }
            }
          }
        }
      }
    },
    "/scim/v2/Groups": {
      "post": {
        "tags": [
          "ScimGroup"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ScimGroup"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/scim/Groups": {
      "post": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/ScimGroupDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/scim/v2/Groups/{id}": {
      "get": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/scim/Groups/{id}": {
      "get": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ScimGroup"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/scim/v2/Users": {
      "get": {
        "tags": [
          "ScimUser"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ScimUser"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/scim/Users": {
      "get": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/ScimUserDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/scim/v2/Users/{id}": {
      "get": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/scim/Users/{id}": {
      "get": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "patch": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/PatchOp"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "ScimUser"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/subscription": {
      "post": {
        "tags": [
          "Subscription"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/CreateSubscriptionDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "get": {
        "tags": [
          "Subscription"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/subscription/{subscriptionId}": {
      "patch": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            },
            "application/xml": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            },
            "text/xml": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            },
            "application/*+xml": {
              "schema": {
                "$ref": "#/components/schemas/SubscriptionDto"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "Subscription"
        ],
        "parameters": [
          {
            "name": "subscriptionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/survey/{id}": {
      "get": {
        "tags": [
          "Survey"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyCandidate"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyCandidate"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyCandidate"
                }
              },
              "application/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyCandidate"
                }
              },
              "text/xml": {
                "schema": {
                  "$ref": "#/components/schemas/SurveyCandidate"
                }
              }
            }
          }
        }
      }
    },
    "/user": {
      "get": {
        "tags": [
          "User"
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/user": {
      "get": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "post": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/user/{userId}": {
      "get": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "userData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    },
    "/v{version}/user/{userId}": {
      "get": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "put": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "userData",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      },
      "delete": {
        "tags": [
          "User"
        ],
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "version",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "RefensaLink": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefensaMetadata": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefensaResult": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "no_Of_References": {
            "type": "integer",
            "format": "int32"
          },
          "link": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefensaLink"
            },
            "nullable": true
          },
          "metadata": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefensaMetadata"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefAppLink": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RefAppAssessment": {
        "type": "object",
        "properties": {
          "score": {
            "type": "number",
            "format": "double"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "total": {
            "type": "integer",
            "format": "int32"
          },
          "completed": {
            "type": "integer",
            "format": "int32"
          }
        },
        "additionalProperties": false
      },
      "RefAppAttributes": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "nullable": true
          },
          "summary": {
            "type": "string",
            "nullable": true
          },
          "attachments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RefAppLink"
            },
            "nullable": true
          },
          "candidateLink": {
            "$ref": "#/components/schemas/RefAppLink"
          },
          "assessment": {
            "$ref": "#/components/schemas/RefAppAssessment"
          }
        },
        "additionalProperties": false
      },
      "RefAppResult": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "$ref": "#/components/schemas/RefAppAttributes"
          },
          "description": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SenderInfo": {
        "type": "object",
        "properties": {
          "employerId": {
            "type": "integer",
            "format": "int32"
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobseekerInfo": {
        "type": "object",
        "properties": {
          "firstname": {
            "type": "string",
            "nullable": true
          },
          "lastname": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BackgroundcheckRequirements": {
        "type": "object",
        "properties": {
          "required_education": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PositionInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ManyMoreDepartmentInfo": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BackgroundcheckDto2": {
        "type": "object",
        "properties": {
          "requested_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "last_updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "ended_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "level": {
            "type": "string",
            "nullable": true
          },
          "sender_info": {
            "$ref": "#/components/schemas/SenderInfo"
          },
          "jobseeker_info": {
            "$ref": "#/components/schemas/JobseekerInfo"
          },
          "requirements": {
            "$ref": "#/components/schemas/BackgroundcheckRequirements"
          },
          "report_pdf": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "position_info": {
            "$ref": "#/components/schemas/PositionInfo"
          },
          "department_info": {
            "$ref": "#/components/schemas/ManyMoreDepartmentInfo"
          },
          "invoice_reference": {
            "type": "string",
            "nullable": true
          },
          "job_internal_reference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UpdateBackgroundCheckDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "ended_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "report_pdf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JsonValueKind": {
        "enum": [
          0,
          1,
          2,
          3,
          4,
          5,
          6,
          7
        ],
        "type": "integer",
        "format": "int32"
      },
      "JsonElement": {
        "type": "object",
        "properties": {
          "valueKind": {
            "$ref": "#/components/schemas/JsonValueKind"
          }
        },
        "additionalProperties": false
      },
      "HrmStatusDto": {
        "type": "object",
        "properties": {
          "entityId": {
            "type": "integer",
            "format": "int32"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AdvertisementStatusDto": {
        "type": "object",
        "properties": {
          "advertisementUrl": {
            "type": "string",
            "nullable": true
          },
          "advertisementInfoJson": {
            "type": "string",
            "nullable": true
          },
          "entityId": {
            "type": "integer",
            "format": "int32"
          },
          "success": {
            "type": "boolean"
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "InternalReferenceDao": {
        "type": "object",
        "properties": {
          "internalReference": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "LanguageText": {
        "type": "object",
        "properties": {
          "no": {
            "type": "string",
            "nullable": true
          },
          "en": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ProductDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/LanguageText"
          },
          "description": {
            "$ref": "#/components/schemas/LanguageText"
          }
        },
        "additionalProperties": false
      },
      "TitleDto": {
        "type": "object",
        "properties": {
          "norwegian": {
            "type": "string",
            "nullable": true
          },
          "english": {
            "type": "string",
            "nullable": true
          },
          "nynorsk": {
            "type": "string",
            "nullable": true
          },
          "sami": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ContactDto": {
        "type": "object",
        "properties": {
          "street": {
            "type": "string",
            "nullable": true
          },
          "postalCode": {
            "type": "string",
            "nullable": true
          },
          "city": {
            "type": "string",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "web": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DepartmentDto": {
        "required": [
          "externalId",
          "title"
        ],
        "type": "object",
        "properties": {
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "externalParentId": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "$ref": "#/components/schemas/TitleDto"
          },
          "contact": {
            "$ref": "#/components/schemas/ContactDto"
          },
          "subDepartments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JsonPatch": {
        "type": "object",
        "properties": {
          "op": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          },
          "from": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OrganizationStructureDto": {
        "type": "object",
        "properties": {
          "departments": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DepartmentDto"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MetaData": {
        "type": "object",
        "properties": {
          "resourceType": {
            "type": "string",
            "nullable": true
          },
          "created": {
            "type": "string",
            "format": "date-time"
          },
          "lastModified": {
            "type": "string",
            "format": "date-time"
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "MultiValue": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "primary": {
            "type": "boolean"
          },
          "display": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "string",
            "nullable": true
          },
          "ref": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScimGroupDto": {
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "meta": {
            "$ref": "#/components/schemas/MetaData"
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "members": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultiValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Operation": {
        "type": "object",
        "properties": {
          "op": {
            "type": "string",
            "nullable": true
          },
          "path": {
            "type": "string",
            "nullable": true
          },
          "value": {
            "type": "object",
            "additionalProperties": false,
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PatchOp": {
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true,
            "readOnly": true
          },
          "operations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Operation"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Name": {
        "type": "object",
        "properties": {
          "formatted": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "GroupMembership": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "nullable": true
          },
          "ref": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "JobadminUserExtension": {
        "type": "object",
        "properties": {
          "externalEmployerId": {
            "type": "string",
            "nullable": true
          },
          "externalDepartmentId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ScimUserDto": {
        "type": "object",
        "properties": {
          "schemas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "userName": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "$ref": "#/components/schemas/Name"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "preferredLanguage": {
            "type": "string",
            "nullable": true
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GroupMembership"
            },
            "nullable": true
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "externalId": {
            "type": "string",
            "nullable": true
          },
          "meta": {
            "$ref": "#/components/schemas/MetaData"
          },
          "jobadminUser": {
            "$ref": "#/components/schemas/JobadminUserExtension"
          },
          "emails": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultiValue"
            },
            "nullable": true
          },
          "phoneNumbers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MultiValue"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionAttributeDto": {
        "required": [
          "secret",
          "url"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "nullable": true
          },
          "secret": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CreateSubscriptionDto": {
        "required": [
          "attributes",
          "eventId"
        ],
        "type": "object",
        "properties": {
          "attributes": {
            "$ref": "#/components/schemas/SubscriptionAttributeDto"
          },
          "id": {
            "type": "string",
            "nullable": true
          },
          "eventId": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionDto": {
        "required": [
          "eventId"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "eventId": {
            "type": "string",
            "nullable": true
          },
          "attributes": {
            "$ref": "#/components/schemas/SubscriptionAttributeDto"
          }
        },
        "additionalProperties": false
      },
      "SurveyApplication": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "firstname": {
            "type": "string",
            "nullable": true
          },
          "surname": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SurveyUser": {
        "type": "object",
        "properties": {
          "firstname": {
            "type": "string",
            "nullable": true
          },
          "surname": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SurveyJob": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "responsibleUser": {
            "$ref": "#/components/schemas/SurveyUser"
          }
        },
        "additionalProperties": false
      },
      "SurveyDepartment": {
        "type": "object",
        "properties": {
          "departmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "departmentName": {
            "type": "string",
            "nullable": true
          },
          "parentDepartment": {
            "$ref": "#/components/schemas/SurveyDepartment"
          }
        },
        "additionalProperties": false
      },
      "SurveyEmployer": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "departmentId": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "departmentName": {
            "type": "string",
            "nullable": true
          },
          "parentDepartment": {
            "$ref": "#/components/schemas/SurveyDepartment"
          }
        },
        "additionalProperties": false
      },
      "SurveyCandidate": {
        "type": "object",
        "properties": {
          "application": {
            "$ref": "#/components/schemas/SurveyApplication"
          },
          "job": {
            "$ref": "#/components/schemas/SurveyJob"
          },
          "employer": {
            "$ref": "#/components/schemas/SurveyEmployer"
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "description": "Enter your token WITH the Bearer prefix (e.g., BEARER eyJhbGc...)",
        "name": "Authorization",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": [ ]
    }
  ]
}