|
1356 | 1356 | }
|
1357 | 1357 | ]
|
1358 | 1358 | },
|
| 1359 | + { |
| 1360 | + "id": "TwaQualityEnforcementViolationType", |
| 1361 | + "type": "string", |
| 1362 | + "enum": [ |
| 1363 | + "kHttpError", |
| 1364 | + "kUnavailableOffline", |
| 1365 | + "kDigitalAssetLinks" |
| 1366 | + ] |
| 1367 | + }, |
| 1368 | + { |
| 1369 | + "id": "TrustedWebActivityIssueDetails", |
| 1370 | + "type": "object", |
| 1371 | + "properties": [ |
| 1372 | + { |
| 1373 | + "name": "url", |
| 1374 | + "description": "The url that triggers the violation.", |
| 1375 | + "type": "string" |
| 1376 | + }, |
| 1377 | + { |
| 1378 | + "name": "violationType", |
| 1379 | + "$ref": "TwaQualityEnforcementViolationType" |
| 1380 | + }, |
| 1381 | + { |
| 1382 | + "name": "httpStatusCode", |
| 1383 | + "optional": true, |
| 1384 | + "type": "integer" |
| 1385 | + }, |
| 1386 | + { |
| 1387 | + "name": "packageName", |
| 1388 | + "description": "The package name of the Trusted Web Activity client app. This field is\nonly used when violation type is kDigitalAssetLinks.", |
| 1389 | + "optional": true, |
| 1390 | + "type": "string" |
| 1391 | + }, |
| 1392 | + { |
| 1393 | + "name": "signature", |
| 1394 | + "description": "The signature of the Trusted Web Activity client app. This field is only\nused when violation type is kDigitalAssetLinks.", |
| 1395 | + "optional": true, |
| 1396 | + "type": "string" |
| 1397 | + } |
| 1398 | + ] |
| 1399 | + }, |
1359 | 1400 | {
|
1360 | 1401 | "id": "InspectorIssueCode",
|
1361 | 1402 | "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
|
|
1366 | 1407 | "BlockedByResponseIssue",
|
1367 | 1408 | "HeavyAdIssue",
|
1368 | 1409 | "ContentSecurityPolicyIssue",
|
1369 |
| - "SharedArrayBufferTransferIssue" |
| 1410 | + "SharedArrayBufferTransferIssue", |
| 1411 | + "TrustedWebActivityIssue" |
1370 | 1412 | ]
|
1371 | 1413 | },
|
1372 | 1414 | {
|
|
1403 | 1445 | "name": "sharedArrayBufferTransferIssueDetails",
|
1404 | 1446 | "optional": true,
|
1405 | 1447 | "$ref": "SharedArrayBufferTransferIssueDetails"
|
| 1448 | + }, |
| 1449 | + { |
| 1450 | + "name": "twaQualityEnforcementDetails", |
| 1451 | + "optional": true, |
| 1452 | + "$ref": "TrustedWebActivityIssueDetails" |
1406 | 1453 | }
|
1407 | 1454 | ]
|
1408 | 1455 | },
|
|
0 commit comments