{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "basekey.computer.runtime.v1.ComputerActionLogEntry",
  "description": "One Computer action log row as rcm-orchestrator records it in a Computer node's result. Generated by scripts/generate_computer_action_log_schema.py from the proto; do not edit.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "seq",
    "at",
    "action"
  ],
  "properties": {
    "seq": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100000
    },
    "at": {
      "type": "string",
      "format": "date-time"
    },
    "action": {
      "type": "string",
      "pattern": "^[a-z_]{1,32}$"
    },
    "key": {
      "type": "string",
      "pattern": "^[!-~]{1,32}$"
    },
    "modifiers": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "Control",
          "Alt",
          "Shift",
          "Meta"
        ]
      },
      "minItems": 1,
      "maxItems": 4,
      "uniqueItems": true
    },
    "x": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "y": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "start_x": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "start_y": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100000
    },
    "scroll_direction": {
      "type": "string",
      "enum": [
        "up",
        "down",
        "left",
        "right"
      ]
    },
    "scroll_amount": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000
    },
    "effect": {
      "type": "string",
      "enum": [
        "confirmed",
        "partial",
        "unverifiable",
        "suspected_noop"
      ]
    },
    "result_code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_]{1,128}$"
    },
    "credential_field": {
      "type": "string",
      "enum": [
        "username",
        "password",
        "verification_code"
      ]
    },
    "actor": {
      "type": "string",
      "enum": [
        "unspecified",
        "agent",
        "person"
      ]
    }
  }
}
