Skip to content

Main content

Food Source Purchase Donation Tag

Label an explicitly recorded food-source category without authenticating origin.

Loading tool…

Description

Label a food lot's stated purchase or donation source.

Food-assistance records track sources, quantities, vouchers, transfers and purchasing units. Nominal person-rations and whole-pack costs depend on supplied assumptions; they do not determine nutritional adequacy or legal entitlements. Returned quantities also do not establish that food can safely be redistributed.

Label a food lot's stated purchase or donation source.

When to use this tool

Use Food Source Purchase Donation Tag when checking the stated supplied assistance inventory, quantity or cost convention.

How to use the tool and how it works

  1. Enter lotId, sourceType. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. Read label. Use the output convention below.

Require nonempty lotId and sourceType purchase, donation, transfer, other or unspecified. Format lotId [sourceType].1

Input fieldMeaning and unitsAccepted input
lotIdLot IdRequired. Text; minimum UTF-16 length 1; maximum UTF-16 length 8192.
sourceTypeSource TypeRequired. Text; one of "purchase", "donation", "transfer", "other", "unspecified"; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
labelFormatted supplied record wording; no independent validation of its substantive meaning.Required. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "lotId": "LOT17",
    "sourceType": "donation"
  },
  "output": {
    "label": "LOT17 [donation]"
  }
}

Limitations and assumptions

  • The source is recorded, not authenticated; it does not establish donation eligibility, provenance or food safety.
  • Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.

Alternative or Complementary methods

Use verified inventory and program records with qualified nutrition, food-safety and humanitarian professionals for actual dietary, distribution or benefit decisions.

References

  1. Calculation and input contract: food-security/food-source-purchase-donation-tag — tool.io

Similar or alternative tools