SCHEMA (version bop/1.0) lists the tables of a businessowners book, their
keys and their core columns: facts with one meaning each, typed and empty unless
supplied. A rater derives the rest, such as the age of the building, the share
of sales from liquor or a carrier’s territory. A book needs only
submissions and locations; policies is built from the submissions’
policy_id unless you pass it. Liability coverages apply to the whole policy
(coverages); property coverages and deductibles apply to one location
(location_coverages, deductibles). A carrier’s own selectors, such as
its class code, tier or market group, are program columns: declare them with
SCHEMA.with_columns. Every other column is yours.
relativities.Book(tables, schema=bop.SCHEMA) is a businessowners book, and a
relativities.Program rates it with one carrier’s rater: its prepare
turns the book into that rater’s input. A gl book is also a bop book.
SCHEMA
bop/1.0 (bop.SCHEMA.version): policies, submissions, locations, classifications, coverages, location coverages and deductibles, with their keys and core columns. Liability coverages apply to the whole policy and property coverages to one location. Pass it as Book(tables, schema=bop.SCHEMA). print(bop.SCHEMA) lists every column, and the businessowners book schema page shows the same tables.