{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-preview-promotion-request-schema.json",
  "title": "PreviewPromotionRequest",
  "description": "Body of `POST /promotions/preview`.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-promotions-api-openapi.yml#/components/schemas/PreviewPromotionRequest",
  "properties": {
    "code": {
      "description": "The code, as typed. Folded to upper case here, so the case somebody used does not matter. Bounded by\nthe same length an operator may give one.",
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "code"
  ],
  "type": "object"
}