getMetadataSchemaVersion

public final int getMetadataSchemaVersion()

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.

Return

The value of the MetadataSchemaVersion property.