@blueforge-studio/gas-asset-schema
GAS asset identity — open-vocabulary asset kinds (gas:// refs, custom:<slug> extension) and content-addressed asset references, shared across BlueForge repos (Zod schemas).
Informations sur le paquet
Versions
| Version | Publiée |
|---|---|
| 0.1.1 | 2026-10-02 |
| 0.1.0 | 2026-10-02 |
Chaîne d'approvisionnement par version
| Version | Sig | SBOM | Att |
|---|---|---|---|
| 0.1.1 | |||
| 0.1.0 |
Cliquez sur une version pour voir ses détails.
Chaîne d'approvisionnement
Rien n'est enregistré pour 0.1.1. Les versions publiées avant que le registre n'écrive la provenance n'en ont pas, et les signatures et SBOM sont joints par l'éditeur.
Dépendances
README
@blueforge-studio/gas-asset-schema
GAS asset identity — the shared brick for addressing assets across BlueForge
repos: open-vocabulary asset kinds (gas:// refs, custom:<slug> extension)
and content-addressed asset references (Zod schemas).
Sibling of @blueforge-studio/gas-passport-schema (verification manifests)
and @blueforge-studio/gas-lore-schema (lore vocabularies) — deliberately its
own package so asset addressing can move without forcing a release on every
lore consumer.
Surface
GAS_ASSET_KINDS— the 14 known kinds (const tuple; the type is derived from it so schema and type cannot drift).GasAssetKindSchema— open: known names orcustom:<slug>. The closed set is a convenience default, not a ceiling.GasAssetIdSchema—gas://<kind>/<name>[@semver].GasAssetRefSchema—{ id, variant?, licence?, contentHash? }, strict.validateAssetRef()— structured warnings, never throws.
The contentHash rule
contentHash is staged: optional and verified when present, required only
once a resolver exists. CAS refs resolve storage, not semantic version —
pin freely for immutable binaries (meshes), sparingly for authored content
(biomes, lore), where a typo fix must not invalidate referencing documents.
Conventions
Same as the other schema packages (gas-lore-schema spec §2): Zod is the
source of truth, entities .strict(), fields camelCase, enum values
snake_case, extension values custom:<slug>. Validation helpers return
warnings and never throw.