{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-public-coupon-blueprint-one-schema.json",
  "title": "Public.CouponBlueprint_one",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-coupon-api-openapi.yml#/components/schemas/Public.CouponBlueprint_one",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "code": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "amount_off_in_cents": {
      "type": "integer",
      "format": "int32"
    },
    "apply_to_each_patient": {
      "type": "boolean"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "duration_in_months": {
      "type": "integer",
      "format": "int32"
    },
    "percent_off": {
      "type": "number",
      "format": "float"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "is_redeemable": {
      "type": "boolean"
    },
    "is_archived": {
      "type": "boolean"
    },
    "redeemable_from": {
      "type": "string",
      "format": "date-time"
    },
    "redeemable_until": {
      "type": "string",
      "format": "date-time"
    }
  }
}