summaryrefslogtreecommitdiffstats
path: root/toolkit/components/shopping/schemas/analysis_status_response.schema.json
blob: bb116280de5290c6d158344a43c149d99b2bf68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "chrome://global/content/shopping/analysis_status_response.schema.json",
  "title": "Analysis Status response",
  "type": "object",
  "properties": {
    "status": {
      "description": "Current Analysis status",
      "type": "string",
      "examples": [
        "not_found",
        "pending",
        "in_progress",
        "completed",
        "not_analyzable",
        "unprocessable",
        "page_not_supported",
        "not_enough_reviews",
        "stale"
      ]
    },
    "progress": {
      "description": "Current Analysis progress 0.0..100.0",
      "type": "number",
      "examples": [10.0]
    }
  },
  "required": ["status", "progress"]
}