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-sources

sources collection must be an array of source objects

structural invalid

Layer
structural
Expected result
invalid
Expected diagnostic
JPS-STRUCTURE-TYPE at /sources
Specification
§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.2.0-draft",
  "id": "https://example.com/judgment-packs/non-array-sources",
  "version": "0.1.0",
  "title": "Non-array sources",
  "decision": {
    "intent": "Exercise source collection type validation.",
    "question": "Is a single source object rejected where an array is required?"
  },
  "sources": {
    "id": "policy",
    "title": "Example policy",
    "publishedAt": "2026-02-28",
    "locator": {
      "kind": "uri",
      "value": "https://example.com/policy"
    }
  },
  "outcomes": [
    {
      "id": "accept",
      "label": "Accept"
    },
    {
      "id": "reject",
      "label": "Reject"
    }
  ],
  "rules": [
    {
      "id": "literal-rule",
      "description": "A structurally minimal rule.",
      "when": {
        "op": "literal",
        "value": true
      },
      "outcome": "accept",
      "onUnknown": "ignore"
    }
  ]
}