Brands and Party Brands
The PRM module models brands as first-class entities, separate from the parties that own or carry them. The prmbrands view stores brand identity, while prmparty_brands is a many-to-many association that links brands to parties.
Locations and Party Sites
The PRM module separates the concept of a physical location from the concept of a party using that location. The prmlocations view stores addresses, while the prmparty_sites view links parties to locations and describes how each location is used.
Parties and Party Relationships
Parties are the central building block of the PRM module. Every business entity that Raytio needs to know about — whether it is a company, a person, or a logical grouping — is stored as a party in the prmparties view. The prmparty_relationships view then captures how those parties relate to each other.
Party Contact Points
The prmpartycontact_points view stores the ways a party can be reached — phone numbers, email addresses, and URLs. Rather than having separate fields for each contact type, the PRM model uses a single flexible structure that supports multiple contact methods per party.
Party Countries
The prmpartycountries view associates parties with the countries they operate in or are connected to. This is separate from the physical address stored in locations — a party's country associations represent a broader geographic relationship, such as the jurisdictions where a company is registered or the markets it serves.
Party Relationships (PRM)
Raytio's Party Relationships (PRM) module is the foundational layer for modelling business entities and their relationships. It defines how organisations, individuals, and groups are represented in the platform, where they are located, how to contact them, and which brands they are associated with.
PRM Data Model Overview
The PRM data model is built around three core concepts — Parties, Locations, and Brands — connected through a set of associations that capture how business entities relate to each other, where they operate, how to reach them, and which brands they carry. Understanding these relationships is the key to understanding how Raytio models the real-world business landscape.