From the extremely entertaining "How to Become a Federal Criminal: An Illustrated Handbook for the Aspiring Offender" by Mike Chase.
We begin with the bread, the foundation of any ham and cheese sandwich. Bakery products fall squarely in FDA jurisdiction.
One regulation promulgated by the FDA, Title 21, Section 136.110, of the Code of Federal Regulations, is appropriately entitled “Bread, rolls and buns.” It sets the requirements for the most basic of bread products. For example, if the sandwich is going to be served on “egg bread,” the FDA is of the view that the bread had better contain at least 2.56 percent egg solids by weight. There are also other more nuanced bread regulations, like how raisin-y “raisin bread” must be (at least 50 parts by weight for each 100 parts by weight of flour), and that “milk buns” can’t contain any buttermilk.
Then comes the ham. Without it, we’re just going to end up with a cold cheese sandwich on our hands, and that would be sad. But this is also where the USDA enters the picture.
Ham is a meat product subject to regulation by the USDA under Title 9 of the C.F.R. Before it leaves the slaughterhouse, the ham has to be inspected by the USDA and approved for human consumption.
Next, it’s time to add the cheese to our crime sandwich. There are dozens of regulations governing the cheese itself. But whether the cheese is compliant with the federal regulations or not is only part of our concern. One slice of bread, some ham, and a piece of cheese technically make an open-face ham-and-cheese sandwich. Pursuant to the FDA’s Investigations Operations Manual, open-face sandwiches are in the investigative jurisdiction of the USDA. Once the meat-to-bread ratio hits 50:50 on a single slice of bread, the USDA calls the shots. Add a second slice of bread, however, and you now have a closed-face sandwich, and you’re back in FDA jurisdiction.
National Institute of Standards and Technology probably. Seriously, you can get NIST peanut butter. It's stupidly expensive, but it is the industry standard of what peanut butter should be. I'm sure they have a definition for a ham sandwich.
You misunderstand. NIST standard reference peanut butter is not "the industry standard of what peanut butter should be". It is peanut butter made with meticulously precise amounts of base ingredients so the testable components can be used as a real world reference for calibration of instruments. It's no different than any other reference standard in that the purpose is to be a known input to calibrate the instruments used for measurements.
It's hundreds or thousands of dollars for a small jar.
The point of NIST foodstuffs is to test industrial equipment / cleaning chemicals / etc. against a standard, not to eat. IIRC Tom Scott has a video about'm.
NIST peanut butter is the (analytical) standard, all tests are done with that stuff as a reference (or part of reference). That's why it's so expensive, it has to be very consistent
Tom Scott also has a video about it, but a quick search returns several possible results and (despite his probably being the best) I don't remember enough about it to determine which is the correct one nor enough time to watch and determine.