{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zekra-dev/json-schema/zekra-dev-account-prefs-schema.json",
  "title": "AccountPrefs",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zekra-dev-openapi.json#/components/schemas/AccountPrefs",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "description": "A URL to the JSON Schema for this object.",
      "format": "uri",
      "readOnly": true,
      "type": "string"
    },
    "product_updates": {
      "description": "Email me Zekra product updates.",
      "type": "boolean"
    },
    "security_alerts": {
      "description": "Email me about sign-ins and security changes.",
      "type": "boolean"
    },
    "weekly_digest": {
      "description": "Email me a weekly digest of my brains.",
      "type": "boolean"
    }
  },
  "required": [
    "security_alerts",
    "product_updates",
    "weekly_digest"
  ],
  "type": "object"
}