{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/verifone/refs/heads/main/json-schema/ecommerce-api-paymentfrequency.json",
  "title": "PaymentFrequency",
  "description": "PaymentFrequency from Verifone eCommerce API",
  "type": "object",
  "properties": {
    "time_unit": {
      "type": "string",
      "enum": [
        "DAY",
        "WEEK",
        "MONTH",
        "YEAR"
      ],
      "description": "Processing model to use for COF transaction. Refer to the card integration guide for more information on the usage."
    },
    "value": {
      "type": "number",
      "description": "Value."
    }
  },
  "required": [
    "time_unit"
  ]
}