Resource Relationships

Overview of the relationships between resources.

Resource Relationships

Resources can be related to each other in various ways.

  • One-to-Many: A single resource can be associated with multiple instances of another resource.

  • Many-to-One: Multiple instances of a resource can be associated with a single instance of another resource.

  • One-to-One: A single instance of a resource is associated with exactly one instance of another resource.

The following table outlines the relationships between different resources in the system.

ResourceOne-to-ManyMany-to-OneOne-to-One
application_usersapplications
applicationsapplication_users, contracts, contract_line_items, payments, po_line_items, view_applicationsintegrations, usage_connect
contract_line_itemscontracts, applications
contractscontract_line_itemsapplications
integrationsapplications, usage_connect
paymentsapplications, po_line_items, zybrary
po_line_itemspaymentsapplications, purchase_orders
purchase_orderspo_line_itemssuppliers
supplierspurchase_orders
usage_connectapplications, integrations
view_applicationsapplications, views
view_zylo_usersviews, zylo_users
viewsview_applications, view_zylo_users
zybrarypayments
zylo_usersview_zylo_users