1{
2    "__name": "name will be visible on UI",
3    "__url": "https:// or file:// uri to update package (zip, xz, ...)",
4    "__ab_install_type": "NON_STREAMING (from a local file) OR STREAMING (on the fly)",
5    "name": "SAMPLE-cake-release BUILD-12345",
6    "url": "http://foo.bar/builds/ota-001.zip",
7    "ab_install_type": "NON_STREAMING",
8    "ab_streaming_metadata": {
9        "__": "streaming_metadata is required only for streaming update",
10        "__property_files": "name, offset and size of files",
11        "__authorization": "it will be sent to OTA package server as value of HTTP header - Authorization",
12        "property_files": [
13            {
14                "__filename": "name of the file in package",
15                "__offset": "defines beginning of the file in package",
16                "__size": "size of the file in package",
17                "filename": "payload.bin",
18                "offset": 531,
19                "size": 5012323
20            }
21        ],
22        "authorization": "Basic my-secret-token"
23    },
24    "ab_config": {
25        "__": "A/B (seamless) update configurations",
26        "__force_switch_slot": "if set true device will boot to a new slot, otherwise user manually switches slot on the screen",
27        "force_switch_slot": false
28    }
29}
30