{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/print-one/json-schema/print-one-get-v3-coupon-response-dto-schema.json",
  "title": "GetV3CouponResponseDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/print-one-coupons-api-openapi.yml#/components/schemas/GetV3CouponResponseDto",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique ID for the Coupon"
    },
    "name": {
      "type": "string",
      "description": "Name of the Coupon"
    },
    "stats": {
      "type": "object",
      "description": "Stats of the Coupon",
      "properties": {
        "total": {
          "type": "number",
          "description": "Total number of coupons created"
        },
        "used": {
          "type": "number",
          "description": "Number of coupons used"
        },
        "remaining": {
          "type": "number",
          "description": "Number of coupons remaining"
        }
      }
    },
    "createdAt": {
      "type": [
        "object",
        "null"
      ],
      "description": "Date when the Coupon was created"
    }
  },
  "required": [
    "id",
    "name",
    "stats",
    "createdAt"
  ]
}