• Adds an outline schema to the swarm system by registering it with the outline validation and schema services. Ensures the operation runs in a clean context using beginContext to avoid interference from existing method or execution contexts. Logs the operation if logging is enabled in the global configuration.

    Parameters

    • outlineSchema: IOutlineSchema

      The outline schema to register, containing the outline name and configuration.

    Returns string

    The name of the registered outline.