Apache Shiro · JSON Structure

Apache Shiro User Structure

User account

Type: object Properties: 5
AuthenticationAuthorizationCryptographyJavaSecurityApacheOpen Source

User is a JSON Structure definition published by Apache Shiro, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id username email roles locked

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

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/apache-shiro/refs/heads/main/json-structure/apache-shiro-user-structure.json",
  "description": "User account",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "User identifier"
    },
    "username": {
      "type": "string",
      "description": "Username"
    },
    "email": {
      "type": "string",
      "description": "Email address"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Assigned roles"
    },
    "locked": {
      "type": "boolean",
      "description": "Whether the account is locked"
    }
  },
  "name": "User"
}