{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/unbrowse-ai/json-schema/unbrowse-ai-session-reuse-schema.json",
  "title": "SessionReuse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/unbrowse-ai-openapi.json#/components/schemas/SessionReuse",
  "type": "object",
  "required": [
    "workspaceId",
    "reuse",
    "reason"
  ],
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "reuse": {
      "type": "boolean",
      "description": "Effective: whether kept signed-in sessions are reused automatically (sites set to Never or Ask me excepted)."
    },
    "explicit": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "What the workspace set; null when it never chose (on by default)."
    },
    "reason": {
      "type": "string"
    },
    "never": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Sites set to Never: their kept sign-in is never reused."
    },
    "ask": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Sites set to Ask me: each reuse needs your approval."
    },
    "change": {
      "type": "string"
    }
  }
}