{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agentstack-tech/json-schema/agentstack-tech-protein-commands-router-command-response-schema.json",
  "title": "CommandResponse",
  "description": "Response model for protein commands (Philosophy v0.1.2)",
  "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__CommandResponse",
  "properties": {
    "success": {
      "type": "boolean",
      "title": "Success"
    },
    "command_uuid": {
      "type": "string",
      "title": "Command Uuid"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "result": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "title": "Result"
    },
    "error": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Error"
    },
    "execution_time_ms": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Execution Time Ms"
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings"
    }
  },
  "type": "object",
  "required": [
    "success",
    "command_uuid",
    "status"
  ]
}