{
 "name": "scene_item_set_transform",
 "description": "Set the position, scale and/or rotation of a scene item, named by `item` (id from scene_items_list) or `source`.",
 "inputSchema": {
  "$defs": {
   "Pair": {
    "additionalProperties": false,
    "description": "Pixel position or scale factors.",
    "properties": {
     "x": {
      "description": "Horizontal component.",
      "format": "double",
      "type": "number"
     },
     "y": {
      "description": "Vertical component.",
      "format": "double",
      "type": "number"
     }
    },
    "required": [
     "x",
     "y"
    ],
    "type": "object"
   }
  },
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Transform update; at least one transform field is required.",
  "properties": {
   "item": {
    "description": "Item id.",
    "format": "int64",
    "type": [
     "integer",
     "null"
    ]
   },
   "position": {
    "anyOf": [
     {
      "$ref": "#/$defs/Pair"
     },
     {
      "type": "null"
     }
    ],
    "description": "New position."
   },
   "rotation": {
    "description": "New rotation in degrees.",
    "format": "double",
    "type": [
     "number",
     "null"
    ]
   },
   "scale": {
    "anyOf": [
     {
      "$ref": "#/$defs/Pair"
     },
     {
      "type": "null"
     }
    ],
    "description": "New scale."
   },
   "scene": {
    "description": "Scene name.",
    "type": "string"
   },
   "source": {
    "description": "Source name instead of item id.",
    "type": [
     "string",
     "null"
    ]
   }
  },
  "required": [
   "scene"
  ],
  "title": "TransformInput",
  "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": false,
  "openWorldHint": true,
  "readOnlyHint": false
 }
}