Please check out the wiki page for roads eg https://wiki.openstreetmap.org/wiki/Tag:highway=residential?uselang=en - this shows how to map them. Road type (service/ residential etc) is only used to tag how important it is, and generally these should not change. Surface is mapped with a separate tag. Pedestrians is not something that is generally mapped, but usually corresponds with a lower road type like unclassified