{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/farmdash/json-schema/farmdash-autopilot-action-schema.json",
  "title": "AutopilotAction",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/farmdash-autopilot-api-openapi.yml#/components/schemas/AutopilotAction",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "analyze",
        "execute",
        "adjust_stop",
        "close_position",
        "rebalance",
        "skip",
        "halt"
      ]
    },
    "asset": {
      "type": "string"
    },
    "reason": {
      "type": "string"
    },
    "details": {
      "type": "object"
    },
    "priority": {
      "type": "string",
      "enum": [
        "high",
        "medium",
        "low"
      ]
    }
  }
}