{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/pricklymails-com/json-schema/pricklymails-com-user-response-schema.json",
  "title": "UserResponse",
  "description": "Public representation of a user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/pricklymails-com-account-api-openapi.yml#/components/schemas/UserResponse",
  "type": "object",
  "required": [
    "uuid",
    "email",
    "role",
    "email_verified",
    "locale",
    "created_at"
  ],
  "properties": {
    "created_at": {
      "type": "string",
      "description": "Account creation timestamp (ISO 8601)."
    },
    "email": {
      "type": "string",
      "description": "Email address."
    },
    "email_verified": {
      "type": "boolean",
      "description": "Whether the email has been verified."
    },
    "locale": {
      "type": "string",
      "description": "Language of the account's emails (`\"en\"` or `\"fr\"`)."
    },
    "role": {
      "type": "string",
      "description": "User role (`\"user\"` or `\"admin\"`)."
    },
    "uuid": {
      "type": "string",
      "description": "Public UUID."
    }
  }
}