{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/red-hat/main/json-schema/red-hat-user-2-schema.json",
  "title": "User_2",
  "description": "A Quay user account.",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-users-api-openapi.yml#/components/schemas/User_2",
  "type": "object",
  "properties": {
    "username": {
      "type": "string",
      "description": "The username."
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The user's email address."
    },
    "verified": {
      "type": "boolean",
      "description": "Whether the user's email has been verified."
    },
    "organizations": {
      "type": "array",
      "description": "Organizations the user belongs to.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "is_admin": {
            "type": "boolean"
          }
        }
      }
    }
  }
}