Skip to content

Main content

Food Package Seal Test Record Code Tool

Retain a supplied seal-test record code without inventing an acceptance standard.

Loading tool…

Description

Test code membership and serialize source/code as a JSON-array key.

Food-safety records connect lots, samples, tests, labels and handling events. Consistent identifiers and reconciled quantities support record review, but do not establish safe food, complete traceability or valid regulatory approval.

Test code membership and serialize source/code as a JSON-array key.

When to use this tool

Use Food Package Seal Test Record Code when you need a specified food-handling record or traceability diagnostic.

How to use the tool and how it works

  1. Enter code, suppliedCodes, recordSource. 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 recognized, recordKey. Inspect recognized before interpreting the associated values.

Require unique supplied codes and nonempty recordSource. Test code membership and serialize source/code as a JSON-array key.1

Input fieldMeaning and unitsAccepted input
codeCodeRequired. Text; maximum UTF-16 length 8192.
suppliedCodesSupplied CodesRequired. Array of text; maximum UTF-16 length 8192; maximum items 256.
recordSourceRecord SourceRequired. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
recognizedRecognizedRequired. Boolean.
recordKeyRecord KeyRequired. Text; maximum UTF-16 length 8192.
json
{
  "input": {
    "code": "P",
    "suppliedCodes": [
      "P",
      "F"
    ],
    "recordSource": "method-v1"
  },
  "output": {
    "recognized": true,
    "recordKey": "[\"method-v1\",\"P\"]"
  }
}

Limitations and assumptions

  • The vocabulary is caller supplied and code recognition does not verify a seal test, physical package integrity or safe storage.
  • 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

Review the complete controlled records, actual product condition and applicable validated procedures. Authenticate sources and approvals rather than treating one matching token or balance as a safety verdict.

References

  1. Calculation and input contract: food-safety/food-package-seal-test-record-code — tool.io

Similar or alternative tools