{
  "$defs": {
    "DeliveryOperationOut": {
      "additionalProperties": false,
      "description": "The typed delivery operation nested in a stacked cascade result.",
      "properties": {
        "kind": {
          "title": "Kind",
          "type": "string"
        },
        "operation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Operation Id"
        },
        "abandoned_operation_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Abandoned Operation Id"
        },
        "resumed": {
          "title": "Resumed",
          "type": "boolean"
        },
        "no_op": {
          "title": "No Op",
          "type": "boolean"
        },
        "affected": {
          "items": {
            "$ref": "#/$defs/SyncedLayerOut"
          },
          "title": "Affected",
          "type": "array"
        },
        "notes": {
          "items": {
            "type": "string"
          },
          "title": "Notes",
          "type": "array"
        }
      },
      "required": [
        "kind",
        "operation_id",
        "abandoned_operation_id",
        "resumed",
        "no_op",
        "affected",
        "notes"
      ],
      "title": "DeliveryOperationOut",
      "type": "object"
    },
    "PlanHeaderUpdateOut": {
      "additionalProperties": false,
      "description": "The serialization boundary of the picked :class:`issue_backend.PlanHeaderUpdate` subset\n(field order load-bearing).",
      "properties": {
        "fields_updated": {
          "items": {
            "type": "string"
          },
          "title": "Fields Updated",
          "type": "array"
        }
      },
      "required": [
        "fields_updated"
      ],
      "title": "PlanHeaderUpdateOut",
      "type": "object"
    },
    "StackRefOut": {
      "additionalProperties": false,
      "description": "The native-stack facts of a stacked submit (field order load-bearing): the stack\nnumber, its total size, and this PR's 1-based bottom\u2192top position.",
      "properties": {
        "number": {
          "title": "Number",
          "type": "integer"
        },
        "size": {
          "title": "Size",
          "type": "integer"
        },
        "position": {
          "title": "Position",
          "type": "integer"
        }
      },
      "required": [
        "number",
        "size",
        "position"
      ],
      "title": "StackRefOut",
      "type": "object"
    },
    "SubmitPrOut": {
      "additionalProperties": false,
      "description": "The serialization boundary of the picked :class:`github.PullRequest` subset\n(field order load-bearing).",
      "properties": {
        "number": {
          "title": "Number",
          "type": "integer"
        },
        "url": {
          "title": "Url",
          "type": "string"
        },
        "is_draft": {
          "title": "Is Draft",
          "type": "boolean"
        },
        "existed": {
          "title": "Existed",
          "type": "boolean"
        }
      },
      "required": [
        "number",
        "url",
        "is_draft",
        "existed"
      ],
      "title": "SubmitPrOut",
      "type": "object"
    },
    "SyncedLayerOut": {
      "additionalProperties": false,
      "description": "One affected suffix layer in the delivery-operation block.",
      "properties": {
        "node_id": {
          "title": "Node Id",
          "type": "string"
        },
        "plan_id": {
          "title": "Plan Id",
          "type": "string"
        },
        "branch": {
          "title": "Branch",
          "type": "string"
        },
        "pr_number": {
          "title": "Pr Number",
          "type": "integer"
        },
        "before_sha": {
          "title": "Before Sha",
          "type": "string"
        },
        "after_sha": {
          "title": "After Sha",
          "type": "string"
        }
      },
      "required": [
        "node_id",
        "plan_id",
        "branch",
        "pr_number",
        "before_sha",
        "after_sha"
      ],
      "title": "SyncedLayerOut",
      "type": "object"
    }
  },
  "additionalProperties": false,
  "description": "The ``--json`` serialization boundary of :class:`PrSubmitResult` (order load-bearing).",
  "properties": {
    "success": {
      "title": "Success",
      "type": "boolean"
    },
    "error_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error Type"
    },
    "message": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Message"
    },
    "pr": {
      "$ref": "#/$defs/SubmitPrOut"
    },
    "branch": {
      "title": "Branch",
      "type": "string"
    },
    "issue": {
      "title": "Issue",
      "type": "string"
    },
    "plan_header": {
      "$ref": "#/$defs/PlanHeaderUpdateOut"
    },
    "plan_embedded": {
      "title": "Plan Embedded",
      "type": "boolean"
    },
    "pr_checked": {
      "title": "Pr Checked",
      "type": "boolean"
    },
    "dry_run": {
      "title": "Dry Run",
      "type": "boolean"
    },
    "base": {
      "title": "Base",
      "type": "string"
    },
    "mergeable": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Mergeable"
    },
    "conflicts": {
      "items": {
        "type": "string"
      },
      "title": "Conflicts",
      "type": "array"
    },
    "delivery": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Delivery"
    },
    "stack": {
      "anyOf": [
        {
          "$ref": "#/$defs/StackRefOut"
        },
        {
          "type": "null"
        }
      ]
    },
    "operation_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Operation Id"
    },
    "operation": {
      "anyOf": [
        {
          "$ref": "#/$defs/DeliveryOperationOut"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "success",
    "error_type",
    "message",
    "pr",
    "branch",
    "issue",
    "plan_header",
    "plan_embedded",
    "pr_checked",
    "dry_run",
    "base",
    "mergeable",
    "conflicts",
    "delivery",
    "stack",
    "operation_id",
    "operation"
  ],
  "title": "PrSubmitOut",
  "type": "object"
}
