User JSON Example

A common user object for profiles, directories and API payloads.

Example

{
  "id": 42,
  "name": "Ada Lovelace",
  "email": "ada@example.com",
  "active": true,
  "roles": ["admin", "editor"]
}

Explanation

Use this shape when representing a user with identity fields and access roles.