Schemas / I/O

rig.io.serial

v0.31.0 · draft 3 fields 1 required

Fields

FieldTypeMeaning
port string required Device path / name
baud int optional Optional. Baud rate; absent = 9600
enabled bool optional Optional. Open when true; absent = false

Byte buffers and device handles stay in code packs.

JSON Schema

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

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://rig.works/schemas/rig.io.serial.schema.json",
  "title": "rig.io.serial",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "port": {
      "$ref": "./_defs.schema.json#/$defs/string"
    },
    "baud": {
      "$ref": "./_defs.schema.json#/$defs/int"
    },
    "enabled": {
      "$ref": "./_defs.schema.json#/$defs/bool"
    }
  },
  "required": [
    "port"
  ]
}