Register a domain

The shape of registering a domain over HTTP: the request, the domain types, the properties and parameters each needs, and how a domain becomes verified.

Registering a domain gives a real-world thing its presence on IXO: an identifier, a type, a protocol class, controllers and metadata. Domains are used to create digital twins of real-world things. This page shows the shape of a registration request, the types of domain, the properties and parameters each one needs, and how a domain becomes verified.

The page is about the domain as a whole, at the point where it is created, and it applies to any programme. For the Emerging Platform's own process (DAO stages, relayer assignment, GraphQL status checks), read Emerging Platform domain registration. To create the entity at a domain's core with an on-chain message, see Manage entities.

Shape of the request

curl -X POST https://api.emerging.eco/v1/domains \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "type": "Project",
    "protocol": "did:ixo:protocol/clean-cooking",
    "metadata": {
      "name": "Clean Cooking Project"
    }
  }'

Domain types

TypeWhat it is
OrganisationsLegal or virtual organisations, managed as DAOs
ProjectsDomains of type Project, for clean cooking initiatives
AssetsDomains of type Asset, for IoT-enabled cooking devices
ProtocolsTemplates and rules that govern how a domain behaves

Oracles and Requests are also domain types.

Domain properties

Each domain requires:

PropertyWhat it is
Digital identifierA unique DID that follows the Interchain Identifier format
Entity typeOrganisation, Project, Device and so on
ProtocolDefines the class of the domain and the sets of properties it inherits
ControllerThe account or accounts that manage the domain's record (its DID document)
MetadataAdditional standard domain settings

Parameters

Required parameters

typestringrequired
classstringrequired
metadataobject

Optional parameters

validFromstring
validUntilstring

Domain verification

A domain must be verified by the platform's governance system:

  1. A compliance or programme representative submits a verification proposal with the entity package.
  2. Eligible voters review it and vote. Quorum and thresholds depend on the deployment.
  3. On approval, the domain's status moves to Verified, and downstream services such as reporting and issuance can be enabled.

Only verified domains can take part in platform activities such as carbon credit issuance. Confirm the authentication and endpoints for your environment in the Authentication matrix and Networks and endpoints.

To choose a starting path by what you want to do, read Choose your path.

Next steps