{
  "title": "Freelancer Project Opportunities – Budgets & Bid Changes",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "queries": {
      "title": "Project search phrases",
      "description": "Up to five independent keyword searches of public active projects.",
      "type": "array",
      "editor": "stringList",
      "items": {
        "type": "string"
      },
      "default": [
        "automation"
      ],
      "prefill": [
        "automation"
      ],
      "maxItems": 5
    },
    "itemsPerSource": {
      "title": "Projects per search",
      "description": "Fetch a bounded first page per query. Filters apply within that page; this is not exhaustive search.",
      "type": "integer",
      "default": 5,
      "prefill": 5,
      "minimum": 1,
      "maximum": 10
    },
    "projectType": {
      "title": "Project type",
      "description": "Filter the selected window; fixed budgets and hourly rates remain distinct.",
      "type": "string",
      "editor": "select",
      "enum": [
        "all",
        "fixed",
        "hourly"
      ],
      "default": "all"
    },
    "currency": {
      "title": "Currency filter",
      "description": "Optional three-letter currency code such as USD. No currency conversion or mixed-currency ranking.",
      "type": "string",
      "editor": "textfield",
      "default": ""
    },
    "maxResults": {
      "title": "Maximum saved observations",
      "description": "Bound result-event charges. A truncated output does not advance comparison history.",
      "type": "integer",
      "default": 10,
      "prefill": 10,
      "minimum": 1,
      "maximum": 50
    },
    "comparePrevious": {
      "title": "Compare with saved observations",
      "type": "boolean",
      "description": "Create a baseline on the first complete run, then compare the same source selection.",
      "default": false
    },
    "onlyChanges": {
      "title": "Save only new or changed observations",
      "type": "boolean",
      "description": "Enables comparison. Unchanged observations have no result charge.",
      "default": false
    },
    "snapshotName": {
      "title": "History name",
      "type": "string",
      "editor": "textfield",
      "default": "default",
      "description": "Use a stable name for repeated checks; avoid overlapping runs."
    },
    "maxRunSeconds": {
      "title": "Time budget (seconds)",
      "description": "Source requests stop within this budget and reserve time to save the report.",
      "type": "integer",
      "default": 90,
      "prefill": 90,
      "minimum": 30,
      "maximum": 120
    }
  },
  "required": []
}
