FieldResult

FieldResult carries one field and the evidence for it: the value, whether it was found, confidence, signals, provenance, candidates and rule results.

Every field produced by the schema walk is tracked as a FieldResult, so the caller can inspect the exact outcome of each extraction.

Typical data

A field result includes its value, whether it was found, provenance, and validation status. It is the basis for explainability and review.

Example

field := res.Fields["total"]
fmt.Println(field.Value)
fmt.Println(field.Found)

Why it matters

This is how Ovrin supports explainability. Rather than returning a loose JSON object, it tells you whether a field was found, how it was derived, and how trustworthy it is.