{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/caliuapp-com/json-schema/caliuapp-com-user-schema.json",
  "title": "User",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/caliuapp-com-openapi.json#/components/schemas/User",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "avatarUrl": {
      "type": [
        "string",
        "null"
      ]
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    },
    "drawing_enabled": {
      "type": "boolean"
    },
    "newsletter": {
      "type": "object",
      "properties": {
        "subscribed": {
          "type": "boolean"
        },
        "available": {
          "type": "boolean"
        }
      },
      "required": [
        "subscribed",
        "available"
      ]
    }
  },
  "required": [
    "id",
    "email",
    "name",
    "createdAt",
    "updatedAt"
  ]
}