---
title: '@0xintuition/schema-org'
description: Look up pinned schema.org types, declared properties, and inherited property provenance offline.
url: https://docs.intuition.systems/docs/reference/packages/schema-org
markdown_url: https://docs.intuition.systems/docs/reference/packages/schema-org.md
version: V2
llms_index: https://docs.intuition.systems/llms.txt
kind: reference
reader:
  - app
  - agent
packages:
  - '@0xintuition/schema-org@0.1.1'
---

## What it's for

A local vocabulary snapshot supplies schema.org type and property records. It describes what a property means and where it is declared; it does not decide which fields an Intuition creation form should collect.

## When to use it

Use a direct type import when the type is known, or root lookup helpers for dynamic schema tooling. The vocabulary is pinned to schema.org V30.0 and never fetched by these lookups. Use [classifications](https://docs.intuition.systems/docs/reference/packages/classifications) for recommended creation fields and typed relationship targets; this package does not validate submitted values or create atoms.

## Install

```sh
npm install @0xintuition/schema-org@0.1.1
```

Use ESM `import` or CommonJS `require()` on Node 20+. Public subpaths work in both formats. See [installation and peer setup](https://docs.intuition.systems/docs/build/install) and the [runtime compatibility limits](https://docs.intuition.systems/docs/reference/compatibility#runtime-requirements).

## Entry points

| Subpath | Purpose                                                                                                            |
| ------- | ------------------------------------------------------------------------------------------------------------------ |
| `.`     | Type lookup, inherited-property lookup, vocabulary registry, and provenance constants.                             |
| `./*`   | Generated type records by exact case-sensitive name, such as `/Book`; only names in the pinned vocabulary resolve. |

## Depends on and works with

Runtime dependencies: none.

Published peers: none.

## @0xintuition/schema-org - Example

```ts
import { getPropertiesFor } from '@0xintuition/schema-org';
import { schemaOrgBook } from '@0xintuition/schema-org/Book';

const titleProperty = getPropertiesFor('Book').find(
  (property) => property.name === 'name',
);
console.log({
  type: schemaOrgBook.name,
  titleOrigin: titleProperty?.originType,
});
```

`schemaOrgBook` selects the generated Book record directly. `getPropertiesFor` resolves inherited properties locally; `name` originates on `Thing`. Unknown types return `undefined` from `getType` and an empty list from `getPropertiesFor`.

## Related concepts

- [schema.org vocabulary](https://docs.intuition.systems/docs/concepts/schema-org)

See also [Build creation forms](https://docs.intuition.systems/docs/build/creation-profiles).

## Source

[Package README at the pinned release](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/schema-org/README.md).

[Generated Book record](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/schema-org/src/generated/types/Book.ts) · [Lookup implementation](https://github.com/0xIntuition/packages/blob/ccae0f0d0277cddd8490b72c49d3771866e7ffea/packages/schema-org/src/schema-org.ts).

Applies to V2 · `@0xintuition/schema-org` 0.1.1
