{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lassare-com/json-schema/lassare-com-workspace-status-response-schema.json",
  "title": "WorkspaceStatusResponse",
  "description": "Response for workspace status check.",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lassare-com-openapi.json#/components/schemas/WorkspaceStatusResponse",
  "properties": {
    "workspaceId": {
      "type": "string",
      "title": "Workspaceid",
      "description": "Slack workspace ID"
    },
    "appInstalled": {
      "type": "boolean",
      "title": "Appinstalled",
      "description": "Whether Lassare app is installed"
    },
    "active": {
      "type": "boolean",
      "title": "Active",
      "description": "Whether the workspace authorization is active"
    },
    "teamName": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Teamname",
      "description": "Slack workspace name (if available)"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error",
      "description": "Error message if not installed"
    }
  },
  "type": "object",
  "required": [
    "workspaceId",
    "appInstalled",
    "active"
  ]
}