{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/craterview-ai/json-schema/craterview-ai-product-updates-schema.json",
  "title": "ProductUpdates",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/craterview-ai-account-api-openapi.yml#/components/schemas/ProductUpdates",
  "properties": {
    "opted_in": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Opted In",
      "description": "Whether we may email you about product improvements and new guides: your last answer, or null if you have not given one. Nothing is sent until it is true. Receipts and notices about your account are sent either way."
    },
    "ask": {
      "type": "boolean",
      "title": "Ask",
      "description": "Whether the CraterView.ai website and app ask you this now: true until you answer, once the account is signed in and has run 5 jobs."
    }
  },
  "type": "object",
  "required": [
    "opted_in",
    "ask"
  ]
}