{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Traces, delivery evidence and operations evaluation inputs",
  "description": "Combine transport, backlog and reconciliation signals to decide what an operator should inspect.",
  "type": "object",
  "required": [
    "transport_ok",
    "business_complete",
    "oldest_pending_seconds",
    "reconciliation_differences"
  ],
  "properties": {
    "transport_ok": {
      "type": "boolean",
      "description": "Whether the latest transport attempt succeeded."
    },
    "business_complete": {
      "type": "boolean",
      "description": "Whether the intended business action is confirmed complete."
    },
    "oldest_pending_seconds": {
      "type": "number",
      "description": "Age of the oldest unresolved item.",
      "minimum": 0
    },
    "reconciliation_differences": {
      "type": "integer",
      "description": "Unresolved differences in the defined comparison scope.",
      "minimum": 0
    }
  },
  "additionalProperties": false
}