{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemmebuyit-com/json-schema/lemmebuyit-com-promotion-schema.json",
  "title": "Promotion",
  "x-generated": "2026-11-15",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemmebuyit-com-openapi.yaml#/components/schemas/Promotion",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "retailer_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "advertiser_id": {
      "type": "string"
    },
    "advertiser_name": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "promotion_types": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "coupon_code": {
      "type": [
        "string",
        "null"
      ]
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "start_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "end_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_updated": {
      "type": "string",
      "format": "date-time"
    },
    "link_type": {
      "type": "string"
    },
    "coupon_restrictions": {
      "type": "string"
    },
    "image_url": {
      "type": "string"
    },
    "dollar_off": {
      "type": "number"
    },
    "percentage_off": {
      "type": "number"
    }
  },
  "required": [
    "id",
    "advertiser_id",
    "advertiser_name",
    "title",
    "last_updated"
  ]
}