look at:-
http://wiki.openstreetmap.org/wiki/Tag:footway%3Dsidewalk
http://wiki.openstreetmap.org/wiki/Proposed_features/Sidewalk_as_separate_way
http://wiki.openstreetmap.org/wiki/Area/The_Future_of_Areas
http://wiki.openstreetmap.org/wiki/Proposed_features/Street_area
http://wiki.openstreetmap.org/wiki/Proposed_features/area:highway
http://wiki.openstreetmap.org/wiki/Proposed_features/area_highway/mapping_guidelines
these should help you get started with pedestrian level maps and routing if you follow all the links on those pages you can learn a lot on the subject. Some of it still feels new to older contributers and input so far is patchy but expanding steadily.
when it comes to going into buildings there are moves to use a combination of highway and special indoor tagging to discrbe things like malls, station, shops, lots of public buildings etc. They also handle multi-floored buildings with level or elevation sperated tagging though some older contributers have big problems with stacked nodes they aren't technicaly not allowed are needed in cirtain places with these new schemes such as entrance doors to flats in highrise blocks for instance...
some infomation can be found on wiki searches on indoor mapping such as:-
http://wiki.openstreetmap.org/w/index.php?title=Special%3ASearch&profile=default&search=indoor&fulltext=Search
http://wiki.openstreetmap.org/wiki/Simple_Indoor_Tagging
http://wiki.openstreetmap.org/wiki/Indoor_Mapping
by resurching through the above you can a lean a lot about how others have been doing what you are trying to map.
incedentaly its a area I also try to focus on in my contributions.