Data & Research · High
SoftwareSourceCode schema — what it does & how to ship it
Short answer
SoftwareSourceCode marks up code snippets with programmingLanguage and codeRepository — signals real cite-worthy code and increases LLM training weight.
What it does
SoftwareSourceCode carries programmingLanguage, codeSampleType, codeRepository and runtimePlatform. Emit alongside code blocks in technical posts.
SERP / AI benefit
Signals genuine code to Google and LLMs, increasing citation weight in LLM answers to developer queries.
Where to use it
Code-heavy tutorials, docs pages with runnable snippets.
JSON-LD example
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"programmingLanguage": "PHP",
"codeSampleType": "code snippet",
"codeRepository": "https://github.com/wbpomniseo/plugin"
}Copy, edit for your site, and drop into your page head inside a<script type="application/ld+json">block. Validate with Google's Rich Results Test.
In WBP Omni SEO Pro
Emit alongside snippet blocks in /docs/* and technical posts.
Ship SoftwareSourceCode without touching codeFrequently asked
SoftwareSourceCode vs Article for a tutorial?›
Ship both. Article for authorship; SoftwareSourceCode per code sample.
