{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-elasticache/json-schema/amazon-elasticache-user-schema.json",
  "title": "User",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-elasticache-user-api-openapi.yml#/components/schemas/User",
  "type": "object",
  "properties": {
    "UserId": {
      "type": "string",
      "description": "The ID of the user."
    },
    "UserName": {
      "type": "string",
      "description": "The username of the user."
    },
    "Status": {
      "type": "string",
      "description": "Indicates the user status. Can be \"active\", \"modifying\" or \"deleting\"."
    },
    "Engine": {
      "type": "string",
      "description": "The options are valkey or redis."
    },
    "MinimumEngineVersion": {
      "type": "string",
      "description": "The minimum engine version required, which is Redis OSS 6.0"
    },
    "AccessString": {
      "type": "string",
      "description": "Access permissions string used for this user."
    },
    "UserGroupIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Returns a list of the user group IDs the user belongs to."
    },
    "Authentication": {
      "$ref": "#/$defs/Authentication"
    },
    "ARN": {
      "type": "string",
      "description": "The Amazon Resource Name (ARN) of the user."
    }
  },
  "$defs": {
    "Authentication": {
      "type": "object",
      "properties": {
        "Type": {
          "type": "string",
          "enum": [
            "password",
            "no-password",
            "iam"
          ],
          "description": "Indicates whether the user requires a password to authenticate."
        },
        "PasswordCount": {
          "type": "integer",
          "description": "The number of passwords belonging to the user. The maximum is two."
        }
      }
    }
  }
}