Research preview · 0.2.0-draft

No compatibility guarantee. Not for consequential production decisions.

Informative test case View tagged source

← All conformance cases

structural-non-array-escalation-triggers

escalation triggers must be an array of trigger names

structural invalid

Layer
structural
Expected result
invalid
Expected diagnostic
JPS-STRUCTURE-TYPE at /escalation/triggers
Specification
§6.7
The expected result is conformance-corpus metadata, not a claim about factual grounding, authority, safety, or operational fitness.

Download exact fixture

Exact fixture

{
  "specVersion": "0.2.0-draft",
  "id": "https://example.com/judgment-packs/non-array-escalation-triggers",
  "version": "0.1.0",
  "title": "Non-array escalation triggers",
  "decision": {
    "intent": "Exercise escalation triggers type validation.",
    "question": "Is a bare string rejected where an array of triggers is required?"
  },
  "outcomes": [
    {
      "id": "accept",
      "label": "Accept"
    },
    {
      "id": "reject",
      "label": "Reject"
    }
  ],
  "rules": [
    {
      "id": "literal-rule",
      "description": "A structurally ordinary rule.",
      "when": {
        "op": "literal",
        "value": true
      },
      "outcome": "accept",
      "onUnknown": "ignore"
    }
  ],
  "escalation": {
    "triggers": "unknown",
    "target": {
      "kind": "human-role",
      "name": "Reviewer"
    }
  }
}