Skip to content

Branch main Contract FallbackDecision

github-actions[bot] edited this page May 3, 2026 · 102 revisions

Contract: Fallbackdecision

Back to Branch Overview

Field Value
Branch main
Source specs/contracts/FallbackDecision.schema.json
Commit 194c181637a9
Synced (UTC) 2026-05-03T12:20:35Z

JSON Payload

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "FallbackDecision",
  "description": "Decision record for fallback policy selection in DEGRADED states.",
  "type": "object",
  "properties": {
    "decisionID": {
      "type": "string"
    },
    "required": {
      "type": "boolean"
    },
    "policyID": {
      "type": ["string", "null"],
      "pattern": "^(FALLBACK-[A-Z]+-[0-9]{3}|null)$"
    },
    "candidateStateReference": {
      "type": ["string", "null"]
    },
    "selectionOutcome": {
      "type": "string",
      "enum": ["SELECTED", "NO_CANDIDATE", "INVALID_CANDIDATE", "ESCALATE_TO_CONTAINMENT"]
    },
    "reason": {
      "type": "string"
    },
    "selectedAt": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": ["decisionID", "required", "selectionOutcome", "reason", "selectedAt"],
  "additionalProperties": false
}

Clone this wiki locally