Jessica Anderson completing the London Marathon on April 28 (Eric Torentino)

Jessica Anderson trained for the London Marathon with a goal: She wanted to be the fastest woman to complete the race dressed as a nurse.

Breaking the Guinness World Record was “a challenge but not totally out of reach,” Anderson said, and on April 28, she accomplished the feat — crossing the marathon finish line at 3:08:22 — faster than the 3:08:54 record.

But her timing wasn’t enough to take the title, according to Guinness World Records, whose criteria for a nurse’s uniform is based on mid-20th century ideas.

Because Anderson ran wearing medical scrubs and not a dress, she did not qualify as a record-breaker.

In February, Anderson, a nurse at Royal London Hospital for seven years, applied to be considered for the competition. Per Guinness guidelines, she attached photos of her proposed marathon outfit — the uniform she wears daily: a blue scrub top and trousers.

Anderson was “quite shocked” to learn her application had been rejected because her outfit “didn’t meet their criteria.” Guinness guidelines specified “a white or blue dress, pinafore apron and white cap,” Anderson told The Washington Post. (Pantyhose were optional.)

“That didn’t feel right to me,” she said. “After that it was too late to resubmit, but I didn’t want to change my outfit anyway.”

Although the submission deadline had passed, she also wrote Guinness officials.

In a letter viewed by The Post, dated Feb. 19, the nurse called the criteria “outdated and frankly quite sexist.”

“This is my actual nursing uniform which I wear to work, and it baffles me that it doesn’t qualify as a costume for an attempt at ‘fastest marathon in a nurse’s uniform,’ ” she wrote, asking to be directed to whoever was in the position to review the uniform criteria.

Two days later, she received a reply.

In a message to Anderson, reviewed by The Post, a Guinness official explained that her attire bore too many similarities to Guinness requirements for “fastest marathon dressed as a doctor,” which included scrubs, a white coat and stethoscope. Without the “old fashioned, stereotypical attire,” Guinness worried the nurse’s outfit might not be properly differentiated from the doctor’s.

The official also drew on other categories as a comparison: “Marathons dressed as a brownie or scout,” which also require “older fashioned costumes” and not the modern clothes worn by the scouting community, and marathons dressed as a chef, requiring “a chef’s hat to be worn and a large pot to be carried whereas a number of chefs do not wear hats at all.”

The note also clarified that the nurse’s dress and apron requirement was same for men and women who competed as nurses.

Anderson, who ran to raise money for her hospital ward, called the uniform criteria “outdated.”

“I’ve certainly never seen a male nurse wearing a dress to work,” she said in an interview with Runner’s World, adding that most nurses at her hospital wear scrubs, tunics or trousers.

Anderson asked Guinness to reconsider her application and was denied a second time. Still, she ran the marathon and — with or without the Guinness accolade — broke the record for fastest time.

Although Guinness has not given Anderson the fastest-female title, the company appears to have taken her demand to heart. Rather than reinforcing gender stereotypes, it has committed to reevaluating its criteria.

“Inclusiveness and respect are values that Guinness World Records holds extremely dear and while we always need to ensure we can differentiate between categories, it is quite clear that this record title is long over due a review which we will conduct as a priority in the coming days," Guinness World Records said in a statement provided to The Post.

Anderson is pleased that her run has triggered a discussion, she said, but she credits any change in Guinness rules to the outpouring of public support she has received.

“Everyone from student nurses to the chief nursing officers have joined in,” she said. “They’ve done a selfie wearing their uniform with the hashtag #whatnurseswear.”

Read more:

Kentucky Derby 2019: Why were objections raised after Maximum Security’s finish?

After historic disqualification of first-place finisher, Country House wins Kentucky Derby

LeBron James was blindsided by Magic Johnson’s exit: ‘Why would you do it now?’