{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nevlo-io/json-schema/nevlo-io-detected-subscription-schema.json",
  "title": "DetectedSubscription",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/nevlo-io-api-openapi.json#/components/schemas/DetectedSubscription",
  "type": "object",
  "required": [
    "merchantName",
    "amount",
    "currency",
    "frequency",
    "lastCharged",
    "occurrences"
  ],
  "properties": {
    "merchantName": {
      "type": "string"
    },
    "amount": {
      "type": "number"
    },
    "currency": {
      "type": "string"
    },
    "frequency": {
      "type": "string",
      "enum": [
        "weekly",
        "biweekly",
        "monthly",
        "quarterly",
        "yearly"
      ]
    },
    "lastCharged": {
      "type": "string",
      "format": "date-time"
    },
    "occurrences": {
      "type": "integer"
    }
  }
}