dbfp_pub/tests/fp_data/com.google.android.gms__fit...

397 lines
14 KiB
JSON

{
"_file-details": {
"app-name": "com.google.android.gms",
"app-ver": "",
"db-name": "fitness.db.username_gmail.com",
"format-ver": "0.92",
"notes": "",
"scan-date": "2016-02-29_172210",
"scanner-name": "dbfp",
"scanner-ver": "1.00b"
},
"db-metadata": {
"Applications": "CREATE TABLE Applications(_id INTEGER PRIMARY KEY AUTOINCREMENT, package TEXT NOT NULL, version TEXT, details_url TEXT, name TEXT, console_ids TEXT)",
"BleCharacteristics": "CREATE TABLE BleCharacteristics (_id INTEGER PRIMARY KEY AUTOINCREMENT, uuid TEXT NOT NULL, properties INTEGER, permissions INTEGER, device_id INTEGER, FOREIGN KEY(device_id) REFERENCES BleDevices(_id) ON DELETE CASCADE)",
"BleDevices": "CREATE TABLE BleDevices (_id INTEGER PRIMARY KEY AUTOINCREMENT, type TEXT, name TEXT, address NOT NULL, device_name TEXT, model_number TEXT, manufacturer TEXT, hardware_revision TEXT, firmware_revision TEXT, software_revision TEXT)",
"ChangeLog": "CREATE TABLE ChangeLog (_id INTEGER PRIMARY KEY AUTOINCREMENT, timestamp INTEGER NOT NULL, is_delete INTEGER NOT NULL, source_table TEXT NOT NULL, content BLOB NOT NULL, sync_tries INTEGER DEFAULT 0, last_sync_ms INTEGER DEFAULT 0)",
"DataPointRows": "CREATE TABLE DataPointRows (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER REFERENCES DataSources(_id), start_time INTEGER NOT NULL, end_time INTEGER NOT NULL, data_point BLOB NOT NULL)",
"DataSourceTypes": "CREATE TABLE DataSourceTypes (data_source_id INTEGER REFERENCES DataSources(_id), data_type_id INTEGER REFERENCES DataTypes(_id))",
"DataSources": "CREATE TABLE DataSources (_id INTEGER PRIMARY KEY AUTOINCREMENT, type INTEGER, identifier TEXT, version TEXT, source_name TEXT, stream_name TEXT, device_id INTEGER REFERENCES Devices(_id), application_id INTEGER REFERENCES Applications(_id))",
"DataTypeFields": "CREATE TABLE DataTypeFields (_id INTEGER PRIMARY KEY AUTOINCREMENT, field_name TEXT NOT NULL, format INTEGER NOT NULL, data_type_id INTEGER NOT NULL REFERENCES DataTypes(_id))",
"DataTypes": "CREATE TABLE DataTypes (_id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL)",
"Devices": "CREATE TABLE Devices (_id INTEGER PRIMARY KEY AUTOINCREMENT, make TEXT NOT NULL, model TEXT NOT NULL, version TEXT NOT NULL, type INTEGER, uid TEXT, platform_type INTEGER)",
"Sessions": "CREATE TABLE Sessions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, start_time INTEGER NOT NULL, end_time INTEGER NOT NULL DEFAULT 0, name TEXT NOT NULL, identifier TEXT, description TEXT, activity INTEGER NOT NULL, active_time_millis INTEGER)",
"Subscriptions": "CREATE TABLE Subscriptions (_id INTEGER PRIMARY KEY AUTOINCREMENT, app_package TEXT NOT NULL, data_source_id INTEGER REFERENCES DataSources (_id), data_type_id INTEGER REFERENCES DataTypes (_id), sampling_delay INTEGER NOT NULL, accuracy_mode INTEGER NOT NULL, timestamp INTEGER NOT NULL, realm INTEGER NOT NULL)",
"SyncStatus": "CREATE TABLE SyncStatus (_id INTEGER PRIMARY KEY AUTOINCREMENT, data_source_id INTEGER UNIQUE NOT NULL REFERENCES DataSources(_id), sync_token TEXT, is_remote INTEGER NOT NULL DEFAULT 0, last_synced_time INTEGER, min_local_timestamp INTEGER DEFAULT -1)",
"android_metadata": "CREATE TABLE android_metadata (locale TEXT)",
"sqlite_sequence": "CREATE TABLE sqlite_sequence(name,seq)"
},
"db-metadata-hashes": {
"Applications": "74ba46c998a452bc0eab7b3fc4465ce3",
"BleCharacteristics": "a947ef7298068efc3596f5a168a0f26c",
"BleDevices": "812f8b071a8fff6453491cad51599646",
"ChangeLog": "d367a9797bd366d83e4d48424bf38b48",
"DataPointRows": "b073bd25a51191881a83bd8eef36a6b7",
"DataSourceTypes": "fa031e7a8ae526b0337ca5a75100b2a9",
"DataSources": "3159a7fc6e1abd004a425a2c1f597184",
"DataTypeFields": "859905ffc96b14edb90988bcce2d79bf",
"DataTypes": "bcbcc52ce27332851b24f3d1b546465b",
"Devices": "26530038c1f8b0b66259387147194bcf",
"Sessions": "ce99b3e7c27e18688309695ff43ed83e",
"Subscriptions": "d56cf36625565862ad10d27713828941",
"SyncStatus": "a0e0a02b376eac6f50e3d3ba7bc8c1fb",
"android_metadata": "ba739eb03730e563915f2f76b26ced51",
"sqlite_sequence": "079355c84d8b3b1511a504e08aab7fd2"
},
"db-metadata-md5": "74a472baab8fa428515a6779a53ccf75",
"tables": {
"Applications": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"console_ids": {
"datatype": "TEXT"
},
"details_url": {
"datatype": "TEXT"
},
"name": {
"datatype": "TEXT"
},
"package": {
"datatype": "TEXT",
"notnull": true
},
"version": {
"datatype": "TEXT"
}
},
"BleCharacteristics": {
"FOREIGN": {
"datatype": "KEY"
},
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"device_id": {
"datatype": "INTEGER"
},
"permissions": {
"datatype": "INTEGER"
},
"properties": {
"datatype": "INTEGER"
},
"uuid": {
"datatype": "TEXT",
"notnull": true
}
},
"BleDevices": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"address": {
"datatype": "NOT"
},
"device_name": {
"datatype": "TEXT"
},
"firmware_revision": {
"datatype": "TEXT"
},
"hardware_revision": {
"datatype": "TEXT"
},
"manufacturer": {
"datatype": "TEXT"
},
"model_number": {
"datatype": "TEXT"
},
"name": {
"datatype": "TEXT"
},
"software_revision": {
"datatype": "TEXT"
},
"type": {
"datatype": "TEXT"
}
},
"ChangeLog": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"content": {
"datatype": "BLOB",
"notnull": true
},
"is_delete": {
"datatype": "INTEGER",
"notnull": true
},
"last_sync_ms": {
"datatype": "INTEGER",
"default": "0"
},
"source_table": {
"datatype": "TEXT",
"notnull": true
},
"sync_tries": {
"datatype": "INTEGER",
"default": "0"
},
"timestamp": {
"datatype": "INTEGER",
"notnull": true
}
},
"DataPointRows": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"data_point": {
"datatype": "BLOB",
"notnull": true
},
"data_source_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "DataSources(_id)"
},
"end_time": {
"datatype": "INTEGER",
"notnull": true
},
"start_time": {
"datatype": "INTEGER",
"notnull": true
}
},
"DataSourceTypes": {
"data_source_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "DataSources(_id)"
},
"data_type_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "DataTypes(_id)"
}
},
"DataSources": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"application_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "Applications(_id)"
},
"device_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "Devices(_id)"
},
"identifier": {
"datatype": "TEXT"
},
"source_name": {
"datatype": "TEXT"
},
"stream_name": {
"datatype": "TEXT"
},
"type": {
"datatype": "INTEGER"
},
"version": {
"datatype": "TEXT"
}
},
"DataTypeFields": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"data_type_id": {
"datatype": "INTEGER",
"notnull": true
},
"field_name": {
"datatype": "TEXT",
"notnull": true
},
"format": {
"datatype": "INTEGER",
"notnull": true
}
},
"DataTypes": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"name": {
"datatype": "TEXT",
"notnull": true
}
},
"Devices": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"make": {
"datatype": "TEXT",
"notnull": true
},
"model": {
"datatype": "TEXT",
"notnull": true
},
"platform_type": {
"datatype": "INTEGER"
},
"type": {
"datatype": "INTEGER"
},
"uid": {
"datatype": "TEXT"
},
"version": {
"datatype": "TEXT",
"notnull": true
}
},
"Sessions": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"active_time_millis": {
"datatype": "INTEGER"
},
"activity": {
"datatype": "INTEGER",
"notnull": true
},
"app_package": {
"datatype": "TEXT",
"notnull": true
},
"description": {
"datatype": "TEXT"
},
"end_time": {
"datatype": "INTEGER",
"default": "0",
"notnull": true
},
"identifier": {
"datatype": "TEXT"
},
"name": {
"datatype": "TEXT",
"notnull": true
},
"start_time": {
"datatype": "INTEGER",
"notnull": true
}
},
"Subscriptions": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"accuracy_mode": {
"datatype": "INTEGER",
"notnull": true
},
"app_package": {
"datatype": "TEXT",
"notnull": true
},
"data_source_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "DataSources (_id)"
},
"data_type_id": {
"datatype": "INTEGER",
"references": true,
"referencesdata": "DataTypes (_id)"
},
"realm": {
"datatype": "INTEGER",
"notnull": true
},
"sampling_delay": {
"datatype": "INTEGER",
"notnull": true
},
"timestamp": {
"datatype": "INTEGER",
"notnull": true
}
},
"SyncStatus": {
"_id": {
"autoincrement": true,
"datatype": "INTEGER",
"primarykey": true
},
"data_source_id": {
"datatype": "INTEGER"
},
"is_remote": {
"datatype": "INTEGER",
"default": "0",
"notnull": true
},
"last_synced_time": {
"datatype": "INTEGER"
},
"min_local_timestamp": {
"datatype": "INTEGER"
},
"sync_token": {
"datatype": "TEXT"
}
},
"android_metadata": {
"locale": {
"datatype": "TEXT"
}
},
"sqlite_sequence": {
"name": {
"datatype": "INTEGER"
},
"seq": {
"datatype": "INTEGER"
}
}
}
}