{ "id": "subscription", "name": "Subscription", "plural": "Subscriptions", "picture": null, "builtin": false, "engine": null, "columns": [ { "key": "name", "name": "Name", "type": "text", "required": true, "placeholder": "What you pay for" }, { "key": "provider", "name": "Provider", "type": "text", "placeholder": "Who bills it" }, { "key": "amount", "name": "Amount", "type": "amount", "currency": "currency" }, { "key": "currency", "name": "Currency", "type": "text", "placeholder": "USD" }, { "key": "cycle", "name": "Cycle", "type": "choice", "choices": ["weekly", "monthly", "yearly"], "format": "words" }, { "key": "next_renewal", "name": "Next renewal", "type": "date" }, { "key": "status", "name": "Status", "type": "choice", "choices": ["active", "paused", "cancelled"], "format": "words", "tones": { "active": "green", "paused": "amber", "cancelled": "red" }, "default": "active" }, { "key": "started", "name": "Started", "type": "date" }, { "key": "cancel_url", "name": "Cancel link", "type": "url", "placeholder": "https://" }, { "key": "notes", "name": "Notes", "type": "longtext", "markdown": true } ], "title": "name", "date": "next_renewal", "project": null, "order": null, "slip": { "title": "name", "subtitle": ["provider", "cycle"], "trailing": "amount", "photo": null, "toggle": null }, "tile": { "face": "slip-list", "summary": [ { "op": "sum", "column": "amount", "where": { "status": "active" }, "label": "a month" }, { "op": "min", "column": "next_renewal", "where": { "status": "active" }, "label": "next renewal" } ] }, "sort": { "column": "next_renewal" }, "group": { "column": "status", "sections": [ { "heading": null, "values": ["active"] }, { "heading": "Paused", "values": ["paused"], "closed": true }, { "heading": "Cancelled", "values": ["cancelled"], "closed": true } ] }, "empty": { "title": "No subscriptions yet", "message": "Add the things you pay for again and again." }, "create": { "label": "Add a subscription" }, "page": [ { "heading": null, "columns": ["name", "provider", "status"], "actions": [ { "label": "Pause", "sets": { "status": "paused" } }, { "label": "Cancel", "sets": { "status": "cancelled" } }, { "label": "Resume", "sets": { "status": "active" } } ] }, { "heading": "Cost", "columns": ["amount", "currency", "cycle"] }, { "heading": "Dates", "columns": ["next_renewal", "started"] }, { "heading": "Cancelling", "columns": ["cancel_url"] }, { "heading": "Notes", "columns": ["notes"] } ], "instructions": "One row per thing the owner pays for again and again. amount is a whole number of minor units (1599 = 15.99) in the currency column's code; never guess an amount or a renewal date — ask. cycle is weekly, monthly or yearly. status moves active → paused → active, or to cancelled; a cancelled subscription keeps its row. next_renewal is the next charge date; move it forward one cycle only when the owner says the charge went through." }