summaryrefslogtreecommitdiffstats
path: root/browser/components/pagedata/schemas/general.schema.json
blob: a400fd889bfe2e595ea019f8bae32eae650c55cd (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
30
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "general.schema.json",
  "title": "General",
  "description": "General data about a page",
  "type": "object",
  "properties": {
    "url": {
      "description": "The page's url",
      "type": "string"
    },
    "date": {
      "description": "The date the data was collected as a timestamp",
      "type": "number"
    },
    "description": {
      "description": "A description of the page",
      "type": "string"
    },
    "siteName": {
      "description": "A friendly name for the site",
      "type": "string"
    },
    "image": {
      "description": "The url for an image representative of the page",
      "type": "string"
    }
  },
  "required": ["url", "date"]
}