40031 is a postalcode and its consensus geometry is derived from uszcta.
{"mz:is_ceased":0,"geom:latitude":38.427702,"wof:name":"40031","counts:names_total":0,"wof:placetype":"postalcode","mz:is_current":1,"wof:hierarchy":[{"continent_id":102191575,"country_id":85633793,"county_id":102084559,"postalcode_id":554718625,"region_id":85688641}],"mz:is_deprecated":0,"lbl:latitude":38.429415,"mz:postal_locality_alt":["Bardstown"],"geom:area":0.018019,"geom:longitude":-85.394786,"wof:id":554718625,"counts:concordances_total":1,"geom:type":"Polygon","wof:lastmodified":1611185576,"wof:belongsto":[102191575,85633793,102084559,85688641],"wof:concordances":{"gp:id":"12775093"},"wof:repo":"whosonfirst-data-postalcode-us","src:geom":"uszcta","wof:country":"US","counts:names_preferred":0,"geom:area_square_m":1.74544571223044E8,"wof:tags":[],"counts:names_variant":0,"wof:breaches":[],"edtf:inception":"uuuu","iso:country":"US","counts:names_languages":0,"geom:bbox":"-85.522302,38.355847,-85.304534,38.506323","wof:superseded_by":[],"wof:supersedes":[],"lbl:longitude":-85.400814,"wof:geomhash":"81b721c254c7e17be63c696b27cbf264","wof:parent_id":102084559,"wof:placetype_names":["postalcode"],"mz:hierarchy_label":1,"wof:placetype_id":470996387,"edtf:cessation":"uuuu","mz:postal_locality":"La Grange"}