Skip to content

Main content

Agricultural Batch Parent Child ID Token Tool

Preserve explicit agricultural parent/child/source references.

Loading tool…

Description

Encode [source,parent,child] as JSON text and report whether parent differs from child.

Farm data records connect field, event, sensor and source identifiers with observation and verification flags. Literal keys and supported-record shares help reconcile those records without authenticating a source, identifying a physical object or establishing measurement quality. Repeated IDs may need a different denominator from repeated rows.

Encode [source,parent,child] as JSON text and report whether parent differs from child.

When to use this tool

Use Agricultural Batch Parent Child ID Token when checking the stated agricultural source, identity or record-support convention.

How to use the tool and how it works

  1. Enter parent, child, source. 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 key, distinct. Inspect distinct before interpreting the associated values.

Require nonempty source, parent and child. Encode [source,parent,child] as JSON text and report whether parent differs from child.1

Input fieldMeaning and unitsAccepted input
parentParentRequired. Text; maximum UTF-16 length 8192.
childChildRequired. Text; maximum UTF-16 length 8192.
sourceCaller-supplied source label, not independently authenticated.Required. Text; maximum UTF-16 length 8192.
Output fieldInterpretationReturned shape
keyKeyRequired. Text; maximum UTF-16 length 8192.
distinctDistinctRequired. Boolean.
json
{
  "input": {
    "parent": "B1",
    "child": "S1",
    "source": "system-A"
  },
  "output": {
    "key": "[\"system-A\",\"B1\",\"S1\"]",
    "distinct": true
  }
}

Limitations and assumptions

  • No ancestry graph, batch existence or actual parent-child relationship is verified.
  • 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

Inspect original records, authoritative identifier schemes and calibrated measurements before merging data or drawing agricultural conclusions.

References

  1. Calculation and input contract: agroinformatics/agricultural-batch-parent-child-id-token — tool.io

Similar or alternative tools