{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/breezecash/json-schema/breezecash-create-product-price-request-schema.json",
  "title": "CreateProductPriceRequest",
  "description": "Price details",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/breezecash-products-api-openapi.yml#/components/schemas/CreateProductPriceRequest",
  "type": "object",
  "properties": {
    "currency": {
      "type": "string",
      "enum": [
        "USD",
        "AUD",
        "CAD",
        "CHF",
        "DKK",
        "EUR",
        "GBP",
        "HKD",
        "JPY",
        "NOK",
        "NZD",
        "PLN",
        "SEK",
        "SGD",
        "TWD",
        "KRW"
      ]
    },
    "amount": {
      "type": "string",
      "deprecated": true
    },
    "unitAmount": {
      "type": "integer",
      "description": "Positive minor units / cents (e.g., currency: \"USD\", unitAmount: 10000 = USD 100). Mutually exclusive with amount.",
      "exclusiveMinimum": 0
    },
    "type": {
      "type": "string",
      "enum": [
        "ONE_TIME",
        "RECURRING"
      ]
    },
    "billingCycleConfig": {
      "type": "object",
      "properties": {
        "interval": {
          "type": "string",
          "enum": [
            "hour",
            "day",
            "week",
            "month",
            "year"
          ]
        },
        "frequency": {
          "type": "integer",
          "exclusiveMinimum": 0
        }
      },
      "required": [
        "interval",
        "frequency"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "currency",
    "type"
  ],
  "additionalProperties": false
}