Revenue Types

Revenue Types semantic contract, efinition of different types of customer revenue changes.

Semantic Contract

Definitions

ColumnDescription
idUnique identifier.
nameRevenue type name. Allowed values are New Booking, Upsell, Downsell, and Churn.
Revenue TypeDescription
New BookingRevenue from a brand-new customer.
UpsellRevenue increase from an existing customer.
DownsellRevenue decrease from an existing customer.
ChurnRevenue lost due to customers leaving or canceling contracts.

Sample & Implementation

A list of Revenue Types
idname
1new_booking
2upsell
3downsell
4churn
CREATE TABLE IF NOT EXISTS revenue_types (
    id INTEGER PRIMARY KEY,
    name VARCHAR NOT NULL UNIQUE CHECK (name IN ('new_booking', 'upsell', 'downsell', 'churn'))
)

Data Format

Field

Type

Dependencies

  • None.

On this page

Star us on GitHub

If you enjoy this content and find it useful, give us a star on GitHub to show your support and stay updated with our latest improvements.