Softfruit.farm: data export, switching and infrastructure (EU Data Act)
This page gives the information required by the EU Data Act (Regulation (EU) 2023/2854) for the Softfruit.farm Free Plan, provided by IT Wojciech Oksiński (Berrini). It is the online register of data structures and formats named in Schedule 2, Part E, and the infrastructure information named in Schedule 2, Part F, of the Terms of Service. The contractual rules are in Section 18 and Schedule 2 of the Terms. Personal data are described in the Privacy Policy and the Sub-processor Register.
Data export, switching and formats
EU Data Act, Article 26 (information before and during the contract, including the online register of data structures and formats) and Article 30(2) (open interface for switching).
What you can ask for
| Request | What happens | Your agreement |
|---|---|---|
| Copy of your data | You download a complete export of your farm at any time through the export interface, or ask us to arrange it (Section 18.1). | Continues. A copy does not end the agreement. |
| Switching to another provider, or porting to your own ICT infrastructure | You tell us the date on which your notice period ends; it can be at most two months after your request (Section 18.3). After it we complete the transition without undue delay and within 30 calendar days (Section 18.4). You then have at least 30 calendar days to retrieve your data (Section 18.7). | Ends when the switching or porting has been completed successfully (Section 18.6). |
| Erasure | You can ask for erasure at the end of the notice period, alone or after moving your data. We erase the data of your Farm Account under Section 16.6 and the Data Processing Agreement: without undue delay after any retrieval period that applies, and otherwise from active systems within 30 calendar days of termination or of a verified deletion instruction. Backup copies of the primary database expire 14 days after they are made. Data that Union or Member State law requires us to keep are kept only for that purpose. | Ends. |
If completing a switch within 30 days is technically unfeasible, we tell you within 14 working days of your request, explain why and set an alternative transitional period of at most seven months. You may extend the transitional period once (Section 18.5). The service continues, with the same security, during the notice, transition and retrieval periods.
No charges. Export, switching, porting and erasure are free of charge, and there is no early termination penalty for switching (Section 18.9). You can also end the agreement at any time (Section 16.2) and ask for a copy at any time (Section 18.1); the notice period does not limit these rights.
How to make a request
- Write to support@berrini.farm from the e-mail address of a person authorised to act for the farm, for example its Account Administrator. Say what you want: a copy, switching to another provider (name it), porting to your own infrastructure, or erasure, and the date on which your notice period should end.
- We check that the person is authorised to act for the farm and confirm the request and the dates in writing.
- For a copy, switching or porting, we issue an access key to the export interface for you or for the provider you name, and send it through a secure channel. The Account Administrator of the farm, signed in to Softfruit.farm, can also download the export directly, without a key.
- We record what was requested and delivered and when, and we confirm the completion of switching or erasure in writing.
We cooperate in good faith with you and with the provider you move to, and we answer their technical questions about the data at support@berrini.farm.
Export interface
The export interface is an open HTTPS interface. It works in the same way, with the same data and on the same conditions, for the farm and for any destination provider the farm authorises. It is free of charge.
GET https://www.berrini.farm/api/data-export/{organizationKey}{organizationKey}is the farm key: the part of the app address after/app/(forhttps://www.berrini.farm/app/demo-farm/…it isdemo-farm).- The answer is one ZIP file (
Content-Type: application/zip), generated at the moment of the request from the current data of the farm. Nothing is queued or stored. File name:softfruit-farm-export-{organizationKey}-{YYYY-MM-DD}.zip. - The interface only reads. It runs in the EU: in Frankfurt (Vercel, fra1), reading the database in Poland.
Access. There are two ways, and both give the same file:
- Access key, for the farm, a destination provider or any program: send the header
Authorization: Bearer <access key>. Keys are issued by Berrini support on the instruction of the farm, for the farm itself or for the provider it names. A key opens the export of one farm only. It is valid for 30 days from issue, unless another period of up to 90 days is agreed. The farm can ask support@berrini.farm to revoke a key at any time; a revoked key stops working at once. Berrini stores only a hash of the key. A new key can be requested at any time, free of charge. - Signed-in Account Administrator: the Account Administrator of the farm, or another user of the farm with the manager role, signed in to Softfruit.farm, can open the same address in the browser.
Every download is logged (farm, key or person, time and file size).
Example.
curl -fSL \
-H "Authorization: Bearer sfx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-o softfruit-export.zip \
https://www.berrini.farm/api/data-export/demo-farm
unzip softfruit-export.zip -d softfruit-export| HTTP status | Body | Meaning |
|---|---|---|
| 200 | ZIP file | Export of the farm. |
| 401 | {"ok":false,"error":"unauthenticated"} | No credentials, or an Authorization header that is not Bearer <key>. |
| 401 | {"ok":false,"error":"key_expired"} | The key is past its expiry time. Ask for a new key. |
| 401 | {"ok":false,"error":"key_revoked"} | The key was revoked. |
| 403 | {"ok":false,"error":"not_admin"} | Signed in as a person of the farm who is not its Account Administrator or a manager. |
| 404 | {"ok":false,"error":"not_found"} | Unknown farm key, unknown access key, or a key or person of another farm. |
| 500 | {"ok":false,"error":"read_failed"} or "log_failed" | Temporary problem. Try again; if it repeats, write to support@berrini.farm. |
Limits.
- One request returns the whole farm. There is no paging and no partial export.
- A request can take a few minutes for a farm with a long history. The server time limit is 300 seconds.
- Keys are issued by support, not created in the app. There is no write interface.
- The interface provides the data and their description, not an import into another product. The destination provider maps the files with the help of
schema.json. We do not undertake that a destination product supports the same functions (Schedule 2, Part C).
What the export contains
README.txt plain-text guide
schema.json every entity, file, column, type, unit and key (machine-readable)
farm.json the farm, its time zone, the export time, row count of every file
csv/<entity>.csv current records, one file per entity
json/<entity>.json the same current records as JSON
csv/history/<entity>.csv every stored version of every record (corrections and deletions)
json/history/<entity>.json the same history as JSON
geo/quarter_boundaries.geojson current quarter boundaries, GeoJSON FeatureCollectionThe full machine-readable description of every file and column is schema.json (format softfruit-farm-export, version 1.0). The same file is included in every export. A synthetic example archive (an invented farm, no real data): example-export.zip.
| Schedule 2 | Category | Files |
|---|---|---|
| A1 | Customer and farm configuration | organization, legal_entities, organization_settings, countries |
| A2 | Farm places and organisational structure | fields, quarters, quarter_boundaries, locations, plants, crop_types, crops, varieties, plant_purposes |
| A3 | Activities and tasks | task_categories, task_types, tasks, task_locations, task_allocations, task_execution_modes, task_executions |
| A4 | Worker Records | users, contract_types, signed_contracts |
| A5 | Work-time and activity records | task_executions, seasons, season_configurations, work_sessions, worker_activities |
| A6 | Corrections and record history | Every history file: csv/history/<entity>.csv and json/history/<entity>.json, for all entities above and below. |
| A7 | Customer-entered annotations | tasks, users, worker_activitiesFree-text columns (for example note) in the files listed here. |
| A8 | Reports and calculations | seasons, season_configurations, worker_activitiesStored rates and computed working minutes; totals and costs can be recomputed from them (see Relations). |
| A9 | Workspace Users and permissions | users, roles, permissions, permits, user_settings |
| A10 | Interpreting metadata | worker_activity_typesAlso schema.json, farm.json, README.txt, the id and _ver reference columns and the creation and change dates in every file. |
| A11 | Other customer-provided digital assets | None. The Free Plan does not store customer files or other digital assets. |
Not included (Schedule 2, Part B): passwords, sign-in tokens and the sign-in provider’s account identifiers; data of other farms; Berrini software, source code and internal operating records. The column organization_id is left out because every row belongs to the exported farm (its id is in farm.json).
Formats and standards
- Archive: One ZIP file. Paths inside use forward slashes and UTF-8 names.
- CSV: RFC 4180. UTF-8 with byte order mark, comma separator, CRLF line ends, header row. A cell is quoted when it holds a comma, a double quote or a line break; a double quote inside is written twice. An empty cell means null.
- JSON: RFC 8259, UTF-8. Each json/<entity>.json file is an array of objects with the same keys, in the same order, as the CSV columns. null means no value.
- Date and time: ISO 8601 in UTC, ending with Z (for example 2026-07-01T05:30:00Z). The farm time zone is in farm.json (timeZone). Fractions of a second are kept as stored.
- Dates: ISO 8601 calendar dates YYYY-MM-DD, as stored for the farm.
- Durations: Durations are in minutes where the column name ends with _minutes; columns in other units say so in their unit.
- Time of day: start_day_minutes and end_day_minutes are minutes after midnight of work_date in the farm time zone (480 = 08:00); end_day_minutes above 1440 means the work ended after midnight.
- Numbers: Dot as decimal separator, no thousands separator.
- Geometry: Quarter boundaries are GeoJSON geometries (RFC 7946, longitude and latitude in WGS 84); also collected in geo/quarter_boundaries.geojson.
- Current files: csv/<entity>.csv and json/<entity>.json hold the current state, the same records the app shows today. One row per record; primary key id.
- History files: csv/history/<entity>.csv and json/history/<entity>.json hold every stored version of every record of the farm, including corrected and deleted ones. Primary key (id, ver). The highest ver of an id is its latest version; deleted = true marks the version that deleted the record.
- References: A column ending with _id holds the id of a record of another entity (see foreignKey). The matching _ver column holds the version of that record at the time of writing; join it with the history file of that entity to see the referenced record exactly as it was.
farm.json holds the export format and version, the export time (UTC), the farm (id, key, name, currency and its IANA time zone such as Europe/Warsaw) and the number of rows in every data file.
Standards. No sector-specific interoperability standard is applied. The export uses ZIP; CSV (RFC 4180) in UTF-8; JSON (RFC 8259); JSON Schema (version 2020-12) for every row type in schema.json; GeoJSON (RFC 7946) for quarter boundaries; and ISO 8601 dates and times. When open interoperability specifications or harmonised standards for this type of service are published under Articles 30(3) and 35 of the EU Data Act, we will review the export against them and update this page.
Register of data structures
This register is generated from schema.json, the description that the exporter itself writes into every export. It lists all 32 exported entities. Each entity has a current file and, for 31 of them, a history file with every stored version, including corrected and deleted records.
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
id | uuid | Identifier of the record (UUID). The same in every version of the record. | ||
ver | integer | Number of the current version of the record. Grows with every change. | ||
created_at | timestamp | When the record was first created (UTC). | ||
created_by_id | uuid | users.id | Person who created the record (users.id). | |
updated_at | timestamp | When the current version was written (UTC). | ||
updated_by_id | uuid | users.id | Person who wrote the current version (users.id). |
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
id | uuid | Identifier of the record (UUID). The same in every version of the record. | ||
ver | integer | Number of this version. (id, ver) identifies one row of the history. | ||
deleted | boolean | true = this version deleted the record. Empty or false = a live version. | ||
created_at | timestamp | When this version was written (UTC). | ||
created_by_id | uuid | users.id | Person who wrote this version (users.id). |
The remaining columns are the same in the current and the history file of an entity and are listed below.
| Entity | Schedule 2 | Files | Description |
|---|---|---|---|
organization | A1 | current + history | The farm (Farm Account) itself: name, key, currency and language. |
legal_entities | A1 | current + history | Legal entities (contracting farm operators) recorded for the farm. |
organization_settings | A1 | current + history | Farm-level settings chosen in the Service. |
countries | A1 | current + history | Countries known to the farm (used for worker nationality). |
fields | A2 | current + history | Places of the farm: fields and non-productive terrains (type_key NON_PRODUCTIVE). |
quarters | A2 | current + history | Quarters (plots) inside a field. |
quarter_boundaries | A2 | current + history | Drawn boundary of a quarter as GeoJSON (RFC 7946, WGS 84 longitude/latitude). |
locations | A2 | current + history | Work locations inside a quarter; tasks and work time point to a location. |
plants | A2 | current + history | Plantings: which variety grows on a location and since when. |
crop_types | A2 | current + history | Crop type groups (for example soft fruit). |
crops | A2 | current + history | Crops (species) grown on the farm. |
varieties | A2 | current + history | Varieties of a crop. |
plant_purposes | A2 | current + history | Purposes of a planting (for example fruits). |
task_categories | A3 | current + history | Categories of task types (harvest, manual, planting, machine, farm works, infrastructure). |
task_types | A3 | current + history | Kinds of work defined by the farm (code, name, colour, category). |
tasks | A3, A7 | current + history | Planned and performed tasks: what, where and when. |
task_locations | A3 | current + history | Locations a task is assigned to. |
task_allocations | A3 | current + history | Allocation of a task to a period and a supervisor. |
task_execution_modes | A3 | current + history | How an allocation is executed (hourly mode for the Free Plan). |
task_executions | A3, A5 | current + history | One execution (opening) of a task on a day; work time records point to it. |
users | A4, A9, A7 | current + history | People of the farm: workers (role with is_worker) and users of the Service. No passwords, tokens or login provider identifiers. |
roles | A9 | current + history | Roles that give people their permissions (admin, manager, worker and others). |
permissions | A9 | current + history | Permissions that can be granted (module, page, action). |
permits | A9 | current + history | Granted or refused permissions per role or per person. |
user_settings | A9 | current + history | Personal settings of people in the Service. |
contract_types | A4 | current + history | Types of worker contracts. |
signed_contracts | A4 | current + history | Contract periods of a worker; a worker is employed between signing_date and end_date. |
seasons | A5, A8 | current + history | Seasons defined by the farm. |
season_configurations | A5, A8 | current + history | Weekly settings of a season, including the hourly rate used for cost calculations. |
work_sessions | A5 | current + history | Work sessions (group work on a day), when used. |
worker_activities | A5, A7, A8 | current + history | Work-time records: start, end and break of a worker on a task execution, with computed working minutes. |
worker_activity_types | A10 | current only | Dictionary of work-time record types shared by all farms (no farm data). Needed to read worker_activities.type_id. |
organization
The farm (Farm Account) itself: name, key, currency and language. Schedule 2: A1.
Files: csv/organization.csv, json/organization.json, csv/history/organization.csv, json/history/organization.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
currency_code | text | ISO 4217 currency code of the farm. | ||
is_active | boolean | true = active. | ||
key | text | Machine key of the record. | ||
language_id | uuid | Reference to a language record (a Service dictionary or another module; not included in this export). | ||
language_ver | integer | Version (ver) of the referenced language record when this row was written. | ||
name | text | Name as entered by the farm. |
legal_entities
Legal entities (contracting farm operators) recorded for the farm. Schedule 2: A1.
Files: csv/legal_entities.csv, json/legal_entities.json, csv/history/legal_entities.csv, json/history/legal_entities.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
contact_email | text | Contact e-mail of the legal entity. | ||
country | text | Country as entered. | ||
key | text | Machine key of the record. | ||
name | text | Name as entered by the farm. |
organization_settings
Farm-level settings chosen in the Service. Schedule 2: A1.
Files: csv/organization_settings.csv, json/organization_settings.json, csv/history/organization_settings.csv, json/history/organization_settings.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
crop_id | uuid | crops.id | Reference to crops.id. | |
crop_ver | integer | Version (ver) of the referenced crops record when this row was written. | ||
record_uid | uuid | Identifier of the setting record. | ||
setting_id | uuid | Reference to a setting record (a Service dictionary or another module; not included in this export). | ||
setting_option_id | uuid | Reference to a setting option record (a Service dictionary or another module; not included in this export). | ||
setting_option_ver | integer | Version (ver) of the referenced setting option record when this row was written. | ||
setting_ver | integer | Version (ver) of the referenced setting record when this row was written. | ||
value | text | Setting value. |
countries
Countries known to the farm (used for worker nationality). Schedule 2: A1.
Files: csv/countries.csv, json/countries.json, csv/history/countries.csv, json/history/countries.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
broker_language_key | text | Broker language key (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_translation | boolean | true = translated entry. | ||
key | text | Machine key of the record. | ||
name | text | Name as entered by the farm. | ||
nationality | text | Nationality name. | ||
translation_key | text | Translation key. |
fields
Places of the farm: fields and non-productive terrains (type_key NON_PRODUCTIVE). Schedule 2: A2.
Files: csv/fields.csv, json/fields.json, csv/history/fields.csv, json/history/fields.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
archived_at | timestamp | When the record was archived (hidden from lists); empty = active. | ||
capacity | integer | Capacity as stored. | ||
city | text | Town of the field, when entered. | ||
field_code | text | Field code, when entered. | ||
field_no | integer | Field number. | ||
manager_id | uuid | users.id | Reference to users.id. | |
manager_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
name | text | Name as entered by the farm. | ||
size | decimal | size_unit (hectares when empty) | Area. Unit in size_unit (hectares when empty). | |
size_unit | text | Unit of size. | ||
type_key | text | NON_PRODUCTIVE = terrain (non-productive place); empty = productive field. |
quarters
Quarters (plots) inside a field. Schedule 2: A2.
Files: csv/quarters.csv, json/quarters.json, csv/history/quarters.csv, json/history/quarters.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
archived_at | timestamp | When the record was archived (hidden from lists); empty = active. | ||
capacity | integer | Capacity as stored. | ||
continous_version | integer | Continous version (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
field_id | uuid | fields.id | Reference to fields.id. | |
field_ver | integer | Version (ver) of the referenced fields record when this row was written. | ||
name | text | Name as entered by the farm. | ||
no_of_aisles | integer | Number of aisles, when entered. | ||
no_of_rows | integer | Number of rows, when entered. | ||
no_of_rows_per_aisle | integer | Rows per aisle, when entered. | ||
qurter_no | integer | Quarter number (column name as stored). | ||
size | decimal | size_unit (hectares when empty) | Area. Unit in size_unit (hectares when empty). | |
size_unit | text | Unit of size. | ||
surrounding_size | decimal | size_unit (hectares when empty) | Area around the quarter, when entered. |
quarter_boundaries
Drawn boundary of a quarter as GeoJSON (RFC 7946, WGS 84 longitude/latitude). Schedule 2: A2.
Files: csv/quarter_boundaries.csv, json/quarter_boundaries.json, csv/history/quarter_boundaries.csv, json/history/quarter_boundaries.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
boundary | GeoJSON geometry | Quarter boundary as a GeoJSON geometry (RFC 7946, longitude/latitude WGS 84). | ||
quarter_id | uuid | quarters.id | Reference to quarters.id. | |
quarter_ver | integer | Version (ver) of the referenced quarters record when this row was written. |
locations
Work locations inside a quarter; tasks and work time point to a location. Schedule 2: A2.
Files: csv/locations.csv, json/locations.json, csv/history/locations.csv, json/history/locations.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
aisle | integer | Aisle, when entered. | ||
end_aisle | integer | Last aisle of the location, when entered. | ||
end_row | integer | Last row of the location, when entered. | ||
field_id | uuid | fields.id | Reference to fields.id. | |
field_ver | integer | Version (ver) of the referenced fields record when this row was written. | ||
quarter_id | uuid | quarters.id | Reference to quarters.id. | |
quarter_ver | integer | Version (ver) of the referenced quarters record when this row was written. | ||
row | integer | Row, when entered. | ||
start_aisle | integer | First aisle of the location, when entered. | ||
start_row | integer | First row of the location, when entered. |
plants
Plantings: which variety grows on a location and since when. Schedule 2: A2.
Files: csv/plants.csv, json/plants.json, csv/history/plants.csv, json/history/plants.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
amount | integer | Number of plants, when entered. | ||
expiration_date | timestamp | End of the planting (grubbed up); empty = still growing. | ||
expiration_day | date | Last day of the planting (YYYY-MM-DD); empty = still growing. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
plant_date | timestamp | Planting date (timestamp, UTC). | ||
plant_day | date | Planting day (YYYY-MM-DD). | ||
purpose_id | uuid | plant_purposes.id | Reference to plant_purposes.id. | |
purpose_ver | integer | Version (ver) of the referenced plant_purposes record when this row was written. | ||
seedling_type_id | uuid | Reference to a seedling type record (a Service dictionary or another module; not included in this export). | ||
seedling_type_ver | integer | Version (ver) of the referenced seedling type record when this row was written. | ||
variety_id | uuid | varieties.id | Reference to varieties.id. | |
variety_ver | integer | Version (ver) of the referenced varieties record when this row was written. |
crop_types
Crop type groups (for example soft fruit). Schedule 2: A2.
Files: csv/crop_types.csv, json/crop_types.json, csv/history/crop_types.csv, json/history/crop_types.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
key | text | Machine key of the record. | ||
mention_id | uuid | Reference to a mention record (a Service dictionary or another module; not included in this export). | ||
mention_ver | integer | Version (ver) of the referenced mention record when this row was written. | ||
name | text | Name as entered by the farm. | ||
seedling_unit_id | uuid | Reference to a seedling unit record (a Service dictionary or another module; not included in this export). | ||
seedling_unit_ver | integer | Version (ver) of the referenced seedling unit record when this row was written. |
crops
Crops (species) grown on the farm. Schedule 2: A2.
Files: csv/crops.csv, json/crops.json, csv/history/crops.csv, json/history/crops.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
active | boolean | true = active crop. | ||
color_key | text | Colour of the record in the Service. | ||
crop_type_id | uuid | crop_types.id | Reference to crop_types.id. | |
crop_type_ver | integer | Version (ver) of the referenced crop_types record when this row was written. | ||
mention_id | uuid | Reference to a mention record (a Service dictionary or another module; not included in this export). | ||
mention_ver | integer | Version (ver) of the referenced mention record when this row was written. | ||
name | text | Name as entered by the farm. | ||
trade_code | text | Trade code (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). |
varieties
Varieties of a crop. Schedule 2: A2.
Files: csv/varieties.csv, json/varieties.json, csv/history/varieties.csv, json/history/varieties.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
archived_at | timestamp | When the record was archived (hidden from lists); empty = active. | ||
crop_id | uuid | crops.id | Reference to crops.id. | |
crop_ver | integer | Version (ver) of the referenced crops record when this row was written. | ||
mention_id | uuid | Reference to a mention record (a Service dictionary or another module; not included in this export). | ||
mention_ver | integer | Version (ver) of the referenced mention record when this row was written. | ||
name | text | Name as entered by the farm. | ||
variety_type_id | uuid | Reference to a variety type record (a Service dictionary or another module; not included in this export). | ||
variety_type_ver | integer | Version (ver) of the referenced variety type record when this row was written. |
plant_purposes
Purposes of a planting (for example fruits). Schedule 2: A2.
Files: csv/plant_purposes.csv, json/plant_purposes.json, csv/history/plant_purposes.csv, json/history/plant_purposes.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
available_for_crop_type_id | uuid | crop_types.id | Reference to crop_types.id. | |
available_for_crop_type_ver | integer | Version (ver) of the referenced crop_types record when this row was written. | ||
color_key | text | Colour of the record in the Service. | ||
is_pickable | boolean | Is pickable (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_sortable | boolean | Is sortable (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
key | text | Machine key of the record. | ||
name | text | Name as entered by the farm. |
task_categories
Categories of task types (harvest, manual, planting, machine, farm works, infrastructure). Schedule 2: A3.
Files: csv/task_categories.csv, json/task_categories.json, csv/history/task_categories.csv, json/history/task_categories.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
crop_id | uuid | crops.id | Reference to crops.id. | |
crop_ver | integer | Version (ver) of the referenced crops record when this row was written. | ||
icon_key | text | Icon of the category. | ||
is_machine | boolean | true = machine work category. | ||
is_manual | boolean | true = manual work category. | ||
is_piecework | boolean | true = piecework. | ||
key | text | Machine key of the record. | ||
name | text | Name as entered by the farm. |
task_types
Kinds of work defined by the farm (code, name, colour, category). Schedule 2: A3.
Files: csv/task_types.csv, json/task_types.json, csv/history/task_types.csv, json/history/task_types.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
archived_at | timestamp | When the record was archived (hidden from lists); empty = active. | ||
code | text | Short code of the task type. | ||
color_key | text | Colour of the record in the Service. | ||
name | text | Name as entered by the farm. | ||
note | text | Free-text note entered by the farm. | ||
task_category_id | uuid | task_categories.id | Reference to task_categories.id. | |
task_category_ver | integer | Version (ver) of the referenced task_categories record when this row was written. | ||
task_type_group_id | uuid | Reference to a task type group record (a Service dictionary or another module; not included in this export). | ||
task_type_group_ver | integer | Version (ver) of the referenced task type group record when this row was written. |
tasks
Planned and performed tasks: what, where and when. Schedule 2: A3, A7.
Files: csv/tasks.csv, json/tasks.json, csv/history/tasks.csv, json/history/tasks.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
cages_goal | integer | Cages goal (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
client | text | Client (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
close_date | timestamp | When the task was closed (timestamp, UTC). | ||
completion_level | text | Completion level. | ||
crop_id | uuid | crops.id | Reference to crops.id. | |
crop_ver | integer | Version (ver) of the referenced crops record when this row was written. | ||
deadline_date | timestamp | Deadline (timestamp, UTC). | ||
default_working_days | integer | days | Default working days (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
default_working_hours | integer | hours | Default working hours (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
end_date | timestamp | End (timestamp, UTC). | ||
end_day | date | End day (YYYY-MM-DD). | ||
field_id | uuid | fields.id | Reference to fields.id. | |
field_ver | integer | Version (ver) of the referenced fields record when this row was written. | ||
group_id | uuid | Reference to a group record (a Service dictionary or another module; not included in this export). | ||
group_ver | integer | Version (ver) of the referenced group record when this row was written. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
note | text | Free-text note entered by the farm. | ||
open_date | timestamp | When the task was opened (timestamp, UTC). | ||
package_id | uuid | Reference to a package record (a Service dictionary or another module; not included in this export). | ||
package_ver | integer | Version (ver) of the referenced package record when this row was written. | ||
pick_mode_id | uuid | Reference to a pick mode record (a Service dictionary or another module; not included in this export). | ||
pick_mode_ver | integer | Version (ver) of the referenced pick mode record when this row was written. | ||
pick_technique_id | uuid | Reference to a pick technique record (a Service dictionary or another module; not included in this export). | ||
pick_technique_ver | integer | Version (ver) of the referenced pick technique record when this row was written. | ||
pickers_number | integer | Pickers number (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
picking_date | timestamp | Picking date (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
planned_date | timestamp | Planned date (timestamp, UTC). | ||
planned_day | date | Planned day (YYYY-MM-DD). | ||
planned_from_minutes | integer | minutes | Planned start, minutes after midnight in the farm time zone. | |
purpose_id | uuid | plant_purposes.id | Reference to plant_purposes.id. | |
purpose_ver | integer | Version (ver) of the referenced plant_purposes record when this row was written. | ||
quarter_id | uuid | quarters.id | Reference to quarters.id. | |
quarter_ver | integer | Version (ver) of the referenced quarters record when this row was written. | ||
rate_assignment_id | uuid | Reference to a rate assignment record (a Service dictionary or another module; not included in this export). | ||
rate_assignment_ver | integer | Version (ver) of the referenced rate assignment record when this row was written. | ||
rate_id | uuid | Reference to a rate record (a Service dictionary or another module; not included in this export). | ||
rate_ver | integer | Version (ver) of the referenced rate record when this row was written. | ||
seedling_type_id | uuid | Reference to a seedling type record (a Service dictionary or another module; not included in this export). | ||
seedling_type_ver | integer | Version (ver) of the referenced seedling type record when this row was written. | ||
serial_no | integer | Running number of the task within the farm. | ||
start_date | timestamp | Start (timestamp, UTC). | ||
start_day | date | Start day (YYYY-MM-DD). | ||
status | text | Status of the task. | ||
substance_amount | integer | Substance amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
substance_unit_id | uuid | Reference to a substance unit record (a Service dictionary or another module; not included in this export). | ||
substance_unit_ver | integer | Version (ver) of the referenced substance unit record when this row was written. | ||
task_category_id | uuid | task_categories.id | Reference to task_categories.id. | |
task_category_ver | integer | Version (ver) of the referenced task_categories record when this row was written. | ||
task_priority | text | Priority. | ||
task_type_id | uuid | task_types.id | Reference to task_types.id. | |
task_type_ver | integer | Version (ver) of the referenced task_types record when this row was written. | ||
variety_id | uuid | varieties.id | Reference to varieties.id. | |
variety_ver | integer | Version (ver) of the referenced varieties record when this row was written. | ||
weight_goal | integer | Weight goal (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
worker_id | uuid | users.id | Reference to users.id. | |
worker_ver | integer | Version (ver) of the referenced users record when this row was written. |
task_locations
Locations a task is assigned to. Schedule 2: A3.
Files: csv/task_locations.csv, json/task_locations.json, csv/history/task_locations.csv, json/history/task_locations.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
completed_end_aisle | integer | Completed end aisle (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
completed_end_row | integer | Completed end row (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
completed_start_aisle | integer | Completed start aisle (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
completed_start_row | integer | Completed start row (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
execution_note | text | Note entered at execution. | ||
is_complete | boolean | true = completed. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
note | text | Free-text note entered by the farm. | ||
progress | text | Progress of the task on the location. | ||
task_id | uuid | tasks.id | Reference to tasks.id. | |
task_ver | integer | Version (ver) of the referenced tasks record when this row was written. |
task_allocations
Allocation of a task to a period and a supervisor. Schedule 2: A3.
Files: csv/task_allocations.csv, json/task_allocations.json, csv/history/task_allocations.csv, json/history/task_allocations.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
amount_to_harvest | integer | Amount to harvest (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
approved_at | timestamp | When the allocation was approved (timestamp, UTC). | ||
approved_by_id | uuid | users.id | Reference to users.id. | |
approved_by_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
demand_changed | boolean | Demand changed (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
desired_workers_amount | integer | Planned number of workers. | ||
end_date | timestamp | End (timestamp, UTC). | ||
end_day | date | End day (YYYY-MM-DD). | ||
is_leader_with_team | boolean | Is leader with team (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
note | text | Free-text note entered by the farm. | ||
start_date | timestamp | Start (timestamp, UTC). | ||
start_day | date | Start day (YYYY-MM-DD). | ||
supervisor_id | uuid | users.id | Reference to users.id. | |
supervisor_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
task_id | uuid | tasks.id | Reference to tasks.id. | |
task_priority | text | Priority. | ||
task_ver | integer | Version (ver) of the referenced tasks record when this row was written. |
task_execution_modes
How an allocation is executed (hourly mode for the Free Plan). Schedule 2: A3.
Files: csv/task_execution_modes.csv, json/task_execution_modes.json, csv/history/task_execution_modes.csv, json/history/task_execution_modes.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
aisle_passes | integer | Aisle passes (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
available_execution_mode_id | uuid | Reference to a available execution mode record (a Service dictionary or another module; not included in this export). | ||
available_execution_mode_ver | integer | Version (ver) of the referenced available execution mode record when this row was written. | ||
client | text | Client (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
deadline_date | timestamp | Deadline (timestamp, UTC). | ||
fruit_quality_class_id | uuid | Reference to a fruit quality class record (a Service dictionary or another module; not included in this export). | ||
fruit_quality_class_ver | integer | Version (ver) of the referenced fruit quality class record when this row was written. | ||
fruit_quality_option_id | uuid | Reference to a fruit quality option record (a Service dictionary or another module; not included in this export). | ||
fruit_quality_option_ver | integer | Version (ver) of the referenced fruit quality option record when this row was written. | ||
material_id | uuid | Reference to a material record (a Service dictionary or another module; not included in this export). | ||
material_ver | integer | Version (ver) of the referenced material record when this row was written. | ||
order_of_execution | integer | Order of execution (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
package_id | uuid | Reference to a package record (a Service dictionary or another module; not included in this export). | ||
package_ver | integer | Version (ver) of the referenced package record when this row was written. | ||
packages_amount_in_cage | integer | Packages amount in cage (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
pallet_size | integer | Pallet size (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
pieces_amount_in_package | integer | Pieces amount in package (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
seedling_type_id | uuid | Reference to a seedling type record (a Service dictionary or another module; not included in this export). | ||
seedling_type_ver | integer | Version (ver) of the referenced seedling type record when this row was written. | ||
target_amount | integer | Target amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
target_amount_unit_id | uuid | Reference to a target amount unit record (a Service dictionary or another module; not included in this export). | ||
target_amount_unit_ver | integer | Version (ver) of the referenced target amount unit record when this row was written. | ||
task_allocation_id | uuid | task_allocations.id | Reference to task_allocations.id. | |
task_allocation_ver | integer | Version (ver) of the referenced task_allocations record when this row was written. | ||
task_priority | text | Priority. |
task_executions
One execution (opening) of a task on a day; work time records point to it. Schedule 2: A3, A5.
Files: csv/task_executions.csv, json/task_executions.json, csv/history/task_executions.csv, json/history/task_executions.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
cage_amount_target | integer | Cage amount target (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
close_time | timestamp | When the execution was closed (timestamp, UTC). | ||
default_break_minutes | integer | minutes | Default break for the execution, minutes. | |
default_end_time | timestamp | Default end (timestamp, UTC). | ||
default_start_time | timestamp | Default start (timestamp, UTC). | ||
default_working_hours | integer | hours | Default working hours (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
default_working_minutes | integer | minutes | Default working time for the execution, minutes. | |
execution_date | date | Day of the execution (YYYY-MM-DD). | ||
fruit_quality_option_id | uuid | Reference to a fruit quality option record (a Service dictionary or another module; not included in this export). | ||
fruit_quality_option_ver | integer | Version (ver) of the referenced fruit quality option record when this row was written. | ||
is_closing_task | boolean | true = this execution closes the task. | ||
is_complete | boolean | true = completed. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
note | text | Free-text note entered by the farm. | ||
package_id | uuid | Reference to a package record (a Service dictionary or another module; not included in this export). | ||
package_ver | integer | Version (ver) of the referenced package record when this row was written. | ||
packages_amount_in_cage | integer | Packages amount in cage (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
pick_mode_id | uuid | Reference to a pick mode record (a Service dictionary or another module; not included in this export). | ||
pick_mode_ver | integer | Version (ver) of the referenced pick mode record when this row was written. | ||
pick_technique_id | uuid | Reference to a pick technique record (a Service dictionary or another module; not included in this export). | ||
pick_technique_ver | integer | Version (ver) of the referenced pick technique record when this row was written. | ||
pieces_amount_in_package | integer | Pieces amount in package (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
rate_assignment_id | uuid | Reference to a rate assignment record (a Service dictionary or another module; not included in this export). | ||
rate_assignment_ver | integer | Version (ver) of the referenced rate assignment record when this row was written. | ||
rate_id | uuid | Reference to a rate record (a Service dictionary or another module; not included in this export). | ||
rate_ver | integer | Version (ver) of the referenced rate record when this row was written. | ||
seedling_type_id | uuid | Reference to a seedling type record (a Service dictionary or another module; not included in this export). | ||
seedling_type_ver | integer | Version (ver) of the referenced seedling type record when this row was written. | ||
start_time | timestamp | Start (timestamp, UTC). | ||
task_execution_mode_id | uuid | task_execution_modes.id | Reference to task_execution_modes.id. | |
task_execution_mode_ver | integer | Version (ver) of the referenced task_execution_modes record when this row was written. | ||
task_id | uuid | tasks.id | Reference to tasks.id. | |
task_ver | integer | Version (ver) of the referenced tasks record when this row was written. | ||
total_weight_target | integer | Total weight target (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
work_session_id | uuid | work_sessions.id | Reference to work_sessions.id. | |
work_session_ver | integer | Version (ver) of the referenced work_sessions record when this row was written. |
users
People of the farm: workers (role with is_worker) and users of the Service. No passwords, tokens or login provider identifiers. Schedule 2: A4, A9, A7.
Files: csv/users.csv, json/users.json, csv/history/users.csv, json/history/users.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
barcode | text | Barcode assigned to the person. | ||
birth_date | timestamp | Date of birth (timestamp, UTC), when entered. | ||
birth_place | text | Place of birth, when entered. | ||
can_login | boolean | true = the person may sign in to the Service. | ||
company_name | text | Company name, when entered. | ||
document_no | text | Identity document number, when entered. | ||
email | text | E-mail address. | ||
father_name | text | Father's name, when entered. | ||
first_name | text | First name. | ||
internal_identifier | text | Internal identifier entered by the farm. | ||
is_archived | boolean | true = archived person. | ||
is_disabled | boolean | true = inactive worker (does not count towards the Free Plan limit); empty or false = active. | ||
job_title | text | Job title. | ||
kind | text | Kind of person record. | ||
last_name | text | Last name. | ||
legal_entity_id | uuid | legal_entities.id | Reference to legal_entities.id. | |
legal_entity_ver | integer | Version (ver) of the referenced legal_entities record when this row was written. | ||
mother_name | text | Mother's name, when entered. | ||
nationality_id | uuid | countries.id | Reference to countries.id. | |
nationality_ver | integer | Version (ver) of the referenced countries record when this row was written. | ||
note | text | Free-text note entered by the farm. | ||
order_number | integer | Worker number assigned by the farm. | ||
pesel | text | Polish personal identification number, when entered. | ||
phone_number | text | Phone number. | ||
phone_number_prefix | text | International dialling prefix of the phone number. | ||
postal_address_id | uuid | Reference to a postal address record (a Service dictionary or another module; not included in this export). | ||
postal_address_ver | integer | Version (ver) of the referenced postal address record when this row was written. | ||
primary_address_id | uuid | Reference to a primary address record (a Service dictionary or another module; not included in this export). | ||
primary_address_ver | integer | Version (ver) of the referenced primary address record when this row was written. | ||
rfid | text | RFID tag assigned to the person. | ||
role_id | uuid | roles.id | Reference to roles.id. | |
role_ver | integer | Version (ver) of the referenced roles record when this row was written. | ||
second_name | text | Second name. | ||
sex | text | Sex, when entered. | ||
tax_number | text | Tax number, when entered. |
roles
Roles that give people their permissions (admin, manager, worker and others). Schedule 2: A9.
Files: csv/roles.csv, json/roles.json, csv/history/roles.csv, json/history/roles.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
is_worker | boolean | true = people with this role are workers. | ||
key | text | Machine key of the record. | ||
label | text | Label of the role. |
permissions
Permissions that can be granted (module, page, action). Schedule 2: A9.
Files: csv/permissions.csv, json/permissions.json, csv/history/permissions.csv, json/history/permissions.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
key | text | Machine key of the record. | ||
module_key | text | Module the permission belongs to. | ||
page_key | text | Page the permission belongs to. |
permits
Granted or refused permissions per role or per person. Schedule 2: A9.
Files: csv/permits.csv, json/permits.json, csv/history/permits.csv, json/history/permits.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
is_permited | boolean | true = permission granted, false = refused (column name as stored). | ||
permission_id | uuid | permissions.id | Reference to permissions.id. | |
permission_ver | integer | Version (ver) of the referenced permissions record when this row was written. | ||
role_id | uuid | roles.id | Reference to roles.id. | |
role_ver | integer | Version (ver) of the referenced roles record when this row was written. | ||
user_id | uuid | users.id | Reference to users.id. | |
user_ver | integer | Version (ver) of the referenced users record when this row was written. |
user_settings
Personal settings of people in the Service. Schedule 2: A9.
Files: csv/user_settings.csv, json/user_settings.json, csv/history/user_settings.csv, json/history/user_settings.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
record_uid | uuid | Identifier of the setting record. | ||
setting_id | uuid | Reference to a setting record (a Service dictionary or another module; not included in this export). | ||
setting_option_id | uuid | Reference to a setting option record (a Service dictionary or another module; not included in this export). | ||
setting_option_ver | integer | Version (ver) of the referenced setting option record when this row was written. | ||
setting_ver | integer | Version (ver) of the referenced setting record when this row was written. | ||
user_id | uuid | users.id | Reference to users.id. | |
user_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
value | text | Setting value. |
contract_types
Types of worker contracts. Schedule 2: A4.
Files: csv/contract_types.csv, json/contract_types.json, csv/history/contract_types.csv, json/history/contract_types.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
has_constant_pay | boolean | true = contract with constant pay. | ||
key | text | Machine key of the record. | ||
name | text | Name as entered by the farm. |
signed_contracts
Contract periods of a worker; a worker is employed between signing_date and end_date. Schedule 2: A4.
Files: csv/signed_contracts.csv, json/signed_contracts.json, csv/history/signed_contracts.csv, json/history/signed_contracts.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
contract_rate | integer | Contract rate as stored. | ||
contract_type_id | uuid | contract_types.id | Reference to contract_types.id. | |
contract_type_ver | integer | Version (ver) of the referenced contract_types record when this row was written. | ||
end_date | timestamp | End (timestamp, UTC). | ||
end_day | date | End day (YYYY-MM-DD). | ||
extra_stay_days | integer | days | Extra stay days (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
extra_visa_days | integer | days | Extra visa days (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
max_salary_amount | integer | Max salary amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
min_salary_amount | integer | Min salary amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
signing_date | timestamp | Contract start (timestamp, UTC). | ||
signing_day | date | Contract start day (YYYY-MM-DD). | ||
user_id | uuid | users.id | Reference to users.id. | |
user_ver | integer | Version (ver) of the referenced users record when this row was written. |
seasons
Seasons defined by the farm. Schedule 2: A5, A8.
Files: csv/seasons.csv, json/seasons.json, csv/history/seasons.csv, json/history/seasons.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
description | text | Description entered by the farm. | ||
end_date | timestamp | End (timestamp, UTC). | ||
is_active | boolean | true = active. | ||
is_default | boolean | true = default season. | ||
name | text | Name as entered by the farm. | ||
plant_purpose_id | uuid | plant_purposes.id | Reference to plant_purposes.id. | |
plant_purpose_ver | integer | Version (ver) of the referenced plant_purposes record when this row was written. | ||
season_type_id | uuid | Reference to a season type record (a Service dictionary or another module; not included in this export). | ||
season_type_ver | integer | Version (ver) of the referenced season type record when this row was written. | ||
start_date | timestamp | Start (timestamp, UTC). |
season_configurations
Weekly settings of a season, including the hourly rate used for cost calculations. Schedule 2: A5, A8.
Files: csv/season_configurations.csv, json/season_configurations.json, csv/history/season_configurations.csv, json/history/season_configurations.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
end_date | date | End (timestamp, UTC). | ||
hourly_rate | integer | minor currency units (1/100 of organization.currency_code) per hour | Hourly rate of the season week in minor units of the farm currency (organization.currency_code), e.g. 3140 = 31.40 PLN per hour. Applies to work whose week starts on start_date (Monday). | |
iso_week | integer | ISO 8601 week number. | ||
season_id | uuid | seasons.id | Reference to seasons.id. | |
season_ver | integer | Version (ver) of the referenced seasons record when this row was written. | ||
start_date | date | Start (timestamp, UTC). | ||
working_days | integer | days | Working days. | |
working_hours_in_day | decimal | hours | Working hours per day. | |
working_hours_in_week | decimal | hours | Working hours per week. |
work_sessions
Work sessions (group work on a day), when used. Schedule 2: A5.
Files: csv/work_sessions.csv, json/work_sessions.json, csv/history/work_sessions.csv, json/history/work_sessions.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
baseline_duration | integer | Baseline duration as stored. | ||
default_working_hours | integer | hours | Default working hours (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
group_id | uuid | Reference to a group record (a Service dictionary or another module; not included in this export). | ||
group_ver | integer | Version (ver) of the referenced group record when this row was written. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
occurence_date | timestamp | Day of the session (timestamp, UTC; column name as stored). | ||
task_type_id | uuid | task_types.id | Reference to task_types.id. | |
task_type_ver | integer | Version (ver) of the referenced task_types record when this row was written. | ||
type | text | Type of the session. | ||
user_id | uuid | users.id | Reference to users.id. | |
user_ver | integer | Version (ver) of the referenced users record when this row was written. |
worker_activities
Work-time records: start, end and break of a worker on a task execution, with computed working minutes. Schedule 2: A5, A7, A8.
Files: csv/worker_activities.csv, json/worker_activities.json, csv/history/worker_activities.csv, json/history/worker_activities.json. Primary key: id (history: id, ver).
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
aisle_id | uuid | Reference to a aisle record (a Service dictionary or another module; not included in this export). | ||
aisle_side | integer | Aisle side (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
aisle_ver | integer | Version (ver) of the referenced aisle record when this row was written. | ||
assignment_source | text | How the worker was assigned to the task. | ||
break_day_minutes | integer | minutes | Break start, minutes after midnight (legacy, usually empty). | |
break_minutes | integer | minutes | Break length in minutes. | |
break_time | timestamp | Break time (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
bunches_amount | integer | Bunches amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
cage_id | uuid | Reference to a cage record (a Service dictionary or another module; not included in this export). | ||
cage_ver | integer | Version (ver) of the referenced cage record when this row was written. | ||
date_of_execution | timestamp | Day and time of the work (timestamp, UTC). | ||
end_day_minutes | integer | minutes | End of work, minutes after midnight of work_date in the farm time zone (more than 1440 when work ends after midnight). | |
end_time | timestamp | End (timestamp, UTC). | ||
execution_mode_id | uuid | Reference to a execution mode record (a Service dictionary or another module; not included in this export). | ||
execution_mode_ver | integer | Version (ver) of the referenced execution mode record when this row was written. | ||
from_transaction_id | uuid | Reference to a from transaction record (a Service dictionary or another module; not included in this export). | ||
from_transaction_ver | integer | Version (ver) of the referenced from transaction record when this row was written. | ||
full_value | decimal | Value of the record (piecework) as stored. | ||
gross_amount | integer | Gross amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
group_id | uuid | Reference to a group record (a Service dictionary or another module; not included in this export). | ||
group_ver | integer | Version (ver) of the referenced group record when this row was written. | ||
hourly_type_key | text | time-start = work started and still open; time-end = start and end recorded; presence = presence mark; time-break = break. | ||
insert_method_id | uuid | Reference to a insert method record (a Service dictionary or another module; not included in this export). | ||
insert_method_ver | integer | Version (ver) of the referenced insert method record when this row was written. | ||
is_invalid | boolean | true = record marked invalid. | ||
last_present_at | timestamp | Last presence mark (timestamp, UTC). | ||
local_ver | integer | Version counter of the offline client. | ||
location_id | uuid | locations.id | Reference to locations.id. | |
location_ver | integer | Version (ver) of the referenced locations record when this row was written. | ||
net_amount | integer | Net amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
notes | text | Free-text note entered by the farm. | ||
origin_salary_modificator_id | uuid | Reference to a origin salary modificator record (a Service dictionary or another module; not included in this export). | ||
origin_salary_modificator_type_id | uuid | Reference to a origin salary modificator type record (a Service dictionary or another module; not included in this export). | ||
origin_salary_modificator_type_ver | integer | Version (ver) of the referenced origin salary modificator type record when this row was written. | ||
origin_salary_modificator_ver | integer | Version (ver) of the referenced origin salary modificator record when this row was written. | ||
package_id | uuid | Reference to a package record (a Service dictionary or another module; not included in this export). | ||
package_ver | integer | Version (ver) of the referenced package record when this row was written. | ||
pallet_id | uuid | Reference to a pallet record (a Service dictionary or another module; not included in this export). | ||
pallet_ver | integer | Version (ver) of the referenced pallet record when this row was written. | ||
pick_technique_id | uuid | Reference to a pick technique record (a Service dictionary or another module; not included in this export). | ||
pick_technique_ver | integer | Version (ver) of the referenced pick technique record when this row was written. | ||
plant_id | uuid | plants.id | Reference to plants.id. | |
plant_ver | integer | Version (ver) of the referenced plants record when this row was written. | ||
rate_assignment_id | uuid | Reference to a rate assignment record (a Service dictionary or another module; not included in this export). | ||
rate_assignment_ver | integer | Version (ver) of the referenced rate assignment record when this row was written. | ||
rate_id | uuid | Reference to a rate record (a Service dictionary or another module; not included in this export). | ||
rate_ver | integer | Version (ver) of the referenced rate record when this row was written. | ||
registration_time | timestamp | When the record was registered (timestamp, UTC). | ||
row_id | uuid | Reference to a row record (a Service dictionary or another module; not included in this export). | ||
row_ver | integer | Version (ver) of the referenced row record when this row was written. | ||
sales_order_id | uuid | Reference to a sales order record (a Service dictionary or another module; not included in this export). | ||
sales_order_ver | integer | Version (ver) of the referenced sales order record when this row was written. | ||
seedling_type_id | uuid | Reference to a seedling type record (a Service dictionary or another module; not included in this export). | ||
seedling_type_ver | integer | Version (ver) of the referenced seedling type record when this row was written. | ||
seedlings_amount | integer | Seedlings amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
start_day_minutes | integer | minutes | Start of work, minutes after midnight of work_date in the farm time zone. | |
start_time | timestamp | Start (timestamp, UTC). | ||
supervisor_id | uuid | users.id | Reference to users.id. | |
supervisor_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
tare_amount | integer | Tare amount (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
task_assignment_id | uuid | Reference to a task assignment record (a Service dictionary or another module; not included in this export). | ||
task_assignment_ver | integer | Version (ver) of the referenced task assignment record when this row was written. | ||
task_execution_id | uuid | task_executions.id | Reference to task_executions.id. | |
task_execution_ver | integer | Version (ver) of the referenced task_executions record when this row was written. | ||
task_id | uuid | tasks.id | Reference to tasks.id. | |
task_type_id | uuid | task_types.id | Reference to task_types.id. | |
task_type_ver | integer | Version (ver) of the referenced task_types record when this row was written. | ||
task_ver | integer | Version (ver) of the referenced tasks record when this row was written. | ||
team_entry_id | uuid | Reference to a team entry record (a Service dictionary or another module; not included in this export). | ||
team_key | text | Team key (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
time_change_hours | integer | hours | Time change hours (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
time_change_minutes | integer | minutes | Time change minutes (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | |
time_id | uuid | Reference to a time record (a Service dictionary or another module; not included in this export). | ||
time_source | text | global = time entered for the whole crew; individual = for one worker. | ||
type_id | uuid | worker_activity_types.id | Reference to worker_activity_types.id. | |
type_ver | integer | Version (ver) of the referenced worker_activity_types record when this row was written. | ||
unit_id | uuid | Reference to a unit record (a Service dictionary or another module; not included in this export). | ||
unit_value_divider | integer | Unit value divider (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
unit_ver | integer | Version (ver) of the referenced unit record when this row was written. | ||
variety_id | uuid | varieties.id | Reference to varieties.id. | |
variety_ver | integer | Version (ver) of the referenced varieties record when this row was written. | ||
work_date | date | Working day the record belongs to (YYYY-MM-DD, farm day). | ||
work_session_id | uuid | work_sessions.id | Reference to work_sessions.id. | |
work_session_ver | integer | Version (ver) of the referenced work_sessions record when this row was written. | ||
worker_function_id | uuid | Reference to a worker function record (a Service dictionary or another module; not included in this export). | ||
worker_function_ver | integer | Version (ver) of the referenced worker function record when this row was written. | ||
worker_id | uuid | users.id | Reference to users.id. | |
worker_ver | integer | Version (ver) of the referenced users record when this row was written. | ||
working_days | integer | days | Working days. | |
working_hours | integer | hours | Worked time in whole hours as stored (working_minutes is the exact value). | |
working_minutes | integer | minutes | Worked time in minutes (end minus start minus break). |
worker_activity_types
Dictionary of work-time record types shared by all farms (no farm data). Needed to read worker_activities.type_id. Schedule 2: A10.
Files: csv/worker_activity_types.csv, json/worker_activity_types.json. Primary key: id. This dictionary is shared by all farms and has no history file.
| Column | Type | Unit | References | Description |
|---|---|---|---|---|
based_on_value | text | Based on value (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
day_of_execution | integer | Day of execution (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
every_timeframe | text | Every timeframe (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_editable | boolean | Is editable (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_manual_addition | boolean | Is manual addition (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_picking | boolean | Is picking (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_piecework | boolean | true = piecework. | ||
is_planting | boolean | Is planting (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
is_sorting | boolean | Is sorting (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
key | text | Machine key of the record. | ||
min_value_trigger | integer | Min value trigger (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
multiplier | integer | Multiplier (stored value; used mainly by other Berrini modules, usually empty for Free Plan farms). | ||
name | text | Name as entered by the farm. |
Relations between files
All links are by id. A column ending with _id holds the id of a record of another entity; the matching _ver column holds the version of that record when the row was written.
fields 1--n quarters (quarters.field_id)
quarters 1--n locations (locations.quarter_id), 1--n quarter_boundaries (quarter_boundaries.quarter_id)
locations 1--n plants (plants.location_id); plants n--1 varieties n--1 crops n--1 crop_types
task_categories 1--n task_types 1--n tasks (tasks.task_type_id)
tasks 1--n task_locations n--1 locations; tasks 1--n task_allocations 1--n task_execution_modes 1--n task_executions
task_executions 1--n worker_activities (worker_activities.task_execution_id)
users 1--n worker_activities (worker_activities.worker_id); users 1--n signed_contracts (signed_contracts.user_id)
users n--1 roles; permits n--1 roles or users, n--1 permissions
seasons 1--n season_configurations (weekly hourly_rate)Workers are the rows of users whose role has roles.is_worker = true. A worker is active when users.is_disabled is not true, and is employed in the periods of signed_contracts.
Worked time of one record is worker_activities.working_minutes, on the farm day work_date, from start_day_minutes to end_day_minutes (minutes after midnight in the farm time zone) minus break_minutes. Records with hourly_type_key = time-start are open (work started, no end yet). The cost of the time, as the app computes it, is working_minutes / 60 × hourly_rate. The hourly_rate is in minor currency units (divide by 100 for PLN) and comes from the season_configurations row of the season whose start_date is the Monday of the ISO week containing work_date.
Changes to this register. The format version is in farm.json and schema.json. New columns or entities may be added in a minor version. Existing columns are not renamed or removed without a new major version announced on this page. We keep this register aligned with the data the Service actually stores.
Infrastructure and international access
EU Data Act, Article 28.
The primary application database is hosted in Poland (Poland Central). Other components of the Service operate in the locations described below.
| Component | Provider (legal entity) | Location | Provider’s jurisdiction |
|---|---|---|---|
| Primary application database (Azure Database for PostgreSQL) | Microsoft Ireland Operations Ltd | Poland (Poland Central) | EU (Ireland); parent company in the USA |
| Data API between the application and the database (Hasura Cloud) | Hasura, Inc. | Germany (AWS Frankfurt) | USA |
| Application hosting and server functions (Vercel) | Vercel Inc. | Germany (Frankfurt, fra1) | USA |
| Sign-in (Auth0) | Okta, Inc. | EU tenant | USA |
| Error monitoring (Sentry) | Functional Software, Inc. | Germany | USA |
| Background jobs (Inngest): identifiers, dates and amounts only, no worker names | Inngest, Inc. | USA | USA |
| Account e-mails such as invitations and password e-mails (Postmark) | ActiveCampaign, LLC | USA | USA |
Data export. The export interface runs in the EU: the export is generated in Frankfurt (Vercel, fra1) through the data API in Frankfurt (Hasura Cloud) from the database in Poland, and is sent directly to the requester. The exported data are not passed to background jobs or to any component located outside the EU.
The location of a region is not the same as the jurisdiction of its provider. Providers established in the USA, or with a parent company there, may be subject to US law, including requests from US authorities, even when the data are held in the EU.
Safeguards
- Encryption in transit: connections to the Service and between its components use TLS.
- Encryption at rest: the database and its backups are encrypted at rest by the hosting provider.
- Limited access: access to production systems is limited to named Berrini staff. The data of each farm are kept separate, and the application and the export read only the records of the farm concerned.
- Contracts: we have data processing agreements with our providers, including the EU Standard Contractual Clauses where personal data leave the European Economic Area.
- Minimal data outside the EU: background jobs receive only identifiers, dates and amounts, not worker names; account e-mails contain only what the e-mail needs.
Berrini applies appropriate technical, organisational and contractual measures to protect non-personal data held in the European Union against international governmental access or transfers that would conflict with applicable Union or Member State law. Requests from authorities outside the European Union are assessed under applicable law, including Article 32 of the EU Data Act. Berrini informs the relevant customer of such requests where required and legally permitted.
Questions about this page: support@berrini.farm.