Draft · 0.6.0

A `0.x` draft in production use by adopters: pin the exact draft and runtime release; no compatibility guarantee between drafts.

Informative test case View tagged source

← All conformance cases

structural-value-set-reference-and-value-operator-equals

value and valueSet together with operator equals: two section 7.4 refusals of one condition, both members present and valueSet under an operator other than in, found at the condition and at its operator, inside the condition's oneOf

structural invalid

Layer
structural
Expected result
invalid
Expected diagnostic
JPS-STRUCTURE-VALUE-SET-REFERENCE at /rules/0/when
Specification
§7.4
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.6.0",
  "id": "https://example.com/judgment-packs/value-set-reference-and-value-operator-equals",
  "version": "0.1.0",
  "title": "A malformed value set",
  "decision": {
    "intent": "Exercise one rule of RFC 0031.",
    "question": "Is the request accepted?"
  },
  "outcomes": [
    {
      "id": "accept",
      "label": "Accept"
    },
    {
      "id": "refer",
      "label": "Refer for review"
    }
  ],
  "rules": [
    {
      "id": "accept-request",
      "description": "Accept a request in a priority tier.",
      "when": {
        "op": "fact",
        "path": "/request/tier",
        "operator": "equals",
        "valueSet": "priority-tiers",
        "value": "tier-1"
      },
      "outcome": "accept",
      "onUnknown": "escalate"
    }
  ],
  "valueSets": [
    {
      "id": "priority-tiers",
      "entries": [
        {
          "value": "tier-1"
        },
        {
          "value": "tier-2"
        }
      ]
    }
  ]
}