{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sherweb-com/json-schema/sherweb-com-customer-catalog-items-pricing-information-dto-schema.json",
  "title": "CustomerCatalogItemsPricingInformationDto",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sherweb-com-service-provider-api-beta-api-openapi.yml#/components/schemas/CustomerCatalogItemsPricingInformationDto",
  "required": [
    "catalogItems",
    "customerId"
  ],
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "format": "uuid"
    },
    "catalogItems": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CatalogItemPricingInformationDto"
      }
    }
  },
  "additionalProperties": false,
  "$defs": {
    "CatalogItemPricingInformationDto": {
      "required": [
        "pricingInformation",
        "sku"
      ],
      "type": "object",
      "properties": {
        "sku": {
          "minLength": 1,
          "type": "string"
        },
        "pricingInformation": {
          "$ref": "#/$defs/PricingInformationDto"
        }
      },
      "additionalProperties": false
    },
    "Currency": {
      "enum": [
        "Undefined",
        "Cad",
        "Usd",
        "Eur",
        "Gbp"
      ],
      "type": "string",
      "description": "Undefined,\r\nCad (Canadian Dollar),\r\nUsd (US Dollar),\r\nEur (Euro),\r\nGbp (British pound sterling)."
    },
    "PricingInformationDto": {
      "required": [
        "billingCycle",
        "currency",
        "recurringFee",
        "setupFee"
      ],
      "type": "object",
      "properties": {
        "recurringFee": {
          "type": "number",
          "description": "The recurring amount charge every cycle",
          "format": "double"
        },
        "setupFee": {
          "type": "number",
          "description": "The initial amount charge at the end of the first cycle",
          "format": "double"
        },
        "currency": {
          "$ref": "#/$defs/Currency"
        },
        "billingCycle": {
          "minLength": 1,
          "type": "string",
          "description": "A billing cycle, also referred to as a billing period, is the interval of time between billing statements.\r\nAlthough billing cycles are most often set at one month, or one year, they may vary in length depending on the SKU.\r\nPossible values: monthly, yearly, once"
        }
      },
      "additionalProperties": false
    }
  }
}