> ## Documentation Index
> Fetch the complete documentation index at: https://docs.canary.effectiveai.app/llms.txt
> Use this file to discover all available pages before exploring further.

# relativities.bop

> Every public name in relativities.bop, from its docstrings.

*Generated from the package's Python API.*

Businessowners: the line's schema.

`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

```python theme={null}
SCHEMA: Schema
```

The businessowners line's schema, version `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](/relativities/reference/bop-book-schema) page shows the same tables.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.