CRUBAL

Commerce

crubal.com/commerce: the machinery of selling. It attaches to items and services; it is never part of the core (chapter 1, "the engine is universal at the kind level").

Identitycrubal.com/commerce
Version2026-10-14
Extendscrubal.com/product /2026-10-14, crubal.com/service /2026-10-14
LicenceCC-BY-4.0
Filespackage.crubal · package.json · 2026-10-14/package.json

Facets

KeyTypeHow manyValues and settingsSame as
pricenumberoneunit currencyschema:price
compareAtnumberoneunit currency
costnumberoneunit currency
skutextoneup to 80 charactersschema:sku
stocknumberone
offerStatuschoiceonedraft, listed, reserved, sold, withdrawn
shippingWeightnumberoneunit kg, accepts g, lb, oz
shipsFromtextone
taxCodetextone

Classes

Offer Offer

For item, service.

FacetAskedNarrowed toLevel
priceunit
compareAtunit
costunit
skuunit
stockunit
offerStatusrequiredunit
shippingWeight
shipsFrom
taxCode

Rules

RuleWhenThenStrength
listedNeedsPriceofferStatus is listedprice hasmust
costIsStaffcost shown to staffmust
soldHasNoStockofferStatus is soldstock in 0..0should

Use it

package: mine /2026-10-14
  owner: example.com
  extends: crubal.com/commerce /2026-10-14
  prefixes:
    commerce: crubal.com/commerce