{
  "openapi": "3.0.1",
  "info": {
    "title": "Job Board Market Demand Analyzer",
    "description": "Aggregate buyer-authorized job-board observations into privacy-bounded sample demand metrics.",
    "version": "0.1",
    "x-build-id": "mgIVvNeLxHJTakoeh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/zinin~job-board-market-demand-analyzer/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-zinin-job-board-market-demand-analyzer",
        "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/zinin~job-board-market-demand-analyzer/runs": {
      "post": {
        "operationId": "runs-sync-zinin-job-board-market-demand-analyzer",
        "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/zinin~job-board-market-demand-analyzer/run-sync": {
      "post": {
        "operationId": "run-sync-zinin-job-board-market-demand-analyzer",
        "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",
        "required": [
          "schemaVersion",
          "analysisId",
          "sampleCompleteness",
          "observations"
        ],
        "properties": {
          "schemaVersion": {
            "title": "Contract version",
            "enum": [
              "1.0"
            ],
            "type": "string",
            "description": "Use the current aggregate-report contract.",
            "default": "1.0"
          },
          "analysisId": {
            "title": "Analysis ID",
            "pattern": "^[A-Za-z0-9][A-Za-z0-9._:-]{0,63}$",
            "minLength": 1,
            "maxLength": 64,
            "type": "string",
            "description": "Stable buyer-defined identifier for this supplied sample."
          },
          "sampleCompleteness": {
            "title": "Sample completeness",
            "enum": [
              "COMPLETE_SOURCE",
              "BOUNDED_OR_PARTIAL_SAMPLE"
            ],
            "type": "string",
            "description": "Declare whether the rows are the complete source snapshot or a bounded/partial sample.",
            "default": "BOUNDED_OR_PARTIAL_SAMPLE"
          },
          "observations": {
            "title": "Authorized job observations",
            "minItems": 3,
            "maxItems": 500,
            "type": "array",
            "description": "Supply 3–500 closed factual rows. Duplicate source-board/job-ID pairs reject the whole input.",
            "items": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "sourceBoard",
                "sourceJobId",
                "title",
                "location",
                "postedAt"
              ],
              "properties": {
                "sourceBoard": {
                  "title": "Source board",
                  "description": "Literal board provenance label; no affiliation is implied.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "sourceJobId": {
                  "title": "Source job ID",
                  "description": "Stable identifier supplied by the source board; it is used for deduplication and never returned.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 160
                },
                "title": {
                  "title": "Job title",
                  "description": "Literal source title used only inside aggregate processing and never returned.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 300
                },
                "company": {
                  "title": "Company",
                  "description": "Optional literal company label used only inside processing and never returned.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "location": {
                  "title": "Location",
                  "description": "Literal source location used for exact normalized grouping.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 200
                },
                "category": {
                  "title": "Provided category",
                  "description": "Optional buyer/source category; the Actor does not infer one.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 120
                },
                "employmentType": {
                  "title": "Employment type",
                  "description": "Optional buyer/source employment type; the Actor does not infer one.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 80
                },
                "remote": {
                  "title": "Remote",
                  "description": "Optional exact source remote flag; titles are not interpreted.",
                  "type": "boolean"
                },
                "salaryMin": {
                  "title": "Salary minimum",
                  "description": "Optional range minimum; all four salary fields must be supplied together.",
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "salaryMax": {
                  "title": "Salary maximum",
                  "description": "Optional range maximum in the exact supplied currency and period.",
                  "type": "number",
                  "minimum": 0,
                  "maximum": 1000000000000
                },
                "salaryCurrency": {
                  "title": "Salary currency",
                  "description": "Optional exact three-letter currency code; no conversion occurs.",
                  "type": "string",
                  "pattern": "^[A-Za-z]{3}$"
                },
                "salaryPeriod": {
                  "title": "Salary period",
                  "description": "Optional literal period label; no unit conversion occurs.",
                  "type": "string",
                  "minLength": 1,
                  "maxLength": 32
                },
                "postedAt": {
                  "title": "Posted at",
                  "description": "Exact UTC RFC 3339 source timestamp.",
                  "type": "string",
                  "minLength": 20,
                  "maxLength": 24,
                  "pattern": "^(?!0000)\\d{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[12]\\d|3[01])T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d{1,3})?Z$"
                }
              }
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}