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-annotations-display-hostile

markup, a template, a formula prefix, a URI, right-to-left text beside digits and neutral characters, a word spelled with a look-alike letter from another script (U+0430), stacked combining marks, an inner em space and an outcome id as values: what the refused class still admits; how it is displayed is a consumer's test

semantic valid

Layer
semantic
Expected result
valid
Specification
§10
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/annotations-display-hostile",
  "version": "0.1.0",
  "title": "Display-hostile annotation values",
  "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": {
          "markup": "<b onclick=\"x\">hi</b>",
          "template": "{{ request.secret }}",
          "formula": "=HYPERLINK(\"https://example.com/x\")",
          "uri": "https://example.com/collect?id=1",
          "rtl": [
            "\u05e9\u05dc\u05d5\u05dd 2-1",
            "(\u05d0) [b]"
          ],
          "look-alike": "\u0430pprove",
          "combining": "a\u0301\u0302\u0303\u0304",
          "inner-space": "intake\u2003review",
          "outcome": "refer"
        }
      }
    }
  ]
}