{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ai2fin-com/json-schema/ai2fin-com-bill-pattern-input-schema.json",
  "title": "BillPatternInput",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ai2fin-com-openapi.json#/components/schemas/BillPatternInput",
  "type": "object",
  "required": [
    "name",
    "baseAmount",
    "frequency",
    "startDate"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "baseAmount": {
      "type": "number"
    },
    "frequency": {
      "type": "string",
      "enum": [
        "daily",
        "weekly",
        "fortnightly",
        "monthly",
        "quarterly",
        "yearly"
      ]
    },
    "startDate": {
      "type": "string",
      "format": "date"
    },
    "endDate": {
      "type": "string",
      "format": "date"
    },
    "categoryId": {
      "type": "string"
    },
    "dayOfMonth": {
      "type": "integer",
      "minimum": 1,
      "maximum": 31
    }
  }
}