{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codebuild/refs/heads/main/json-structure/amazon-codebuild-get-report-group-trend-input-structure.json", "name": "GetReportGroupTrendInput", "description": "GetReportGroupTrendInput schema from Amazon CodeBuild", "type": "object", "properties": { "reportGroupArn": { "allOf": [ { "$ref": "#/components/schemas/NonEmptyString" }, { "description": "The ARN of the report group that contains the reports to analyze." } ] }, "numOfReports": { "allOf": [ { "$ref": "#/components/schemas/PageSize" }, { "description": "

The number of reports to analyze. This operation always retrieves the most recent reports.

If this parameter is omitted, the most recent 100 reports are analyzed.

" } ] }, "trendField": { "allOf": [ { "$ref": "#/components/schemas/ReportGroupTrendFieldType" }, { "description": "

The test report value to accumulate. This must be one of the following values:

Test reports:
DURATION

Accumulate the test run times for the specified reports.

PASS_RATE

Accumulate the percentage of tests that passed for the specified test reports.

TOTAL

Accumulate the total number of tests for the specified test reports.

Code coverage reports:
BRANCH_COVERAGE

Accumulate the branch coverage percentages for the specified test reports.

BRANCHES_COVERED

Accumulate the branches covered values for the specified test reports.

BRANCHES_MISSED

Accumulate the branches missed values for the specified test reports.

LINE_COVERAGE

Accumulate the line coverage percentages for the specified test reports.

LINES_COVERED

Accumulate the lines covered values for the specified test reports.

LINES_MISSED

Accumulate the lines not covered values for the specified test reports.

" } ] } }, "required": [ "reportGroupArn", "trendField" ] }