{
  "type": [
    "object",
    "null"
  ],
  "description": "The source branch and directory used to publish your Pages site.",
  "properties": {
    "build_type": {
      "type": "string",
      "description": "The process in which the Page will be built. Possible values are `\"legacy\"` and `\"workflow\"`.",
      "enum": [
        "legacy",
        "workflow"
      ]
    },
    "source": {
      "type": "object",
      "description": "The source branch and directory used to publish your Pages site.",
      "properties": {
        "branch": {
          "type": "string",
          "description": "The repository branch used to publish your site's source files."
        },
        "path": {
          "type": "string",
          "description": "The repository directory that includes the source files for the Pages site. Allowed paths are `/` or `/docs`. Default: `/`",
          "enum": [
            "/",
            "/docs"
          ],
          "default": "/"
        }
      },
      "required": [
        "branch"
      ]
    }
  },
  "anyOf": [
    {
      "required": [
        "source"
      ]
    },
    {
      "required": [
        "build_type"
      ]
    }
  ],
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}