{
  "$id": "https://curveballjs.org/schemas/a12nserver/group-patch.json",
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "additionalProperties": false,
  "description": "The body of a PATCH call on a group. This PATCH request lets you add or remove members from a group",
  "properties": {
    "memberHref": {
      "description": "A URI pointing to a user. This can be specified as a mailto: address, a relative URI pointing to the user resource or an absolute URI",
      "type": "string"
    },
    "operation": {
      "enum": [
        "add-member",
        "remove-member"
      ],
      "type": "string"
    }
  },
  "required": [
    "operation",
    "memberHref"
  ],
  "type": "object"
}