{
  "openapi": "3.0.1",
  "info": {
    "title": "Employees API",
    "description": "Employee management service",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://employees.api.test.snokam.no"
    }
  ],
  "paths": {
    "/v1.0/cvs": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Gets CV data for all consultants",
        "description": "Retrieves CV data for all consultants from CvPartner, including technologies, roles, about, and CV text.",
        "operationId": "GetEmployeesCv",
        "responses": {
          "200": {
            "description": "List of consultant CV profiles retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/consultantCv"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/presentations": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Gets all presentations held by consultants",
        "description": "Aggregates the presentations listed across all consultant CVs in CvPartner, including the speaker for each presentation. Public endpoint used by the snokam.no/presentasjoner page.",
        "operationId": "GetPresentations",
        "responses": {
          "200": {
            "description": "List of presentations retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/consultantPresentation"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          }
        }
      }
    },
    "/v1.0/cvs/my-cv": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Gets CV data for the authenticated user",
        "description": "Retrieves CV data for the currently authenticated consultant from CvPartner.",
        "operationId": "GetMyCv",
        "responses": {
          "200": {
            "description": "Authenticated user's CV profile retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/consultantCv"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Employee not found in CvPartner",
            "x-ms-summary": "Not Found"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/cvs/{slug}": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Gets CV data for a specific employee by slug",
        "description": "Retrieves CV data for a specific consultant from CvPartner by their Sanity slug (e.g. 'hakon-grotte').",
        "operationId": "GetEmployeeCvBySlug",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of ConsultantCv",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/consultantCv"
                }
              }
            }
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/me/cv/pdf": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Downloads the authenticated user's CV as PDF",
        "operationId": "GetMyCvPdf",
        "responses": {
          "200": {
            "description": "Payload of Array of Byte",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "No description"
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/cvs/{slug}/pdf": {
      "get": {
        "tags": [
          "CV"
        ],
        "summary": "Downloads a specific consultant's CV as PDF by slug",
        "operationId": "GetEmployeeCvPdfBySlug",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Array of Byte",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "401": {
            "description": "No description"
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/proposals": {
      "post": {
        "tags": [
          "Proposals"
        ],
        "summary": "Create a Flowcase proposal",
        "operationId": "CreateProposal",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createProposalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Payload of FlowcaseProposal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/flowcaseProposal"
                }
              }
            }
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/proposals/{proposalId}": {
      "get": {
        "tags": [
          "Proposals"
        ],
        "summary": "Get a Flowcase proposal by id",
        "operationId": "GetProposal",
        "parameters": [
          {
            "name": "proposalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of FlowcaseProposal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/flowcaseProposal"
                }
              }
            }
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Proposals"
        ],
        "summary": "Update / patch a Flowcase proposal",
        "operationId": "UpdateProposal",
        "parameters": [
          {
            "name": "proposalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/updateProposalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Payload of FlowcaseProposal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/flowcaseProposal"
                }
              }
            }
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Proposals"
        ],
        "summary": "Archive a proposal — Flowcase has no hard-delete; we PUT archived=true.",
        "operationId": "ArchiveProposal",
        "parameters": [
          {
            "name": "proposalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of FlowcaseProposal",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/flowcaseProposal"
                }
              }
            }
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/proposals/{proposalId}/cvs": {
      "post": {
        "tags": [
          "Proposals"
        ],
        "summary": "Attach a consultant's CV to a proposal; Flowcase copies the default CV into an editable tailored CV.",
        "operationId": "AttachCvToProposal",
        "parameters": [
          {
            "name": "proposalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/addCvToProposalRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Payload of FlowcaseTailoredCv",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/flowcaseTailoredCv"
                }
              }
            }
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/proposals/{proposalId}/cvs/{tailoredCvId}": {
      "delete": {
        "tags": [
          "Proposals"
        ],
        "summary": "Remove a tailored CV from a proposal.",
        "operationId": "DetachCvFromProposal",
        "parameters": [
          {
            "name": "proposalId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tailoredCvId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/cvs/users/{userId}/{cvId}/pdf": {
      "get": {
        "tags": [
          "Proposals"
        ],
        "summary": "Download any CV (including tailored CVs) as PDF by user_id + cv_id.",
        "operationId": "DownloadTailoredCvPdf",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cvId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Array of Byte",
            "content": {
              "application/pdf": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/cvs/users/{userId}/{cvId}": {
      "get": {
        "tags": [
          "Proposals"
        ],
        "summary": "Get any CV (including tailored CVs) as raw Flowcase JSON by user_id + cv_id.",
        "operationId": "GetRawCv",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cvId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Object",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          },
          "404": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/cvs/users/{userId}/{cvId}/sections/{sectionType}/{sectionId}": {
      "put": {
        "tags": [
          "CV"
        ],
        "summary": "Edit a single CV section (PUT /v3/cvs/{user}/{cv}/{section_type}/{section_id}).",
        "operationId": "UpdateCvSection",
        "parameters": [
          {
            "name": "userId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "cvId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionType",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sectionId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "Section body — shape depends on section_type (see Flowcase CV API).",
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No description"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/public/{slugOrId}/cv": {
      "get": {
        "tags": [
          "Public"
        ],
        "summary": "Gets the full CV for a public employee by slug or id",
        "description": "Resolves the employee by Sanity slug or id and returns the verbatim CvPartner (Flowcase) CV payload, including project experiences, recommendations and presentations.",
        "operationId": "GetPublicEmployeeCv",
        "parameters": [
          {
            "name": "slugOrId",
            "in": "path",
            "description": "The slug or id of the public employee whose CV to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the employee"
          }
        ],
        "responses": {
          "200": {
            "description": "Raw CvPartner CV payload retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "404": {
            "description": "Employee or CV not found",
            "x-ms-summary": "Not Found"
          }
        }
      }
    },
    "/v1.0/protected": {
      "get": {
        "tags": [
          "Protected"
        ],
        "summary": "Gets all protected employees",
        "description": "Retrieves a list of all protected employees.",
        "operationId": "GetEmployeesProtected",
        "parameters": [
          {
            "name": "includeBots",
            "in": "query",
            "description": "Include AI / bot employees (Olaf et al.). Defaults to false.",
            "schema": {
              "type": "boolean"
            },
            "x-ms-summary": "Include bots"
          },
          {
            "name": "includeExternals",
            "in": "query",
            "description": "Include external employees (contractors). Defaults to false.",
            "schema": {
              "type": "boolean"
            },
            "x-ms-summary": "Include externals"
          }
        ],
        "responses": {
          "200": {
            "description": "List of protected employees retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/protectedEmployee"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/me": {
      "get": {
        "tags": [
          "Protected"
        ],
        "summary": "Gets the authenticated user's protected employee data",
        "description": "Retrieves the protected employee data for the authenticated user.",
        "operationId": "GetMeProtected",
        "responses": {
          "200": {
            "description": "Authenticated user's protected employee data retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Employee not found",
            "x-ms-summary": "Not Found"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "put": {
        "tags": [
          "Protected"
        ],
        "summary": "Updates the authenticated user's protected employee data",
        "description": "Updates the protected employee data for the authenticated user.",
        "operationId": "PatchMeProtected",
        "requestBody": {
          "description": "Employee data to update",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/patchEmployee"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Authenticated user's protected employee data updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/me/photo": {
      "post": {
        "tags": [
          "Protected"
        ],
        "summary": "Uploads the authenticated user's profile photo",
        "description": "Stores the photo and a blurred variant on the employee. Body is the raw image bytes.",
        "operationId": "SetMyPhoto",
        "requestBody": {
          "description": "Raw image bytes",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Photo updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{id}": {
      "put": {
        "tags": [
          "Protected"
        ],
        "summary": "Updates protected employee data by id or email",
        "description": "Updates protected employee data for a specified employee id or email.",
        "operationId": "PatchEmployeeProtected",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Sanity id or employee email",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The employee id or email"
          }
        ],
        "requestBody": {
          "description": "Employee data to update",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/patchEmployee"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Protected employee data updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "get": {
        "tags": [
          "Protected"
        ],
        "summary": "Gets a protected employee by ID",
        "description": "Retrieves a protected employee by their ID.",
        "operationId": "GetEmployeeProtected",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "The ID of the protected employee to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the employee"
          }
        ],
        "responses": {
          "200": {
            "description": "Protected employee retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Employee not found",
            "x-ms-summary": "Not Found"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{id}/photo": {
      "post": {
        "tags": [
          "Protected"
        ],
        "summary": "Uploads a profile photo for an employee (admin)",
        "description": "Stores the photo and a blurred variant on the given employee. Body is the raw image bytes.",
        "operationId": "SetEmployeePhoto",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The employee Sanity id"
          }
        ],
        "requestBody": {
          "description": "Raw image bytes",
          "content": {
            "application/octet-stream": {
              "schema": {
                "type": "string",
                "format": "binary"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Photo updated successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/protectedEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/me/gadgetbudget": {
      "get": {
        "tags": [
          "Protected"
        ],
        "summary": "Gets the authenticated user's gadget budget",
        "description": "Retrieves the gadget budget for the authenticated user.",
        "operationId": "GetMyGadgetBudget",
        "responses": {
          "200": {
            "description": "Authenticated user's gadget budget retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/gadgetBudget"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/public/{slugOrId}": {
      "get": {
        "tags": [
          "Public"
        ],
        "summary": "Gets a public employee by slug or id",
        "description": "Retrieves a public employee by their slug or id.",
        "operationId": "GetEmployeePublic",
        "parameters": [
          {
            "name": "slugOrId",
            "in": "path",
            "description": "The slug or id of the public employee to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the employee"
          }
        ],
        "responses": {
          "200": {
            "description": "Public employee retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/publicEmployee"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "404": {
            "description": "Employee not found",
            "x-ms-summary": "Not Found"
          }
        }
      }
    },
    "/v1.0/public": {
      "get": {
        "tags": [
          "Public"
        ],
        "summary": "Gets all public employees",
        "description": "Retrieves a list of all public employees.",
        "operationId": "GetEmployeesPublic",
        "responses": {
          "200": {
            "description": "List of public employees retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/publicEmployee"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          }
        }
      }
    },
    "/v1.0/feedback": {
      "post": {
        "tags": [
          "Public"
        ],
        "summary": "Submit anonymous feedback",
        "description": "Allows anyone to send anonymous text feedback.",
        "operationId": "PostAnonymousFeedback",
        "requestBody": {
          "description": "Feedback payload",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/feedback"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Feedback received",
            "x-ms-summary": "Success"
          },
          "400": {
            "description": "Invalid input",
            "x-ms-summary": "Bad Request"
          }
        }
      }
    },
    "/v1.0/protected/groups/slack-sync": {
      "post": {
        "tags": [
          "Protected"
        ],
        "summary": "Mirrors track groups into their Slack channels",
        "description": "Queues a membership sync for every group with a Slack channel: members are invited and employees outside the group are removed. With dryRun the plan is posted to the notification feed and Slack is left untouched.",
        "operationId": "SyncTrackSlackChannels",
        "parameters": [
          {
            "name": "dryRun",
            "in": "query",
            "description": "Report the plan without changing Slack. Defaults to false.",
            "schema": {
              "type": "boolean"
            },
            "x-ms-summary": "Dry run"
          }
        ],
        "responses": {
          "200": {
            "description": "The channel memberships that were queued",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/slackChannelMembersData"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}/groups/{groupId}": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Add the directory user to a security group",
        "description": "Returns changed: false when the user already was a member.",
        "operationId": "AddDirectoryUserToGroup",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DirectoryOperationResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/directoryOperationResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Directory"
        ],
        "summary": "Remove the directory user from a security group",
        "description": "Returns changed: false when the user was not a member.",
        "operationId": "RemoveDirectoryUserFromGroup",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "groupId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DirectoryOperationResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/directoryOperationResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}/app-roles": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Assign an app-role on a service principal to the directory user",
        "description": "Returns changed: false when the assignment already existed.",
        "operationId": "AssignDirectoryAppRole",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/appRoleAssignmentRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Payload of DirectoryOperationResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/directoryOperationResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "get": {
        "tags": [
          "Directory"
        ],
        "summary": "Map the directory user's app-role assignments by service principal",
        "description": "Returns { servicePrincipalObjectId: appRoleId } for every Enterprise App the user is assigned to.",
        "operationId": "ListDirectoryUserAppRoles",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Dictionary of String",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}/app-roles/{servicePrincipalObjectId}": {
      "delete": {
        "tags": [
          "Directory"
        ],
        "summary": "Remove the directory user's app-role assignment(s) on a service principal",
        "operationId": "RemoveDirectoryAppRole",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "servicePrincipalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DirectoryOperationResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/directoryOperationResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/service-principals/{servicePrincipalObjectId}/app-roles": {
      "get": {
        "tags": [
          "Directory"
        ],
        "summary": "List a service principal's enabled app-roles",
        "operationId": "ListDirectoryAppRoles",
        "parameters": [
          {
            "name": "servicePrincipalObjectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Array of SystemRoleOption",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/systemRoleOption"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}/licenses/{skuId}": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Assign a license SKU to the directory user",
        "operationId": "AssignDirectoryLicense",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skuId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No description",
            "x-ms-summary": "Assigned"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Directory"
        ],
        "summary": "Revoke a license SKU from the directory user",
        "operationId": "RevokeDirectoryLicense",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "skuId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "No description",
            "x-ms-summary": "Revoked"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/licenses/{skuId}": {
      "get": {
        "tags": [
          "Directory"
        ],
        "summary": "Get seat availability for a license SKU",
        "operationId": "GetDirectoryLicenseAvailability",
        "parameters": [
          {
            "name": "skuId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of LicenseAvailability",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/licenseAvailability"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "No description",
            "x-ms-summary": "SKU unknown"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/licenses/primary": {
      "get": {
        "tags": [
          "Directory"
        ],
        "summary": "Auto-select the tenant's primary productivity license SKU",
        "description": "Returns skuId: null when no productivity SKU has a free seat.",
        "operationId": "ResolvePrimaryDirectoryLicense",
        "responses": {
          "200": {
            "description": "Payload of LicenseSkuRef",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/licenseSkuRef"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/systems/batch": {
      "post": {
        "tags": [
          "EmployeeSystems"
        ],
        "summary": "Bulk list per-employee system access for a set of UPNs",
        "description": "Resolves every UPN's third-party system seats in one roundtrip — fans out the Graph calls server-side.",
        "operationId": "ListEmployeeSystemAccessBatch",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/listEmployeeSystemAccessBatchRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Payload of Array of EmployeeSystemAccessRow",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/employeeSystemAccessRow"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/systems-config": {
      "get": {
        "tags": [
          "EmployeeSystems"
        ],
        "summary": "List the system registry with per-tenant configuration",
        "description": "Which Enterprise App (service principal) backs each registered system, and the optional default role. Unconfigured systems have servicePrincipalId: null.",
        "operationId": "GetEmployeeSystemsConfig",
        "responses": {
          "200": {
            "description": "Payload of Array of EmployeeSystemConfig",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/employeeSystemConfig"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/systems/{upn}": {
      "get": {
        "tags": [
          "EmployeeSystems"
        ],
        "summary": "List an employee's third-party system access",
        "description": "Per registered system (e.g. Salesforce): whether the employee has a seat, which app-role backs it, and the selectable roles.",
        "operationId": "ListEmployeeSystemAccess",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "Employee UPN (work email)"
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of Array of EmployeeSystemAccess",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/employeeSystemAccess"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "No description",
            "x-ms-summary": "Employee not found in the directory"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/systems/{upn}/{systemKey}": {
      "post": {
        "tags": [
          "EmployeeSystems"
        ],
        "summary": "Grant the employee a seat in a third-party system",
        "description": "Assigns the backing app-role on the system's Enterprise App. SCIM/provisioning then creates the account automatically.",
        "operationId": "AssignEmployeeSystem",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "systemKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "Stable system key (e.g. \"salesforce\")"
          },
          {
            "name": "roleId",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "App-role id to assign; falls back to the tenant's default role when omitted. Assigning a different role than the current one replaces the assignment."
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of EmployeeSystemAccess",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/employeeSystemAccess"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "No description",
            "x-ms-summary": "Unknown system or employee"
          },
          "501": {
            "description": "No description",
            "x-ms-summary": "System not configured in this environment"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "EmployeeSystems"
        ],
        "summary": "Revoke the employee's seat in a third-party system",
        "description": "Removes the backing app-role assignment. SCIM/provisioning deactivates the account on the next sync.",
        "operationId": "RevokeEmployeeSystem",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "systemKey",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of EmployeeSystemAccess",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/employeeSystemAccess"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "No description",
            "x-ms-summary": "Unknown system or employee"
          },
          "501": {
            "description": "No description",
            "x-ms-summary": "System not configured in this environment"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Create (or adopt) a directory user",
        "description": "Creates the Entra user, or patches an existing one with the supplied fields. Returns the temporary password only on fresh creation.",
        "operationId": "CreateDirectoryUser",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Payload of CreateUserResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/createUserResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}": {
      "patch": {
        "tags": [
          "Directory"
        ],
        "summary": "Patch a directory user from candidate fields",
        "operationId": "PatchDirectoryUser",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createUserInput"
              }
            }
          },
          "required": true
        },
        "responses": {
          "204": {
            "description": "No description",
            "x-ms-summary": "Patched"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{objectId}/photo": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Upload a profile photo to the directory user",
        "description": "Fetches the image from the supplied URL and PUTs it as the user's Entra profile photo.",
        "operationId": "UploadDirectoryUserPhoto",
        "parameters": [
          {
            "name": "objectId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/uploadPhotoRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Payload of UploadPhotoResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/uploadPhotoResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/by-upn/{upn}": {
      "get": {
        "tags": [
          "Directory"
        ],
        "summary": "Resolve a UPN to the directory user's object id",
        "description": "Returns userObjectId: null when no directory user exists for the UPN.",
        "operationId": "GetDirectoryUserByUpn",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DirectoryUserRef",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/directoryUserRef"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{upn}/disable": {
      "post": {
        "tags": [
          "Directory"
        ],
        "summary": "Disable the directory user (offboarding)",
        "operationId": "DisableDirectoryUser",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DisableUserResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/disableUserResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/directory/users/{upn}": {
      "delete": {
        "tags": [
          "Directory"
        ],
        "summary": "Delete the directory user (recoverable in Entra for 30 days)",
        "operationId": "DeleteDirectoryUser",
        "parameters": [
          {
            "name": "upn",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Payload of DisableUserResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/disableUserResult"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "No description",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "addCvToProposalRequest": {
        "type": "object",
        "properties": {
          "user_id": {
            "type": "string",
            "nullable": true
          },
          "cv_id": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "appRoleAssignmentRequest": {
        "type": "object",
        "properties": {
          "servicePrincipalObjectId": {
            "type": "string"
          },
          "appRoleId": {
            "type": "string"
          }
        }
      },
      "commissionTierReference": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "componentBlocksInnerOneOfChildrenInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "span"
            ],
            "type": "string",
            "default": "span"
          },
          "marks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sanityKey": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "componentBlocksInnerOneOfMarkDefsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "link"
            ],
            "type": "string",
            "default": "link"
          },
          "href": {
            "type": "string"
          },
          "sanityKey": {
            "type": "string"
          }
        }
      },
      "componentGalleryMediaInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "consultantCv": {
        "type": "object",
        "properties": {
          "userId": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "defaultCvId": {
            "type": "string",
            "nullable": true
          },
          "technologies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "roles": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "yearsExperience": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "about": {
            "type": "string",
            "nullable": true
          },
          "cvText": {
            "type": "string",
            "nullable": true
          },
          "projectExperiences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/consultantProjectExperience"
            },
            "nullable": true
          },
          "workExperiences": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/consultantWorkExperience"
            },
            "nullable": true
          },
          "educations": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/consultantEducation"
            },
            "nullable": true
          },
          "cvRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/consultantCvRole"
            },
            "nullable": true
          },
          "keyQualifications": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/consultantKeyQualification"
            },
            "nullable": true
          }
        }
      },
      "consultantCvRole": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "longDescription": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        }
      },
      "consultantEducation": {
        "type": "object",
        "properties": {
          "school": {
            "type": "string",
            "nullable": true
          },
          "degree": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "yearFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "yearTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "consultantKeyQualification": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "tags": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        }
      },
      "consultantPresentation": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "longDescription": {
            "type": "string",
            "nullable": true
          },
          "year": {
            "type": "string",
            "nullable": true
          },
          "month": {
            "type": "string",
            "nullable": true
          },
          "speaker": {
            "$ref": "#/components/schemas/presentationSpeaker"
          }
        }
      },
      "consultantProjectExperience": {
        "type": "object",
        "properties": {
          "customer": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "longDescription": {
            "type": "string",
            "nullable": true
          },
          "industry": {
            "type": "string",
            "nullable": true
          },
          "yearFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "yearTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "roleTitle": {
            "type": "string",
            "nullable": true
          },
          "roleDescription": {
            "type": "string",
            "nullable": true
          },
          "technologies": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        }
      },
      "consultantWorkExperience": {
        "type": "object",
        "properties": {
          "employer": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "yearFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthFrom": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "yearTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "monthTo": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "createProposalRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "owner_id": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "createUserInput": {
        "type": "object",
        "properties": {
          "userPrincipalName": {
            "type": "string"
          },
          "displayName": {
            "type": "string"
          },
          "givenName": {
            "type": "string"
          },
          "surname": {
            "type": "string"
          },
          "jobTitle": {
            "type": "string"
          },
          "mobilePhone": {
            "type": "string"
          },
          "streetAddress": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          }
        }
      },
      "createUserResult": {
        "type": "object",
        "properties": {
          "alreadyExisted": {
            "type": "boolean"
          },
          "userObjectId": {
            "type": "string"
          },
          "userPrincipalName": {
            "type": "string"
          },
          "temporaryPassword": {
            "type": "string"
          }
        }
      },
      "directoryOperationResult": {
        "type": "object",
        "properties": {
          "changed": {
            "type": "boolean"
          }
        }
      },
      "directoryUserRef": {
        "type": "object",
        "properties": {
          "userObjectId": {
            "type": "string"
          }
        }
      },
      "disableUserResult": {
        "type": "object",
        "properties": {
          "found": {
            "type": "boolean"
          },
          "wasAlreadyDisabled": {
            "type": "boolean"
          },
          "userObjectId": {
            "type": "string"
          },
          "userPrincipalName": {
            "type": "string"
          }
        }
      },
      "employeeReference": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "employeeSystemAccess": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "assigned": {
            "type": "boolean"
          },
          "kind": {
            "type": "string"
          },
          "notImplemented": {
            "type": "boolean"
          },
          "assignedRoleId": {
            "type": "string"
          },
          "availableRoles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/systemRoleOption"
            }
          },
          "manageable": {
            "type": "boolean"
          },
          "inheritedVia": {
            "type": "string"
          },
          "provisioningStatus": {
            "type": "string"
          },
          "provisioningError": {
            "type": "string"
          }
        }
      },
      "employeeSystemAccessRow": {
        "type": "object",
        "properties": {
          "upn": {
            "type": "string"
          },
          "systems": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/employeeSystemAccess"
            }
          }
        }
      },
      "employeeSystemConfig": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "servicePrincipalId": {
            "type": "string"
          },
          "defaultRoleId": {
            "type": "string"
          }
        }
      },
      "feedback": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        }
      },
      "flowcaseProposal": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "api_owner_id": {
            "type": "string",
            "nullable": true
          },
          "api_owner_name": {
            "type": "string",
            "nullable": true
          },
          "owner_id": {
            "type": "string",
            "nullable": true
          },
          "owner_name": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "flowcaseTailoredCv": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "user_id": {
            "type": "string",
            "nullable": true
          },
          "proposal_id": {
            "type": "string",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "created_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "updated_at": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        }
      },
      "gadgetBudget": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "gadget"
            ],
            "type": "string",
            "default": "gadget"
          },
          "employee": {
            "$ref": "#/components/schemas/sanityOrderEmployee"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "yearlyBudgets": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInner"
            }
          }
        }
      },
      "geopoint": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "geopoint"
            ],
            "type": "string",
            "default": "geopoint"
          },
          "alt": {
            "type": "number",
            "format": "double"
          },
          "lat": {
            "type": "number",
            "format": "double"
          },
          "lng": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "licenseAvailability": {
        "type": "object",
        "properties": {
          "skuId": {
            "type": "string"
          },
          "skuPartNumber": {
            "type": "string"
          },
          "enabled": {
            "type": "integer",
            "format": "int32"
          },
          "consumed": {
            "type": "integer",
            "format": "int32"
          },
          "available": {
            "type": "integer",
            "format": "int32"
          },
          "isConfigured": {
            "type": "boolean"
          }
        }
      },
      "licenseSkuRef": {
        "type": "object",
        "properties": {
          "skuId": {
            "type": "string"
          }
        }
      },
      "listEmployeeSystemAccessBatchRequest": {
        "type": "object",
        "properties": {
          "upns": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "pageEmployeeOrderInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "pageEquipmentInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "patchEmployee": {
        "type": "object",
        "properties": {
          "gender": {
            "enum": [
              "male",
              "female",
              "These are not the genders you are looking for"
            ],
            "type": "string",
            "default": "male",
            "nullable": true
          },
          "maritalStatus": {
            "enum": [
              "single",
              "married",
              "cohabitant"
            ],
            "type": "string",
            "default": "single",
            "nullable": true
          },
          "parentalLeaveCoverage": {
            "enum": [
              "80",
              "100"
            ],
            "type": "string",
            "default": "80",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "employee"
            ],
            "type": "string",
            "default": "employee",
            "nullable": true
          },
          "about": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "address": {
            "type": "string"
          },
          "allergies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "birth_date": {
            "type": "string"
          },
          "blurred_image": {
            "$ref": "#/components/schemas/sanityPatchPageMetaImage"
          },
          "boardMember": {
            "type": "boolean",
            "nullable": true
          },
          "cliftonStrengths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEmployeeCliftonStrengthsInner"
            }
          },
          "coinbaseAccountEmail": {
            "type": "string"
          },
          "commissionTier": {
            "$ref": "#/components/schemas/commissionTierReference"
          },
          "education": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "equipment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/pageEquipmentInner"
            }
          },
          "externalId": {
            "type": "string"
          },
          "github": {
            "type": "string"
          },
          "graduationYear": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEmployeeGroupsInner"
            }
          },
          "image": {
            "$ref": "#/components/schemas/sanityPatchPageMetaImage"
          },
          "innovativeSalary": {
            "type": "boolean",
            "nullable": true
          },
          "innovativeSalaryPercentage": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "isBot": {
            "type": "boolean",
            "nullable": true
          },
          "isExternal": {
            "type": "boolean",
            "nullable": true
          },
          "isPublic": {
            "type": "boolean",
            "nullable": true
          },
          "isSeekingProject": {
            "type": "boolean",
            "nullable": true
          },
          "leadershipGroupMember": {
            "type": "boolean",
            "nullable": true
          },
          "linkedin": {
            "type": "string"
          },
          "manager": {
            "$ref": "#/components/schemas/employeeReference"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/componentGalleryMediaInner"
            }
          },
          "name": {
            "type": "string"
          },
          "nextOfKin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
            }
          },
          "nrOfChildren": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "personalProjectRequirements": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "salaryConfig": {
            "$ref": "#/components/schemas/pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfig"
          },
          "settings": {
            "$ref": "#/components/schemas/pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettings"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "start_date": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEmployeeTagsInner"
            }
          },
          "technologies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEmployeeTechnologiesInner"
            }
          },
          "telephone": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSalaryConfig": {
        "type": "object",
        "properties": {
          "model": {
            "enum": [
              "snokam.ceo",
              "snokam.employee"
            ],
            "type": "string",
            "default": "snokam.ceo",
            "nullable": true
          }
        }
      },
      "pickSanityPatchEmployeeExcludeKeyofSanityPatchEmployeeScopeGrantsSettings": {
        "type": "object",
        "properties": {
          "colorScheme": {
            "enum": [
              "dark",
              "light",
              "system"
            ],
            "type": "string",
            "default": "dark",
            "nullable": true
          }
        }
      },
      "presentationSpeaker": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string",
            "nullable": true
          },
          "flowcaseUserId": {
            "type": "string",
            "nullable": true
          }
        },
        "nullable": true
      },
      "protectedEmployee": {
        "type": "object",
        "properties": {
          "started": {
            "type": "boolean",
            "nullable": true
          },
          "gender": {
            "enum": [
              "female",
              "male",
              "These are not the genders you are looking for"
            ],
            "type": "string",
            "default": "female"
          },
          "maritalStatus": {
            "enum": [
              "cohabitant",
              "married",
              "single"
            ],
            "type": "string",
            "default": "cohabitant",
            "nullable": true
          },
          "parentalLeaveCoverage": {
            "enum": [
              "80",
              "100"
            ],
            "type": "string",
            "default": "80",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "employee"
            ],
            "type": "string",
            "default": "employee"
          },
          "about": {
            "type": "string"
          },
          "active": {
            "type": "boolean"
          },
          "address": {
            "type": "string"
          },
          "allergies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "birth_date": {
            "type": "string"
          },
          "blurred_image": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
          },
          "boardMember": {
            "type": "boolean"
          },
          "cliftonStrengths": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEmployeeCliftonStrengthsInner"
            }
          },
          "coinbaseAccountEmail": {
            "type": "string"
          },
          "commissionTier": {
            "$ref": "#/components/schemas/sanityEmployeeCommissionTier"
          },
          "education": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "equipment": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEmployeeEquipmentInner"
            }
          },
          "externalId": {
            "type": "string"
          },
          "github": {
            "type": "string"
          },
          "graduationYear": {
            "type": "number",
            "format": "double"
          },
          "groups": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEmployeeGroupsInner"
            }
          },
          "image": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
          },
          "innovativeSalary": {
            "type": "boolean"
          },
          "innovativeSalaryPercentage": {
            "type": "number",
            "format": "double"
          },
          "isBot": {
            "type": "boolean"
          },
          "isExternal": {
            "type": "boolean"
          },
          "isPublic": {
            "type": "boolean"
          },
          "isSeekingProject": {
            "type": "boolean"
          },
          "leadershipGroupMember": {
            "type": "boolean"
          },
          "linkedin": {
            "type": "string"
          },
          "manager": {
            "$ref": "#/components/schemas/sanityEmployeeManager"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner"
            }
          },
          "name": {
            "type": "string"
          },
          "nextOfKin": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEmployeeNextOfKinInner"
            }
          },
          "nrOfChildren": {
            "type": "number",
            "format": "double"
          },
          "personalProjectRequirements": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "salaryConfig": {
            "$ref": "#/components/schemas/sanityEmployeeSalaryConfig"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "scopeGrants": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "settings": {
            "$ref": "#/components/schemas/sanityEmployeeSettings"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "start_date": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
            }
          },
          "technologies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsProjectsInnerTechnologiesInner"
            }
          },
          "telephone": {
            "type": "string"
          }
        }
      },
      "publicEmployee": {
        "type": "object",
        "properties": {
          "sanityId": {
            "type": "string"
          },
          "sanityType": {
            "type": "string"
          },
          "active": {
            "type": "boolean",
            "nullable": true
          },
          "isPublic": {
            "type": "boolean",
            "nullable": true
          },
          "image": {
            "$ref": "#/components/schemas/sanityImage"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tag"
            }
          },
          "technologies": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/technology"
            }
          },
          "started": {
            "type": "boolean"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner"
            }
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "gender": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "telephone": {
            "type": "string"
          },
          "position": {
            "type": "string"
          },
          "education": {
            "type": "string"
          },
          "about": {
            "type": "string"
          },
          "linkedin": {
            "type": "string"
          },
          "github": {
            "type": "string"
          },
          "birthDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "startDate": {
            "type": "string"
          }
        }
      },
      "sanityAssetSourceData": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.assetSourceData"
            ],
            "type": "string",
            "default": "sanity.assetSourceData"
          },
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "sanityCreateEmployeeCliftonStrengthsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityCreateEmployeeGroupsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityCreateEmployeeTagsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityCreateEmployeeTechnologiesInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityEmployeeCliftonStrengthsInner": {
        "type": "object",
        "properties": {
          "domain": {
            "enum": [
              "executing",
              "influencing",
              "relationship_building",
              "strategic_thinking"
            ],
            "type": "string",
            "default": "executing",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "cliftonStrength"
            ],
            "type": "string",
            "default": "cliftonStrength"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "strength": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeCommissionTier": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "commissionTier"
            ],
            "type": "string",
            "default": "commissionTier"
          },
          "commission": {
            "type": "number",
            "format": "double"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeEquipmentInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "equipment"
            ],
            "type": "string",
            "default": "equipment"
          },
          "description": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
            }
          },
          "image": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
            }
          },
          "sanityId": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeGroupsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "group"
            ],
            "type": "string",
            "default": "group"
          },
          "description": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanitySystemsInnerDescriptionInner"
            }
          },
          "image": {
            "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMediaOneOf"
          },
          "leaders": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/pageEmployeeOrderInner"
            }
          },
          "name": {
            "type": "string"
          },
          "permissions": {
            "type": "string"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "scopeGrants": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "slackChannel": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeManager": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "employee"
            ],
            "type": "string",
            "default": "employee"
          },
          "email": {
            "type": "string"
          },
          "image": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
          },
          "isBot": {
            "type": "boolean",
            "nullable": true
          },
          "isExternal": {
            "type": "boolean",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
            }
          },
          "telephone": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeNextOfKinInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "nextofkin"
            ],
            "type": "string",
            "default": "nextofkin"
          },
          "name": {
            "type": "string"
          },
          "sanityKey": {
            "type": "string"
          },
          "telephone": {
            "type": "string"
          }
        }
      },
      "sanityEmployeeSalaryConfig": {
        "type": "object",
        "properties": {
          "model": {
            "enum": [
              "snokam.ceo",
              "snokam.employee"
            ],
            "type": "string",
            "default": "snokam.ceo",
            "nullable": true
          }
        }
      },
      "sanityEmployeeSettings": {
        "type": "object",
        "properties": {
          "colorScheme": {
            "enum": [
              "dark",
              "light",
              "system"
            ],
            "type": "string",
            "default": "dark",
            "nullable": true
          }
        }
      },
      "sanityGadgetBudgetYearlyBudgetsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "yearlyBudget"
            ],
            "type": "string",
            "default": "yearlyBudget"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "equipmentList": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner"
            }
          },
          "sanityKey": {
            "type": "string"
          },
          "year": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "sanityGadgetBudgetYearlyBudgetsInnerEquipmentListInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "sanityImage": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "image"
            ],
            "type": "string",
            "default": "image"
          },
          "asset": {
            "$ref": "#/components/schemas/sanityImageAsset"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityKey": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "sanityImageAsset": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageAsset"
            ],
            "type": "string",
            "default": "sanity.imageAsset"
          },
          "altText": {
            "type": "string"
          },
          "assetId": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "extension": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "metadata": {
            "$ref": "#/components/schemas/sanityImageMetadata"
          },
          "mimeType": {
            "type": "string"
          },
          "originalFilename": {
            "type": "string"
          },
          "path": {
            "type": "string"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "sha1hash": {
            "type": "string"
          },
          "size": {
            "type": "number",
            "format": "double"
          },
          "source": {
            "$ref": "#/components/schemas/sanityAssetSourceData"
          },
          "title": {
            "type": "string"
          },
          "uploadId": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "sanityImageAssetReference": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityImageCrop": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageCrop"
            ],
            "type": "string",
            "default": "sanity.imageCrop"
          },
          "bottom": {
            "type": "number",
            "format": "double"
          },
          "left": {
            "type": "number",
            "format": "double"
          },
          "right": {
            "type": "number",
            "format": "double"
          },
          "top": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "sanityImageDimensions": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageDimensions"
            ],
            "type": "string",
            "default": "sanity.imageDimensions"
          },
          "aspectRatio": {
            "type": "number",
            "format": "double"
          },
          "height": {
            "type": "number",
            "format": "double"
          },
          "width": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "sanityImageHotspot": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageHotspot"
            ],
            "type": "string",
            "default": "sanity.imageHotspot"
          },
          "height": {
            "type": "number",
            "format": "double"
          },
          "width": {
            "type": "number",
            "format": "double"
          },
          "x": {
            "type": "number",
            "format": "double"
          },
          "y": {
            "type": "number",
            "format": "double"
          }
        }
      },
      "sanityImageMetadata": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageMetadata"
            ],
            "type": "string",
            "default": "sanity.imageMetadata"
          },
          "blurHash": {
            "type": "string"
          },
          "dimensions": {
            "$ref": "#/components/schemas/sanityImageDimensions"
          },
          "hasAlpha": {
            "type": "boolean"
          },
          "isOpaque": {
            "type": "boolean"
          },
          "location": {
            "$ref": "#/components/schemas/geopoint"
          },
          "lqip": {
            "type": "string"
          },
          "palette": {
            "$ref": "#/components/schemas/sanityImagePalette"
          },
          "thumbHash": {
            "type": "string"
          }
        }
      },
      "sanityImagePalette": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imagePalette"
            ],
            "type": "string",
            "default": "sanity.imagePalette"
          },
          "darkMuted": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "darkVibrant": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "dominant": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "lightMuted": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "lightVibrant": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "muted": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          },
          "vibrant": {
            "$ref": "#/components/schemas/sanityImagePaletteSwatch"
          }
        }
      },
      "sanityImagePaletteSwatch": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imagePaletteSwatch"
            ],
            "type": "string",
            "default": "sanity.imagePaletteSwatch"
          },
          "background": {
            "type": "string"
          },
          "foreground": {
            "type": "string"
          },
          "population": {
            "type": "number",
            "format": "double"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "sanityOrderEmployee": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "employee"
            ],
            "type": "string",
            "default": "employee"
          },
          "email": {
            "type": "string"
          },
          "image": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImage"
          },
          "isBot": {
            "type": "boolean",
            "nullable": true
          },
          "isExternal": {
            "type": "boolean",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
            }
          },
          "telephone": {
            "type": "string"
          }
        }
      },
      "sanityPatchPageMetaImage": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "image"
            ],
            "type": "string",
            "default": "image"
          },
          "asset": {
            "$ref": "#/components/schemas/sanityImageAssetReference"
          },
          "crop": {
            "$ref": "#/components/schemas/sanityImageCrop"
          },
          "hotspot": {
            "$ref": "#/components/schemas/sanityImageHotspot"
          },
          "media": {
            "type": "object"
          }
        }
      },
      "sanitySystemsInnerDescriptionInner": {
        "type": "object",
        "properties": {
          "listItem": {
            "enum": [
              "bullet",
              "number"
            ],
            "type": "string",
            "default": "bullet",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "block"
            ],
            "type": "string",
            "default": "block"
          },
          "style": {
            "enum": [
              "blockquote",
              "h1",
              "h2",
              "h3",
              "h4",
              "h5",
              "h6",
              "normal"
            ],
            "type": "string",
            "default": "blockquote",
            "nullable": true
          },
          "children": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/componentBlocksInnerOneOfChildrenInner"
            }
          },
          "level": {
            "type": "number",
            "format": "double"
          },
          "markDefs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/componentBlocksInnerOneOfMarkDefsInner"
            }
          },
          "sanityKey": {
            "type": "string"
          }
        }
      },
      "sanityTechnologyWithRelationsArticlesInnerMediaOneOf": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "image"
            ],
            "type": "string",
            "default": "image"
          },
          "asset": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
          }
        }
      },
      "sanityTechnologyWithRelationsDescriptionInnerOneOf4MediaInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "sanityTechnologyWithRelationsEmployeesInnerTagsInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "tag"
            ],
            "type": "string",
            "default": "tag"
          },
          "name": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          }
        }
      },
      "sanityTechnologyWithRelationsProjectsInnerTechnologiesInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "technology"
            ],
            "type": "string",
            "default": "technology"
          },
          "parent": {
            "$ref": "#/components/schemas/sanityTechnologyWithRelationsEmployeesInnerTagsInner"
          },
          "sanityId": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "sanityTvCategoryDashboardsInnerBackgroundImage": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "image"
            ],
            "type": "string",
            "default": "image"
          },
          "asset": {
            "$ref": "#/components/schemas/sanityTvCategoryDashboardsInnerBackgroundImageAsset"
          }
        }
      },
      "sanityTvCategoryDashboardsInnerBackgroundImageAsset": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "sanity.imageAsset"
            ],
            "type": "string",
            "default": "sanity.imageAsset"
          },
          "mimeType": {
            "type": "string"
          },
          "originalFilename": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "slackChannelMembersData": {
        "type": "object",
        "properties": {
          "channels": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/slackChannelMembership"
            },
            "nullable": true
          },
          "managedEmails": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "dryRun": {
            "type": "boolean",
            "nullable": true
          },
          "removalMessage": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "slackChannelMembership": {
        "type": "object",
        "properties": {
          "channelId": {
            "type": "string",
            "nullable": true
          },
          "memberEmails": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "label": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "slug": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "slug"
            ],
            "type": "string",
            "default": "slug"
          },
          "current": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "systemRoleOption": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        }
      },
      "tag": {
        "type": "object",
        "properties": {
          "sanityId": {
            "type": "string"
          },
          "sanityType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          }
        }
      },
      "technology": {
        "type": "object",
        "properties": {
          "sanityId": {
            "type": "string"
          },
          "sanityType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "parent": {
            "$ref": "#/components/schemas/tag"
          }
        }
      },
      "updateProposalRequest": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "archived": {
            "type": "boolean",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "uploadPhotoRequest": {
        "type": "object",
        "properties": {
          "imageUrl": {
            "type": "string"
          }
        }
      },
      "uploadPhotoResult": {
        "type": "object",
        "properties": {
          "bytes": {
            "type": "integer",
            "format": "int64"
          }
        }
      }
    },
    "securitySchemes": {
      "Implicit": {
        "type": "oauth2",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
            "tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
            "refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
            "scopes": {
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default": "Default function scope"
            }
          }
        }
      },
      "ApiKey": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}