Nornir Domain Service (NDS)

The power of linked data


Nornir Domain Service (NDS)

This document provides an introduction to the domain name tool Nornir Domain Service (NDS). NDS is the first Real Time Web domain registration service that allows the user to set up domain and services on private Real Time Web network.


Nornir Domain Service (NDS) is your application dashboard for managing real-time data distribution.

It allows you to:


  • Define your own Nornir Domain Services and data structure.

  • Link to other Nornir Services to personalized real-time data streams.

  • Link your services to 3rd party services to merge pieces of data into the same stream.

  • Distributed access control to enable privacy and restrict access to data.


Before you start, please contact Nornir sales representative to address which private RTW network that your NDS belongs to.


Domain Name

This is the domainname where you are the owner. This domain is unique and you as an owner will always be able to own this domain. This domain becomes a unique building-stone in RTW network.



Service Name

This is the name you want the domain and others to associate with your service. Services is the ones you communicate with all around RTW.



Service Schema

Here is where you put your datamodel for the service. The datamodel is built up with XML schema. Every elementname is unique when an instance wants to update itself. On a post-request to a service, the post-request must include the elementname and value to be able to update the specific element in the datamodel.


In this XML you also put your links to other services. This is done by putting an @-sign before the link and after the link is fully described. In the example below a service is linked to the domain nornir and to the service location in that domain. The data it wants from the service location is gps. GPS is the elementname in the services(location) datamodel. There is no limitation on how many links you can use or from where.








Command XML

This is when two domainowners wants to send commands to one and other. Many times it is used for two-way communications, other times it is used for an update-status and other times it is used for a domainowner to request specific data. This feature is only allowed between to domainowners and they must be linked together at least one way. The service that links to another service is the one who can write to the other services command xml.




This is where you can let RTW execute code, on the fly, based on the context of the data and service. The code-execution is based on your javascript you as an serviceowner have written to the service. It is important to recognize that the execution of code is happening after the code leaves the service's memoryspace. It is called post-execution. Masterscript only works with XML body and cannot be used with for example Command XML.



Service description

This is a general description of what your service does and what I don't do. It describes what it offers in data, what kind of data and what pre-requirements that is required to be able to get the best out of the service. For example, if a coffeemachine that is RTW-enabled wants to become a member of a service, it must be compatible with that service. Even though a coffeemachine can be a member of a remote control service for TV's, it must still be compatible on the datacommunication to that service. This is required on both string-requests and channel-requests.



Search terms

Searchterms is where you put words that would be part of the searchengine RTW provides to ease the search for other services. This words should correspond to what your service supplies in data or features of your service.




Instances defines how many unique avatars(instances/objectid's) your service holds.




Links is how you let your service receive data from another service. This is called linked data. To be able to link to another service, the other service must allow your domain and service to link to it. This is default. Even though the service itself allows linking to it, doesn't mean that all instances of that service allows its data to be linkable. Some specific instances may deny linking to its data while others allow it.

NDS Tutorials

1. Creating a user and your first domain

2. Creating your first service

3. Manipulating data with Service Masterscript

Javascript Tutorials

Basic: Connecting to your service

Hardware Tutorials

1. Creating a user and your first domain

2. Creating your first service

3. Creating your first service

Tel: +47 482 01 265

Visiting: Christian Krogs gate 1,


  • LinkedIn Social Icon
  • Facebook Social Icon
  • YouTube Social  Icon