{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://docs.precept.sh/schemas/run-manifest/1.0/manifest.json",
  "type": "object",
  "properties": {
    "$schema": {
      "type": "string"
    },
    "schemaVersion": {
      "type": "string",
      "const": "1.0"
    },
    "manifest": {
      "type": "object",
      "properties": {
        "nodeId": {
          "type": "string"
        },
        "title": {
          "type": "string"
        }
      },
      "required": [
        "nodeId",
        "title"
      ]
    },
    "run": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "attempt": {
          "type": "number"
        },
        "workflowId": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "startedBy": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "trigger": {
          "type": "string",
          "enum": [
            "api",
            "ui",
            "watcher",
            "rerun"
          ]
        },
        "engine": {
          "type": "string"
        },
        "admittedAt": {
          "type": "string"
        },
        "startedAt": {
          "type": "string"
        },
        "endedAt": {
          "type": "string"
        },
        "state": {
          "type": "string",
          "enum": [
            "completed",
            "failed",
            "cancelled"
          ]
        },
        "error": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "attempt",
        "workflowId",
        "startedBy",
        "trigger",
        "engine",
        "admittedAt",
        "startedAt",
        "endedAt",
        "state",
        "error"
      ]
    },
    "attempts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "attempt": {
            "type": "number"
          },
          "state": {
            "type": "string",
            "enum": [
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "startedAt": {
            "type": "string"
          },
          "endedAt": {
            "type": "string"
          }
        },
        "required": [
          "attempt",
          "state",
          "startedAt",
          "endedAt"
        ]
      }
    },
    "restarts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "generation": {
            "type": "number"
          },
          "at": {
            "type": "string"
          },
          "reason": {
            "type": "string"
          }
        },
        "required": [
          "generation",
          "at",
          "reason"
        ]
      }
    },
    "parameters": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "scope": {
      "type": "object",
      "properties": {
        "nodeIds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "nodeIds"
      ]
    },
    "totals": {
      "type": "object",
      "properties": {
        "nodes": {
          "type": "number"
        },
        "nodesNotRun": {
          "type": "number"
        },
        "rowsWritten": {
          "type": "number"
        },
        "rejects": {
          "type": "number"
        }
      },
      "required": [
        "nodes",
        "nodesNotRun",
        "rowsWritten",
        "rejects"
      ]
    },
    "nodes": {
      "type": "array",
      "items": {
        "anyOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "read"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/read.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "read"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/read.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "write"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/write.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "write"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/write.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "transform"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/transform.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "transform"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/transform.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "route"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/route.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "route"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/route.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "callAction"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/callAction.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "callAction"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/callAction.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "loop"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/loop.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "loop"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/loop.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "diff"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/diff.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "diff"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/diff.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "fileWatcher"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/fileWatcher.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "fileWatcher"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/fileWatcher.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "ingress"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/ingress.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "ingress"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/ingress.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "value"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/value.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "value"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/value.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "expression"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/expression.json"
              },
              "model": {
                "type": "string",
                "pattern": "^[^/]+\\/[^/]+\\/[^/]+$"
              },
              "schema": {
                "type": "null"
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "title": {
                "type": "string"
              },
              "status": {
                "type": "string",
                "enum": [
                  "completed",
                  "failed",
                  "cancelled",
                  "not_run"
                ]
              },
              "stage": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "rows": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "approximate": {
                "type": "boolean"
              },
              "timing": {
                "type": "object",
                "properties": {
                  "ms": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "scope": {
                    "type": "string",
                    "enum": [
                      "node",
                      "stage"
                    ]
                  }
                },
                "required": [
                  "ms",
                  "scope"
                ]
              },
              "blocks": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "startedAt": {
                      "type": "string"
                    },
                    "ms": {
                      "type": "number"
                    },
                    "attrs": {
                      "type": "object",
                      "propertyNames": {
                        "type": "string"
                      },
                      "additionalProperties": {}
                    }
                  },
                  "required": [
                    "name",
                    "startedAt",
                    "ms",
                    "attrs"
                  ]
                }
              },
              "rejects": {
                "type": "object",
                "properties": {
                  "total": {
                    "type": "number"
                  },
                  "byRule": {
                    "type": "object",
                    "propertyNames": {
                      "type": "string"
                    },
                    "additionalProperties": {
                      "type": "number"
                    }
                  },
                  "file": {
                    "anyOf": [
                      {
                        "type": "object",
                        "properties": {
                          "path": {
                            "type": "string"
                          },
                          "format": {
                            "type": "string",
                            "const": "ndjson"
                          },
                          "rows": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "path",
                          "format",
                          "rows"
                        ]
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "fileStatus": {
                    "type": "string",
                    "enum": [
                      "written",
                      "none",
                      "disabled",
                      "unavailable",
                      "withheld",
                      "failed"
                    ]
                  }
                },
                "required": [
                  "total",
                  "byRule",
                  "file",
                  "fileStatus"
                ]
              },
              "error": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "type": {
                "type": "string",
                "const": "expression"
              },
              "details": {
                "$ref": "https://docs.precept.sh/schemas/run-manifest/1.0/nodes/expression.json"
              },
              "model": {
                "type": "null"
              },
              "schema": {
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "name",
                        "type"
                      ]
                    }
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "id",
              "title",
              "status",
              "stage",
              "rows",
              "approximate",
              "timing",
              "blocks",
              "rejects",
              "error",
              "type",
              "details",
              "model",
              "schema"
            ]
          }
        ]
      }
    },
    "stages": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "index": {
            "type": "number"
          },
          "status": {
            "type": "string",
            "enum": [
              "completed",
              "failed",
              "cancelled"
            ]
          },
          "nodeIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "ms": {
            "type": "number"
          },
          "peakBytes": {
            "type": "number"
          },
          "spillBytes": {
            "type": "number"
          },
          "blocksDropped": {
            "type": "number"
          },
          "error": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "index",
          "status",
          "nodeIds",
          "ms",
          "peakBytes",
          "spillBytes",
          "blocksDropped",
          "error"
        ]
      }
    },
    "leftovers": {
      "type": "object",
      "properties": {
        "runDatabase": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "expiresAt": {
                  "type": "string"
                }
              },
              "required": [
                "expiresAt"
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "tempPaths": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "stagingTables": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "runDatabase",
        "tempPaths",
        "stagingTables"
      ]
    }
  },
  "required": [
    "schemaVersion",
    "manifest",
    "run",
    "attempts",
    "restarts",
    "parameters",
    "scope",
    "totals",
    "nodes",
    "stages",
    "leftovers"
  ]
}
