BackupManifest.1.schema.json (3403B)
1 { 2 "$schema": "https://json-schema.org/draft/2019-09/schema", 3 "$id": "chrome://browser/content/backup/BackupManifest.1.schema.json", 4 "title": "BackupManifest", 5 "description": "A schema for the backup-manifest.json file for profile backups created by the BackupService", 6 "definitions": { 7 "metadataType": { 8 "title": "Backup Metadata", 9 "description": "Metadata about a particular backup.", 10 "type": "object", 11 "properties": { 12 "date": { 13 "type": "string", 14 "format": "date-time", 15 "description": "Date and time that the backup was created" 16 }, 17 "appName": { 18 "type": "string", 19 "description": "Name of the application that the backup was created for." 20 }, 21 "appVersion": { 22 "type": "string", 23 "description": "Full version string for the app instance that the backup was created on" 24 }, 25 "buildID": { 26 "type": "string", 27 "description": "Build ID for the app instance that the backup was created on" 28 }, 29 "profileName": { 30 "type": "string", 31 "description": "The name given to the profile that was backed up" 32 }, 33 "machineName": { 34 "type": "string", 35 "description": "The name of the machine that the backup was created on" 36 }, 37 "osName": { 38 "type": "string", 39 "description": "The OS name that the backup was created on" 40 }, 41 "osVersion": { 42 "type": "string", 43 "description": "The OS version that the backup was created on" 44 }, 45 "accountID": { 46 "type": "string", 47 "description": "The ID for the account that the user profile was signed into when backing up. Optional." 48 }, 49 "accountEmail": { 50 "type": "string", 51 "description": "The email address for the account that the user profile was signed into when backing up. Optional." 52 }, 53 "legacyClientID": { 54 "type": "string", 55 "description": "The legacy telemetry client ID for the profile that the backup was created on." 56 }, 57 "profileGroupID": { 58 "type": "string", 59 "description": "The ID for the profile group that the backup was created on. Optional." 60 }, 61 "healthTelemetryEnabled": { 62 "type": "boolean", 63 "description": "Indicates that the user profile in this archive has enabled the sending of technical and interaction data to Mozilla. Optional, defaults to false." 64 }, 65 "usageTelemetryEnabled": { 66 "type": "boolean", 67 "description": "Indicates that the user profile in this archive has enabled the sending of technical and interaction data to Mozilla. Optional, defaults to false." 68 } 69 }, 70 "required": [ 71 "date", 72 "appName", 73 "appVersion", 74 "buildID", 75 "profileName", 76 "machineName", 77 "osName", 78 "osVersion", 79 "legacyClientID" 80 ] 81 } 82 }, 83 84 "type": "object", 85 "properties": { 86 "version": { 87 "type": "integer", 88 "description": "Version of the backup manifest structure" 89 }, 90 "meta": { "$ref": "#/definitions/metadataType" }, 91 "resources": { 92 "type": "object", 93 "additionalProperties": true 94 } 95 }, 96 "required": ["version", "resources", "meta"] 97 }