> For the complete documentation index, see [llms.txt](https://civilcode.gitbook.io/playbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://civilcode.gitbook.io/playbook/education/trails/object-modeling.md).

# Object Modeling

## The Basics

### Archetypes

* the event archetype (aka Moment-Interval); red
  * a moment of time or an interval of time
  * one needs to work with or track for business or legal reasons
  * examples are sale, rental
* the role archetype; yellow &#x20;
  * way of participation by a PPT
  * examples are owner, customer
* the "catalog-entry like description" archetype; blue
  * a collection of values that apply again and again
  * example "vehicle" with a serial number (thing) vs. "vehicle description" with a model number (description)
* the "party, place or thing" archetype (PPT); green
  * someone or something that plays a role
  * examples are organization, location, product

![inline](https://4154519401-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LIRBUSz0MilmIc55FMV%2F-LIubgI7L60FLQHGPYXc%2F-LIubhL5Or0LPvWhgxEf%2Farchetypes.png?generation=1533213071838412\&alt=media)

## References

* Nicholas' introductory talk [Modeling on the Right Side of the Brain](http://blog.firsthand.ca/2014/04/modeling-on-right-side-of-brain.html)
* [Stephen. R. Palmer's Documentation](https://www.dropbox.com/s/oc3g9a6hipecp8j/Peter%20Coad%27s%20Modeling%20in%20Color.pdf?dl=0)
* The book [Java Modeling In Color With UML: Enterprise Components and Process](http://www.amazon.com/Java-Modeling-Color-UML-Enterprise/dp/013011510X/ref=sr_1_1?ie=UTF8\&qid=1447701102\&sr=8-1\&keywords=modeling+in+colour) - however Palmer's online document is sufficient.
