{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cubic-dev/json-schema/cubic-dev-member-update-schema.json",
  "title": "MemberUpdate",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubic-dev-openapi.yml#/components/schemas/MemberUpdate",
  "type": "object",
  "properties": {
    "seat": {
      "description": "Desired seat state. Send with expectedSeat.",
      "type": "boolean"
    },
    "role": {
      "description": "Desired role. Send with expectedRole.",
      "type": "string",
      "enum": [
        "member",
        "admin",
        "viewer"
      ]
    },
    "expectedSeat": {
      "description": "Current seat state from your latest read; send only with seat.",
      "type": "boolean"
    },
    "expectedRole": {
      "description": "Current role from your latest read; send only with role.",
      "type": "string",
      "enum": [
        "member",
        "admin",
        "viewer"
      ]
    }
  },
  "additionalProperties": false
}