Short Branch

Short Branch

APIs.ioEngineeringPlatform

Properties

Name Type Description
name string
commit object
protected boolean
protection object
protection_url string
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-short-branch-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/short-branch",
  "title": "Short Branch",
  "description": "Short Branch",
  "type": "object",
  "properties": {
    "name": {
      "type": "string"
    },
    "commit": {
      "type": "object",
      "properties": {
        "sha": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      },
      "required": [
        "sha",
        "url"
      ]
    },
    "protected": {
      "type": "boolean"
    },
    "protection": {
      "$ref": "#/components/schemas/branch-protection"
    },
    "protection_url": {
      "type": "string",
      "format": "uri"
    }
  },
  "required": [
    "name",
    "commit",
    "protected"
  ]
}