

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 批量分析输出清单
<a name="bulk-analysis-output-manifests"></a>

批量分析任务会生成一个包含任务结果的输出清单文件，以及一个清单摘要，其中包含处理输入清单条目时出现的任何错误的统计数据和详细信息。

如果输入清单中包含重复的条目，则该任务不会尝试筛选出唯一的输入，而是会处理所有提供的条目。

输出清单文件的格式如下：

```
// Output manifest for content moderation
{"source-ref":"s3://foo/bar/1.jpg", "detect-moderation-labels": {"ModerationLabels":[],"ModerationModelVersion":"7.0","ContentTypes":[{"Confidence":72.7257,"Name":"Animated"}]}}
```

输出清单摘要的格式如下：

```
{
    "version": "1.0",                # Schema version, 1.0 for GA.
    "statistics": {
        "total-json-lines": Number,  # Total number json lines (images) in the input manifest.
        "valid-json-lines": Number,  # Total number of JSON Lines (images) that contain references to valid images.
        "invalid-json-lines": Number # Total number of invalid JSON Lines. These lines were not handled.
    },
    "errors": [
        {
            "line-numer": Number,   # The number of the line in the manifest where the error occured.
            "source-ref": "String", # Optional. Name of the file if was parsed.
            "code": "String",       # Error code.
            "message": "String"     # Description of the error.
        }
     ]
}
```