Amazon Proton · JSON Structure

Amazon Proton Repository Branch Structure

Detail data for a linked repository branch.

Type: object Properties: 4 Required: 4
DevOpsInfrastructure as CodePlatform EngineeringServerlessTemplatesSelf-ServiceCI/CD

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

Properties

arn branch name provider

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-proton/refs/heads/main/json-structure/amazon-proton-repository-branch-structure.json",
  "name": "RepositoryBranch",
  "description": "Detail data for a linked repository branch.",
  "type": "object",
  "properties": {
    "arn": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryArn"
        },
        {
          "description": "The Amazon Resource Name (ARN) of the linked repository."
        }
      ]
    },
    "branch": {
      "allOf": [
        {
          "$ref": "#/components/schemas/GitBranchName"
        },
        {
          "description": "The repository branch."
        }
      ]
    },
    "name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryName"
        },
        {
          "description": "The repository name."
        }
      ]
    },
    "provider": {
      "allOf": [
        {
          "$ref": "#/components/schemas/RepositoryProvider"
        },
        {
          "description": "The repository provider."
        }
      ]
    }
  },
  "required": [
    "arn",
    "branch",
    "name",
    "provider"
  ]
}