SoftwareSourceCode & Git Repository Schema (JSON-LD Blueprint)
Structured data for open-source Git repositories, code libraries, and algorithmic source files on GitHub, GitLab, and Bitbucket.
Displayed below main page header or above the tool container. • Zero CLS Container
Production JSON-LD Code Block
Embed this structured data block directly into your HTML <head> or framework layout template.
{
"@context": "https://schema.org",
"@type": "SoftwareSourceCode",
"name": "OmniSEO Core Engine",
"description": "High-performance client-side library for SERP length calculation, robots.txt linting, and JSON-LD schema generation.",
"codeRepository": "https://github.com/omniseotools/omniseo-core",
"programmingLanguage": "TypeScript",
"runtimePlatform": "Node.js 20+, Modern Browsers",
"license": "https://opensource.org/licenses/MIT",
"version": "2.4.0",
"codeSampleType": "full repository",
"author": {
"@type": "Organization",
"name": "OmniSEO Tools",
"url": "https://omniseotools.com"
}
}Typed Properties Specification (6 Fields)
Key Schema.org properties and sub-objects required to qualify for rich snippet treatment in Google Search.
| Property | Expected Type | Status | Description & Example |
|---|---|---|---|
| codeRepository | URL | Required | Public HTTPS URL to the Git repository (e.g. GitHub/GitLab). e.g. https://github.com/omniseotools/omniseo-core |
| programmingLanguage | Text | ComputerLanguage | Required | Primary programming language (e.g. TypeScript, Python, Go, Rust). e.g. TypeScript |
| runtimePlatform | Text | Required | Supported execution environments (e.g. Node.js 20+, Deno, Chromium). e.g. Node.js 20+, Modern Browsers |
| license | URL | Required | Direct URL to the open-source license terms (MIT, Apache-2.0, GPL-3.0). e.g. https://opensource.org/licenses/MIT |
| version | Text | Recommended | Current semver release tag. e.g. 2.4.0 |
| author | Organization | Person | Required | Maintainer or creator entity. e.g. { "@type": "Organization", "name": "OmniSEO Tools" } |
Google Search Console Pitfalls & Critical Warnings
Avoid these 3 common validation traps, parser errors, and algorithmic policy penalties when deploying SoftwareSourceCode schema.
Non-Canonical codeRepository URL
Linking to ephemeral branch mirrors or private repositories.
Provide direct HTTPS link to primary default branch repo.
Unrecognized programmingLanguage String
Using non-standard language abbreviations like 'ts' instead of 'TypeScript'.
Use canonical language names ('TypeScript', 'Python', 'Rust').
Missing SPDX Open-Source license URL
Omitting license makes it impossible for developers to determine usage rights.
Always supply official OSI license URL.
Recommended Implementation Scenarios
Related Schema Blueprints
Explore complementary structured data blueprints across the Technical SEO cluster.
OpenSourceProject & Community Hub Schema (JSON-LD Blueprint)
NPM JavaScript Module & Node Package Schema (JSON-LD Blueprint)
Python Package (PyPI) & Wheel Distribution Schema (JSON-LD)
DeveloperSDK & Client Library Toolkit Schema (JSON-LD)
Displayed below main page header or above the tool container. • Zero CLS Container