Amazon CodeGuru Reviewer · JSON Structure

Amazon Codeguru Reviewer Branch Diff Source Code Type Structure

A type of SourceCodeType that specifies a code diff between a source and destination branch in an associated repository.

Type: object Properties: 2 Required: 2
AmazonCode ReviewSecurityDevOpsMachine LearningDeveloper Tools

BranchDiffSourceCodeType is a JSON Structure definition published by Amazon CodeGuru Reviewer, describing 2 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

SourceBranchName DestinationBranchName

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codeguru-reviewer/refs/heads/main/json-structure/amazon-codeguru-reviewer-branch-diff-source-code-type-structure.json",
  "name": "BranchDiffSourceCodeType",
  "description": "A type of <a href=\"https://docs.aws.amazon.com/codeguru/latest/reviewer-api/API_SourceCodeType\">SourceCodeType</a> that specifies a code diff between a source and destination branch in an associated repository.",
  "type": "object",
  "properties": {
    "SourceBranchName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BranchName"
        },
        {
          "description": "The source branch for a diff in an associated repository."
        }
      ]
    },
    "DestinationBranchName": {
      "allOf": [
        {
          "$ref": "#/components/schemas/BranchName"
        },
        {
          "description": "The destination branch for a diff in an associated repository."
        }
      ]
    }
  },
  "required": [
    "SourceBranchName",
    "DestinationBranchName"
  ]
}