{
  "openapi": "3.0.1",
  "info": {
    "title": "Menicka Crawler",
    "description": "Gathers lunch menu information from menicka.cz",
    "version": "0.1",
    "x-build-id": "ClYZDslF7sPtpNIg5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/janbuchar~menicka-crawler/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-janbuchar-menicka-crawler",
        "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/janbuchar~menicka-crawler/runs": {
      "post": {
        "operationId": "runs-sync-janbuchar-menicka-crawler",
        "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/janbuchar~menicka-crawler/run-sync": {
      "post": {
        "operationId": "run-sync-janbuchar-menicka-crawler",
        "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": {
          "cities": {
            "title": "A list of cities to scrape",
            "type": "array",
            "description": "",
            "items": {
              "type": "string",
              "enum": [
                "babice.html",
                "banov.html",
                "benesov.html",
                "beroun.html",
                "blansko.html",
                "bohumin.html",
                "bojkovice.html",
                "borsice.html",
                "boskovice.html",
                "brandys-nad-labem.html",
                "brno.html",
                "bruntal.html",
                "breclav.html",
                "brest.html",
                "brezolupy.html",
                "buchlovice.html",
                "bucovice.html",
                "bystrice-nad-pernstejnem.html",
                "bystrice-pod-hostynem.html",
                "bzenec.html",
                "ceska-trebova.html",
                "cheb.html",
                "chocen.html",
                "chomutov.html",
                "chotebor.html",
                "chropyne.html",
                "chrudim.html",
                "caslav.html",
                "celadna.html",
                "ceska-lipa.html",
                "ceske-budejovice.html",
                "cesky-tesin.html",
                "decin.html",
                "dolni-dvur.html",
                "domazlice.html",
                "drasov.html",
                "dubnany.html",
                "dvur-kralove-nad-labem.html",
                "frenstat-pod-rad..html",
                "frydek-mistek.html",
                "frydlant-nad-ostravici.html",
                "fulnek.html",
                "halenkov.html",
                "havirov.html",
                "havlickuv-brod.html",
                "hlinsko.html",
                "hlucin.html",
                "hluk.html",
                "hodonin.html",
                "holesov.html",
                "horice.html",
                "horni-jiretin.html",
                "hradec-kralove.html",
                "hranice.html",
                "hulin.html",
                "humpolec.html",
                "hustopece.html",
                "ivancice.html",
                "jablonec-nad-nisou.html",
                "jablonne-v-podjestedi.html",
                "jicin.html",
                "jihlava.html",
                "jilemnice.html",
                "jindrichuv-hradec.html",
                "kadan.html",
                "karlovy-vary.html",
                "karvina.html",
                "kladno.html",
                "klasterec-nad-ohri.html",
                "kojetin.html",
                "kolin.html",
                "konice.html",
                "koprivnice.html",
                "kostelany-nad-moravou.html",
                "kozusice.html",
                "kralovice.html",
                "kralupy-nad-vl..html",
                "krnov.html",
                "kromeriz.html",
                "kunovice.html",
                "kunratice-u-cvikova.html",
                "kurim.html",
                "kutna-hora.html",
                "kyjov.html",
                "lanskroun.html",
                "letohrad.html",
                "letovice.html",
                "liberec.html",
                "lipnik-nad-becvou.html",
                "litomerice.html",
                "litomysl.html",
                "litovel.html",
                "litvinov.html",
                "louny.html",
                "luhacovice.html",
                "marianske-lazne.html",
                "melnik.html",
                "mikulov.html",
                "milotice.html",
                "mirotice.html",
                "mirovice.html",
                "mlada-boleslav.html",
                "mnichovo-hradiste.html",
                "mohelnice.html",
                "moravska-trebova.html",
                "moravsky-pisek.html",
                "most.html",
                "mutenice.html",
                "nachod.html",
                "napajedla.html",
                "nivnice.html",
                "nove-mesto-na-morave.html",
                "novy-bor.html",
                "novy-jicin.html",
                "nymburk.html",
                "olomouc.html",
                "opava.html",
                "orechov.html",
                "orlova.html",
                "ostrava.html",
                "ostrov.html",
                "ostrozska-nova-ves.html",
                "otrokovice.html",
                "pardubice.html",
                "pecka.html",
                "pelhrimov.html",
                "petrvald.html",
                "pisek.html",
                "plzen.html",
                "podebrady.html",
                "polesovice.html",
                "prachatice.html",
                "praha-1.html",
                "praha-2.html",
                "praha-3.html",
                "praha-4.html",
                "praha-5.html",
                "praha-6.html",
                "praha-7.html",
                "praha-8.html",
                "praha-9.html",
                "praha-10.html",
                "prelouc.html",
                "prerov.html",
                "pribor.html",
                "pribram.html",
                "prostejov.html",
                "rakovnik.html",
                "ratiskovice.html",
                "rohatec.html",
                "rokycany.html",
                "roudnice-nad-labem.html",
                "roznov-pod-radhostem.html",
                "rychnov-nad-kneznou.html",
                "rymarov.html",
                "sedlcany.html",
                "skutec.html",
                "slavicin.html",
                "slavkov.html",
                "slavkov-u-brna.html",
                "sokolov.html",
                "spytihnev.html",
                "stare-mesto-u-uh.html",
                "strakonice.html",
                "straznice.html",
                "svatoborice.html",
                "svitavy.html",
                "sardice.html",
                "sternberk.html",
                "tabor.html",
                "tachov.html",
                "tanvald.html",
                "teplice.html",
                "topolna.html",
                "trebic.html",
                "trinec.html",
                "trutnov.html",
                "turnov.html",
                "uherske-hradiste.html",
                "uhersky-brod.html",
                "uhersky-ostroh.html",
                "unicov.html",
                "usti-nad-labem.html",
                "usti-nad-orlici.html",
                "valasske-klobouky.html",
                "valasske-mezirici.html",
                "valtice.html",
                "varnsdorf.html",
                "velka-bites.html",
                "velke-karlovice.html",
                "veseli-nad-moravou.html",
                "vizovice.html",
                "vlasim.html",
                "vracov.html",
                "vrchlabi.html",
                "vsetin.html",
                "vyskov.html",
                "vysoke-myto.html",
                "vysoke-nad-jizerou.html",
                "zajeci.html",
                "zlin.html",
                "znojmo.html",
                "zacler.html",
                "zatec.html",
                "zdanice.html",
                "zdar-nad-sazavou.html"
              ]
            },
            "default": [
              "praha-1.html"
            ]
          },
          "distanceAddress": {
            "title": "Address for determining restaurant distance",
            "type": "string",
            "description": "Address for determining restaurant distance"
          },
          "googleMapsApiToken": {
            "title": "Google maps API token",
            "type": "string",
            "description": "Used for calculating restaurant distance. The token has to have the Directions and Places APIs enabled"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}