Schemas / I/O

rig.io.osc

v0.31.0 · draft 6 fields 0 required

Fields

FieldTypeMeaning
listenEnabled bool optional Optional. Listen active; absent = false
listenPort int optional Listen port; required when listenEnabled
sendEnabled bool optional Optional. Send active; absent = false
sendHost string optional Send target host; required when sendEnabled
sendPort int optional Send port; required when sendEnabled
addressPrefix string optional Optional. Address prefix

OSC UDP listen / send endpoints. Format when present.

Listen and send sides are independent - enable one, both, or neither, and emit only the fields the enabled side needs.

Message queues and sockets are host runtime.

JSON Schema

Resolves at https://rig.works/schemas/rig.io.osc.schema.jsonraw file.

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.io.osc.schema.json",
  "title": "rig.io.osc",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "listenEnabled": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    },
    "listenPort": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "sendEnabled": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    },
    "sendHost": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "sendPort": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "addressPrefix": {
      "$ref": "./_defs.schema.json#/$defs/string"
    }
  }
}