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

valid-value-set-mixed-types

a set may mix types; 1, "1", true, null, [1] and {"a": 1} are six distinct values

semantic valid

Layer
semantic
Expected result
valid
Specification
§6.9
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-mixed-types",
  "version": "0.1.0",
  "title": "A set of six distinct values of mixed types",
  "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": "in",
        "valueSet": "priority-tiers"
      },
      "outcome": "accept",
      "onUnknown": "escalate"
    }
  ],
  "valueSets": [
    {
      "id": "priority-tiers",
      "entries": [
        {
          "value": 1
        },
        {
          "value": "1"
        },
        {
          "value": true
        },
        {
          "value": null
        },
        {
          "value": [
            1
          ]
        },
        {
          "value": {
            "a": 1
          }
        }
      ]
    }
  ]
}