273 lines · 5.2 KB · JSONRaw
{ "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 }, { "key": "account_id", "name": "Paid from", "type": "link", "link_to": "money_account" }, { "key": "login", "name": "Signed in as", "type": "text", "placeholder": "you@example.com" }, { "key": "category", "name": "Category", "type": "choice", "choices": [ "entertainment", "work", "software", "news", "health", "home", "other" ], "format": "words" }, { "key": "cancelled_on", "name": "Cancelled on", "type": "date" }, { "key": "last_charged", "name": "Last charged", "type": "date" }, { "key": "charges", "name": "Charges", "type": "number" }, { "key": "paid_total", "name": "Paid in all", "type": "amount", "currency": "currency" } ], "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", "category", "status" ], "actions": [ { "label": "Pause", "sets": { "status": "paused" } }, { "label": "Cancel", "sets": { "status": "cancelled" } }, { "label": "Resume", "sets": { "status": "active" } } ] }, { "heading": "Account", "columns": [ "login" ] }, { "heading": "Cost", "columns": [ "amount", "currency", "cycle", "account_id", "paid_total", "charges" ] }, { "heading": "Dates", "columns": [ "next_renewal", "started", "last_charged", "cancelled_on" ] }, { "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."}