{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getcheapgames-com/json-schema/getcheapgames-com-notifications-out-schema.json",
  "title": "NotificationsOut",
  "description": "`/api/account/notifications`: the switches, and the address they are about.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getcheapgames-com-account-api-openapi.yml#/components/schemas/NotificationsOut",
  "properties": {
    "email": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email"
    },
    "emailVerified": {
      "type": "boolean",
      "title": "Emailverified"
    },
    "items": {
      "$ref": "#/$defs/NotificationItemsOut"
    }
  },
  "type": "object",
  "required": [
    "email",
    "emailVerified",
    "items"
  ],
  "$defs": {
    "NotificationItemsOut": {
      "properties": {
        "giveaways": {
          "type": "boolean",
          "title": "Giveaways"
        },
        "sales": {
          "type": "boolean",
          "title": "Sales"
        },
        "priceAlerts": {
          "type": "boolean",
          "title": "Pricealerts"
        },
        "news": {
          "type": "boolean",
          "title": "News"
        }
      },
      "type": "object",
      "required": [
        "giveaways",
        "sales",
        "priceAlerts",
        "news"
      ],
      "title": "NotificationItemsOut",
      "description": "The account page's email switches, each on or off, by the key `POST\n/api/account/notifications` takes. The account and security emails are\nnot among them: those always go."
    }
  }
}