{
  "schema": "https://bars.commonsware.com/conformance/schema/render-fixture.schema.json",
  "version": "0.1.0",
  "cases": [
    {
      "name": "top-level-identifier-miss-reports-kb-5005",
      "description": "A bare identifier that the context struct does not provide resolves to null and reports a KB-5005 UnresolvedReference soft failure.",
      "template": "x={{ missing }}",
      "context": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "x=null"
      },
      "expectedSoftFails": ["KB-5005"]
    },
    {
      "name": "nested-pointer-miss-reports-kb-5005",
      "description": "A sub-pointer under a resolvable parent, but whose final segment the parent does not provide, resolves to null and reports a KB-5005 UnresolvedReference soft failure.",
      "template": "{{ a/b }}",
      "context": {
        "a": {}
      },
      "expect": {
        "kind": "output",
        "expectedOutput": "null"
      },
      "expectedSoftFails": ["KB-5005"]
    },
    {
      "name": "unresolved-identifier-in-condition-is-falsy",
      "description": "An unresolved identifier used as a block condition reports KB-5005 and is treated as falsy, so unless renders its body.",
      "template": "{{#unless missing }}yes{{else}}no{{/unless}}",
      "context": {},
      "expect": {
        "kind": "output",
        "expectedOutput": "yes"
      },
      "expectedSoftFails": ["KB-5005"]
    }
  ]
}
