Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Work in progress

Hierarchy, from largest and most abstract set to smallest and most concrete set:

Crops in database (crop): This is the list of crops that LiteFarm has pre-loaded. The user can select from this list when adding crops to their catalogue. These crops can be thought of as a template that a catalogueCrop extends. Attributes belonging to the crop include (non-exhaustive list):

  • Name

  • Family, genus, etc.

  • Picture (can be overridden in catalogue crop)

  • Nutritional values (can be overridden in catalogue crop)

  • Days to harvest (can be overridden in catalogue crop)

Crops in catalogue (catalogueCrop): Crops in the catalogue can be thought of as crops the farmer is or at one point was interested in growing. It doesn’t mean this crop is actually growing on the farm. It does act as a “container” for viewing specific crops in the field (which prior to Summer '21 were called fieldCrops). Catalogue crops share certain attributes that are likely to be shared between all field crops of this type, such as:

  • Variety

  • Supplier

  • Annual / perennial

  • Planted as seed / planted as seedling

  • Organic status

Crops in the field / crop management plan (cropPlan): These are specific instances of crops growing on the farm. These can be “active” if they are in the fields or “expired” if they are records from previous seasons. Most interactions the farmer will have around crops will reference the crop management plan.