Pular para o conteúdo

Domain reference

This page lists domain fields and values. For the concept, see Domains. For operations, see Manage domains.

Domain payload

{
  "payload": {
    "id": "1f1e3d9c-f2bf-4a92-a0fa-4a825e70ecb4",
    "alias": "Operations",
    "lock": "Unlocked",
    "governingStrategy": "ConsiderDescendants",
    "permissions": {
      "readAccess": {
        "domains": ["admin"],
        "users": ["admin"],
        "accounts": ["admin"],
        "transactions": ["admin"],
        "policies": ["admin"],
        "endpoints": ["admin"],
        "requests": ["admin"],
        "events": ["admin"]
      }
    },
    "description": "Operations domain",
    "customProperties": {},
    "users": [],
    "policies": [],
    "type": "v0_CreateDomain"
  }
}

Fields

FieldTypeRequiredDescription
idUUID stringYesUnique domain identifier.
aliasstringYesHuman-readable domain name.
lockenumYesUnlocked or Locked.
governingStrategyenumNoConsiderDescendants or CoerceDescendants.
permissionsobjectYesRead access by object type.
descriptionstringNoDomain description.
customPropertiesobjectYesString key-value metadata. Use {} when empty.
usersarrayYesUsers to create with the domain. Use [] to create none.
policiesarrayYesPolicies to create with the domain. If the array is empty, Ripple Custody (Vault) creates a default auto-approve policy. See Default policy.
childrenDomainIdsarrayNoExisting child domain IDs to reparent under the new domain. Include only for domain injection.
typestringYesv0_CreateDomain.

Governing strategy values

ValueBehavior
ConsiderDescendantsDefault. The system evaluates intents authored in this domain in every domain from the root down to the target domain.
CoerceDescendantsIntents authored in this domain skip the policies of the domains below this domain. The strategy doesn't affect intents authored in a child domain.

You can't change the governing strategy after you create the domain. For how the system selects policies across domains, see Policy selection.

Default policy

If policies is an empty array, Ripple Custody (Vault) creates a policy named Default policy - Yes in the new domain. It has rank 0, SelfAndDescendants scope, no intentTypes, no condition, and no workflow. As a result, it auto-approves every user-signed intent that no higher-ranked policy in the domain matches, including intents in descendant domains. Always include at least one policy, or replace or lock the default policy immediately.

Read access fields

FieldControls visibility of
domainsDomain records and hierarchy.
usersUser records and roles.
accountsAccount records and balances.
transactionsTransaction records.
policiesPolicy definitions.
endpointsEndpoint records.
requestsIntents and requests.
eventsSystem events.

Lock values

ValueBehavior
UnlockedDomain can operate.
LockedDomain activity is disabled.

For policy fields embedded in a domain payload, see Policy reference.