setMetadataSchemaVersion

public final void setMetadataSchemaVersion(int value)

Daemon-level default for the result.json metadata schema version: 1 = the legacy flat shape (per-field match / confidenceComponents / opt-in composite confidence); 2 = the simplified citation + confidence shape (primary groundedness, ocr, boolean schemaValid). Defaults to 1 for backward compatibility; a per-request metadataSchemaVersion overrides it.

Parameters

value

The value to set for the MetadataSchemaVersion property.