Arrows to move, Enter to openSee all results →

Standards / rental@1

PublishedVersion 1.2.02026-12-02MITDeveloper reference

rental@1 short-term rental listings, reservations, payouts, calendar and costs

One row of reservations is one stay: a listing, a channel, the check-in and check-out dates, and the stay's money as the channel reported it. Money that moved later (a refund, an alteration, a resolution payment, a cancellation fee kept) is a row in adjustments, signed to the host. listings link to finance@2 through property_id, so a property's costs (expenses, from the person's bank ledger or a file) and its valuations live beside its income. Airbnb earnings CSVs, Booking.com reservation exports, a generic CSV in this shape, and the Hostaway API (lane 2) fill it; the Rental Portfolio board reads it.

Tables233 requiredFields212no viewsVocabularies16shared word listsDashboards8read it
JSON Schema/spec/rental/1.2.0/rental@1.schema.jsonSQL tables (SQLite)/spec/rental/1.2.0/schema.sqlREADME/spec/rental/1.2.0/README.mdChangelog/spec/rental/CHANGELOG.md

Check a database or a board against it: dashremix spec check. Start a new board on it: dashremix new <id> --schema rental@1. Hash 604a0c27cdf6b6ac…

Dashboards that read it

Compatible with finance@2.

Tables and fields

Required tables must exist in every database that says it follows rental@1; required fields must be filled. Columns a board adds start with x_.

metarequired table

Key/value facts about this database. Required: schema, schema_version, as_of, data_hash, source_built_at, base_currency.

FieldTypeRequiredMeaning
keyTEXTno
valueTEXTno

listingsrequired table

What a guest books. Several listings can share one property (two units in one house). links to finance@2 by property_id.

FieldTypeRequiredMeaning
listing_idTEXTyesstable id: the source's own (hostaway:501) or the person's slug (beach-house)
property_idTEXTyesfinance@2 properties.property_id it belongs to (expenses and valuations join here)
nameTEXTnofriendly name, e.g. Dune Road Beach House
channel_idsTEXTnoJSON object: the listing's id on each channel, e.g. {"airbnb": "Dune Road Beach House"}
bedroomsINTEGERnobedrooms
active_fromTEXTdatenofirst night it could be booked; occupancy counts nights from here
active_toTEXTdatenofirst night it can no longer be booked (exclusive); NULL = still listed
currencyTEXTcurrencynoISO 4217 of its prices and payouts
tzTEXTnoIANA time zone of the property (America/New_York): local dates and booking lead time
cityTEXTnofree text, as the person wrote it
countryTEXTcountrynoISO 3166-1 alpha-2
sourceTEXTnoconnector or file kind that wrote the row: inputs | hostaway | rental-csv
source_refTEXTnowhere in the source: data/inputs.yaml, or the API object id
imported_atTEXTinstantnoISO 8601 UTC instant (left out of meta.data_hash)
unit_codeTEXTno1.1: the operator's own code for the unit within its property (Sixto unit code 3, 1A); unique per property_id (1.1)
max_guestsINTEGERno1.1: most guests the listing takes (1.1)

reservationsrequired table

One stay. Money columns are the stay's totals in its currency; adjustments after booking live in adjustments.

FieldTypeRequiredMeaning
reservation_idTEXTyesthe channel's id namespaced by source (airbnb:HMABC123, booking:4012345678, hostaway:9), else sha1 of listing|check_in|check_out|channel|n
listing_idTEXTyeslistings.listing_id
channelTEXTchannelsyeswhere it was booked: airbnb | vrbo | booking | direct | other (vocab channels)
statusTEXTreservation_statusesyesconfirmed | cancelled | no_show | pending (vocab reservation_statuses); an altered stay keeps its latest dates and status
booked_atTEXTinstantnoISO 8601 UTC instant it was booked, when the source gives a time
booked_onTEXTdatenolocal date it was booked (many exports give only a date): lead time = check_in - booked_on
cancelled_onTEXTdatenolocal date it was cancelled (status cancelled), when known
check_inTEXTdateyesfirst night (local date)
check_outTEXTdateyesdeparture day, exclusive (the first night not stayed)
nightsINTEGERyescheck_out - check_in, also for a cancelled stay (the nights it would have had)
guestsINTEGERnonumber of guests
accommodationREALnonightly price total for the stay (room revenue: ADR and RevPAR use this), before fees
cleaning_feeREALnocleaning fee charged to the guest
other_feesREALnoother fees charged to the guest and kept by the host (pets, extra guests, linens)
guest_service_feeREALnothe channel's fee paid by the guest (never the host's money; information only)
host_feeREALnowhat the channel took from the host (commission, host service fee, payment fee), positive
taxes_collectedREALnooccupancy and lodging taxes the guest paid
taxes_remitted_by_channelREALnothe part of taxes_collected the channel paid to the tax office itself (the rest is the host's to pay)
grossREALnohost gross as the channel defines it: accommodation + cleaning_fee + other_fees, before host_fee
payoutREALnowhat the channel pays the host for the stay before adjustments (gross - host_fee + taxes the host must remit)
currencyTEXTcurrencyyesISO 4217 of every money column in the row
sourceTEXTyesconnector or file layout that wrote the row: airbnb-csv | booking-csv | rental-csv | hostaway
source_refTEXTnofile:line, or the API object id
imported_atTEXTinstantnoISO 8601 UTC instant (left out of meta.data_hash)
guest_keyTEXTno1.1: the source's opaque, stable key for the guest (never a name, email or phone): repeat guests only. A shared copy never carries it (1.1)
checkin_statusTEXTcheckin_statusesno1.1: online check-in of the stay: not_started | started | completed (vocab checkin_statuses), when the source tracks it (1.1)

adjustments

Money that moved after the booking: refunds to the guest, alterations, resolution payments, cancellation fees kept.

FieldTypeRequiredMeaning
adjustment_idTEXTyesthe source's id, else sha1 of reservation|date|kind|amount|n
reservation_idTEXTnothe stay it belongs to (NULL = not tied to one stay)
listing_idTEXTnothe listing, when no stay is named
dateTEXTdateyeslocal date the money moved
kindTEXTadjustment_kindsyesrefund | alteration | resolution | cancellation_fee | penalty | other (vocab adjustment_kinds)
amountREALyesSIGNED, to the host: +40.00 more paid out, -60.00 refunded to the guest or charged to the host
currencyTEXTcurrencyyesISO 4217
descriptionTEXTnoas the source wrote it
sourceTEXTyesconnector or file layout
source_refTEXTnofile:line or API object id
imported_atTEXTnoISO 8601 UTC instant

payouts

Money the channel sent to the host's bank.

FieldTypeRequiredMeaning
payout_idTEXTyesthe source's id, else sha1 of date|amount|currency|reference|n
dateTEXTdateyeslocal date it was sent
amountREALyespositive, in currency
currencyTEXTcurrencyyesISO 4217
reservation_idsTEXTnoJSON array of the stays it pays, when the source says
channelTEXTchannelsnovocab channels
referenceTEXTnothe channel's reference code (never a bank account number)
sourceTEXTyesconnector or file layout
source_refTEXTnofile:line or API object id
imported_atTEXTnoISO 8601 UTC instant
statusTEXTpayout_statusesno1.1: received | expected | overdue | cancelled (vocab payout_statuses); NULL = received (what 1.0 rows mean) (1.1)

availability

The calendar: one row per listing per local date the source says something about. Occupancy needs a denominator and exports rarely give one: without rows here a board counts every night from active_from as available, less owner blocks.

FieldTypeRequiredMeaning
listing_idTEXTyeslistings.listing_id
dateTEXTdateyeslocal date (a night)
stateTEXTavailability_statesyesavailable | booked | owner_block | blocked (vocab availability_states)
sourceTEXTnohostaway | ics | inputs
priceREALno1.1: the nightly price on offer, in listings.currency; NULL = no price set (an unpriced night) (1.1)
min_stayINTEGERno1.1: minimum nights for a stay starting that night (1.1)

expenses

Costs of running a property. From the finance@2 ledger (txn_id set) when the person's bank files are in the library, else a file.

FieldTypeRequiredMeaning
expense_idTEXTyesfinance:<txn_id> for a ledger row, else sha1 of property|date|category|amount|description|n
dateTEXTdateyesdate paid
property_idTEXTyesthe property it is for (listings.property_id)
listing_idTEXTnoone listing, when the cost is for one unit only
categoryTEXTyesCleaning | Utilities | Supplies | Repairs | Management | Insurance | Taxes | Mortgage interest | Furnishing | Other (vocab expense_categories, a suggestion)
amountREALyespositive = a cost, negative = money back (a refund of a cost)
currencyTEXTcurrencyyesISO 4217
descriptionTEXTnoas the bank or the person wrote it
txn_idTEXTnofinance@2 transactions.txn_id when the cost came from the ledger
sourceTEXTyesfinance-library | expenses-csv
source_refTEXTnofile:line or the ledger's source_ref
imported_atTEXTnoISO 8601 UTC instant

reviews

Optional: guest reviews (ratings only; never the text or the guest's name).

FieldTypeRequiredMeaning
review_idTEXTyesthe source's id namespaced by source
listing_idTEXTyeslistings.listing_id
reservation_idTEXTnothe stay reviewed, when known
dateTEXTdateyeslocal date of the review
ratingREALnooverall rating, 0 to 5 (decimals allowed)
channelTEXTchannelsnovocab channels
sourceTEXTnoconnector or file layout
source_refTEXTnofile:line or API object id
needs_replyINTEGERno1.1: 1 when the host has not posted a reply yet (a draft still needs one), 0 when replied (1.1)
reply_statusTEXTreply_statusesno1.1: unanswered | drafted | replied (vocab reply_statuses) (1.1)

fx_rates

Exchange rates used to bring every row to meta.base_currency. A total never silently leaves a row out: a row in another currency without a rate stops the import.

FieldTypeRequiredMeaning
dateTEXTdateyesrate date (0000-01-01 = one rate for every date, as the person gave it)
ccyTEXTcurrencyyesISO 4217 of the foreign currency
base_per_unitREALyesunits of meta.base_currency for one unit of ccy
sourceTEXTnowhere the rate came from (data/fx_rates.csv, inputs.yaml)

properties

What a connector or importer could not read, left out on purpose, or stopped on. A property (a building, a house): its name, time zone and currency. Listings point here by property_id. Optional: a board that has none names a property after its listings. (1.1)

FieldTypeRequiredMeaning
property_idTEXTyeslistings.property_id (sixto:casa-a, beach-house)
nameTEXTnothe property's name, e.g. Casa Alameda
tzTEXTnoIANA time zone (America/Bogota): its local dates
currencyTEXTcurrencynoISO 4217 its stays are priced in; a property's money is never added to another currency's
opened_onTEXTdatenofirst night of its first confirmed stay (a capacity rule may count units from here)
sourceTEXTnoconnector or file that wrote it
source_refTEXTnothe source's object id

reservation_units

The units a stay occupies, when a stay holds several units or moves between them (one row per unit and run of nights; end exclusive). A stay with no rows here occupies reservations.listing_id for all its nights. Money is shared over unit-nights. (1.1)

FieldTypeRequiredMeaning
reservation_idTEXTyesreservations.reservation_id
listing_idTEXTyeslistings.listing_id
start_dateTEXTdateyesfirst night in this unit (local date)
end_dateTEXTdateyesthe first night no longer in this unit (exclusive)
sourceTEXTnoconnector that wrote it

cleanings

Turnover cleaning: the state of a unit on a date, and the cleans planned (an arrival to prepare, a checkout clean). (1.1)

FieldTypeRequiredMeaning
cleaning_idTEXTyesthe source's id, else <listing_id>|<date>|<action>
listing_idTEXTyeslistings.listing_id
dateTEXTdateyeslocal date
actionTEXTcleaning_actionsyesstatus (the unit's state that day) | arrival | checkout | courtesy (vocab cleaning_actions)
statusTEXTcleaning_statusesnoclean | inspection | dirty | unknown (vocab cleaning_statuses): the unit's state when read
reservation_idTEXTnothe stay it is for, when one
updated_atTEXTinstantnoISO 8601 UTC instant the status last changed
sourceTEXTnoconnector that wrote it
source_refTEXTnothe source's object id

tasks

Work to do on a property or unit (maintenance, supplies, a guest request). Never the task's text: titles and comments can name guests, so only the kind, state and dates are kept. (1.1)

FieldTypeRequiredMeaning
task_idTEXTyesthe source's id namespaced (sixto:task:812)
property_idTEXTnothe property, when the task names one
listing_idTEXTnothe unit, when the task names one
reservation_idTEXTnothe stay, when the task names one
kindTEXTnothe source's own task type label (Maintenance, Supplies), never free text
statusTEXTtask_statusesyestodo | in_progress | blocked | done (vocab task_statuses)
priorityTEXTnolow | normal | high | urgent
due_onTEXTdatenolocal date it is due
done_onTEXTdatenolocal date it was done
archivedINTEGERno1 when archived (no longer on anyone's list)
sourceTEXTyesconnector that wrote it
source_refTEXTnothe source's object id

guest_registrations

Guest registrations owed to an authority (Colombia's SIRE migration movements and TRA tourism cards, Spain's SES Hospedajes, Italy's Alloggiati Web, Portugal's SIBA). One row per filing; never the guest's name, initials or document. (1.1)

FieldTypeRequiredMeaning
registration_idTEXTyesthe source's id namespaced (sixto:sire:4411)
reservation_idTEXTnothe stay it is for
authorityTEXTauthoritiesyessire | tra | ses | alloggiati | siba | other (vocab authorities)
kindTEXTnowhat is filed: entry | exit (SIRE E/S), main | companion (TRA cards), stay
event_dateTEXTdatenolocal date of the movement or arrival it reports
due_atTEXTinstantnoISO 8601 instant it is due by the authority's rule, when known
statusTEXTregistration_statusesyespending | filed | failed | cancelled | not_required (vocab registration_statuses)
status_rawTEXTnothe source's own status word (batched, retrying, validation_error)
filed_atTEXTinstantnoISO 8601 instant it was accepted, when known
attemptsINTEGERnotries so far
sourceTEXTyesconnector that wrote it
source_refTEXTnothe source's object id

filing_incidents

When a filing went wrong: late, rejected, or the filing record itself broken. (1.1)

FieldTypeRequiredMeaning
incident_idTEXTyesthe source's id namespaced
authorityTEXTauthoritiesnovocab authorities, when the incident is about one
kindTEXTyeslate | rejected | record_broken | other
statusTEXTyesopen | closed
opened_atTEXTinstantnoISO 8601 instant
closed_atTEXTinstantnoISO 8601 instant
sourceTEXTyesconnector that wrote it
source_refTEXTnothe source's object id

invoices

Tax invoices the host issued for stays (Colombia's DIAN e-invoices, credit and debit notes). Never the buyer's name or id. (1.1)

FieldTypeRequiredMeaning
invoice_idTEXTyesthe source's id namespaced
kindTEXTyesinvoice | credit_note | debit_note
statusTEXTinvoice_statusesyesdraft | ready | sending | accepted | rejected | failed | voided | unknown (vocab invoice_statuses)
issue_dateTEXTdatenolocal date issued (NULL for a draft)
reservation_idTEXTnothe stay it bills
totalREALnototal in currency, positive; NULL when the source has no totals yet
currencyTEXTcurrencynoISO 4217
sourceTEXTyesconnector that wrote it
source_refTEXTnothe source's object id

ledger_months

A month of the host's own books (revenue, costs, net), as the source's ledger reports it, per currency. (1.1)

FieldTypeRequiredMeaning
monthTEXTyesYYYY-MM
currencyTEXTcurrencyyesISO 4217 of the three amounts
revenueREALnorevenue in the month
costsREALnocosts in the month, positive
netREALnorevenue - costs
statusTEXTnoopen | closed (a closed month no longer changes)
sourceTEXTyesconnector that wrote it

cancel_reasons

Why guests cancelled, as the source sorted their answers, for a period. Counts only; never a guest's words. (1.1)

FieldTypeRequiredMeaning
period_fromTEXTdateyesfirst day of the period
period_toTEXTdateyeslast day of the period
categoryTEXTyesthe source's category key
labelTEXTnoits label
countINTEGERyesanswers in this category
nightsINTEGERnonights those cancellations gave back
sourceTEXTyesconnector that wrote it

review_scores

A review's category scores (1.2): cleanliness, accuracy, communication, check-in, location, value, on the same 0-5 scale as reviews.rating (a 10-point channel's score is halved). One row per review and category the channel gave; a category the channel did not ask is absent, never zero.

FieldTypeRequiredMeaning
review_idTEXTyesreviews.review_id
categoryTEXTreview_categoriesyescleanliness | accuracy | communication | check_in | location | value (vocab review_categories)
scoreREALyes0 to 5 (decimals allowed), as reviews.rating
sourceTEXTnoconnector or file layout (the review's own)
source_refTEXTnofile:line or API object id

import_issues

FieldTypeRequiredMeaning
issue_idTEXTyesstable id: <file>:<line> or <file>:<kind>
severityTEXTseveritiesyesinfo | warn | error
kindTEXTyesskipped_row | ignored_rows | unknown_layout | unknown_listing | fx_missing | source_overlap | duplicate
fileTEXTnothe source file name (never its contents)
lineINTEGERno1-based line in that file, when the issue is one row
detailTEXTyeswhat happened
handlingTEXTyeswhat the importer did about it
sourceTEXTnoconnector id

overrides

Corrections the person made, with the reason (platform table).

FieldTypeRequiredMeaning
override_idTEXTyesstable id
targetTEXTyestable.key.column the override applies to
fieldTEXTnocolumn name
old_valueTEXTnovalue before
new_valueTEXTnovalue after
reasonTEXTyeswhy, in the person's words
evidenceTEXTnowhere it comes from
authorTEXTnoperson or assistant
created_atTEXTnoISO 8601 instant

annotations

Notes on metrics and pages (platform table). Numbers only through {{metric:...}} placeholders.

FieldTypeRequiredMeaning
annotation_idTEXTyesstable id
targetTEXTyesmetric id or page id
kindTEXTyesnote | caveat | flag | decision | open_item
bodyTEXTyesthe note text
authorTEXTnoperson or assistant
source_refTEXTnowhere it came from
created_atTEXTnoISO 8601 instant
data_hashTEXTnohash of the cited metric values when written (stale when they change)
statusTEXTnoactive | stale | retired

metric_registry

FieldTypeRequiredMeaning
metric_idTEXTyese.g. rental.monthly
versionINTEGERnothe metric's own version
unitTEXTnousd | rows | pct | date | count ...
paramsTEXTnocomma list of parameters it honours
descriptionTEXTnothe @desc line
sqlTEXTnoexpanded SQL
testTEXTnothe @test line (check that covers it)

Vocabularies

Shared word lists, so every board and connector means the same thing by the same word.

adjustment_kinds6 values

refund · alteration · resolution · cancellation_fee · penalty · other

authorities6 values

sire · tra · ses · alloggiati · siba · other

availability_states4 values

available · booked · owner_block · blocked

channels5 values

airbnb · vrbo · booking · direct · other

checkin_statuses3 values

not_started · started · completed

cleaning_actions4 values

status · arrival · checkout · courtesy

cleaning_statuses4 values

clean · inspection · dirty · unknown

expense_categories10 values

Cleaning · Utilities · Supplies · Repairs · Management · Insurance · Taxes · Mortgage interest · Furnishing · Other

invoice_statuses8 values

draft · ready · sending · accepted · rejected · failed · voided · unknown

payout_statuses4 values

received · expected · overdue · cancelled

registration_statuses5 values

pending · filed · failed · cancelled · not_required

reply_statuses3 values

unanswered · drafted · replied

reservation_statuses4 values

confirmed · cancelled · no_show · pending

review_categories6 values

cleanliness · accuracy · communication · check_in · location · value

severities3 values

info · warn · error

task_statuses4 values

todo · in_progress · blocked · done

Changelog

1.2.0 (2026-12-02), minor

  • For Guest Reviews. New optional table review_scores (a review's category scores on the 0-5 scale of reviews.rating; a category the channel did not ask is absent, never zero) and vocabulary review_categories (cleanliness, accuracy, communication, check_in, location, value). Guest Reviews moves its category scores out of its own d_scores table.
  • New conformance check review_scores_valid at fail: it reads only the new table, which a 1.1 database does not have (skipped there), so no 1.1 database can fail it.
  • Fixtures: three category scores on the fixture review. Migration migrations/1.1-to-1.2.sql for a stored 1.1 database. Every board on rental@1 re-pinned to 1.2.0.

1.1.0 (2026-12-01), minor

  • For Sixto Operator (aparthotels and multi-unit operators). New optional columns: listings.unit_code, max_guests; reservations.guest_key (the source's opaque guest key, for repeat guests only; never a name, and never in a shared copy) and checkin_status; payouts.status (received, expected, overdue, cancelled; NULL keeps the 1.0 meaning, received); availability.price and min_stay (an open night with no price is "unpriced"); reviews.needs_reply and reply_status.
  • New optional tables: properties (a building's name, time zone, currency, first stay), reservation_units (a stay holding several units or moving between them; money is shared over unit-nights), cleanings, tasks (kind, state and dates only, never the text), guest_registrations (SIRE, TRA, SES Hospedajes, Alloggiati, SIBA filings, never a guest's name, initials or document), filing_incidents, invoices (e-invoices and notes, never the buyer), ledger_months (the host's own books per month and currency) and cancel_reasons (counts per sorted reason).
  • Vocabularies: checkin_statuses, payout_statuses, reply_statuses, cleaning_actions, cleaning_statuses, task_statuses, authorities, registration_statuses, invoice_statuses.
  • dates_valid covers the new date columns. New checks at warn: ops_refs_known, ops_values_sane.
  • Fixtures: a two-unit stay, a priced and an unpriced night, a review waiting for a reply, a cleaning, a task, SIRE and TRA filings, an incident, an e-invoice, a ledger month and a cancellation reason. Migration migrations/1.0-to-1.1.sql for a stored 1.0 database (the library and boards rebuild theirs).

1.0.0 (2026-11-29)

  • First published version, from the launch plan's field list with what a real board needed added: listings.tz (local dates and lead time per property), listings.city/country, reservations.booked_on (exports give a date, not a time) and cancelled_on, an adjustments table (refunds, alterations, resolutions, cancellation fees, signed to the host), payouts.channel/reference, an expenses table (from the finance@2 ledger by txn_id, or a file), optional reviews (ratings only), and fx_rates.
  • vocab/expense_categories.csv: Taxes is property taxes only; lodging tax guests paid is never a cost.
  • Night rule as travel@1: check_out exclusive, nights = check_out - check_in.
  • Conformance checks: real dates, nights, listings known, money signs, taxes remitted within collected, cancellation dates, provenance (fail); overlapping sold stays, payout reconciliation, adjustments and expense properties known, IANA time zones, rating range (warn).

Other standards