summaryrefslogtreecommitdiffstats
path: root/browser/components/backup/content/BackupManifest.1.schema.json
blob: 51418988fef33cbc6183ed182a821fd89fac5c2e (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "file:///BackupManifest.schema.json",
  "title": "BackupManifest",
  "description": "A schema for the backup-manifest.json file for profile backups created by the BackupService",
  "type": "object",
  "properties": {
    "version": {
      "type": "integer",
      "description": "Version of the backup manifest structure"
    },
    "meta": {
      "type": "object",
      "description": "Metadata about the backup",
      "properties": {
        "date": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time that the backup was created"
        },
        "appName": {
          "type": "string",
          "description": "Name of the application that the backup was created for."
        },
        "appVersion": {
          "type": "string",
          "description": "Full version string for the app instance that the backup was created on"
        },
        "buildID": {
          "type": "string",
          "description": "Build ID for the app instance that the backup was created on"
        },
        "profileName": {
          "type": "string",
          "description": "The name given to the profile that was backed up"
        },
        "machineName": {
          "type": "string",
          "description": "The name of the machine that the backup was created on"
        },
        "osName": {
          "type": "string",
          "description": "The OS name that the backup was created on"
        },
        "osVersion": {
          "type": "string",
          "description": "The OS version that the backup was created on"
        },
        "accountID": {
          "type": "string",
          "description": "The ID for the account that the user profile was signed into when backing up. Optional."
        },
        "accountEmail": {
          "type": "string",
          "description": "The email address for the account that the user profile was signed into when backing up. Optional."
        },
        "legacyClientID": {
          "type": "string",
          "description": "The legacy telemetry client ID for the profile that the backup was created on."
        }
      },
      "required": [
        "date",
        "appName",
        "appVersion",
        "buildID",
        "profileName",
        "machineName",
        "osName",
        "osVersion",
        "legacyClientID"
      ]
    },
    "resources": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  },
  "required": ["version", "resources", "meta"]
}