SizingSchemaService

Service for managing sizing schema registry.

Uses ToolRegistry from functools-kit for type-safe schema storage. Sizing schemas are registered via addSizing() and retrieved by name.

constructor();
loggerService: LoggerService
_registry: any
validateShallow: any

Validates sizing schema structure for required properties.

Performs shallow validation to ensure all required properties exist and have correct types before registration in the registry.

register(key: SizingName, value: ISizingSchema): void;

Registers a new sizing schema.

override(key: SizingName, value: Partial<ISizingSchema>): ISizingSchema;

Overrides an existing sizing schema with partial updates.

get(key: SizingName): ISizingSchema;

Retrieves a sizing schema by name.