{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ManagedBy",
  "title": "ManagedBy",
  "type": "object",
  "properties": {
    "orgId": {
      "type": "string",
      "description": "The admin\u2019s organization ID. It represents either the partner organization that owns the customer group or an external administrator\u2019s organization\n",
      "example": "09ebb769-3098-4446-9093-4b39b296602b"
    },
    "type": {
      "type": "string",
      "description": "Type of administrator.",
      "enum": [
        "user"
      ],
      "example": "user"
    },
    "id": {
      "type": "string",
      "description": "Entryuuid of the user.",
      "example": "cb092233-b3e6-48fd-ab42-551f8cb01513"
    },
    "email": {
      "type": "string",
      "description": "Email of the user. Either Email or id is required in managedBy field",
      "example": "user@example.com"
    },
    "roles": {
      "type": "array",
      "description": "The roles assigned to the admin for managing the customer group.",
      "items": {
        "type": "string"
      }
    }
  }
}