Schemas

8 schemas

Data models for common businesses, designed the way the business runs. Start a project from one with a single command, then shape it in the visual editor.

users auth
  • id* text
  • password* password
  • tokenKey* text
  • email* email
  • emailVisibility bool
  • verified bool
  • name text
  • avatar file
  • created autodate
  • updated autodate
categories
  • id* text
  • name* text
  • parent categories
  • sort number
  • created autodate
  • updated autodate
suppliers
  • id* text
  • name* text
  • contact_name text
  • email email
  • phone text
  • address text
  • lead_time_days number
  • notes text
  • created autodate
  • updated autodate
products
  • id* text
  • name* text
  • description text
  • category categories
  • default_supplier suppliers
  • images file[]
  • active bool
  • created autodate
  • updated autodate
variants
  • id* text
  • product* products
  • sku* text
  • barcode text
  • name* text
  • attributes json
  • cost number
  • price* number
  • reorder_point number
  • active bool
  • created autodate
  • updated autodate
locations
  • id* text
  • name* text
  • address text
  • kind select
  • active bool
  • created autodate
  • updated autodate
stock_levels
  • id* text
  • variant* variants
  • location* locations
  • on_hand* number
  • reserved number
  • created autodate
  • updated autodate
stock_movements
  • id* text
  • variant* variants
  • location* locations
  • quantity* number
  • kind* select
  • reference text
  • reason text
  • recorded_by users
  • created autodate
  • updated autodate
purchase_orders
  • id* text
  • number* text
  • supplier* suppliers
  • location* locations
  • status* select
  • expected_on date
  • notes text
  • created autodate
  • updated autodate
purchase_order_lines
  • id* text
  • purchase_order* purchase_orders
  • variant* variants
  • quantity* number
  • received number
  • unit_cost number
  • created autodate
  • updated autodate

Inventory

Products with variants, suppliers, locations, stock levels and every movement.

Operations 9 collections