{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codeqr-io/json-schema/codeqr-io-analytics-continents-schema.json",
  "title": "AnalyticsContinents",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codeqr-io-analytics-api-openapi.yml#/components/schemas/AnalyticsContinents",
  "type": "object",
  "properties": {
    "continent": {
      "type": "string",
      "enum": [
        "AF",
        "AN",
        "AS",
        "EU",
        "NA",
        "OC",
        "SA"
      ],
      "description": "The 2-letter ISO 3166-1 code representing the continent associated with the location of the user."
    },
    "clicks": {
      "type": "number",
      "description": "The number of clicks from this continent",
      "default": 0
    },
    "leads": {
      "type": "number",
      "description": "The number of leads from this continent",
      "default": 0
    },
    "sales": {
      "type": "number",
      "description": "The number of sales from this continent",
      "default": 0
    },
    "saleAmount": {
      "type": "number",
      "description": "The total amount of sales from this continent, in cents",
      "default": 0
    }
  },
  "required": [
    "clicks",
    "leads",
    "sales",
    "saleAmount"
  ]
}