{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/miro/json-schema/miro-create-project-user-groups-request-schema.json",
  "title": "CreateProjectUserGroupsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/miro-share-projects-with-groups-api-openapi.yml#/components/schemas/CreateProjectUserGroupsRequest",
  "type": "object",
  "required": [
    "userGroupIds",
    "role"
  ],
  "properties": {
    "userGroupIds": {
      "type": "array",
      "description": "List of user group ids.",
      "items": {
        "type": "string",
        "description": "User group ID."
      }
    },
    "role": {
      "type": "string",
      "description": "Role of the user group on the project.",
      "enum": [
        "VIEWER",
        "COMMENTER",
        "EDITOR"
      ],
      "default": "VIEWER"
    }
  }
}