{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/opentext-cybersecurity/main/json-schema/opentext-cybersecurity-post-user-group-request-schema.json",
  "title": "PostUserGroupRequest",
  "description": "Post user group Request",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/opentext-cybersecurity-user-management-api-openapi.yml#/components/schemas/PostUserGroupRequest",
  "required": [
    "name"
  ],
  "type": "object",
  "properties": {
    "name": {
      "description": "The group name",
      "type": "string"
    },
    "description": {
      "description": "The group description",
      "type": "string"
    },
    "addAllUsers": {
      "description": "Optional - if true add all tenant users to the group. Default is false",
      "type": "boolean"
    },
    "users": {
      "description": "Optional - list of users to add to the group. If addAllUsers is true this list is ignored",
      "type": "array",
      "items": {
        "format": "int32",
        "type": "integer"
      }
    }
  }
}