Reference Values

The fixed value sets used by the compliance task endpoints.

The compliance task endpoints share several fixed value sets. They are listed here once; the endpoint pages and the
field descriptions link to the section they need instead of repeating the values.

Critical control points

CCP types

The type field is a fixed set of values:

typeName
1Delivery & Receipt
2Storage
3Preparation
4Processing
5Cooking
6Reheating
7Service
8Food Display
9Waste
10Facility
11Other

Mitigation policy

The mitigation_policy field defines whether a corrective action is required when a related task fails:

mitigation_policyName
0Not required
1Optional
2Required

Task templates

Template types

The type field is a fixed set of slugs. It also determines which keys a template's type_specific object holds:

typeNametype_specific keys
temperature_checkTemperature checkccp, temperatures
checklist_taskChecklist taskccp, checklist
general_taskGeneral tasknone ({})
cleaning_sanitationCleaning & Sanitationccp
orderOrdernone ({})
countCountnone ({})
packagingPackagingccp
maintenanceMaintenanceccp
waste_managementWaste Managementccp
pest_controlPest Controlccp
facility_managementFacility Managementccp
stock_managementStock Managementccp
chemical_controlChemical Controlccp
trainingTrainingccp
traceability_recallTraceability & Recallccp

The calendar endpoint is the exception: the template it embeds carries ccp only, never temperatures or
checklist. Fetch the occurrence or the template itself for those.

Recurrence

recurrence.frequency is a fixed set of slugs. All keys of recurrence are always present; the ones that do not
apply to the frequency are null:

frequencyNameApplicable fields
onceOncestart_date, start_time
dailyDailystart_date, start_time, end_date, interval
weeklyWeeklystart_date, start_time, end_date, interval, weekdays
monthlyMonthlystart_date, start_time, end_date, interval, day_of_month
yearlyYearlystart_date, start_time, end_date, interval, day_of_month, month_of_year

weekdays values: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday.

Task occurrences

Completion result

completion.resultMeaning
okThe task was completed successfully
nokThe task was completed with a failed outcome
nullThe task is not completed yet (planned or draft)