summaryrefslogtreecommitdiff
path: root/inventory/data/schema.yaml
blob: cd5d6a9882d50dfe68809e56f6a5f751c32dab41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
item:
  item-id:
  item-entered-by: (person)
  name:
  description:
  quantity: +-% integer or units
  dimensions:
    length: +-%
    width: 
    height:
    thickness:
    diameter:
    radius:
    qty:
  parameters: +-% (farad volt amp watt cfm liter)
    - hmmm
    - is this really any different from dimensions?
    - maybe qty should be a length parameter
  mass: +-% per unit
  material: (+-% confidence)
  variable: (color grit flavor tamano package)
  related-items: (spare-parts project set)
  tags: (category subcategory project)
  location: (container-ID location-ID coordinates unknown)
  condition: (scrap fixable rusty moldy dusty hacked used new assimilated waxed polished)
  allocation-status: (dependency project plz-ask for-grabs junk)
  circulation-status: (storage in-use loaned missing)
  manufacturer-name:
  manufacturer-number:
  datasheet or manual or msds:
  photograph: (actual representative stock)
  cad-file: filename or url


GUI:
- (button add # to qty)
- (button subtract 1)

order:
- contains multiple purchases

purchase: 
  item-id:
  purchase-id:
  place-purchased: (vendor id)
  price-purchased:
  date-purchased: 
  purchased-by: (person)

availability: 
  item-id:
  vendor-id:
  vendor-number: (the catalog number)
  vendor-address: 
    - url 
    - phone 
    - snail etc
  vendor-price: ea.
  vendor-min-qty: