{
 "name": "scene_item_set_visible",
 "description": "Show or hide a scene item, named by `item` (id from scene_items_list) or `source`.",
 "inputSchema": {
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Visibility update; exactly one of item/source must be specified.",
  "properties": {
   "item": {
    "description": "Item id.",
    "format": "int64",
    "type": [
     "integer",
     "null"
    ]
   },
   "scene": {
    "description": "Scene name.",
    "type": "string"
   },
   "source": {
    "description": "Source name instead of item id.",
    "type": [
     "string",
     "null"
    ]
   },
   "visible": {
    "description": "New visibility.",
    "type": "boolean"
   }
  },
  "required": [
   "scene",
   "visible"
  ],
  "title": "VisibleInput",
  "type": "object"
 },
 "outputSchema": {
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "description": "Item mutation response, retaining the caller's selector.",
  "properties": {
   "item": {
    "description": "Item id when selected by id.",
    "format": "int64",
    "type": [
     "integer",
     "null"
    ]
   },
   "scene": {
    "description": "Scene name.",
    "type": "string"
   },
   "source": {
    "description": "Source name when selected by name.",
    "type": [
     "string",
     "null"
    ]
   },
   "visible": {
    "description": "Present for visibility changes.",
    "type": [
     "boolean",
     "null"
    ]
   }
  },
  "required": [
   "scene"
  ],
  "title": "ItemReply",
  "type": "object"
 },
 "annotations": {
  "destructiveHint": true,
  "idempotentHint": true,
  "openWorldHint": true,
  "readOnlyHint": false
 }
}