{
  "type": "object",
  "properties": {
    "bundle_version": {
      "type": "number",
      "const": 1
    },
    "bundle_id": {
      "type": "string",
      "minLength": 1
    },
    "bundle_type": {
      "type": "string",
      "enum": [
        "failure",
        "improvement"
      ]
    },
    "captured_at": {
      "type": "string",
      "format": "date-time"
    },
    "sdk": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "minLength": 1
        },
        "version": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "name",
        "version"
      ],
      "additionalProperties": false
    },
    "project": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "slug": {
          "type": "string",
          "minLength": 1
        },
        "environment": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "id",
        "slug",
        "environment"
      ],
      "additionalProperties": false
    },
    "service": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "minLength": 1
        },
        "name": {
          "type": "string",
          "minLength": 1
        },
        "runtime": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "framework": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "version": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "region": {
          "anyOf": [
            {
              "type": "string",
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "id",
        "name",
        "runtime",
        "framework",
        "version",
        "region"
      ],
      "additionalProperties": false
    },
    "signal": {
      "type": "object",
      "properties": {
        "signal_id": {
          "type": "string",
          "minLength": 1
        },
        "signal_type": {
          "type": "string",
          "enum": [
            "exception",
            "fatal_error",
            "request_failure",
            "frontend_exception",
            "warning",
            "deprecation",
            "performance_issue",
            "retry_loop",
            "slow_query"
          ]
        },
        "severity": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "critical"
          ]
        },
        "fingerprint": {
          "type": "string",
          "minLength": 1
        },
        "first_seen_at": {
          "type": "string",
          "format": "date-time"
        },
        "last_seen_at": {
          "type": "string",
          "format": "date-time"
        },
        "occurrence_count": {
          "type": "integer",
          "minimum": 0
        },
        "source_event_types": {
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1
          }
        }
      },
      "required": [
        "signal_id",
        "signal_type",
        "severity",
        "fingerprint",
        "first_seen_at",
        "last_seen_at",
        "occurrence_count",
        "source_event_types"
      ],
      "additionalProperties": false
    },
    "summary": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string",
          "minLength": 1
        },
        "description": {
          "type": "string",
          "minLength": 1
        },
        "likely_cause": {
          "type": [
            "string",
            "null"
          ]
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "recommended_action": {
          "type": [
            "string",
            "null"
          ]
        },
        "severity": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "critical"
          ]
        },
        "error_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "error_message": {
          "type": [
            "string",
            "null"
          ]
        },
        "first_application_frame": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "file": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "line": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "function": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "file",
                "line",
                "function"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "primary_signal": {
          "type": [
            "string",
            "null"
          ]
        },
        "signals": {
          "type": "object",
          "properties": {
            "new_deploy": {
              "type": "boolean"
            },
            "regression_suspected": {
              "type": "boolean"
            },
            "customer_visible": {
              "type": "boolean"
            }
          },
          "required": [
            "new_deploy",
            "regression_suspected",
            "customer_visible"
          ],
          "additionalProperties": false
        }
      },
      "required": [
        "title",
        "description",
        "likely_cause",
        "confidence",
        "recommended_action",
        "severity",
        "error_type",
        "error_message",
        "first_application_frame",
        "primary_signal",
        "signals"
      ],
      "additionalProperties": false
    },
    "impact": {
      "type": "object",
      "properties": {
        "affected_users_estimate": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "affected_requests_estimate": {
          "anyOf": [
            {
              "type": "integer",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "business_criticality": {
          "type": "string",
          "enum": [
            "low",
            "medium",
            "high",
            "critical"
          ]
        },
        "customer_visible": {
          "type": "boolean"
        },
        "regression_suspected": {
          "type": "boolean"
        }
      },
      "required": [
        "affected_users_estimate",
        "affected_requests_estimate",
        "business_criticality",
        "customer_visible",
        "regression_suspected"
      ],
      "additionalProperties": false
    },
    "context": {
      "type": "object",
      "properties": {
        "error": {
          "anyOf": [
            {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "version": {
                      "type": "number",
                      "const": 1
                    },
                    "name": {
                      "type": "string",
                      "minLength": 1
                    },
                    "message": {
                      "type": "string",
                      "minLength": 1
                    },
                    "stack": {
                      "type": "string",
                      "minLength": 1
                    },
                    "handled": {
                      "type": "boolean"
                    },
                    "top_frames": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      }
                    }
                  },
                  "required": [
                    "version",
                    "name",
                    "message",
                    "stack",
                    "handled",
                    "top_frames"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            {
              "type": "null"
            }
          ]
        },
        "request": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "method": {
                  "type": "string",
                  "minLength": 1
                },
                "path": {
                  "type": "string",
                  "minLength": 1
                },
                "route_template": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "query": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "body": {
                  "anyOf": [
                    {},
                    {
                      "type": "null"
                    }
                  ]
                },
                "request_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "version",
                "method",
                "path",
                "route_template",
                "query",
                "headers",
                "request_id"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "response": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "status_code": {
                  "type": "integer"
                },
                "duration_ms": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "headers": {
                  "type": "object",
                  "additionalProperties": {}
                },
                "body": {}
              },
              "required": [
                "version",
                "status_code",
                "duration_ms"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "logs": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "level": {
                        "type": "string",
                        "minLength": 1
                      },
                      "message": {
                        "type": "string",
                        "minLength": 1
                      },
                      "timestamp": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "attributes": {
                        "type": "object",
                        "additionalProperties": {}
                      }
                    },
                    "required": [
                      "level",
                      "message",
                      "timestamp",
                      "attributes"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "version",
                "items"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "frontend": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "route_changes": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "from": {
                        "type": "string"
                      },
                      "to": {
                        "type": "string"
                      },
                      "ts": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "from",
                      "to",
                      "ts"
                    ],
                    "additionalProperties": false
                  }
                },
                "clicks": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "selector": {
                        "type": "string"
                      },
                      "label": {
                        "type": "string"
                      },
                      "ts": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "selector",
                      "label",
                      "ts"
                    ],
                    "additionalProperties": false
                  }
                },
                "form_submissions": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "form": {
                        "type": "string"
                      },
                      "fields": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "ts": {
                        "type": "string",
                        "format": "date-time"
                      }
                    },
                    "required": [
                      "form",
                      "fields",
                      "ts"
                    ],
                    "additionalProperties": false
                  }
                },
                "console_logs": {
                  "type": "array",
                  "items": {}
                },
                "network_requests": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "method": {
                        "type": "string"
                      },
                      "url": {
                        "type": "string"
                      },
                      "status": {
                        "type": "integer"
                      },
                      "ts": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "duration_ms": {
                        "type": "number",
                        "minimum": 0
                      },
                      "caller_trace": {
                        "type": "array",
                        "items": {
                          "type": "string"
                        }
                      },
                      "response_body": {},
                      "request_body": {},
                      "response_headers": {
                        "type": "object",
                        "additionalProperties": {
                          "type": "string"
                        }
                      },
                      "response_content_length": {
                        "type": "integer",
                        "minimum": 0
                      }
                    },
                    "required": [
                      "method",
                      "url",
                      "status",
                      "ts"
                    ],
                    "additionalProperties": false
                  }
                },
                "exceptions": {
                  "type": "array",
                  "items": {}
                },
                "dom_context": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "mode": {
                          "type": "string",
                          "const": "lightweight"
                        },
                        "html_excerpt": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "mode",
                        "html_excerpt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "version",
                "route_changes",
                "clicks",
                "form_submissions",
                "console_logs",
                "network_requests",
                "exceptions",
                "dom_context"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "environment": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "os": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "host": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "container_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                }
              },
              "required": [
                "version",
                "os",
                "host",
                "container_id"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "deploy": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "commit_sha": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deploy_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "branch": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "deployed_at": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "date-time"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "regression_window": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                }
              },
              "required": [
                "version",
                "commit_sha",
                "deploy_version",
                "branch",
                "deployed_at",
                "regression_window"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "runtime": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "name": {
                  "type": "string",
                  "minLength": 1
                },
                "runtime_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "platform": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "arch": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "pid": {
                  "anyOf": [
                    {
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "cwd": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "uptime_sec": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "hostname": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "thread_id": {
                  "anyOf": [
                    {
                      "type": [
                        "string",
                        "number"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "framework": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "framework_version": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "memory": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "rss": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "heap_total": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "heap_used": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "external": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "peak": {
                          "anyOf": [
                            {
                              "type": "number",
                              "minimum": 0
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "rss",
                        "heap_total",
                        "heap_used",
                        "external",
                        "peak"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "framework_extras": {
                  "anyOf": [
                    {
                      "type": "object",
                      "additionalProperties": {}
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "version",
                "name",
                "runtime_version",
                "platform",
                "arch",
                "pid",
                "cwd",
                "uptime_sec",
                "hostname",
                "thread_id",
                "framework",
                "framework_version",
                "memory"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "git": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "commit": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "commit_short": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "branch": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "repo": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "dirty": {
                  "type": "boolean"
                },
                "source": {
                  "type": "string",
                  "enum": [
                    "config",
                    "env",
                    "local",
                    "unknown"
                  ]
                }
              },
              "required": [
                "version",
                "commit",
                "commit_short",
                "branch",
                "repo",
                "dirty",
                "source"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "dependencies": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1
                      },
                      "status": {
                        "type": "string",
                        "enum": [
                          "ok",
                          "degraded",
                          "failed",
                          "unknown"
                        ]
                      },
                      "notes": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "name",
                      "status",
                      "notes"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "version",
                "items"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "probe_data": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "items": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "label": {
                        "type": "string",
                        "minLength": 1
                      },
                      "data": {
                        "type": "object",
                        "additionalProperties": {}
                      },
                      "timestamp": {
                        "type": "string",
                        "format": "date-time"
                      },
                      "activation_id": {
                        "anyOf": [
                          {
                            "type": "string",
                            "format": "uuid"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "label",
                      "data",
                      "timestamp",
                      "activation_id"
                    ],
                    "additionalProperties": false
                  }
                }
              },
              "required": [
                "version",
                "items"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "device": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "version": {
                  "type": "number",
                  "const": 1
                },
                "user_agent": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "browser": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "os": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "version": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "name",
                    "version"
                  ],
                  "additionalProperties": false
                },
                "device_type": {
                  "type": "string",
                  "enum": [
                    "desktop",
                    "mobile",
                    "tablet",
                    "unknown"
                  ]
                },
                "screen": {
                  "type": "object",
                  "properties": {
                    "width": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 0
                    }
                  },
                  "required": [
                    "width",
                    "height"
                  ],
                  "additionalProperties": false
                },
                "viewport": {
                  "type": "object",
                  "properties": {
                    "width": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "height": {
                      "type": "integer",
                      "minimum": 0
                    }
                  },
                  "required": [
                    "width",
                    "height"
                  ],
                  "additionalProperties": false
                },
                "device_pixel_ratio": {
                  "anyOf": [
                    {
                      "type": "number",
                      "exclusiveMinimum": true,
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "touch_capable": {
                  "type": [
                    "boolean",
                    "null"
                  ]
                },
                "language": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "connection_type": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "color_scheme_preference": {
                  "anyOf": [
                    {
                      "type": "string",
                      "enum": [
                        "light",
                        "dark",
                        "no-preference"
                      ]
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "version",
                "user_agent",
                "browser",
                "os",
                "device_type",
                "screen",
                "viewport",
                "device_pixel_ratio",
                "touch_capable",
                "language",
                "connection_type",
                "color_scheme_preference"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "additionalProperties": false
    },
    "reproduction": {
      "type": "object",
      "properties": {
        "possible": {
          "type": "boolean"
        },
        "confidence": {
          "type": "number",
          "minimum": 0,
          "maximum": 1
        },
        "reason": {
          "type": "string"
        },
        "artifacts": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "curl": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "httpie": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "json_spec": {
                  "anyOf": [
                    {
                      "type": "object",
                      "properties": {
                        "method": {
                          "type": "string"
                        },
                        "url": {
                          "type": "string"
                        },
                        "headers": {
                          "type": "object",
                          "additionalProperties": {}
                        },
                        "query": {
                          "type": "object",
                          "additionalProperties": {}
                        },
                        "body": {
                          "anyOf": [
                            {},
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "method",
                        "url",
                        "headers"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "curl",
                "httpie",
                "json_spec"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        },
        "feasibility_reference": {
          "anyOf": [
            {
              "type": "object",
              "properties": {
                "standard_http_bugs": {
                  "type": "string"
                },
                "frontend_interaction_plus_failing_request": {
                  "type": "string"
                },
                "background_jobs": {
                  "type": "string"
                },
                "race_conditions": {
                  "type": "string"
                },
                "external_outage_timing": {
                  "type": "string"
                }
              },
              "required": [
                "standard_http_bugs",
                "frontend_interaction_plus_failing_request",
                "background_jobs",
                "race_conditions",
                "external_outage_timing"
              ],
              "additionalProperties": false
            },
            {
              "type": "null"
            }
          ]
        }
      },
      "required": [
        "possible",
        "confidence",
        "reason",
        "artifacts"
      ],
      "additionalProperties": false
    },
    "verification": {
      "type": "object",
      "properties": {
        "verification_type": {
          "type": [
            "string",
            "null"
          ]
        },
        "synthetic": {
          "type": "boolean"
        },
        "local_verified": {
          "type": "boolean"
        },
        "production_verified": {
          "type": "boolean"
        }
      },
      "required": [
        "verification_type",
        "synthetic",
        "local_verified",
        "production_verified"
      ],
      "additionalProperties": false
    },
    "links": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ]
        },
        "reproduction": {
          "type": [
            "string",
            "null"
          ]
        },
        "incident": {
          "type": [
            "string",
            "null"
          ]
        },
        "project": {
          "type": [
            "string",
            "null"
          ]
        },
        "docs": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "self",
        "reproduction",
        "incident",
        "project",
        "docs"
      ],
      "additionalProperties": false
    },
    "redaction": {
      "type": "object",
      "properties": {
        "redacted": {
          "type": "boolean"
        },
        "fields": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "notes": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "redacted",
        "fields",
        "notes"
      ],
      "additionalProperties": false
    },
    "metadata": {
      "type": "object",
      "properties": {
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "generator_version": {
          "type": "string",
          "minLength": 1
        },
        "generation_number": {
          "type": "integer",
          "exclusiveMinimum": true,
          "minimum": 0
        }
      },
      "required": [
        "created_at",
        "updated_at",
        "generator_version",
        "generation_number"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "bundle_version",
    "bundle_id",
    "bundle_type",
    "captured_at",
    "sdk",
    "project",
    "service",
    "signal",
    "summary",
    "impact",
    "context",
    "reproduction",
    "verification",
    "links",
    "redaction",
    "metadata"
  ],
  "additionalProperties": false,
  "$schema": "https://json-schema.org/draft/2020-12/schema#",
  "$id": "https://debugbundle.com/schemas/bundle.json",
  "title": "DebugBundle Bundle v1 Schema"
}
