| 347 | | /* only {0.key}, #11104, #12422, #14950, #19572 */ |
| 348 | | *[lanes][eval(number_of_tags()) = 1], |
| 349 | | *[surface][eval(number_of_tags()) = 1], |
| 350 | | *[access][eval(number_of_tags()) = 1], |
| 351 | | *[area][eval(number_of_tags()) = 1]!.area_yes_autofix, |
| 352 | | *[name][eval(number_of_tags()) = 1], |
| 353 | | *[ref][eval(number_of_tags()) = 1], |
| 354 | | *[lit][eval(number_of_tags()) = 1] { |
| | 353 | /* only {0.key}, #11104, #12422, #14950, #19572, #20902 */ |
| | 354 | /* multipolygon has own test for most cases, see #20909 */ |
| | 355 | /* boundary, connectivity, enforcement, restriction, route and waterway have own test for needed subkeys */ |
| | 356 | *[access].one_tag[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 357 | *[area].one_tag!.area_yes_autofix[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 358 | *[lanes].one_tag[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 359 | *[layer].one_tag[type !~ /^(boundary|bridge|building|connectivity|enforcement|multipolygon|restriction|route|tunnel|waterway)$/], /* some relations are valid */ |
| | 360 | way[level].one_tag, /* nodes might be valid */ |
| | 361 | relation[level].one_tag[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 362 | *[lit].one_tag[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 363 | *[name].one_tag[type !~ /^(associatedStreet|boundary|bridge|building|connectivity|enforcement|multipolygon|restriction|route|site|street|tunnel|waterway)$/], /* most relations are valid */ |
| | 364 | *[ref].one_tag[type !~ /^(boundary|connectivity|enforcement|multipolygon|restriction|route|waterway)$/], |
| | 365 | *[surface].one_tag[type !~ /^(boundary|connectivity|enforcement|restriction|route|waterway)$/] { |