{
  "openapi": "3.0.1",
  "info": {
    "title": "Events API",
    "description": "Events and notifications service",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://events.api.test.snokam.no"
    }
  ],
  "paths": {
    "/v1.0/public": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets events",
        "description": "Retrieves events within a date range.",
        "operationId": "PublicEvents",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "The start date for the events",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-ms-summary": "Start date"
          },
          {
            "name": "to",
            "in": "query",
            "description": "The end date for the events",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-ms-summary": "End date"
          },
          {
            "name": "token",
            "in": "query",
            "description": "Bypass token",
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "Token"
          }
        ],
        "responses": {
          "200": {
            "description": "Events retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/event"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "400": {
            "description": "Invalid query parameters",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/badRequestResult"
                }
              }
            },
            "x-ms-summary": "Bad Request"
          }
        }
      }
    },
    "/v1.0/public/{eventIdOrSlug}": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets an event by slug or id",
        "description": "Retrieves an event by its slug or id.",
        "operationId": "PublicEvent",
        "parameters": [
          {
            "name": "eventIdOrSlug",
            "in": "path",
            "description": "The slug or id of the event to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the event"
          },
          {
            "name": "token",
            "in": "query",
            "description": "Guest participation token; grants read access to a non-public event",
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "Participant token"
          }
        ],
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Event not found",
            "x-ms-summary": "Not Found"
          }
        }
      }
    },
    "/v1.0/public/random-event": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets random event",
        "description": "Retrieves random event",
        "operationId": "GetPublicRandomEvent",
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          }
        }
      }
    },
    "/v1.0/public/ongoing-event": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets ongoing event",
        "description": "Retrieves ongoing event",
        "operationId": "GetPublicOngoingEvent",
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "204": {
            "description": "No ongoing events",
            "x-ms-summary": "Not content"
          }
        }
      }
    },
    "/v1.0/public/ongoing-events": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets ongoing events",
        "description": "Retrieves ongoing events",
        "operationId": "GetPublicOngoingEvents",
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/event"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "204": {
            "description": "No ongoing events",
            "x-ms-summary": "Not content"
          }
        }
      }
    },
    "/v1.0/public/{eventId}/add-guest-feedback": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Add guest feedback",
        "description": "Adds guest event feedback",
        "operationId": "AddGuestFeedback",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Event data to patch",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/addGuestGeedback"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Event feedback sent successfully",
            "x-ms-summary": "Success"
          }
        }
      }
    },
    "/v1.0/public/get-guest-events-pending-feedback": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets guest events pending feedback",
        "description": "Gets guest events pending feedback",
        "operationId": "GetGuestEventsPendingFeedback",
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "description": "Participation token",
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "Token"
          }
        ],
        "responses": {
          "200": {
            "description": "Event feedback sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/event"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          }
        ]
      }
    },
    "/v1.0/public/{eventId}/memories": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Upload my memories to an event",
        "description": "Upload my memories to an event",
        "operationId": "UploadGuestMemories",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The id of the event to upload memories to",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The id of the event"
          }
        ],
        "requestBody": {
          "description": "Event data to patch",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sanityCreateMemory"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Memories uploaded sent successfully",
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          }
        ]
      }
    },
    "/v1.0/public/blob-storage": {
      "get": {
        "tags": [
          "Tokens"
        ],
        "summary": "Gets blob storage and creates sas token",
        "description": "Generates a sas token for use to upload image and video memories to azure blob storage",
        "operationId": "GetBlobStorage",
        "responses": {
          "200": {
            "description": "Generated token",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/azureBlobStorageCredentials"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        }
      }
    },
    "/v1.0/public/{eventId}/participate": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Participates in an event",
        "description": "Registers participation in an event.",
        "operationId": "Participate",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Participation data",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/participate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Participation registered successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/participant"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        }
      },
      "delete": {
        "tags": [
          "Events"
        ],
        "summary": "Removes participation",
        "description": "Removes participation from an event.",
        "operationId": "RemoveParticipation",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Data to remove participation",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/removeParticipation"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Participation removed successfully",
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        }
      }
    },
    "/v1.0/public/instagram/feed": {
      "get": {
        "tags": [
          "Instagram"
        ],
        "summary": "Gets Instagram feed",
        "description": "Retrieves the public Instagram feed (media posts). Cached for 1 hour.",
        "operationId": "GetPublicInstagramFeed",
        "responses": {
          "200": {
            "description": "Instagram feed retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/instagramFeedResponse"
                }
              }
            },
            "x-ms-summary": "Success"
          }
        }
      }
    },
    "/v1.0/protected": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets events",
        "description": "Retrieves events within a date range.",
        "operationId": "ProtectedEvents",
        "parameters": [
          {
            "name": "from",
            "in": "query",
            "description": "The start date for the events",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-ms-summary": "Start date"
          },
          {
            "name": "to",
            "in": "query",
            "description": "The end date for the events",
            "schema": {
              "type": "string",
              "format": "date-time"
            },
            "x-ms-summary": "End date"
          }
        ],
        "responses": {
          "200": {
            "description": "Events retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/event"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "400": {
            "description": "Invalid query parameters",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/badRequestResult"
                }
              }
            },
            "x-ms-summary": "Bad Request"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Creates an event",
        "description": "Creates a new event.",
        "operationId": "Create",
        "requestBody": {
          "description": "Event data to create",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/createEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Event created successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/sanityEvent"
                }
              }
            },
            "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/{eventIdOrSlug}": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets an event by slug or id",
        "description": "Retrieves an event by its slug or id.",
        "operationId": "ProtectedEvent",
        "parameters": [
          {
            "name": "eventIdOrSlug",
            "in": "path",
            "description": "The slug or id of the event to retrieve",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the event"
          }
        ],
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Event not found",
            "x-ms-summary": "Not Found"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "patch": {
        "tags": [
          "Events"
        ],
        "summary": "Patches an event",
        "description": "Patches an existing event.",
        "operationId": "PatchMyEvent",
        "parameters": [
          {
            "name": "eventIdOrSlug",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Event data to patch",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/patchEvent"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Event patched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "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/random-event": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets random event",
        "description": "Retrieves random event",
        "operationId": "GetProtectedRandomEvent",
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/ongoing-event": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets ongoing event",
        "description": "Retrieves ongoing event",
        "operationId": "GetProtectedOngoingEvent",
        "responses": {
          "200": {
            "description": "Event retrieved successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "204": {
            "description": "No ongoing events",
            "x-ms-summary": "Not content"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{eventIdOrSlug}/invitation-preview": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Preview invitation recipients",
        "description": "Returns the list of subscriber emails that would receive an invitation for the given event type. Does not send any email.",
        "operationId": "GetInvitationPreview",
        "parameters": [
          {
            "name": "eventIdOrSlug",
            "in": "path",
            "description": "The slug or id of the event (for route consistency)",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the event"
          },
          {
            "name": "eventTypeId",
            "in": "query",
            "description": "The ID of the event type to preview subscribers for",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The event type ID"
          }
        ],
        "responses": {
          "200": {
            "description": "List of subscriber emails",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/invitationPreviewResponse"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "400": {
            "description": "Event type ID is required",
            "x-ms-summary": "Bad Request"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{eventIdOrSlug}/send-invitations": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Sends email invitations",
        "description": "Sends email invitations to subscribers of the specified event type and marks invitationSent as true. Cannot be called if invitations have already been sent.",
        "operationId": "SendInvitations",
        "parameters": [
          {
            "name": "eventIdOrSlug",
            "in": "path",
            "description": "The slug or id of the event to send invitations for",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The slug or id of the event"
          },
          {
            "name": "eventTypeId",
            "in": "query",
            "description": "The ID of the event type to send invitations to subscribers of",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The event type ID"
          }
        ],
        "responses": {
          "200": {
            "description": "Invitations sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "400": {
            "description": "No subscribers found for event type, or invitations have already been sent",
            "x-ms-summary": "Bad Request"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          },
          "404": {
            "description": "Event not found",
            "x-ms-summary": "Not Found"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{eventId}/add-my-feedback": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Add my feedback",
        "description": "Adds my event feedback",
        "operationId": "AddMyFeedback",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Event data to patch",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/addEmployeeFeedback"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Event feedback sent successfully",
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/get-my-events-pending-feedback": {
      "get": {
        "tags": [
          "Events"
        ],
        "summary": "Gets events pending feedback",
        "description": "Gets events pending feedback",
        "operationId": "GetMyEventsPendingFeedback",
        "responses": {
          "200": {
            "description": "Event feedback sent successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/event"
                  }
                }
              }
            },
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/health/{provider}": {
      "get": {
        "tags": [
          "Health"
        ],
        "summary": "Checks an integration's connectivity",
        "operationId": "EventsIntegrationHealth",
        "parameters": [
          {
            "name": "provider",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Health result",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/integrationHealthResult"
                }
              }
            }
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{eventId}/memories/{memoryKey}": {
      "patch": {
        "tags": [
          "Events"
        ],
        "summary": "Reviews media",
        "description": "Approves or rejects a memory.",
        "operationId": "ReviewUploadedMemory",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The id of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The id of the event"
          },
          {
            "name": "memoryKey",
            "in": "path",
            "description": "The key of the memory to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The key of the memory"
          }
        ],
        "requestBody": {
          "description": "Review data",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/patchEventMemory"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Event patched successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/event"
                }
              }
            },
            "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/{eventId}/memories": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Upload my memories to an event",
        "description": "Upload my memories to an event",
        "operationId": "UploadMyMemories",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The id of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The id of the event"
          }
        ],
        "requestBody": {
          "description": "Event data to patch",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/sanityCreateMemory"
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Memories uploaded sent successfully",
            "x-ms-summary": "Success"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    },
    "/v1.0/protected/{eventId}/participate": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Participates in an event",
        "description": "Registers participation in an event.",
        "operationId": "AddMyParticipation",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "responses": {
          "200": {
            "description": "Participation registered successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/participant"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      },
      "delete": {
        "tags": [
          "Events"
        ],
        "summary": "Removes participation",
        "description": "Removes participation from an event.",
        "operationId": "RemoveMyParticipation",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event to patch",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "responses": {
          "200": {
            "description": "Participation removed successfully",
            "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/{eventId}/participate/employee": {
      "post": {
        "tags": [
          "Events"
        ],
        "summary": "Registers an employee as participant",
        "description": "Registers a specific employee as an internal participant in an event. Requires authentication.",
        "operationId": "AddParticipationForEmployee",
        "parameters": [
          {
            "name": "eventId",
            "in": "path",
            "description": "The ID of the event",
            "required": true,
            "schema": {
              "type": "string"
            },
            "x-ms-summary": "The ID of the event"
          }
        ],
        "requestBody": {
          "description": "Employee participation data",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/participateEmployee"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Participation registered successfully",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/participant"
                }
              }
            },
            "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/instagram": {
      "post": {
        "tags": [
          "Social Media"
        ],
        "summary": "Posts images to Instagram",
        "description": "Posts images to Instagram.",
        "operationId": "PostToInstagram",
        "requestBody": {
          "description": "Data to post images to Instagram",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/postToInstagram"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Images posted to Instagram successfully",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "x-ms-summary": "Success"
          },
          "401": {
            "description": "User is not authorized",
            "x-ms-summary": "Unauthorized"
          }
        },
        "security": [
          {
            "Implicit": [
              "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
            ]
          },
          {
            "ApiKey": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "addEmployeeFeedback": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "response"
            ],
            "type": "string",
            "default": "response"
          },
          "comment": {
            "type": "string"
          },
          "foodAndDrinkRating": {
            "type": "number",
            "format": "double"
          },
          "locationRating": {
            "type": "number",
            "format": "double"
          },
          "organizationRating": {
            "type": "number",
            "format": "double"
          },
          "overallRating": {
            "type": "number",
            "format": "double"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "addGuestGeedback": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "response"
            ],
            "type": "string",
            "default": "response"
          },
          "comment": {
            "type": "string"
          },
          "foodAndDrinkRating": {
            "type": "number",
            "format": "double"
          },
          "locationRating": {
            "type": "number",
            "format": "double"
          },
          "organizationRating": {
            "type": "number",
            "format": "double"
          },
          "overallRating": {
            "type": "number",
            "format": "double"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "azureBlobStorageCredentials": {
        "type": "object",
        "properties": {
          "blobUrl": {
            "type": "string"
          },
          "sasToken": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "badRequestResult": {
        "type": "object",
        "properties": {
          "statusCode": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "componentMedia": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "component.media"
            ],
            "type": "string",
            "default": "component.media"
          },
          "type": {
            "enum": [
              "image",
              "video"
            ],
            "type": "string",
            "default": "image"
          },
          "image": {
            "$ref": "#/components/schemas/componentMediaImage"
          },
          "video": {
            "$ref": "#/components/schemas/muxVideo"
          }
        }
      },
      "componentMediaImage": {
        "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"
          }
        }
      },
      "createEvent": {
        "type": "object",
        "properties": {
          "status": {
            "enum": [
              "active",
              "cancelled"
            ],
            "type": "string",
            "default": "active"
          },
          "dates": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "date-time"
            },
            "nullable": true
          },
          "file": {
            "$ref": "#/components/schemas/createEventFile"
          },
          "sanityType": {
            "enum": [
              "event"
            ],
            "type": "string",
            "default": "event"
          },
          "allowDigitalParticipation": {
            "type": "boolean"
          },
          "askForFeedback": {
            "type": "boolean"
          },
          "category": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creator": {
            "$ref": "#/components/schemas/employeeReference"
          },
          "description": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "eventType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
            }
          },
          "feedback": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
            }
          },
          "invitationSent": {
            "type": "boolean"
          },
          "isServingFood": {
            "type": "boolean"
          },
          "linkOnly": {
            "type": "boolean"
          },
          "manualMemoriesApproval": {
            "type": "boolean"
          },
          "maxParticipants": {
            "type": "number",
            "format": "double"
          },
          "media": {
            "$ref": "#/components/schemas/componentMedia"
          },
          "memories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
            }
          },
          "participants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
            }
          },
          "participationStart": {
            "type": "string"
          },
          "place": {
            "type": "string"
          },
          "public": {
            "type": "boolean"
          },
          "recurringId": {
            "type": "string"
          },
          "slackTs": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "teamsLink": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "createEventFile": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "filename": {
            "type": "string",
            "nullable": true
          }
        },
        "nullable": true
      },
      "employeeReference": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "event": {
        "required": [
          "sanityId",
          "sanityType",
          "sanityRev",
          "sanityCreatedAt",
          "sanityUpdatedAt",
          "creator",
          "title",
          "slug",
          "description",
          "eventTypes",
          "time"
        ],
        "type": "object",
        "properties": {
          "sanityId": {
            "minLength": 1,
            "type": "string"
          },
          "sanityType": {
            "minLength": 1,
            "type": "string"
          },
          "sanityRev": {
            "minLength": 1,
            "type": "string"
          },
          "sanityCreatedAt": {
            "minLength": 1,
            "type": "string"
          },
          "sanityUpdatedAt": {
            "minLength": 1,
            "type": "string"
          },
          "creator": {
            "$ref": "#/components/schemas/sanityOrderEmployee"
          },
          "participants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/participant"
            }
          },
          "memories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventMemoriesInner"
            }
          },
          "media": {
            "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
          },
          "unapprovedMediaCount": {
            "type": "integer",
            "format": "int32"
          },
          "recurringId": {
            "type": "string"
          },
          "public": {
            "type": "boolean"
          },
          "linkOnly": {
            "type": "boolean"
          },
          "status": {
            "type": "string"
          },
          "askForFeedback": {
            "type": "boolean"
          },
          "title": {
            "minLength": 1,
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "description": {
            "minLength": 1,
            "type": "string"
          },
          "isServingFood": {
            "type": "boolean",
            "nullable": true
          },
          "eventTypes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/eventType"
            }
          },
          "endTime": {
            "type": "string"
          },
          "place": {
            "type": "string"
          },
          "maxParticipants": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "time": {
            "minLength": 1,
            "type": "string"
          },
          "participationStart": {
            "type": "string"
          },
          "manualMemoriesApproval": {
            "type": "boolean"
          },
          "feedback": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventFeedbackInner"
            }
          },
          "invitationSent": {
            "type": "boolean",
            "nullable": true
          },
          "allowDigitalParticipation": {
            "type": "boolean",
            "nullable": true
          },
          "teamsLink": {
            "type": "string"
          }
        }
      },
      "eventType": {
        "type": "object",
        "properties": {
          "sanityId": {
            "type": "string"
          },
          "sanityType": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "canSubscribe": {
            "type": "boolean"
          }
        }
      },
      "image": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "tags": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/tag"
            }
          }
        }
      },
      "instagramFeedResponse": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "profileUrl": {
            "type": "string"
          },
          "profilePictureUrl": {
            "type": "string"
          },
          "mediaCount": {
            "type": "integer",
            "format": "int32"
          },
          "followersCount": {
            "type": "integer",
            "format": "int32"
          },
          "followsCount": {
            "type": "integer",
            "format": "int32"
          },
          "media": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/instagramMedia"
            }
          }
        }
      },
      "instagramMedia": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "caption": {
            "type": "string"
          },
          "mediaType": {
            "type": "string"
          },
          "mediaUrl": {
            "type": "string"
          },
          "thumbnailUrl": {
            "type": "string"
          },
          "permalink": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          }
        }
      },
      "integrationHealthResult": {
        "type": "object",
        "properties": {
          "key": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "invitationPreviewResponse": {
        "type": "object",
        "properties": {
          "emails": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "muxVideo": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "mux.video"
            ],
            "type": "string",
            "default": "mux.video"
          },
          "asset": {
            "$ref": "#/components/schemas/muxVideoAssetReference"
          }
        }
      },
      "muxVideoAssetReference": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "participant": {
        "required": [
          "sanityKey",
          "sanityType",
          "name",
          "email",
          "token",
          "feedbackSubmitted"
        ],
        "type": "object",
        "properties": {
          "sanityKey": {
            "minLength": 1,
            "type": "string"
          },
          "sanityType": {
            "minLength": 1,
            "type": "string"
          },
          "image": {
            "type": "string"
          },
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "registered": {
            "type": "string"
          },
          "details": {
            "type": "string"
          },
          "token": {
            "minLength": 1,
            "type": "string"
          },
          "feedbackSubmitted": {
            "type": "boolean"
          }
        }
      },
      "participate": {
        "required": [
          "name",
          "email"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "details": {
            "type": "string"
          }
        }
      },
      "participateEmployee": {
        "required": [
          "email"
        ],
        "type": "object",
        "properties": {
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "details": {
            "type": "string"
          }
        }
      },
      "patchEvent": {
        "type": "object",
        "properties": {
          "file": {
            "$ref": "#/components/schemas/createEventFile"
          },
          "invitationSent": {
            "type": "boolean",
            "nullable": true
          },
          "sanityType": {
            "enum": [
              "event"
            ],
            "type": "string",
            "default": "event",
            "nullable": true
          },
          "status": {
            "enum": [
              "active",
              "cancelled"
            ],
            "type": "string",
            "default": "active",
            "nullable": true
          },
          "allowDigitalParticipation": {
            "type": "boolean",
            "nullable": true
          },
          "askForFeedback": {
            "type": "boolean",
            "nullable": true
          },
          "category": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creator": {
            "$ref": "#/components/schemas/employeeReference"
          },
          "description": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "eventType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventEventTypeInner"
            }
          },
          "feedback": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventFeedbackInner"
            }
          },
          "isServingFood": {
            "type": "boolean",
            "nullable": true
          },
          "linkOnly": {
            "type": "boolean",
            "nullable": true
          },
          "manualMemoriesApproval": {
            "type": "boolean",
            "nullable": true
          },
          "maxParticipants": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "media": {
            "$ref": "#/components/schemas/componentMedia"
          },
          "memories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventMemoriesInner"
            }
          },
          "participants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityCreateEventParticipantsInner"
            }
          },
          "participationStart": {
            "type": "string"
          },
          "place": {
            "type": "string"
          },
          "public": {
            "type": "boolean",
            "nullable": true
          },
          "recurringId": {
            "type": "string"
          },
          "slackTs": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "teamsLink": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "patchEventMemory": {
        "type": "object",
        "properties": {
          "approved": {
            "type": "boolean"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "postToInstagram": {
        "required": [
          "eventId"
        ],
        "type": "object",
        "properties": {
          "eventId": {
            "minLength": 1,
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "images": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/image"
            }
          }
        }
      },
      "removeParticipation": {
        "required": [
          "token"
        ],
        "type": "object",
        "properties": {
          "token": {
            "minLength": 1,
            "type": "string"
          }
        }
      },
      "sanityCreateEventEventTypeInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "reference"
            ],
            "type": "string",
            "default": "reference"
          },
          "sanityKey": {
            "type": "string"
          },
          "sanityRef": {
            "type": "string"
          },
          "sanityWeak": {
            "type": "boolean"
          }
        }
      },
      "sanityCreateEventFeedbackInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "response"
            ],
            "type": "string",
            "default": "response"
          },
          "comment": {
            "type": "string"
          },
          "foodAndDrinkRating": {
            "type": "number",
            "format": "double"
          },
          "locationRating": {
            "type": "number",
            "format": "double"
          },
          "organizationRating": {
            "type": "number",
            "format": "double"
          },
          "overallRating": {
            "type": "number",
            "format": "double"
          },
          "sanityKey": {
            "type": "string"
          }
        }
      },
      "sanityCreateEventMemoriesInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "sanityCreateEventParticipantsInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "sanityCreateMemory": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "memory.image",
              "memory.video"
            ],
            "type": "string",
            "default": "memory.image"
          },
          "filename": {
            "type": "string"
          },
          "mediaUrl": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "object",
            "additionalProperties": {
              "type": "object"
            }
          }
        }
      },
      "sanityEvent": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "event"
            ],
            "type": "string",
            "default": "event"
          },
          "status": {
            "enum": [
              "active",
              "cancelled"
            ],
            "type": "string",
            "default": "active"
          },
          "allowDigitalParticipation": {
            "type": "boolean"
          },
          "askForFeedback": {
            "type": "boolean"
          },
          "category": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "creator": {
            "$ref": "#/components/schemas/sanityOrderEmployee"
          },
          "description": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "eventType": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventEventTypeInner"
            }
          },
          "feedback": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventFeedbackInner"
            }
          },
          "invitationSent": {
            "type": "boolean"
          },
          "isServingFood": {
            "type": "boolean"
          },
          "linkOnly": {
            "type": "boolean"
          },
          "manualMemoriesApproval": {
            "type": "boolean"
          },
          "maxParticipants": {
            "type": "number",
            "format": "double"
          },
          "media": {
            "$ref": "#/components/schemas/sanityTechnologyWithRelationsArticlesInnerMedia"
          },
          "memories": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventMemoriesInner"
            }
          },
          "participants": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/sanityEventParticipantsInner"
            }
          },
          "participationStart": {
            "type": "string"
          },
          "place": {
            "type": "string"
          },
          "public": {
            "type": "boolean"
          },
          "recurringId": {
            "type": "string"
          },
          "sanityCreatedAt": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "sanityRev": {
            "type": "string"
          },
          "sanityUpdatedAt": {
            "type": "string"
          },
          "slackTs": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          },
          "teamsLink": {
            "type": "string"
          },
          "time": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        }
      },
      "sanityEventEventTypeInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "eventType"
            ],
            "type": "string",
            "default": "eventType"
          },
          "canSubscribe": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          },
          "sanityId": {
            "type": "string"
          },
          "slug": {
            "$ref": "#/components/schemas/slug"
          }
        }
      },
      "sanityEventFeedbackInner": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "response"
            ],
            "type": "string",
            "default": "response"
          },
          "comment": {
            "type": "string"
          },
          "foodAndDrinkRating": {
            "type": "number",
            "format": "double"
          },
          "locationRating": {
            "type": "number",
            "format": "double"
          },
          "organizationRating": {
            "type": "number",
            "format": "double"
          },
          "overallRating": {
            "type": "number",
            "format": "double"
          },
          "sanityKey": {
            "type": "string"
          }
        }
      },
      "sanityEventMemoriesInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "sanityEventParticipantsInner": {
        "type": "object",
        "properties": {
          "actualInstance": {
            "type": "object"
          },
          "isNullable": {
            "type": "boolean"
          },
          "schemaType": {
            "type": "string"
          }
        }
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "sanityTechnologyWithRelationsArticlesInnerMedia": {
        "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"
          }
        }
      },
      "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"
          }
        }
      },
      "slug": {
        "type": "object",
        "properties": {
          "sanityType": {
            "enum": [
              "slug"
            ],
            "type": "string",
            "default": "slug"
          },
          "current": {
            "type": "string"
          },
          "source": {
            "type": "string"
          }
        }
      },
      "tag": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "x": {
            "type": "number",
            "format": "float"
          },
          "y": {
            "type": "number",
            "format": "float"
          }
        }
      }
    },
    "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"
      }
    }
  }
}