{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sinch/main/json-schema/sinch-update-group-request-schema.json",
  "title": "UpdateGroupRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sinch-groups-api-openapi.yml#/components/schemas/UpdateGroupRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Updated group name"
    },
    "add": {
      "type": "array",
      "description": "Phone numbers to add to the group",
      "items": {
        "type": "string"
      }
    },
    "remove": {
      "type": "array",
      "description": "Phone numbers to remove from the group",
      "items": {
        "type": "string"
      }
    },
    "add_from_group": {
      "type": "string",
      "description": "Add all members from another group"
    },
    "remove_from_group": {
      "type": "string",
      "description": "Remove all members that are in another group"
    }
  }
}