• Verified
  • Free plan

SchemaDotOrg

Listed under GitHub repos

SchemaDotOrg is an open source Ruby gem that builds Schema.org JSON-LD structured data from Ruby objects, validates attributes, raises errors on invalid markup, and includes a breadcrumb helper. It is free under an MIT license.

Used for

  • JSON-LD generation
  • markup validation
  • breadcrumb markup

What SchemaDotOrg does

SchemaDotOrg is a Ruby library for creating Schema.org structured data on a website. You write plain Ruby code in a helper or controller, for example an Organization object with a name, founder, founding date, address, telephone and social profile links, then output that object in a template. The library renders it as a JSON-LD script tag inside the page HTML.

The library is built on a no silent failures principle. Rather than passing through whatever you give it, it prevents invalid markup, and its output is validated for both syntax and semantics. It ships as the schema_dot_org gem under the MIT licence, with a documented set of supported Schema.org types and an RSpec example for each type.

Key features

Syntax and semantic validation
Every structured data object is validated for correct Schema.org syntax and semantics before it reaches the page.
No silent failures
The library is coded so invalid markup is prevented, rather than quietly rendered and shipped to search engines.
Declarative Ruby objects
Structured data is defined as plain Ruby objects written in a helper or controller, not handwritten JSON.
JSON-LD script output
Rendering the object in a template produces a formatted script tag with type application/ld+json.
Nested object attributes
Objects nest, as in the Organization example that holds a Person founder, a Place location and an array of profiles.
Rails helper and controller use
The documented workflow targets Rails apps, building the object in a helper or controller and printing it in a view.
BreadcrumbList type
BreadcrumbList is listed among the supported Schema.org types, with an RSpec file as its example.
WebSite type
WebSite is supported and shown with only its required attributes filled in.
Gemfile install
Installation is one line, adding gem schema_dot_org to the application Gemfile.
Per type RSpec examples
Each supported type links to its own RSpec, which serves as the usage example.
Contribution path for new types
Development notes state the aim of making it easy to contribute new Schema.org types to the library.

How it works

  1. Add the schema_dot_org gem to your Gemfile and install it.
  2. Write plain Ruby code in a Rails helper or controller to instantiate a structured data object.
  3. Pass attributes such as name, url, logo and same_as, nesting other objects where needed.
  4. Output the object in a template, where it renders as a JSON-LD script tag.
  5. The library checks the markup and refuses to produce invalid structured data.

Plans and pricing

Distributed as a free open source Ruby gem under the MIT licence, installable from RubyGems.

Integrations and platforms

Works with

  • Ruby on Rails
  • RubyGems
  • Google Search

Available as

  • Web

Repository facts

  • Repositorypublic-law/schema-dot-org
  • LanguageRuby
  • Stars79
  • Forks34
  • LicenceMIT
  • Created2018-02-13
  • Last commit2025-08-29
  • Open issues6
  • google-crawler
  • json-ld
  • rails
  • ruby
  • schema-org
  • seo
  • structured-data
  • validations

Services and details

  • Does SEO work itself

    Yes
  • Free plan or free tools

    Yes

No information yet on keyword research, content optimization, writes content with AI, technical audits, rank tracking, backlinks and link building, local SEO, AI search visibility, free trial, API or MCP server, WordPress plugin, browser extension, built for agencies. The website did not say; check with the vendor.

Compare with other SEO tools:

About the company

Listing compiled from public sources and the product's own website. Last updated 2026-11-12. Report a correction or request removal. Back to GitHub repos.