# Domains

Executive summary
**A domain is an organizational boundary that groups accounts, users, policies, and other entities under a single governance structure.**

- Domains form a hierarchy that mirrors your business structure.
- Data is isolated by domain.
- Users operate in their own domain and, where permitted, descendant domains.
- Policies can apply to one domain, descendant domains, or both.
- A parent-domain policy with `Descendants` scope adds its workflow to child-domain intents. It doesn't replace the child domain's policy.
- A governing strategy controls whether intents authored in a domain are also evaluated against the policies of the domains below it.


Why this matters
Domains are the main tool for segregating assets, users, and governance rules. Domain design affects client asset segregation, regional controls, treasury operations, compliance review, reporting, and emergency response. Poorly designed hierarchies can cause unintended access paths, duplicated policies, or parent policies applying more broadly than intended.

## What domains contain

A domain is a logical container for domain-owned records:

| Entity | Why domain ownership matters |
|  --- | --- |
| Users | Determines where users can submit and approve intents. |
| Accounts and vaults | Keeps assets and signing material aligned to an operational boundary. |
| Policies | Defines the approval rules that apply in the domain. |
| Endpoints | Scopes trusted addresses and external destinations. |
| Requests and events | Provides domain-level audit and operational visibility. |


## Domain hierarchy

Every environment has a root domain. Subdomains sit beneath it in a tree.

```mermaid
flowchart TB
    Root["Root domain"]
    APAC["APAC region"]
    EMEA["EMEA region"]
    Japan["Japan"]
    Singapore["Singapore"]
    London["London"]

    Root --> APAC
    Root --> EMEA
    APAC --> Japan
    APAC --> Singapore
    EMEA --> London
```

| Rule | Description |
|  --- | --- |
| Single root | Every environment has one root domain. |
| One parent | Each subdomain has one parent domain. |
| No upward access | Users cannot submit intents to parent domains. |
| Descendant operation | Users can target their own domain and, where permitted by policy, descendant domains. |
| Inheritance | Parent-domain policies can affect child-domain intents, depending on policy scope and governing strategy. |


## Governing strategies

A domain's governing strategy applies to intents authored by users in that domain. It decides whether those intents are also evaluated against the policies of the domains below the author's domain. It has no effect on intents authored by users in a child domain.

Whatever the strategy, Ripple Custody (Vault) selects policies per domain. Each domain on the path from the root to the target domain can contribute its highest-ranked matching policy, and every selected workflow must approve. For the full rules, see [Policy selection](/products/custody/v1.43/governance/policies/reference#policy-selection).

### ConsiderDescendants

`ConsiderDescendants` is the default. Ripple Custody (Vault) evaluates intents authored in the domain in every domain from the root down to the target domain, including the domains below the author's domain. When a parent-domain user targets a child domain, both the parent's policy and the child's policy must approve.

```mermaid
flowchart TB
    Author["Author in parent domain<br/>targets child domain"]
    Parent["Parent policy: all transfers<br/>need one parent approval"]
    Child["Child policy: high-value transfers<br/>need CFO approval"]
    Result["Both workflows must approve"]
    Author --> Parent
    Author --> Child
    Parent --> Result
    Child --> Result
```

### CoerceDescendants

Intents authored in the domain skip the policies of every domain below it. When a parent-domain user targets a child domain, only the policies from the root down to the parent domain apply. The child domain doesn't need a matching policy. Use this strategy for emergency or recovery operations, when a supervising domain must act in child domains without depending on child-domain rules or approvers.

```mermaid
flowchart TB
    Author["Author in coercive parent domain<br/>targets child domain"]
    Parent["Parent policy: emergency freeze<br/>requires senior approval"]
    Child["Child policy: routine<br/>transfer approval"]
    Result["Only the parent workflow applies"]
    Author --> Parent
    Parent --> Result
    Child -. skipped for this author .-> Result
```

For intents authored by child-domain users, `CoerceDescendants` on the parent changes nothing. Under either strategy, Ripple Custody (Vault) evaluates those intents in the parent and child domains, so the parent's policies already apply and child policies can't weaken them.

Use `CoerceDescendants` only when operators understand that child-domain policies, including reject-all policies, don't apply to intents authored in the coercive domain.

## Policy scope and inheritance

Policy scope defines where a policy applies relative to the domain that owns the policy. A policy belongs to the target domain of the `v0_CreatePolicy` intent that creates it.

| Scope | Applies to |
|  --- | --- |
| `Self` | Intents targeting the policy's own domain. |
| `Descendants` | Intents targeting child domains. |
| `SelfAndDescendants` | Intents targeting the policy's own domain and child domains. |


A parent-domain policy with `Descendants` or `SelfAndDescendants` scope applies to matching intents in descendant domains alongside the descendant domain's own policy. The governing strategy of the author's domain decides whether Ripple Custody (Vault) evaluates the domains below the author's domain.

## Compliance domains

A compliance domain is a specialized domain used to manage transaction screening, Travel Rule, quarantine release, and exception review. A compliance domain can sit above operational domains so compliance policies and reviewers can apply across those descendants.

Design considerations:

- Compliance roles need read access to accounts, transactions, requests, events, and relevant policies.
- Quarantine release policies should live where compliance reviewers can approve them.
- Domain injection can add a compliance layer after launch if the original hierarchy needs to change.


## Multi-tenancy

Use domains for multi-tenancy when a boundary affects data access, approval policy, reporting, or operational ownership.

| Pattern | Domain model |
|  --- | --- |
| Client segregation | One subdomain per client or client group. |
| Business unit segregation | One subdomain per business unit. |
| Regional control | One subdomain per region or legal entity. |
| Treasury isolation | Separate domains for asset classes, desks, or treasury teams. |
| Compliance oversight | Compliance domain above operational domains. |


Avoid deep hierarchies unless policy inheritance is clear. A flatter hierarchy is often easier to operate and audit.

## Domain lifecycle

| State | Description |
|  --- | --- |
| Created | Domain exists and can operate when unlocked. |
| Locked | Domain activity is suspended. |
| Unlocked | Domain activity is enabled. |


Locking a domain is useful for investigations, temporary suspension, incident response, or decommissioning.

## Domain injection

Domain injection inserts a new domain between an existing parent and its child domains. Use it to add a governance layer without rebuilding the entire hierarchy.

Common uses:

- Add compliance oversight above existing operational domains.
- Group existing domains under a new regional parent.
- Apply shared policies to a subset of existing child domains.
- Retrofit a governance layer after launch.


For operations, see [Manage domains](/products/custody/v1.43/governance/domains/manage-domains) and [Inject a domain](/products/custody/v1.43/governance/domains/inject-a-domain). For fields and valid values, see [Domain reference](/products/custody/v1.43/governance/domains/reference).