{
  "title": "Atlassian Marketplace Apps – Installs & Rating Changes",
  "type": "object",
  "schemaVersion": 1,
  "properties": {
    "query": {
      "title": "App search phrase",
      "type": "string",
      "editor": "textfield",
      "prefill": "automation",
      "description": "Search the official public Marketplace app index, for example automation, testing or security."
    },
    "application": {
      "title": "Atlassian product",
      "type": "string",
      "enum": [
        "all",
        "jira",
        "confluence"
      ],
      "enumTitles": [
        "All products",
        "Jira",
        "Confluence"
      ],
      "default": "jira",
      "editor": "select",
      "description": "Apply the official application filter. All products omits this filter."
    },
    "maxResults": {
      "title": "Maximum saved results",
      "type": "integer",
      "default": 3,
      "minimum": 1,
      "maximum": 50,
      "description": "Bound the selected observation window and paid result events."
    },
    "comparePrevious": {
      "title": "Compare with previous observations",
      "type": "boolean",
      "default": false,
      "description": "The first complete run establishes a baseline under snapshotName. Partial runs do not advance it."
    },
    "onlyChanges": {
      "title": "Save only new or changed records",
      "type": "boolean",
      "default": false,
      "description": "Enables comparison. Unchanged records are neither saved nor charged."
    },
    "snapshotName": {
      "title": "Comparison history name",
      "type": "string",
      "editor": "textfield",
      "default": "default",
      "description": "Use 1–80 letters, digits, underscores or hyphens. Keep input filters the same to compare."
    },
    "maxRunSeconds": {
      "title": "Run time budget in seconds",
      "type": "integer",
      "default": 60,
      "minimum": 30,
      "maximum": 120,
      "description": "Source requests stop within this budget; partial coverage is reported explicitly."
    }
  }
}
