Skip to content

Sensorium Actuation Bridge Request v1

Source schema: doc/schemas/sensorium-actuation.bridge.request.v1.schema.json

Bounded companion-process request used by Python Sensorium connectors to delegate safety validation to sensorium-actuation-core.

Governing Basis

Project Lineage

Requirements

Stories

Fields

Field Required Shape Description
schema yes const: sensorium-actuation.bridge.request.v1
schema/v yes const: 1
operation yes enum: relative-path.validate, command-profile.matches-argv
payload yes object

Conditional Rules

Rule 1

When:

{
  "properties": {
    "operation": {
      "const": "relative-path.validate"
    }
  }
}

Then:

{
  "properties": {
    "payload": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "relative/path"
      ],
      "properties": {
        "relative/path": {
          "type": "string"
        }
      }
    }
  }
}

Rule 2

When:

{
  "properties": {
    "operation": {
      "const": "command-profile.matches-argv"
    }
  }
}

Then:

{
  "properties": {
    "payload": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "profile",
        "argv"
      ],
      "properties": {
        "profile": {
          "type": "object"
        },
        "argv": {
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Field Semantics

schema

  • Required: yes
  • Shape: const: sensorium-actuation.bridge.request.v1

schema/v

  • Required: yes
  • Shape: const: 1

operation

  • Required: yes
  • Shape: enum: relative-path.validate, command-profile.matches-argv

payload

  • Required: yes
  • Shape: object