{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lotscommerce-com/json-schema/lotscommerce-com-post-api-v1-lotsstore-stores-id-promotions-request-schema.json",
  "title": "PostApiV1LotsstoreStoresIdPromotionsRequest",
  "x-generated": "2026-11-17",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/lotscommerce-com-openapi-generated.yml#/components/schemas/PostApiV1LotsstoreStoresIdPromotionsRequest",
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "description": "discount code (uppercase)"
    },
    "type": {
      "type": "string",
      "description": "percentage or fixed amount"
    },
    "value": {
      "type": "string",
      "description": "discount value"
    },
    "limit": {
      "type": "string",
      "description": "max number of uses"
    }
  },
  "required": [
    "code",
    "type",
    "value"
  ]
}