---
title: "Scripted example"
description: "Example interfaces.json for a scripted namespace that renames or transforms signals from other RemotiveBroker namespaces."
source: https://developer.remotivelabs.com/docs/remotive-broker/configuration/scripted
last_updated: 2026-10-19
deprecated: true
---

# Scripted example

A scripted namespace remaps signals from other namespaces, which can involve simple renaming or more complex transformations. Here is an example of what an interface.json might look like:

```json
{
  "chains": [
     {
      "type": "udp",
      "namespace": "VehicleBus",
      "server_port": 2001,
      "target_host": "127.0.0.1",
      "target_port": 2000,
      "database": "VehicleBus.dbc",
      "public": false
    },
    {
      "namespace": "vss",
      "type": "scripted",
      "database": "vss_signals.json",
      "public": true
    }
  ]
}
```

In this example, the `VehicleBus` namespace has been made private, concealing its signals from clients and resulting in only displaying signals available from the `vss` namespace.

Using this example of a scripted signal database:

```json
{
    "description": "VSS mapping information",
    "formatVersion": "0.1.0",
    "simple_mapping": {
        "Vehicle.Speed": {
            "namespace": "VehicleBus",
            "name": "ID32_vehicleSpeed"
        }
    }
}
```

only one signal is exposed, named `Vehicle.Speed`. This exposed signal is mapped from the internal signal named `ID32_vehicleSpeed` within the `VehicleBus` namespace.

A more comprehensive introduction can be found [here](https://developer.remotivelabs.com/docs/remotive-broker/scripted_signals.md).
