com.pimstash.stuff.event
An Event in a Stuff Thing's History. Its kind is its payload's type; a payload type this client does not know is kept and listed as an unknown Event. The author is the repository the record sits in, so there is no actor field.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | stuff.pimstash.com |
| Commit rev | 3mzxzials3x2e |
| Indexed |
Record
record · key anyProperties
The record key of the com.pimstash.stuff.thing, in this same Space, this Event is about.
#added
objectThe Thing came to exist.
#amount
objectThe Thing's amount changed.
#inspected
objectThe Thing was inspected.
Properties
note
stringmaxLength: 10000maxGraphemes: 1000
minimum: 0maximum: 100
previousPct
integerminimum: 0maximum: 100
#kindRef
objectA Kind as it was named when the Event happened. kind is absent once that Kind is gone.
#lent
objectThe Thing went out on Loan.
#locationRef
objectA Location as it was named when the Event happened. location is absent once that Location is gone.
#moved
objectThe Thing moved between Locations; an absent end is no Location.
#reinstated
objectThe Thing went back into service.
Properties
maxLength: 64knownValues: sold | donated | discarded | lost | used_up | other
#retired
objectThe Thing left service.
Properties
borrower
stringWho had it, when a lent Thing was retired; its Loan ends without a returned Event.
maxLength: 1000maxGraphemes: 100
currency
stringISO 4217 code.
minLength: 3maxLength: 3
note
stringmaxLength: 10000maxGraphemes: 1000
maxLength: 64knownValues: sold | donated | discarded | lost | used_up | other
salePriceMinor
integerFor sold: what it sold for, in the currency's minor unit (cents, pence, whole yen).
minimum: 0
#returned
objectThe Thing came back from Loan.
#serviced
objectService was logged.
Properties
Markdown.
maxLength: 10000maxGraphemes: 1000
#split
objectThe Thing was split into individually tracked Things of one Kind.
#used
objectUsage was logged, or the counter corrected.
Properties
correction
booleanA direct correction of the counter; only a correction may go down.
The change in usage; positive unless a correction, as a decimal string ("2.375") so it round-trips exactly.
maxLength: 64
Usage after, as a decimal string ("2.375") so it round-trips exactly.
maxLength: 64
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
com.pimstash.stuff.thing
recordA Thing in a Stuff Trove. A shared field (name, category, make, model, measure, lifespanMonths, usageUnit, ratedUsage, photo) is absent, never null, to inherit the Kind's.