|
170 | 170 | }
|
171 | 171 | }
|
172 | 172 | },
|
173 |
| - "revision": "20240813", |
| 173 | + "revision": "20241127", |
174 | 174 | "rootUrl": "https://playintegrity.googleapis.com/",
|
175 | 175 | "schemas": {
|
176 | 176 | "AccountActivity": {
|
|
366 | 366 | },
|
367 | 367 | "type": "object"
|
368 | 368 | },
|
| 369 | + "DeviceAttributes": { |
| 370 | + "description": "Contains information about the device for which the integrity token was generated, e.g. Android SDK version.", |
| 371 | + "id": "DeviceAttributes", |
| 372 | + "properties": { |
| 373 | + "sdkVersion": { |
| 374 | + "description": "Android SDK version of the device, as defined in the public Android documentation: https://developer.android.com/reference/android/os/Build.VERSION_CODES. It won't be set if a necessary requirement was missed. For example DeviceIntegrity did not meet the minimum bar.", |
| 375 | + "format": "int32", |
| 376 | + "type": "integer" |
| 377 | + } |
| 378 | + }, |
| 379 | + "type": "object" |
| 380 | + }, |
369 | 381 | "DeviceIntegrity": {
|
370 | 382 | "description": "Contains the device attestation information.",
|
371 | 383 | "id": "DeviceIntegrity",
|
372 | 384 | "properties": {
|
| 385 | + "deviceAttributes": { |
| 386 | + "$ref": "DeviceAttributes", |
| 387 | + "description": "Attributes of the device where the integrity token was generated." |
| 388 | + }, |
373 | 389 | "deviceRecall": {
|
374 | 390 | "$ref": "DeviceRecall",
|
375 | 391 | "description": "Details about the device recall bits set by the developer."
|
|
395 | 411 | },
|
396 | 412 | "type": "array"
|
397 | 413 | },
|
| 414 | + "legacyDeviceRecognitionVerdict": { |
| 415 | + "description": "Contains legacy details about the integrity of the device the app is running on. Only for devices with Android version T or higher and only for apps opted in to the new verdicts. Only available during the transition period to the new verdicts system and will be removed afterwards.", |
| 416 | + "items": { |
| 417 | + "enum": [ |
| 418 | + "UNKNOWN", |
| 419 | + "MEETS_BASIC_INTEGRITY", |
| 420 | + "MEETS_DEVICE_INTEGRITY", |
| 421 | + "MEETS_STRONG_INTEGRITY", |
| 422 | + "MEETS_VIRTUAL_INTEGRITY" |
| 423 | + ], |
| 424 | + "enumDescriptions": [ |
| 425 | + "Play does not have sufficient information to evaluate device integrity", |
| 426 | + "App is running on a device that passes basic system integrity checks, but may not meet Android platform compatibility requirements and may not be approved to run Google Play services.", |
| 427 | + "App is running on GMS Android device with Google Play services.", |
| 428 | + "App is running on GMS Android device with Google Play services and has a strong guarantee of system integrity such as a hardware-backed keystore.", |
| 429 | + "App is running on an Android emulator with Google Play services which meets core Android compatibility requirements." |
| 430 | + ], |
| 431 | + "type": "string" |
| 432 | + }, |
| 433 | + "type": "array" |
| 434 | + }, |
398 | 435 | "recentDeviceActivity": {
|
399 | 436 | "$ref": "RecentDeviceActivity",
|
400 | 437 | "description": "Details about the device activity of the device the app is running on."
|
|
0 commit comments