Sorry for the confusion!
Hopefully the following table will clarify what I’m trying to do. Basically it is a road bike use case. I want to only allow routing on more minor roads and paths if they are known to be paved (by paved I would include asphalt, concrete, etc but I’ve just shown it as paved below for simplicity).
I would like to “allow” the following (obviously subject to normal bike access rules):
| road class | surface |
| primary | any |
| secondary | any |
| tertiary | any |
| unclassified | only if paved |
| residential | any |
| living_street | only if paved |
| service | only if paved |
| pedestrian | any |
| all other types ... | only if paved |
motorway and trunk roads would also be disallowed.