LogicSRC standards surface
++ One file a merchant serves about what is on offer right now. A coupon site reads the + merchant instead of a forum thread, and a dead code dies everywhere at once. +
+
+ Every coupon site is a graveyard. A code is posted once, copied everywhere, and lives on
+ for years after the merchant retired it, because no coupon site knows when a code died
+ and the merchant has no way to tell them. The merchant already knows exactly which codes
+ work: its checkout is the source of truth and the promotion lives in a table with a start,
+ an end and a rule. OpenCoupon is that table, exported, at{" "}
+ /.well-known/opencoupon.json.
+
+ Status: 0.1. The first directory reading it is the deals collection at{" "} + nichedb.dev. The smallest valid file is a + merchant with a name and a coupon with a title. +
++ A code fetched from the merchant's own origin is a code the merchant says works. + That is the whole verification, and the whole point. +
+{DESCRIPTOR}
+
+ code absent means nothing to type: the promotion applies on its
+ own at url. scope narrows to
+ categories or products, or everything but excludes.{" "}
+ status is derived from the dates unless stated, and an expired
+ coupon stays in the file for as long as copies of it circulate, so a directory learns it
+ died from the one party that knows. Unknown keys are kept.
+
| kind | +value | +example | +
|---|---|---|
+ {kind}
+ |
+ {value} | +{example} | +
| + {what} + | +{how} | +
| + {what} + | +{why} | +
LogicSRC standards surface
++ One Markdown file that is a recipe, in the form a person writes one and a printer prints + one. The page has the story. The file has the recipe. +
++ A recipe on the web is four thousand words of memoir with the recipe at the bottom, and a + block of JSON-LD in the head that search engines read and people never see. The two + drift: the page says three eggs and the schema says two. The form people actually write + recipes in has not changed in a century and it is Markdown already. OpenRecipe.md fixes + where the file lives and which lines mean what, so a cooking app, a grocery list and an + agent read the file the author wrote. +
++ Status: 0.1. Same rules as OpenProfile.md and{" "} + OpenResume.md: Markdown is canonical, every rule + degrades, the structured view is derived. +
+{EXAMPLE}
+ Every one of them degrades rather than fails.
+| Rule | +What it means | +
|---|---|
| + + {index + 1}. {rule} + + | +{meaning} | +
+ Next to the page (/recipes/shakshuka.md), a{" "}
+ {''} on the page, or a site index at{" "}
+ /.well-known/openrecipe.md, one recipe per bullet. Served as{" "}
+ text/markdown.
+
+ Keep serving schema.org/Recipe for search engines. Generate it from the Markdown on + every publish. The Markdown is the canonical copy. +
+| OpenRecipe.md | +schema.org/Recipe | +
|---|---|
| {md} | +
+ {schema}
+ |
+
| + {what} + | +{why} | +