{"_id":"@0xintuition/schema-org","name":"@0xintuition/schema-org","dist-tags":{"alpha":"0.1.0-alpha.0","latest":"0.1.0-alpha.0"},"versions":{"0.1.0-alpha.0":{"name":"@0xintuition/schema-org","version":"0.1.0-alpha.0","description":"Pinned schema.org type and property vocabulary for Intuition data packages","private":false,"license":"MIT","type":"module","sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json","./*":{"types":"./dist/generated/types/*.d.ts","import":"./dist/generated/types/*.js"}},"keywords":["intuition","schema-org","json-ld","vocabulary"],"repository":{"type":"git","url":"git+https://github.com/0xIntuition/packages.git","directory":"packages/schema-org"},"bugs":{"url":"https://github.com/0xIntuition/packages/issues"},"homepage":"https://github.com/0xIntuition/packages/tree/main/packages/schema-org#readme","publishConfig":{"access":"public","tag":"alpha"},"scripts":{"build":"node ../../scripts/clean-dist.mjs && tsc -p tsconfig.build.json && node ../../scripts/normalize-dist-imports.mjs","clean":"git clean -xdf .cache .turbo dist node_modules","dev":"tsc --watch","generate":"node ../../scripts/generate-schema-org-package.mjs","refresh":"node ../../scripts/generate-schema-org-package.mjs --refresh","check:generated":"node ../../scripts/check-schema-org-generation.mjs","pack:dry-run":"bun run build && npm pack --ignore-scripts --dry-run --json","pack:release":"bun run build && node ../../scripts/pack-release.mjs","prepack":"bun run build","prepublishOnly":"bun run build && node ../../scripts/guard-direct-publish.mjs","test":"vitest run","test:watch":"vitest","typecheck":"tsc --noEmit","ci":"biome check","lint":"biome lint","format":"biome format","check":"biome check","lint:write":"biome lint --write","format:write":"biome format --write","check:write":"biome check --write","check:unsafe:write":"biome check --write --unsafe"},"devDependencies":{"typescript":"^5.9.3","vitest":"^4.0.16"},"_id":"@0xintuition/schema-org@0.1.0-alpha.0","gitHead":"ddc3489f8fe6d70b089adb37f26b030be763538f","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-2MrSX15Uu11cXKeiUdaoJDcGvBxs7nSNRr0c0QMwkObTC7GpS0kmqhdsBGhXRImNntZ11+TjPi8mnD+Wq1DmOg==","shasum":"7ed53eb6abb9f0f0fd6a2cf9c86e61fb1a740777","tarball":"https://registry.npmjs.org/@0xintuition/schema-org/-/schema-org-0.1.0-alpha.0.tgz","fileCount":2817,"unpackedSize":5743116,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAo4HOkR4/ergi1EPD+XsaPBXLwvFscR+uKF0K8wZoRuAiB8VgLkdaw5gWgTN3F2eOb7DEzNMbw5pBR5t2YDQ6m7cQ=="}]},"_npmUser":{"name":"jpbuilds","email":"jp@intuition.systems"},"directories":{},"maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema-org_0.1.0-alpha.0_1781558226876_0.6064050027287415"},"_hasShrinkwrap":false}},"time":{"created":"2026-06-15T21:17:06.696Z","0.1.0-alpha.0":"2026-06-15T21:17:07.122Z","modified":"2026-06-15T21:17:07.459Z"},"maintainers":[{"name":"orbro","email":"wluedtke207@gmail.com"},{"name":"jojikun","email":"jojikun@intuition.systems"},{"name":"jpbuilds","email":"jp@intuition.systems"},{"name":"vitalsine","email":"vital@intuition.systems"},{"name":"intuition_kames","email":"kames@intuition.systems"}],"description":"Pinned schema.org type and property vocabulary for Intuition data packages","homepage":"https://github.com/0xIntuition/packages/tree/main/packages/schema-org#readme","keywords":["intuition","schema-org","json-ld","vocabulary"],"repository":{"type":"git","url":"git+https://github.com/0xIntuition/packages.git","directory":"packages/schema-org"},"bugs":{"url":"https://github.com/0xIntuition/packages/issues"},"license":"MIT","readme":"# @0xintuition/schema-org\n\nPinned schema.org type and property vocabulary for Intuition alpha packages.\n\nRuntime: ESM-only. This package does not publish CommonJS `require` entrypoints.\n\n## Included\n\n- schema.org V30.0 vocabulary generated from `https://schema.org/version/30.0/schemaorg-current-https.jsonld`\n- Generation reads the vendored V30.0 JSON-LD snapshot by default; maintainers can refresh the snapshot explicitly with `bun run schema-org:refresh`\n- One typed source module per `schema:` class\n- Normalized type records with directly declared properties and resolved `subClassOf` chains\n- Runtime accessors that resolve inherited properties and tag each property with its originating type\n\n## Install\n\n```bash\nbun add @0xintuition/schema-org@alpha\n```\n\n## Usage\n\n```ts\nimport { getPropertiesFor, getType } from '@0xintuition/schema-org'\nimport { schemaOrgBook } from '@0xintuition/schema-org/Book'\n\nconst book = getType('Book')\nconst bookProperties = getPropertiesFor('Book')\nconst title = bookProperties.find((property) => property.name === 'name')\n\nconsole.log(book?.subClassOf)\nconsole.log(schemaOrgBook.name)\nconsole.log(title?.originType)\n```\n\nGenerated 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.\n\nTypes 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.\n","readmeFilename":"README.md","_rev":"1-5a4fedaeb19b717c62eb388b7a45e867"}