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-extension-name-trailing-lf-annotated

a vendor extension name ending in a line feed, as a key of a rule's annotated extensions object, is one refusal at the key under any engine

structural invalid

Layer
structural
Expected result
invalid
Expected diagnostic
JPS-STRUCTURE-EXTENSION-NAME at /rules/0/extensions/com.example.review-policy
Specification
§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/extension-name-trailing-lf-annotated",
  "version": "0.1.0",
  "title": "A vendor extension name that ends in a line feed, beside annotations",
  "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 every request.",
      "when": {
        "op": "literal",
        "value": true
      },
      "outcome": "accept",
      "onUnknown": "ignore",
      "extensions": {
        "org.judgmentpack.annotations": {
          "category": "intake"
        },
        "com.example.review-policy\n": {
          "reviewMode": "two-person"
        }
      }
    }
  ]
}