Catalog npm
PACKAGE EXPLORERView in registry

@0xintuition/schema-org

npm

Pinned schema.org type and property vocabulary for Intuition data packages

intuitionjson-ldschema-orgvocabulary
Versions collected1
Direct dependencies2From release 0.1.0-alpha.0
Last observed21 Oct, 08:57 UTC

README

Current package documentation

@0xintuition/schema-org

Pinned schema.org type and property vocabulary for Intuition alpha packages.

Runtime: ESM-only. This package does not publish CommonJS require entrypoints.

Included

  • schema.org V30.0 vocabulary generated from https://schema.org/version/30.0/schemaorg-current-https.jsonld
  • Generation reads the vendored V30.0 JSON-LD snapshot by default; maintainers can refresh the snapshot explicitly with bun run schema-org:refresh
  • One typed source module per schema: class
  • Normalized type records with directly declared properties and resolved subClassOf chains
  • Runtime accessors that resolve inherited properties and tag each property with its originating type

Install

bun add @0xintuition/schema-org@alpha

Usage

import { getPropertiesFor, getType } from '@0xintuition/schema-org'
import { schemaOrgBook } from '@0xintuition/schema-org/Book'

const book = getType('Book')
const bookProperties = getPropertiesFor('Book')
const title = bookProperties.find((property) => property.name === 'name')

console.log(book?.subClassOf)
console.log(schemaOrgBook.name)
console.log(title?.originType)

Generated artifacts are intentionally normalized: a type file stores only that type's directly declared properties plus its subClassOf chain. getPropertiesFor derives inherited properties at runtime.

Types whose schema.org names are not safe exact JavaScript exports, such as 3DModel, Number, Date, or Map, are still available from their subpath module via the schemaOrg<Name> named export or default export.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.0-alpha.0Registry latest15 Jun 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
0xintuition/packages

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 08:57 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:1756c25e5ae7c01ff7d6f24f7783c4b69652278c13739f4287bb16c43d819148