Formant · Schema

CommandTemplate

A reusable command definition stored in Formant for dispatching to robot devices.

RoboticsRobot Fleet ManagementTeleoperationObservabilityTelemetryROSROS2Edge DevicesPhysical OperationsIncident ManagementIndustrial AISCADAPredictive MaintenanceRemote MonitoringEmbedded Devices

Properties

Name Type Description
organizationId string UUID of the owning organization.
name string Human-readable name for the command template.
command string Machine-readable command identifier sent to the device.
tags object Key-value tags for filtering or labelling.
description string Human-readable description of what this command does.
parameterEnabled boolean Whether this command accepts a parameter value.
parameterValue string Default parameter value.
parameterMeta object Metadata about the parameter (e.g. units, label).
enabled boolean Whether the command template is active.
id string Unique identifier for this command template.
createdAt string Creation timestamp.
updatedAt string Last-modification timestamp.
View JSON Schema on GitHub

JSON Schema

formant-command-template-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.formant.io/schemas/CommandTemplate",
  "title": "CommandTemplate",
  "description": "A reusable command definition stored in Formant for dispatching to robot devices.",
  "type": "object",
  "required": ["command", "name", "parameterEnabled", "tags"],
  "properties": {
    "organizationId": {
      "type": "string",
      "format": "uuid",
      "description": "UUID of the owning organization."
    },
    "name": {
      "type": "string",
      "maxLength": 32,
      "description": "Human-readable name for the command template."
    },
    "command": {
      "type": "string",
      "description": "Machine-readable command identifier sent to the device."
    },
    "tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Key-value tags for filtering or labelling."
    },
    "description": {
      "type": "string",
      "maxLength": 1024,
      "description": "Human-readable description of what this command does."
    },
    "parameterEnabled": {
      "type": "boolean",
      "description": "Whether this command accepts a parameter value."
    },
    "parameterValue": {
      "type": "string",
      "maxLength": 1024,
      "description": "Default parameter value."
    },
    "parameterMeta": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Metadata about the parameter (e.g. units, label)."
    },
    "enabled": {
      "type": "boolean",
      "description": "Whether the command template is active."
    },
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for this command template."
    },
    "createdAt": {
      "type": "string",
      "format": "date-time",
      "description": "Creation timestamp."
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time",
      "description": "Last-modification timestamp."
    }
  }
}