Umami · JSON Structure

Umami User Structure

Umami user account

Type: object Properties: 6
Cookieless TrackingOpen SourcePrivacyWeb AnalyticsWebsite Analytics

Umami User Structure is a JSON Structure definition published by Umami, describing 6 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

id username role createdAt isAdmin teams

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/extended/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/umami/refs/heads/main/json-structure/umami-user-structure.json",
  "title": "User",
  "description": "Umami user account",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "User identifier"
    },
    "username": {
      "type": "string",
      "description": "Username"
    },
    "role": {
      "type": "string",
      "description": "User role"
    },
    "createdAt": {
      "type": "string",
      "description": "Account creation timestamp"
    },
    "isAdmin": {
      "type": "boolean",
      "description": "Whether the user has admin privileges"
    },
    "teams": {
      "type": "array",
      "items": {
        "type": "object"
      },
      "description": "Teams the user belongs to"
    }
  }
}