Protected Branch Required Status Check

Protected Branch Required Status Check

APIs.ioEngineeringPlatform

Properties

Name Type Description
url string
enforcement_level string
contexts array
checks array
contexts_url string
strict boolean
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-protected-branch-required-status-check-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/protected-branch-required-status-check",
  "title": "Protected Branch Required Status Check",
  "description": "Protected Branch Required Status Check",
  "type": "object",
  "properties": {
    "url": {
      "type": "string"
    },
    "enforcement_level": {
      "type": "string"
    },
    "contexts": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "checks": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "context": {
            "type": "string"
          },
          "app_id": {
            "type": "integer",
            "nullable": true
          }
        },
        "required": [
          "context",
          "app_id"
        ]
      }
    },
    "contexts_url": {
      "type": "string"
    },
    "strict": {
      "type": "boolean"
    }
  },
  "required": [
    "contexts",
    "checks"
  ]
}