{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudbrowser-tv/json-schema/cloudbrowser-tv-update-live-view-grant-schema.json",
  "title": "UpdateLiveViewGrant",
  "description": "Share-mode Live View only. At least one property required. Every effective policy change invalidates all old sessions and tickets immediately and increments revision. The same reusable URL can then open a fresh session. Revoked grants cannot be revived. An expired share may be extended by its owner, but previous sessions stay ended.",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudbrowser-tv-openapi.json#/components/schemas/UpdateLiveViewGrant",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "permission": {
      "type": "string",
      "enum": [
        "view",
        "control"
      ],
      "default": "view",
      "description": "view is read-only: stream only, no mouse, keyboard, touch, clipboard writes, uploads, navigation commands or browser control. control allows browser interaction but no workspace, lifecycle or CDP administration. Enforced by the gateway, not just UI."
    },
    "name": {
      "type": "string",
      "maxLength": 80
    }
  },
  "required": [],
  "minProperties": 1
}