Atlassian · Schema

branch

CodeCollaborationPlatformProductivitySoftware Development
View JSON Schema on GitHub

JSON Schema

atlassian-branch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/branch",
  "title": "branch",
  "allOf": [
    {
      "$ref": "#/components/schemas/ref"
    },
    {
      "type": "object",
      "title": "Branch",
      "description": "A branch object, representing a branch in a repository.",
      "properties": {
        "merge_strategies": {
          "type": "array",
          "description": "Available merge strategies for pull requests targeting this branch.",
          "items": {
            "type": "string",
            "enum": [
              "merge_commit",
              "squash",
              "fast_forward"
            ]
          }
        },
        "default_merge_strategy": {
          "type": "string",
          "description": "The default merge strategy for pull requests targeting this branch."
        }
      },
      "additionalProperties": true
    }
  ]
}