Is it code compliant to allow a SJT type cord to be laid on an exterior surface in an area subject to foot traffic. I fully realize that this would be a nuisance and even a trip hazard but putting that aside is it a violation? The reason I am asking is I had a home inspector write up a violation on an existing outdoor hot tub that has this type of cord(120V by the way with integral GFCI protection built into the cord end) directly buried about 6" deep under some pavers. The violation stated is that the cord is not rated for direct burial, which is legitimate reason.If the seller can simply dig up the cord and run it on the surface they will save nearly $1200.00, otherwise once the existing wiring is disturbed it will need to be brought up to current code and done as a new installation. Any thoughts welcome.