Research preview · 0.1.0-draft

No compatibility guarantee. Not for consequential production decisions.

Informative test case View tagged source

← All conformance cases

semantic-wrong-kind-rule-outcome

a rule identifier cannot satisfy an outcome reference

semantic invalid

Layer
semantic
Expected result
invalid
Expected diagnostic
JPS-SEMANTIC-UNRESOLVED-OUTCOME at /rules/0/outcome
Specification
§3.3
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.1.0-draft",
  "id": "https://example.com/judgment-packs/wrong-kind-rule-outcome",
  "version": "0.1.0",
  "title": "Wrong-kind rule outcome",
  "decision": {
    "intent": "Exercise reference-kind checking.",
    "question": "Can a rule id satisfy an outcome reference?"
  },
  "outcomes": [
    { "id": "accept", "label": "Accept" },
    { "id": "reject", "label": "Reject" }
  ],
  "rules": [
    {
      "id": "first-rule",
      "description": "Incorrectly names another rule as its outcome.",
      "when": { "op": "literal", "value": true },
      "outcome": "second-rule",
      "onUnknown": "ignore"
    },
    {
      "id": "second-rule",
      "description": "A declared rule, not an outcome.",
      "when": { "op": "literal", "value": false },
      "outcome": "accept",
      "onUnknown": "ignore"
    }
  ]
}