{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/spytrend-com/json-schema/spytrend-com-ads-page-schema.json",
  "title": "AdsPage",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/spytrend-com-api-openapi.yml#/components/schemas/AdsPage",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Ad"
      }
    },
    "pagination": {
      "type": "object",
      "properties": {
        "next_cursor": {
          "type": "string"
        },
        "has_more": {
          "type": "boolean"
        },
        "total": {
          "type": "integer"
        },
        "total_estimated": {
          "type": "boolean"
        }
      }
    }
  },
  "$defs": {
    "Ad": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "body": {
          "type": "string"
        },
        "landing_domain": {
          "type": "string"
        },
        "platform_name": {
          "type": "string"
        },
        "advertiser_id": {
          "type": "string"
        },
        "webmaster_id": {
          "type": "string"
        },
        "status_today": {
          "type": "string"
        },
        "days_active": {
          "type": "integer"
        },
        "first_seen_date": {
          "type": "string"
        },
        "last_seen_date": {
          "type": "string"
        },
        "countries": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "categories": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "creative_format": {
          "type": "string"
        },
        "media_count": {
          "type": "integer"
        }
      }
    }
  }
}