# Workspace Layer Definition
# Points to workspace/templates (shared templates)

schema WorkspaceLayer {
    name: str = "workspace"
    description: str = "Shared workspace templates and patterns"
    priority: int = 200
    path: str = "../templates"

    # Template paths
    taskservs_path: str = "../templates/taskservs"
    providers_path: str = "../templates/providers"
    servers_path: str = "../templates/servers"
    clusters_path: str = "../templates/clusters"

    # Layer metadata
    version: str = "1.0.0"
    source_infra: str = "wuji"
    provides: [str] = [
        "kubernetes-base", "kubernetes-ha", "kubernetes-single",
        "upcloud-defaults", "aws-defaults", "server-patterns"
    ]

    # Template inheritance
    extends: [str] = ["core"]
    overrides_allowed: bool = True
}

# Layer instance
workspace_layer = WorkspaceLayer {}
