# schema-dts TypeScript Types for Schema.org Structured Data

> An agent skill built on schema-dts by Google, which provides complete TypeScript type definitions for the Schema.org vocabulary. Enables type-safe generation and validation of JSON-LD structured data markup for SEO, rich search results, and knowledge graph integration.

- Skill: `agentskillexchange/schema-dts-typescript-types-for-schema-org-structured-data` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/schema-dts-typescript-types-for-schema-org-structured-data`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/schema-dts-typescript-types-for-schema-org-structured-data/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Marketing & Growth
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/schema-dts-typescript-types-for-schema-org-structured-data

---


# schema-dts TypeScript Types for Schema.org Structured Data

An agent skill built on schema-dts by Google, which provides complete TypeScript type definitions for the Schema.org vocabulary. Enables type-safe generation and validation of JSON-LD structured data markup for SEO, rich search results, and knowledge graph integration.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install --save-dev schema-dts
- npm install --save-dev schema-dts-gen
- npx schema-dts-gen --ontology=https://schema.org/version/latest/schemaorg-all-https.nt
- Use NPM to install dependencies:

Requirements and caveats from upstream:
- Notice that any node can have an @id when defining it. And you can reference
- the same node from different places by simply using an ID stub, for example

Basic usage or getting-started notes:
- ![Example of Code Completion using schema-dts](./example-1.gif)
- To use the typings for your project, simply add the
- [schema-dts](https://www.npmjs.com/package/schema-dts) NPM package to your

- Source: https://github.com/google/schema-dts
- Extracted from upstream docs: https://raw.githubusercontent.com/google/schema-dts/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/schema-dts-typescript-types-schemaorg-structured-data/)

