{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-protein-commands-router-command-request-schema.json",
  "title": "CommandRequest",
  "description": "Request model for protein commands",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agentstack-tech-commands-api-openapi.yml#/components/schemas/protein_commands__router__CommandRequest",
  "properties": {
    "command_type": {
      "type": "string",
      "title": "Command Type"
    },
    "command_name": {
      "type": "string",
      "title": "Command Name"
    },
    "payload": {
      "additionalProperties": true,
      "type": "object",
      "title": "Payload"
    },
    "priority": {
      "type": "integer",
      "title": "Priority",
      "default": 5
    },
    "timeout_ms": {
      "type": "integer",
      "title": "Timeout Ms",
      "default": 30000
    },
    "retry_count": {
      "type": "integer",
      "title": "Retry Count",
      "default": 3
    }
  },
  "type": "object",
  "required": [
    "command_type",
    "command_name",
    "payload"
  ]
}