{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/uipath/refs/heads/main/json-schema/automation-hub-user-schema.json",
  "title": "User",
  "description": "A user in Automation Hub",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "Unique integer identifier of the user",
      "example": 12345
    },
    "name": {
      "type": "string",
      "description": "Display name of the user",
      "example": "Example Name"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Email address of the user",
      "example": "user@example.com"
    },
    "role": {
      "type": "string",
      "description": "Role assigned to the user in Automation Hub",
      "example": "example-value"
    },
    "isActive": {
      "type": "boolean",
      "description": "Whether the user account is active",
      "example": true
    }
  }
}