Schema Reference
The Infinity Plugin uses JSON schemas to define scan configurations and result formats.
Configuration Schemas
- Constructing your Configuration JSON using JSON Schemas
-
Guide to building your
ScanViewConfigand understanding schema structure. - ScanViewConfig Documentation
-
Complete
ScanViewConfigJSON Schema reference. Defines all available scan configurations including camera, flash, cutout, plugin, and UI feedback settings. - WrapperSessionParameters Documentation
-
WrapperSessionParametersJSON Schema reference. Defines all Infinity Plugin request and response types, including scan session parameters, result configuration, and UI options.
Result Schemas
- PluginResult Documentation
-
PluginResultJSON Schema reference. Defines the structure of scan results returned by each plugin type.
UI Feedback Configuration
- UI Feedback Config
-
Guide to configuring interactive UI feedback elements in the scan overlay.
- UIFeedback Config Elements
-
Reference for all available UI feedback element types.
Schema Usage in the Infinity Plugin
The Infinity Plugin accepts a ScanViewConfig as a JSON string via the scanViewConfigContentString parameter in requestScanStart and requestScanSwitchWithScanViewConfigContentString. The JSON must conform to the ScanViewConfig schema.
The onScanResults event stream delivers scan results that conform to the PluginResult schema, inside a WrapperSessionScanResultsResponse envelope.