logoalt Hacker News

throwaway_20357today at 2:07 PM1 replyview on HN

Can shops not just embed Schema/JSON-LD in the page if they want their information to be machine readable?


Replies

tsazantoday at 2:52 PM

That is the current standard. But it is hard for agents to read efficiently. To access JSON-LD, an agent must download the entire HTML page. This creates a haystack problem where you download 2MB of noise just to find 5KB of data.

Even then, you pay a syntax tax. JSON is verbose. Brackets and quotes waste valuable context window. Furthermore, the standard lacks behavior. JSON-LD lists facts but lacks instructions on how to sell (like @SEMANTIC_LOGIC). CommerceTXT is a fast lane. It does not replace JSON-LD. It optimizes it.

show 2 replies