{
  "openapi": "3.0.1",
  "info": {
    "title": "GCC Trade Show Calendar: Abu Dhabi, Riyadh, Muscat",
    "description": "Gulf trade shows and exhibitions calendar from official venue sites: ADNEC Abu Dhabi (UAE), Riyadh Front RFECC (Saudi Arabia) and OCEC Muscat (Oman). Arabic and English event names, dates, organiser, sector and event website. Change-only mode.",
    "version": "0.1",
    "x-build-id": "mZzXXgedi46nJkMwh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maliksaid~gcc-trade-show-calendar/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maliksaid-gcc-trade-show-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/maliksaid~gcc-trade-show-calendar/runs": {
      "post": {
        "operationId": "runs-sync-maliksaid-gcc-trade-show-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/maliksaid~gcc-trade-show-calendar/run-sync": {
      "post": {
        "operationId": "run-sync-maliksaid-gcc-trade-show-calendar",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "venues": {
            "title": "Venues",
            "type": "array",
            "description": "Exhibition centres to read. Leave empty to read all three: ADNEC Centre Abu Dhabi (UAE), Riyadh Front Exhibition & Conference Center (Saudi Arabia) and Oman Convention & Exhibition Centre (Oman).",
            "items": {
              "type": "string",
              "enum": [
                "adnec",
                "rfecc",
                "ocec"
              ],
              "enumTitles": [
                "ADNEC Centre Abu Dhabi, UAE",
                "Riyadh Front (RFECC), Saudi Arabia",
                "Oman Convention & Exhibition Centre (OCEC), Muscat"
              ]
            },
            "default": []
          },
          "fromDate": {
            "title": "Events ending on or after",
            "type": "string",
            "description": "Keep events that end on or after this date (yyyy-mm-dd). Leave empty for today. Past events go back about one year.",
            "default": ""
          },
          "toDate": {
            "title": "Events starting on or before",
            "type": "string",
            "description": "Keep events that start on or before this date (yyyy-mm-dd). Leave empty for no end.",
            "default": ""
          },
          "startsWithinDays": {
            "title": "Starts within N days",
            "minimum": 0,
            "type": "integer",
            "description": "Keep events that start within this many days from today. 0 means no limit.",
            "default": 0
          },
          "sectors": {
            "title": "Sectors",
            "type": "array",
            "description": "Keep only events in these sectors. The sector comes from the event name. Leave empty for all sectors.",
            "items": {
              "type": "string",
              "enum": [
                "Energy and Utilities",
                "Water and Environment",
                "Healthcare and Life Sciences",
                "Food, Agriculture and Fisheries",
                "Hospitality and Tourism",
                "Construction and Real Estate",
                "Technology and Telecom",
                "Defence and Security",
                "Transport and Logistics",
                "Manufacturing and Industry",
                "Finance and Investment",
                "Education and Careers",
                "Beauty, Fashion and Jewellery",
                "Sport and Leisure",
                "Government and Public Sector",
                "Arts, Culture and Media",
                "Other"
              ]
            },
            "default": []
          },
          "includeEntertainment": {
            "title": "Include concerts, sport and private events",
            "type": "boolean",
            "description": "By default the Actor returns trade shows, exhibitions, conferences and forums only. Turn this on to also get concerts, comedy shows, sport events, graduations and weddings.",
            "default": false
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep only events whose name, organiser, type or sector contains at least one keyword. English keywords match whole words. Arabic keywords match anywhere in a word. Leave empty to keep every event.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "changeOnly": {
            "title": "Change-only mode (new and changed events)",
            "type": "boolean",
            "description": "Return only events that are new, or whose name, dates, organiser, type, hall or website changed since the last change-only run with the same state key. Schedule the Actor weekly with this on to get a feed of calendar changes.",
            "default": false
          },
          "stateKey": {
            "title": "Change-only state key",
            "type": "string",
            "description": "Name of the memory that change-only mode uses. Use a different key for each separate watch list.",
            "default": "default"
          },
          "maxItems": {
            "title": "Maximum events",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after saving this many events. Set 0 for no limit. A full calendar is about 60 to 100 events.",
            "default": 100
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}