Tesseract 0.28.4
Loading...
Searching...
No Matches
Derived Types with Plugin Info Structure Example

Example demonstrating derived types support with the standard plugin info structure.

This example shows how to:

  1. Register base and derived types in the schema registry
  2. Create schemas that accept derived types using acceptsDerivedTypes()
  3. Validate YAML configurations using the plugin info structure (class + config)
  4. Handle single entries, arrays, and maps of heterogeneous derived types
  5. Understand error handling for invalid types and configurations

The plugin info structure pattern is ideal for plugin architectures and extensible type systems where configuration needs to specify both the concrete type (via "class" field) and its type-specific parameters (via "config" field).