﻿{
  "openapi": "3.0.0",
  "info": {
    "title": "EventManagement Public Api",
    "description": "A EventManagement Public Api",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://public-{region}.mkt.dynamics.com/",
      "description": "Production servers, make sure to select correct region first - ref to https://learn.microsoft.com/en-us/power-platform/admin/new-datacenter-regions",
      "variables": {
        "region": {
          "enum": [ "apj", "can", "che", "eur", "fra", "gbr", "ind", "jpn", "oce", "sam", "uae", "usa" ],
          "default": "usa"
        }
      }
    },
    {
      "url": "http://localhost:6501",
      "description": "Local development environment"
    }
  ],
  "tags": [
    {
      "name": "PublicApi",
      "description": "Event management public Api",
      "externalDocs": {
        "description": "Find out more",
        "url": "http://swagger.io"
      }
    }
  ],
  "paths": {
    "/api/v1.0/orgs/{organizationId}/eventmanagement/checkins": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "summary": "Creates check-in based on query parameters and redirects to redirectUri parameter",
        "operationId": "PublicApi_CheckInAndRedirect",
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The CDS organization identifier",
            "x-ms-summary": "The CDS organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "eventRegistrationId",
            "required": false,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "description": "The event registration identifier",
            "x-ms-summary": "The event registration identifier",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "sessionRegistrationId",
            "required": false,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "description": "The session registration identifier",
            "x-ms-summary": "The session registration identifier",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "redirectUri",
            "required": false,
            "schema": {
              "type": "string",
              "nullable": true
            },
            "description": "The URI to redirect to after check-in",
            "x-ms-summary": "The URI to redirect to after check-in",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "isStreamingCheckin",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": true
            },
            "description": "Whether this is a streaming check-in",
            "x-ms-summary": "Whether this is a streaming check-in",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "302": {
            "description": "RedirectResult"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      },
      "post": {
        "tags": [
          "PublicApi"
        ],
        "summary": "Creates check-in based on payload and redirects to redirectUri parameter",
        "operationId": "PublicApi_CreateCheckInAndRedirect",
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The CDS organization identifier",
            "x-ms-summary": "The CDS organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicCheckinModel"
              }
            }
          }
        },
        "responses": {
          "302": {
            "description": "RedirectResult"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/published": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEvents",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "businessUnitId",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The business unit identifier",
            "x-ms-summary": "The business unit identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "query",
            "name": "webappId",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The webapp identifier",
            "x-ms-summary": "The webapp unit identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicEventModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEvent",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicEventModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/byId/{eventId}": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventById",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "eventId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The event identifier",
            "x-ms-summary": "The event identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicEventModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/captcha": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetCaptcha",
        "security": [ { "ApiKeyAuth": [] } ],
        "deprecated": true,
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicCaptchaDataModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/custom-registration-fields": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetCustomRegistrationFields",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicCustomRegistrationFieldModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/qrcode": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventQrCode",
        "description": "The event url qr code of specified event",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "The event url qr code.",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "If the event or event url for the specified readable event ID does not exist."
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/sessions": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventSessions",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicSessionModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/tracks": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventTracks",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicSessionTrackModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/passes": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventPasses",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicPassModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/registrations": {
      "post": {
        "tags": [ "PublicApi" ],
        "operationId": "PublicApi_Register",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicRegistrationRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicRegistrationResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/registrations/count": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetRegistrationsCount",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/registrations/cancel": {
      "post": {
        "tags": [ "PublicApi" ],
        "operationId": "PublicApi_CancelRegistration",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicCancellationsRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicRegistrationResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/obmMigration/start": {
      "post": {
        "tags": [ "PublicApi" ],
        "operationId": "PublicApi_StartOBMMigration",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicOBMMigrationStartRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicOBMMigrationStartResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/obmMigration/status": {
      "get": {
        "tags": [ "PublicApi" ],
        "operationId": "PublicApi_GetOBMMigrationStatus",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicOBMMigrationStatusResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/speakers": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventSpeakers",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicSpeakerModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/sponsorships": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetEventSponsorships",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PublicSponsorshipModel"
                  }
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/sponsorships/{sponsorshipId}/logo": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetSponsorshipsLogo",
        "description": "The logo of a specified sponsorship",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "sponsorshipId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The sponsorship identifier",
            "x-ms-summary": "The sponsorship identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "The sponsorshipId's logo",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "If the sponsorship or sponsorship logo for the specified sponsorship ID does not exist."
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/events/{readableEventId}/registrations/finalize": {
      "post": {
        "tags": [ "PublicApi" ],
        "operationId": "PublicApi_FinalizeRegistration",
        "security": [ { "ApiKeyAuth": [] } ],
        "deprecated": true,
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "readableEventId",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "The readable event identifier",
            "x-ms-summary": "The readable event identifier",
            "x-example": "contoso-event-2023-01",
            "x-ms-visibility": "important"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PublicFinalizeRegistrationRequestModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicRegistrationResponseModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          },
          "501": {
            "description": "NotImplemented"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/speakers/{speakerId}/image": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetSpeakerImage",
        "description": "The image of a specified speaker",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "speakerId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The speaker's identifier",
            "x-ms-summary": "The speaker's identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "The speaker's image",
            "content": {
              "image/png": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "404": {
            "description": "If the speaker or speaker image for the specified speaker ID does not exist."
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/sessions/{sessionId}/registrations/count": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetSessionRegistrationCount",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The session's identifier",
            "x-ms-summary": "The session's identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/sessions/{sessionId}": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetSessionById",
        "security": [ { "ApiKeyAuth": [] } ],
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          },
          {
            "in": "path",
            "name": "sessionId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The session's identifier",
            "x-ms-summary": "The session's identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicSessionModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    },
    "/api/v1.0/orgs/{organizationId}/eventmanagement/users/authenticated": {
      "get": {
        "tags": [
          "PublicApi"
        ],
        "operationId": "PublicApi_GetUser",
        "security": [ { "ApiKeyAuth": [] } ],
        "deprecated": true,
        "parameters": [
          {
            "in": "path",
            "name": "organizationId",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            },
            "description": "The dataverse organization identifier",
            "x-ms-summary": "The dataverse organization identifier",
            "x-example": "e462ee51-2a34-4d2a-a288-ee1f2a511496",
            "x-ms-visibility": "important"
          }
        ],
        "responses": {
          "200": {
            "description": "OkObjectResult",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicUserModel"
                }
              }
            }
          },
          "404": {
            "description": "NotFound"
          },
          "500": {
            "description": "InternalServerError"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "emApplicationtoken"
      }
    },
    "schemas": {
      "PublicAttendeeModel": {
        "type": "object",
        "properties": {
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "passId": {
            "type": "string"
          },
          "waitlisted": {
            "type": "boolean"
          },
          "autoRegister": {
            "type": "boolean"
          },
          "responses": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicRegistrationFieldResponseModel"
            }
          },
          "attendeeSessions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicAttendeeSessionModel"
            }
          },
          "walkin": {
            "type": "boolean"
          }
        }
      },
      "PublicAttendeeSessionModel": {
        "type": "object",
        "properties": {
          "sessionId": {
            "type": "string"
          },
          "waitlisted": {
            "type": "boolean"
          },
          "walkin": {
            "type": "boolean"
          }
        }
      },
      "PublicBuildingModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "accessibleToilets": {
            "type": "boolean"
          },
          "additionalFacilities": {
            "type": "string"
          },
          "addressComposite": {
            "type": "string"
          },
          "addressLine1": {
            "type": "string"
          },
          "addressLine2": {
            "type": "string"
          },
          "addressLine3": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "disabledAccess": {
            "type": "boolean"
          },
          "disabledParking": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "postalCode": {
            "type": "string"
          },
          "publicTelephoneAvailable": {
            "type": "boolean"
          },
          "stateProvince": {
            "type": "string"
          },
          "telephone1": {
            "type": "string"
          },
          "telephone2": {
            "type": "string"
          },
          "telephone3": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "wifiAvailable": {
            "type": "boolean"
          },
          "wifiPassword": {
            "type": "string"
          },
          "wifiSSID": {
            "type": "string"
          }
        }
      },
      "PublicCaptchaDataModel": {
        "type": "object",
        "properties": {
          "FlowId": {
            "type": "string",
            "nullable": true
          },
          "HipUrl": {
            "type": "string",
            "nullable": true
          },
          "ObjectName": {
            "type": "string",
            "nullable": true
          },
          "FunctionName": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PublicCustomRegistrationFieldModel": {
        "type": "object",
        "properties": {
          "customRegistrationFieldId": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "integer"
          },
          "isRequired": {
            "type": "boolean"
          },
          "choices": {
            "type": "string"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "PublicEventModel": {
        "type": "object",
        "properties": {
          "businessUnit": {
            "type": "string",
            "nullable": true,
            "format": "uuid"
          },
          "eventId": {
            "type": "string",
            "nullable": true,
            "format": "uuid"
          },
          "allowCustomAgenda": {
            "type": "boolean"
          },
          "allowAnonymousRegistrations": {
            "type": "boolean"
          },
          "autoregisterWaitlistItems": {
            "type": "boolean"
          },
          "description": {
            "type": "string"
          },
          "enableMultiAttendeeRegistration": {
            "type": "boolean"
          },
          "endDate": {
            "type": "string"
          },
          "endDateUTC": {
            "type": "string"
          },
          "eventFormat": {
            "type": "integer",
            "nullable": true
          },
          "startDate": {
            "type": "string"
          },
          "startDateUTC": {
            "type": "string"
          },
          "timeZone": {
            "type": "integer"
          },
          "timeZoneName": {
            "type": "string"
          },
          "eventType": {
            "type": "integer",
            "nullable": true
          },
          "eventLanguage": {
            "type": "integer",
            "nullable": true
          },
          "maxCapacity": {
            "type": "integer",
            "nullable": true
          },
          "isCapacityRestricted": {
            "type": "boolean",
            "nullable": true
          },
          "eventName": {
            "type": "string"
          },
          "publicEventUrl": {
            "type": "string"
          },
          "readableEventId": {
            "type": "string"
          },
          "showAutomaticRegistrationCheckbox": {
            "type": "boolean"
          },
          "image": {
            "type": "string"
          },
          "showWaitlist": {
            "type": "boolean"
          },
          "enableCaptcha": {
            "type": "boolean"
          },
          "registrationForm": {
            "type": "string"
          },
          "setRegistrationEndDate": {
            "type": "boolean"
          },
          "stopRegistrationDate": {
            "type": "string"
          },
          "websiteMessage": {
            "type": "string"
          },
          "building": {
            "$ref": "#/components/schemas/PublicBuildingModel"
          },
          "room": {
            "$ref": "#/components/schemas/PublicRoomModel"
          }
        },
        "additionalProperties": true
      },
      "PublicFinalizeRegistrationRequestModel": {
        "type": "object",
        "properties": {
          "purchaseId": {
            "type": "string",
            "nullable": true
          },
          "userId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PublicPassModel": {
        "type": "object",
        "properties": {
          "passId": {
            "type": "string",
            "format": "uuid"
          },
          "eventId": {
            "type": "string",
            "format": "uuid"
          },
          "price": {
            "type": "number",
            "format": "decimal"
          },
          "numberOfPassesSold": {
            "type": "integer"
          },
          "numberOfPassesLeft": {
            "type": "integer"
          },
          "passName": {
            "type": "string"
          },
          "currencySymbol": {
            "type": "string"
          },
          "sessions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSessionModel"
            }
          }
        }
      },
      "PublicRegistrationsCountModel": {
        "type": "object",
        "properties": {
          "CurrentCount": {
            "type": "integer"
          }
        }
      },
      "PublicOBMMigrationStartResponseModel": {
        "type": "object",
        "properties": {}
      },
      "PublicOBMMigrationStatusResponseModel": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string"
          }
        }
      },
      "PublicRegistrationFieldResponseModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "value": {
            "type": "string",
            "x-ms-boolstring": true
          },
          "values": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PublicCheckinModel": {
        "type": "object",
        "properties": {
          "eventRegistrationId": {
            "type": "string"
          },
          "sessionRegistrationId": {
            "type": "string"
          },
          "redirectUri": {
            "type": "string"
          },
          "isStreamingCheckin": {
            "type": "boolean",
            "default": true
          }
        }
      },
      "PublicRegistrationRequestModel": {
        "type": "object",
        "required": [
          "attendees"
        ],
        "properties": {
          "attendees": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicAttendeeModel"
            }
          },
          "hipObject": {
            "type": "object"
          },
          "userId": {
            "type": "string"
          },
          "eventRegistrationSettingsId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "redirectReturnUrl": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PublicCancellationsRequestModel": {
        "type": "object",
        "properties": {
          "eventRegistrationId": {
            "type": "string"
          },
          "sessionRegistrationId": {
            "type": "string"
          },
          "hipObject": {
            "type": "object"
          },
          "userId": {
            "type": "string"
          }
        }
      },
      "PublicOBMMigrationStartRequestModel": {
        "type": "object",
        "properties": {
          "fromEventId": {
            "type": "string",
            "format": "uuid"
          },
          "toEventId": {
            "type": "string",
            "format": "uuid"
          },
          "stopExistingIfJobRunning": {
            "type": "boolean",
            "nullable": true
          },
          "bypassPlugins": {
            "type": "boolean",
            "nullable": true
          }
        }
      },
      "PublicRegistrationResponseModel": {
        "type": "object",
        "properties": {
          "errorCode": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "string",
            "nullable": true
          },
          "errorMessage": {
            "type": "string",
            "nullable": true
          },
          "Message": {
            "type": "string",
            "nullable": true
          },
          "redirectUrl": {
            "type": "string",
            "nullable": true
          },
          "purchaseId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "PublicRoomModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "disabledAccess": {
            "type": "boolean"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "PublicSessionModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "camerasPermitted": {
            "type": "integer",
            "nullable": true
          },
          "detailedDescription": {
            "type": "string"
          },
          "endTime": {
            "type": "string"
          },
          "endTimeUTC": {
            "type": "string"
          },
          "language": {
            "type": "integer",
            "nullable": true
          },
          "name": {
            "type": "string"
          },
          "recordingsPermitted": {
            "type": "integer",
            "nullable": true
          },
          "maxCapacity": {
            "type": "integer",
            "nullable": true
          },
          "registrationCount": {
            "type": "integer"
          },
          "isCapacityRestricted": {
            "type": "boolean",
            "nullable": true
          },
          "sessionFormat": {
            "type": "integer",
            "nullable": true
          },
          "sessionObjectives": {
            "type": "string"
          },
          "sessionPreRequisites": {
            "type": "string"
          },
          "sessionSummary": {
            "type": "string"
          },
          "sessionType": {
            "type": "integer",
            "nullable": true
          },
          "startTime": {
            "type": "string"
          },
          "startTimeUTC": {
            "type": "string"
          },
          "timeZone": {
            "type": "integer"
          },
          "userEligibleToRegister": {
            "type": "boolean",
            "nullable": true
          },
          "alreadyRegistered": {
            "type": "boolean",
            "nullable": true
          },
          "building": {
            "$ref": "#/components/schemas/PublicBuildingModel"
          },
          "room": {
            "$ref": "#/components/schemas/PublicRoomModel"
          },
          "speakers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSpeakerModel"
            }
          }
        },
        "additionalProperties": true
      },
      "PublicSessionTrackModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      },
      "PublicSpeakerModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "about": {
            "type": "string"
          },
          "accomplishments": {
            "type": "string"
          },
          "blog": {
            "type": "string"

          },
          "email": {
            "type": "string"
          },
          "linkedin": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "publications": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "twitter": {
            "type": "string"
          },
          "website": {
            "type": "string"
          },
          "imageUrl": {
            "type": "string"
          },
          "sessions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PublicSessionModel"
            }
          }
        }
      },
      "PublicSponsorshipModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "description": {
            "type": "string"
          },
          "sponsorshipTopic": {
            "type": "string"
          },
          "sponsorId": {
            "type": "string",
            "format": "uuid"
          },
          "sponsorName": {
            "type": "string"
          },
          "image": {
            "type": "string"
          }
        }
      },
      "PublicUserModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          },
          "lastName": {
            "type": "string"
          },
          "isAnonymous": {
            "type": "boolean"
          },
          "email": {
            "type": "string"
          }
        }
      }
    }
  }
}
